mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 09:34:16 -05:00
24 lines
460 B
SCSS
24 lines
460 B
SCSS
.sensitive-info {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
z-index: 100;
|
|
}
|
|
|
|
.sensitive-marker {
|
|
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: .9;
|
|
transition: opacity .1s ease;
|
|
|
|
.media-gallery:hover & { opacity: 1 }
|
|
}
|