mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-15 12:13:18 -05:00
f28942cef9
Port babd86e594bbdd6dcc512d522ccbb4b24c1355e3 and 45848d654709678ba35d9e97e0b3df3e3916cd75 to glitch-soc Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
27 lines
500 B
SCSS
27 lines
500 B
SCSS
.sensitive-info {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 4px;
|
|
inset-inline-start: 4px;
|
|
z-index: 100;
|
|
}
|
|
|
|
.sensitive-marker {
|
|
margin: 0 3px;
|
|
border-radius: 2px;
|
|
padding: 2px 6px;
|
|
color: rgba($primary-text-color, 0.8);
|
|
background: rgba($base-overlay-background, 0.5);
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
text-transform: uppercase;
|
|
opacity: 0.9;
|
|
transition: opacity 0.1s ease;
|
|
|
|
.media-gallery:hover & {
|
|
opacity: 1;
|
|
}
|
|
}
|