mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Switch to CSS vars for variables
This commit is contained in:
parent
5dab4fb53d
commit
b862c74bbe
22 changed files with 263 additions and 181 deletions
33
gallery/themes/default/components/elements/labels.sass
Normal file
33
gallery/themes/default/components/elements/labels.sass
Normal file
|
@ -0,0 +1,33 @@
|
|||
.label
|
||||
padding: 0.4rem 0.7rem
|
||||
|
||||
display: block
|
||||
position: absolute
|
||||
|
||||
font-size: 0.9rem
|
||||
font-weight: 600
|
||||
|
||||
background-color: RGB($bg-dim)
|
||||
color: RGB($fg-white)
|
||||
border-radius: $rad-inner
|
||||
opacity: 0
|
||||
|
||||
transition: opacity 0.2s cubic-bezier(.76,0,.17,1), left 0.2s cubic-bezier(.76,0,.17,1)
|
||||
pointer-events: none
|
||||
z-index: 999
|
||||
|
||||
svg
|
||||
margin: 0
|
||||
font-size: 1rem
|
||||
|
||||
width: 0.75rem
|
||||
height: 0.75rem
|
||||
|
||||
display: block
|
||||
|
||||
position: absolute
|
||||
top: 50%
|
||||
left: -0.45rem
|
||||
transform: translateY(-50%)
|
||||
|
||||
color: RGB($bg-dim)
|
Loading…
Add table
Add a link
Reference in a new issue