mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-25 03:58:30 +00:00
* Fixed: Clicking Stream Latency metadata not toggling the visibility of the player's playback statistics. * Fixed: The Turbo landing page being inappropriately darkened. (Twitch forgot to add the "base text color" class to anything so text becomes invisible against the background.) * Fixed: More emote menu fixes. Check that emote data from Twitch doesn't contain null values, because apparently it can. * Fixed: Chat width in portrait mode using Microsoft Edge. * Fixed: `no_invert` not applying to badges correctly. (Closes #547)
99 lines
No EOL
1.4 KiB
SCSS
99 lines
No EOL
1.4 KiB
SCSS
.ffz-cheer {
|
|
display: inline-block;
|
|
height: 2.8rem;
|
|
line-height: 2.8rem;
|
|
padding-left: 3rem;
|
|
margin: -.5rem .5rem;
|
|
background-position: 0;
|
|
background-repeat: no-repeat;
|
|
|
|
&:after {
|
|
font-weight: bold;
|
|
content: attr(data-amount)
|
|
}
|
|
}
|
|
|
|
.ffz-cheer-preview {
|
|
height: 11.2rem;
|
|
width: 11.2rem;
|
|
}
|
|
|
|
|
|
.ffz--deleted-message {
|
|
&:not(:hover) > * {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
|
|
.ffz-badge {
|
|
display: inline-block;
|
|
min-width: 1.8rem;
|
|
height: 1.8rem;
|
|
margin: 0 .3rem .2rem 0;
|
|
background-position: center;
|
|
vertical-align: middle;
|
|
|
|
&.ffz-no-invert {
|
|
filter:none !important;
|
|
}
|
|
|
|
&.ffz-full-size {
|
|
min-width: 1.8rem;
|
|
height: 1.8rem;
|
|
margin: 0 .3rem .2rem 0;
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
|
|
.ffz__tooltip .ffz-i-lock {
|
|
position: absolute;
|
|
bottom: 0; right: 0;
|
|
border-radius: .2rem;
|
|
font-size: 1rem;
|
|
background-color: rgba(0,0,0,0.5);
|
|
color: #fff;
|
|
}
|
|
|
|
|
|
.ffz--favorite {
|
|
position: absolute;
|
|
bottom: 0; right: 0;
|
|
|
|
font-size: 1rem;
|
|
border-radius: .5rem;
|
|
color: gold;
|
|
|
|
background-color: rgba(0,0,0,0.5);
|
|
|
|
.ffz__tooltip & {
|
|
bottom: .1rem; right: .1rem;
|
|
padding: .2rem 0;
|
|
}
|
|
}
|
|
|
|
|
|
.modified-emote {
|
|
~ .chat-line__message--emote {
|
|
position: relative;
|
|
z-index: 1
|
|
}
|
|
|
|
position: relative;
|
|
z-index: 0;
|
|
|
|
span {
|
|
position: absolute;
|
|
top: -20px; bottom: -20px; left: -20px; right: -20px;
|
|
margin: auto;
|
|
pointer-events: none;
|
|
|
|
img {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
}
|
|
} |