1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 08:28:31 +00:00
FrankerFaceZ/styles/widgets/profile-selector.scss
SirStendec 077a0685ad 4.12.2
* Added: Helper text to `Appearance > Theme` with suggested colors, as well as the previous site fonts.
* Changed: Automatically enable or disable Twitch's Dark Theme when setting a background color, to ensure page elements stay styled correctly.
* Changed: Don't try injecting our script on `brand` or `dev` subdomains.
* Changed: Do not allow setting the alpha value of custom background colors.
* Fixed: Add relative positioning to most of our tool-tip wrapper elements, to ensure tool-tips are positioned correctly.
* Fixed: Stop modifying queries with Apollo. Just send our own queries when we need a bit of extra data. Should prevent loading issues.
* Fixed: Option to hide the Discover link in the top navigation not working.
* Fixed: Option to hide live indicators on channel cards not working.
* Fixed: Add a few more rules to the new theme to ensure all elements are colored correctly.
* Fixed: Do not square avatars within the Bits Leaderboard.
* Known Issue: Light custom themes do not look good in Theater Mode.
2019-09-27 15:44:33 -04:00

79 lines
No EOL
1.1 KiB
SCSS

.ffz--profile-selector {
position: relative;
.tw-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(--color-twitch-purple-8),
0 0 6px -2px var(--color-twitch-purple-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;
}
}
}