From 31b97df3f9f942d5c63d41c84a6f16f86192471c Mon Sep 17 00:00:00 2001 From: agatemosu Date: Mon, 22 Jul 2024 17:17:53 +0200 Subject: [PATCH] Apply stylelint --- styles.css | 62 +++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/styles.css b/styles.css index ca4eafc..f7bcfad 100644 --- a/styles.css +++ b/styles.css @@ -2,7 +2,7 @@ --black: #000; --white: #fff; --background: #231f20; - --default-color: #778899; + --default-color: #789; --tooltip: #f0f8ff; --tier-bg: #2d292a; --option-borders: #111; @@ -24,27 +24,6 @@ body { display: flex; } -.tier-label { - position: relative; - min-height: 80px; - width: 100px; - display: flex; - align-items: center; - background-color: var(--default-color); - border: 1px solid var(--black); -} - -.tier-label:focus-visible { - outline: none; - border: 1px solid var(--white); -} - -.tooltip:focus-within, -.tier-label:focus-visible .tooltip { - visibility: visible; - opacity: 1; -} - .tooltip { visibility: hidden; position: absolute; @@ -70,6 +49,27 @@ body { border-color: transparent var(--tooltip) transparent transparent; } +.tier-label { + position: relative; + min-height: 80px; + width: 100px; + display: flex; + align-items: center; + background-color: var(--default-color); + border: 1px solid var(--black); +} + +.tier-label:focus-visible { + outline: none; + border: 1px solid var(--white); +} + +.tooltip:focus-within, +.tier-label:focus-visible .tooltip { + visibility: visible; + opacity: 1; +} + .pcr-app { max-width: 200px !important; } @@ -165,15 +165,6 @@ p { cursor: pointer; } -input[type="checkbox"] { - display: none; -} - -input[type="checkbox"]:checked + label::before { - background-color: var(--button-hover); - background-image: url(assets/check.svg); -} - label { padding-block: 6px; display: inline-block; @@ -191,6 +182,15 @@ label::before { margin-right: 5px; } +input[type="checkbox"] { + display: none; +} + +input[type="checkbox"]:checked + label::before { + background-color: var(--button-hover); + background-image: url("./assets/check.svg"); +} + .image { display: inline-flex; vertical-align: top;