Skip to content

Commit

Permalink
Apply stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
agatemosu committed Jul 22, 2024
1 parent 1d05ef7 commit 31b97df
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--black: #000;
--white: #fff;
--background: #231f20;
--default-color: #778899;
--default-color: #789;
--tooltip: #f0f8ff;
--tier-bg: #2d292a;
--option-borders: #111;
Expand All @@ -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;
Expand All @@ -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;
}
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 31b97df

Please sign in to comment.