From 334b3fc636025657ac6af2df0b90ec01332c8187 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 23 Dec 2020 18:14:42 +0100 Subject: [PATCH] Fix a couple of stylelint violations --- client/src/components/App/index.css | 4 ++-- client/src/components/Dashboard/Dashboard.css | 4 ++-- .../src/components/Logs/Cells/IconTooltip.css | 4 ++-- client/src/components/Logs/Logs.css | 21 ++++++++----------- client/src/components/ui/Icons.css | 3 +++ 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/client/src/components/App/index.css b/client/src/components/App/index.css index 4f18ee18..ff530784 100644 --- a/client/src/components/App/index.css +++ b/client/src/components/App/index.css @@ -1,9 +1,9 @@ :root { --yellow-pale: rgba(247, 181, 0, 0.1); - --green79: #67B279; + --green79: #67b279; --gray-a5: #a5a5a5; --gray-d8: #d8d8d8; - --gray-f3: #F3F3F3; + --gray-f3: #f3f3f3; --font-family-monospace: Monaco, Menlo, "Ubuntu Mono", Consolas, source-code-pro, monospace; } diff --git a/client/src/components/Dashboard/Dashboard.css b/client/src/components/Dashboard/Dashboard.css index c299464b..9e733044 100644 --- a/client/src/components/Dashboard/Dashboard.css +++ b/client/src/components/Dashboard/Dashboard.css @@ -34,7 +34,7 @@ align-items: center; } -.dashboard-title__button{ +.dashboard-title__button { margin: 0 0.5rem; } @@ -44,7 +44,7 @@ align-items: flex-start; } - .dashboard-title__button{ + .dashboard-title__button { margin: 0.5rem 0; display: block; } diff --git a/client/src/components/Logs/Cells/IconTooltip.css b/client/src/components/Logs/Cells/IconTooltip.css index 966f036f..6260c22f 100644 --- a/client/src/components/Logs/Cells/IconTooltip.css +++ b/client/src/components/Logs/Cells/IconTooltip.css @@ -70,7 +70,7 @@ } .grid .key-colon:nth-child(odd)::after { - content: ':'; + content: ":"; } .grid__one-row { @@ -95,7 +95,7 @@ } .title--border:before { - content: ''; + content: ""; position: absolute; left: 0; border-top: 0.5px solid var(--gray-d8) !important; diff --git a/client/src/components/Logs/Logs.css b/client/src/components/Logs/Logs.css index c4f70827..64300bb9 100644 --- a/client/src/components/Logs/Logs.css +++ b/client/src/components/Logs/Logs.css @@ -9,21 +9,18 @@ --size-response: 150; --size-client: 123; --gray-216: rgba(216, 216, 216, 0.23); - --gray-4d: #4D4D4D; - --gray-f3: #F3F3F3; + --gray-4d: #4d4d4d; + --gray-f3: #f3f3f3; --gray-8: #888; --gray-3: #333; - --danger: #DF3812; + --danger: #df3812; --white80: rgba(255, 255, 255, 0.8); - - --btn-block: #C23814; - --btn-block-disabled: #E3B3A6; - --btn-block-active: #A62200; - + --btn-block: #c23814; + --btn-block-disabled: #e3b3a6; + --btn-block-active: #a62200; --btn-unblock: #888888; - --btn-unblock-disabled: #D8D8D8; - --btn-unblock-active: #4D4D4D; - + --btn-unblock-disabled: #d8d8d8; + --btn-unblock-active: #4d4d4d; --option-border-radius: 4px; } @@ -87,7 +84,7 @@ } .custom-select__arrow--left { - background: var(--white) url('../ui/svg/chevron-down.svg') no-repeat; + background: var(--white) url("../ui/svg/chevron-down.svg") no-repeat; background-position: 5px 9px; background-size: 22px; } diff --git a/client/src/components/ui/Icons.css b/client/src/components/ui/Icons.css index 24d71538..73f4c864 100644 --- a/client/src/components/ui/Icons.css +++ b/client/src/components/ui/Icons.css @@ -6,18 +6,21 @@ .icon--24 { --size: 1.5rem; + width: var(--size); height: var(--size); } .icon--20 { --size: 1.25rem; + width: var(--size); height: var(--size); } .icon--18 { --size: 1.125rem; + width: var(--size); height: var(--size); }