mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-01-10 08:35:32 +00:00
118 lines
1.9 KiB
Sass
118 lines
1.9 KiB
Sass
.pill-row
|
|
margin: 0
|
|
padding: 0
|
|
|
|
width: 100%
|
|
height: auto
|
|
|
|
display: flex
|
|
justify-content: center
|
|
align-items: center
|
|
gap: 0.5rem
|
|
|
|
> div
|
|
margin: 0
|
|
padding: 0
|
|
|
|
display: flex
|
|
|
|
background-color: RGB($bg-100)
|
|
border-radius: $rad
|
|
|
|
.pill-item
|
|
margin: 0
|
|
padding: 0.5rem
|
|
|
|
width: 2.5rem
|
|
height: 2.5rem
|
|
|
|
display: flex
|
|
justify-content: center
|
|
align-items: center
|
|
|
|
position: relative
|
|
|
|
border: none
|
|
background-color: transparent
|
|
color: RGB($fg-white)
|
|
|
|
svg
|
|
width: 1.25rem
|
|
height: 1.25rem
|
|
|
|
&:hover
|
|
cursor: pointer
|
|
|
|
color: RGB($primary)
|
|
|
|
.tool-tip
|
|
opacity: 1
|
|
top: -2.3rem
|
|
transform: translateX(calc(-50% + 1.25rem ))
|
|
|
|
.pill__critical
|
|
color: RGB($critical)
|
|
|
|
span
|
|
background: RGB($critical)
|
|
color: RGB($fg-white)
|
|
|
|
svg
|
|
color: RGB($critical)
|
|
|
|
&:hover
|
|
color: RGB($fg-white)
|
|
|
|
.pill__info
|
|
color: RGB($info)
|
|
|
|
span
|
|
color: RGB($info)
|
|
|
|
&:hover
|
|
color: RGB($fg-white)
|
|
|
|
.tool-tip
|
|
margin: 0
|
|
padding: 0.35rem 0.7rem
|
|
|
|
width: auto
|
|
|
|
display: block
|
|
|
|
position: absolute
|
|
top: -1.7rem
|
|
left: 0
|
|
transform: translateX(calc(-50% + 1.25rem ))
|
|
|
|
font-size: 0.9rem
|
|
font-weight: 700
|
|
|
|
background-color: #000000
|
|
color: RGB($fg-white)
|
|
opacity: 0
|
|
border-radius: $rad-inner
|
|
|
|
transition: opacity 0.2s cubic-bezier(.76,0,.17,1), top 0.2s cubic-bezier(.76,0,.17,1)
|
|
|
|
pointer-events: none
|
|
|
|
svg
|
|
margin: 0
|
|
font-size: 1rem
|
|
|
|
width: 0.75rem
|
|
height: 0.75rem
|
|
|
|
display: block
|
|
|
|
position: absolute
|
|
left: 50%
|
|
bottom: -0.46rem
|
|
transform: translateX(-50%)
|
|
|
|
color: #000000
|
|
|
|
@media (max-width: $breakpoint)
|
|
.tool-tip
|
|
display: none |