mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
* Fixed: Navigating between channels with the audio compressor enabled (or having previously been enabled) causing the player to become stuck loading infinitely. (Closes #1317) * Fixed: Features on the `clips` and `player` subdomains not working correctly. (Closes #1336) * Changed: Finish implementing the initial emote effects.
257 lines
No EOL
3.6 KiB
SCSS
257 lines
No EOL
3.6 KiB
SCSS
body {
|
|
overflow-x: hidden
|
|
}
|
|
|
|
.ffz-metadata-balloon {
|
|
z-index: 999999999 !important;
|
|
margin: 6px;
|
|
}
|
|
|
|
|
|
.ffz-tooltip.ffz-tooltip--no-mouse {
|
|
> * {
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
|
|
.ffz-tooltip-child {
|
|
display: none !important;
|
|
}
|
|
|
|
.ffz-tooltip--markdown {
|
|
white-space: normal;
|
|
|
|
p {
|
|
font-size: unset;
|
|
line-height: unset;
|
|
}
|
|
|
|
p + p {
|
|
margin-top: 0.5rem;
|
|
}
|
|
}
|
|
|
|
|
|
.ffz-balloon {
|
|
&[data-popper-placement^="bottom"] > .ffz-balloon__tail {
|
|
bottom: 100%;
|
|
|
|
.ffz-balloon__tail-symbol {
|
|
top: auto;
|
|
bottom: -8px;
|
|
left: 8px;
|
|
}
|
|
}
|
|
|
|
&[data-popper-placement^="top"] > .ffz-balloon__tail {
|
|
top: 100%;
|
|
|
|
.ffz-balloon__tail-symbol {
|
|
top: auto;
|
|
bottom: 8px;
|
|
left: 8px;
|
|
}
|
|
}
|
|
|
|
&[data-popper-placement^="right"] > .ffz-balloon__tail {
|
|
right: 100%;
|
|
|
|
.ffz-balloon__tail-symbol {
|
|
left: auto;
|
|
right: -8px;
|
|
top: 8px;
|
|
}
|
|
}
|
|
|
|
&[data-popper-placement^="left"] > .ffz-balloon__tail {
|
|
left: 100%;
|
|
|
|
.ffz-balloon__tail-symbol {
|
|
left: auto;
|
|
right: 8px;
|
|
top: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ffz-action-balloon,
|
|
.ffz-metadata-balloon,
|
|
.ffz__tooltip {
|
|
.loader {
|
|
text-align: center;
|
|
opacity: .5;
|
|
margin: 1rem;
|
|
font-size: 3rem;
|
|
animation: ffz-rotateplane 1.2s infinite linear;
|
|
}
|
|
}
|
|
|
|
|
|
.ffz--tooltip-explain {
|
|
width: 30rem;
|
|
font-weight: 100;
|
|
white-space: normal;
|
|
}
|
|
|
|
|
|
.ffz__tooltip {
|
|
z-index: 999999999;
|
|
margin: 6px;
|
|
border-radius: 2px;
|
|
background: var(--color-background-tooltip);
|
|
color: var(--color-text-tooltip);
|
|
font-size: 1.2rem;
|
|
line-height: 1;
|
|
text-align: left;
|
|
white-space: pre-wrap;
|
|
|
|
&.html { white-space: normal }
|
|
|
|
.ffz__tooltip--arrow {
|
|
position: absolute;
|
|
|
|
&:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0;
|
|
width: 6px; height: 6px;
|
|
transform: rotate(45deg);
|
|
background: var(--color-background-tooltip);
|
|
z-index: -1;
|
|
}
|
|
}
|
|
|
|
&[data-popper-placement^="bottom"] {
|
|
.ffz__tooltip--arrow {
|
|
top: -3px;
|
|
border-radius: 2px 0 0;
|
|
|
|
&:before {
|
|
left: -3px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&[data-popper-placement^="top"] {
|
|
.ffz__tooltip--arrow {
|
|
bottom: 3px;
|
|
border-radius: 0 0 2px;
|
|
|
|
&:before {
|
|
left: -3px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&[data-popper-placement^="right"] {
|
|
.ffz__tooltip--arrow {
|
|
left: -3px;
|
|
border-radius: 0 2px 0 0;
|
|
|
|
&:before {
|
|
top: -3px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&[data-popper-placement^="left"] {
|
|
.ffz__tooltip--arrow {
|
|
right: 3px;
|
|
border-radius: 0 0 0 2px;
|
|
|
|
&:before {
|
|
top: -3px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.ffz__tooltip--inner {
|
|
display: block;
|
|
max-width: 30rem;
|
|
padding: .3rem .6rem;
|
|
text-align: center;
|
|
|
|
&--align-left {
|
|
text-align: left;
|
|
}
|
|
|
|
&--align-justify {
|
|
text-align: justify;
|
|
}
|
|
|
|
&--align-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.preview-image {
|
|
&.ffz-badge {
|
|
height: 7.2rem;
|
|
width: 7.2rem;
|
|
background-size: 7.2rem;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
display: block;
|
|
margin: 3px auto 6px;
|
|
}
|
|
|
|
br {
|
|
display: block;
|
|
}
|
|
|
|
.ffz-cheer {
|
|
margin: 5px;
|
|
}
|
|
}
|
|
|
|
|
|
.ffz__tooltip--badges {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
max-width: 20rem;
|
|
padding: .1rem .2rem;
|
|
}
|
|
|
|
.ffz-effect-tip {
|
|
margin: 3px auto 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.ffz-badge-tip {
|
|
margin: .2rem .4rem;
|
|
}
|
|
|
|
|
|
.ffz-rich-tip {
|
|
max-width: 340px;
|
|
width: 340px;
|
|
text-align: left;
|
|
position: relative;
|
|
padding: 8px;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
|
|
.ffz__tooltip {
|
|
--color-border-base: var(--color-text-tooltip);
|
|
|
|
&:not([data-shift="true"]) .ffz--shift-show,
|
|
&[data-shift="true"] .ffz--shift-hide { display: none !important; }
|
|
|
|
.tw-c-text-base {
|
|
color: var(--color-text-tooltip) !important;
|
|
}
|
|
|
|
.tw-c-text-alt {
|
|
color: var(--color-text-tooltip-alt) !important;
|
|
}
|
|
.tw-c-text-alt-2 {
|
|
color: var(--color-text-tooltip-alt-2) !important;
|
|
}
|
|
} |