mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-04 11:44:00 +00:00
This was a small update until Twitch ripped out half their CSS. * Added: Cross-Origin Storage Bridge for settings, better synchronizing settings on sub-domains with support for binary blobs at the cost of slightly increased start-up time. * Fixed: Rendering issues caused by missing CSS. * Fixed: FFZ Control Center button not appearing on dashboard pages, and appearing in the incorrect place. * Changed: Work towards splitting modules into their own JS files for a faster, more asynchronous startup. * API Added: Methods for serializing and deserializing Blobs for transmission across postMessage.
204 lines
No EOL
2.9 KiB
SCSS
204 lines
No EOL
2.9 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-balloon {
|
|
&[x-placement^="bottom"] > .ffz-balloon__tail {
|
|
bottom: 100%;
|
|
|
|
.ffz-balloon__tail-symbol {
|
|
top: auto;
|
|
bottom: -8px;
|
|
left: 8px;
|
|
}
|
|
}
|
|
|
|
&[x-placement^="top"] > .ffz-balloon__tail {
|
|
top: 100%;
|
|
|
|
.ffz-balloon__tail-symbol {
|
|
top: auto;
|
|
bottom: 8px;
|
|
left: 8px;
|
|
}
|
|
}
|
|
|
|
&[x-placement^="right"] > .ffz-balloon__tail {
|
|
right: 100%;
|
|
|
|
.ffz-balloon__tail-symbol {
|
|
left: auto;
|
|
right: -8px;
|
|
top: 8px;
|
|
}
|
|
}
|
|
|
|
&[x-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;
|
|
width: 6px; height: 6px;
|
|
transform: rotate(45deg);
|
|
z-index: -1;
|
|
|
|
background: var(--color-background-tooltip);
|
|
}
|
|
|
|
&[x-placement^="bottom"] {
|
|
.ffz__tooltip--arrow {
|
|
top: -3px;
|
|
border-radius: 2px 0 0;
|
|
}
|
|
}
|
|
|
|
&[x-placement^="top"] {
|
|
.ffz__tooltip--arrow {
|
|
bottom: -3px;
|
|
border-radius: 0 0 2px;
|
|
}
|
|
}
|
|
|
|
&[x-placement^="right"] {
|
|
.ffz__tooltip--arrow {
|
|
left: -3px;
|
|
border-radius: 0 2px 0 0;
|
|
}
|
|
}
|
|
|
|
&[x-placement^="left"] {
|
|
.ffz__tooltip--arrow {
|
|
right: -3px;
|
|
border-radius: 0 0 0 2px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.ffz__tooltip--inner {
|
|
display: block;
|
|
max-width: 30rem;
|
|
padding: .3rem .6rem;
|
|
text-align: center;
|
|
|
|
.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-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;
|
|
}
|
|
} |