1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 05:15:54 +00:00
FrankerFaceZ/styles/widgets/profile-selector.scss
SirStendec 264c375f13 4.20.61
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.
2021-02-11 19:40:12 -05:00

79 lines
No EOL
1.1 KiB
SCSS

.ffz--profile-selector {
position: relative;
.ffz-balloon {
position: absolute;
margin-top: 0 !important
}
.scrollable-area {
max-height: 30rem;
}
}
.ffz--profile-row {
outline: none;
cursor: pointer;
border-left: 4px solid;
border-left-color: transparent;
/*&.live .ffz--profile-row__icon {
color: var(--color-green-darker);
}*/
&:not(.live):not(:hover):not(:focus) {
opacity: .5;
font-variant: italic;
.tw-root--theme-dark & {
opacity: .25;
}
}
&.current {
border-left-color: var(--color-border-button-active);
}
.description {
opacity: .7;
}
&:first-child {
margin-top: 0.5rem;
}
&:last-child {
&, .tw-root--theme-dark & {
border-bottom: none !important
}
}
&:focus {
box-shadow:
inset 0 0 0 1px var(--ffz-color-accent-8),
0 0 6px -2px var(--ffz-color-accent-8);
}
&:focus,
&:hover {
background-color: var(--color-background-alt-2);
}
}
.ffz--profile-row__icon {
position: absolute;
top: 0.5rem; right: 0.5rem;
font-size: 1.6rem;
}
.ffz--experiment-row {
&:not(.live):not(:hover):not(:focus) {
opacity: 0.5;
.tw-root--theme-dark & {
opacity: .25;
}
}
}