1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-15 15:18:30 +09:00
YuruToot/app/javascript/flavours/glitch/styles/components/sensitive.scss

27 lines
500 B
SCSS
Raw Normal View History

2018-01-14 07:18:50 +09:00
.sensitive-info {
display: flex;
flex-direction: row;
align-items: center;
position: absolute;
top: 4px;
inset-inline-start: 4px;
2018-01-14 07:18:50 +09:00
z-index: 100;
}
.sensitive-marker {
2019-05-05 06:05:43 +09:00
margin: 0 3px;
2018-01-14 07:18:50 +09:00
border-radius: 2px;
padding: 2px 6px;
color: rgba($primary-text-color, 0.8);
background: rgba($base-overlay-background, 0.5);
font-size: 12px;
2019-05-05 01:18:15 +09:00
line-height: 18px;
2018-01-14 07:18:50 +09:00
text-transform: uppercase;
opacity: 0.9;
transition: opacity 0.1s ease;
2018-01-14 07:18:50 +09:00
.media-gallery:hover & {
opacity: 1;
}
2018-01-14 07:18:50 +09:00
}