rudeshark.net/src/client/components/debobigego/debobigego.scss

53 lines
1.1 KiB
SCSS
Raw Normal View History

2021-09-29 17:50:45 +02:00
._debobigegoPanel {
background: var(--panel);
border-radius: var(--radius);
2021-04-13 18:41:49 +02:00
transition: background 0.2s ease;
2021-09-29 17:50:45 +02:00
&._debobigegoClickable {
&:hover {
2020-12-20 09:19:18 +01:00
//background: var(--panelHighlight);
}
2021-04-13 18:41:49 +02:00
&:active {
background: var(--panelHighlight);
transition: background 0s;
}
}
}
2021-09-29 17:50:45 +02:00
._debobigegoLabel,
._debobigegoCaption {
2021-04-12 06:06:00 +02:00
font-size: 80%;
color: var(--fgTransparentWeak);
&:empty {
display: none;
}
}
2021-09-29 17:50:45 +02:00
._debobigegoLabel {
2021-04-11 14:09:35 +02:00
position: sticky;
top: var(--stickyTop, 0px);
z-index: 2;
2021-09-29 17:50:45 +02:00
margin: -8px calc(var(--debobigegoXPadding) * -1) 0 calc(var(--debobigegoXPadding) * -1);
padding: 8px calc(var(--debobigegoContentHMargin) + var(--debobigegoXPadding)) 8px calc(var(--debobigegoContentHMargin) + var(--debobigegoXPadding));
2021-04-11 14:09:35 +02:00
background: var(--X17);
2021-08-11 15:34:45 +02:00
-webkit-backdrop-filter: var(--blur, blur(10px));
backdrop-filter: var(--blur, blur(10px));
2021-04-12 06:06:00 +02:00
}
2021-09-29 17:50:45 +02:00
._themeChanging_ ._debobigegoLabel {
2021-04-12 06:06:00 +02:00
transition: none !important;
background: transparent;
}
2021-09-29 17:50:45 +02:00
._debobigegoCaption {
padding: 8px var(--debobigegoContentHMargin) 0 var(--debobigegoContentHMargin);
}
2021-09-29 17:50:45 +02:00
._debobigegoItem {
& + ._debobigegoItem {
margin-top: 24px;
}
}