chore: Consistent CSS variable names and general housekeeping of styles (#2947)

This commit is contained in:
Lipis 2021-02-16 20:22:18 +02:00 committed by GitHub
parent 9c0f832a41
commit 9dd2257932
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 149 additions and 147 deletions

View file

@ -8,9 +8,9 @@
}
.picker {
background: var(--popup-background-color);
border: 0px solid transparentize($oc-white, 0.75);
box-shadow: transparentize($oc-black, 0.75) 0px 1px 4px;
background: var(--popup-bg-color);
border: 0 solid transparentize($oc-white, 0.75);
box-shadow: transparentize($oc-black, 0.75) 0 1px 4px;
border-radius: 4px;
position: absolute;
}
@ -56,8 +56,8 @@
}
.picker-triangle {
width: 0px;
height: 0px;
width: 0;
height: 0;
position: relative;
top: -10px;
:root[dir="ltr"] & {
@ -73,7 +73,7 @@
content: "";
position: absolute;
border-style: solid;
border-width: 0px 9px 10px;
border-width: 0 9px 10px;
border-color: transparent transparent transparentize($oc-black, 0.9);
top: -1px;
}
@ -82,8 +82,8 @@
content: "";
position: absolute;
border-style: solid;
border-width: 0px 9px 10px;
border-color: transparent transparent var(--popup-background-color);
border-width: 0 9px 10px;
border-color: transparent transparent var(--popup-bg-color);
}
}
@ -121,7 +121,7 @@
}
.picker-type-elementBackground .picker-keybinding {
color: #fff;
color: $oc-white;
}
.picker-swatch[aria-label="transparent"] .picker-keybinding {
@ -134,10 +134,10 @@
&.Appearance_dark {
.picker-type-elementBackground .picker-keybinding {
color: #000;
color: $oc-black;
}
.picker-swatch[aria-label="transparent"] .picker-keybinding {
color: #000;
color: $oc-black;
}
}
}