2022-04-09 19:09:45 +00:00
|
|
|
// UI element changes
|
|
|
|
|
2022-04-10 11:14:51 +00:00
|
|
|
// slider
|
2022-04-09 19:09:45 +00:00
|
|
|
div[class^="slider-"] {
|
|
|
|
div[class^="track-"] {
|
|
|
|
div[class^="grabber-"] {
|
|
|
|
@half: (@rounder / 2);
|
2022-04-11 17:05:34 +00:00
|
|
|
position: relative;
|
2022-04-09 19:09:45 +00:00
|
|
|
width: @rounder;
|
|
|
|
height: @rounder;
|
|
|
|
border: none;
|
2022-09-06 18:24:40 +00:00
|
|
|
.radius(@half);
|
2022-04-11 17:05:34 +00:00
|
|
|
top: @half * 1.5;
|
|
|
|
margin-top: unset;
|
2022-04-09 19:09:45 +00:00
|
|
|
margin-left: -@half;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-04-10 11:14:51 +00:00
|
|
|
|
|
|
|
// tabs
|
|
|
|
div[role="tab"],
|
2022-09-06 18:24:40 +00:00
|
|
|
div.tabBarItem-30Te4- {
|
|
|
|
.top-border(16px) !important;
|
|
|
|
.bottom-border(4px) !important;
|
2022-04-10 11:14:51 +00:00
|
|
|
margin: 0;
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-right: 16px;
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
2022-04-11 16:29:17 +00:00
|
|
|
&:hover,
|
2022-09-06 18:24:40 +00:00
|
|
|
&.selected-g-kMVV {
|
2022-04-11 16:29:17 +00:00
|
|
|
background-color: var(--interactive-muted) !important;
|
|
|
|
color: var(--text-normal) !important;
|
2022-04-10 11:14:51 +00:00
|
|
|
}
|
2022-09-06 18:24:40 +00:00
|
|
|
|
|
|
|
div.textBadge-1fdDPJ {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2022-04-10 11:14:51 +00:00
|
|
|
}
|
|
|
|
|
2022-04-10 17:05:22 +00:00
|
|
|
// slider
|
2022-04-14 18:21:53 +00:00
|
|
|
div.bd-switch-body,
|
2022-04-10 17:05:22 +00:00
|
|
|
div[class^="container-"] {
|
2022-04-14 18:21:53 +00:00
|
|
|
&:extend(.rounder);
|
|
|
|
|
|
|
|
&[class*="disabled"] {
|
2022-04-10 17:05:22 +00:00
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2022-04-14 18:21:53 +00:00
|
|
|
& > svg[class*="slider"] {
|
2022-04-10 17:05:22 +00:00
|
|
|
width: 16px !important;
|
|
|
|
height: 16px !important;
|
2022-09-06 18:24:40 +00:00
|
|
|
.radius(50%);
|
2022-04-10 17:05:22 +00:00
|
|
|
margin: 4px 8px;
|
|
|
|
margin-right: 0;
|
|
|
|
background-color: white;
|
|
|
|
|
2022-04-14 18:21:53 +00:00
|
|
|
& > * {
|
2022-04-10 17:05:22 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-10 11:14:51 +00:00
|
|
|
div[class^="radioBar-"] {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2022-04-24 08:34:07 +00:00
|
|
|
div[class^="card-"],
|
|
|
|
div.bd-server-card {
|
|
|
|
& > div[class*="header"],
|
|
|
|
& > div[class*="Header"] {
|
|
|
|
position: absolute;
|
|
|
|
top: 0; left: 0;
|
|
|
|
width: 100%; height: 100%;
|
|
|
|
|
|
|
|
div[class^="coverWrapper"],
|
|
|
|
div[class^="splash"] {
|
|
|
|
filter: brightness(0.5);
|
|
|
|
}
|
|
|
|
.bd-server-icon,
|
|
|
|
& > div[class*="icon"],
|
|
|
|
& > div[class*="Icon"] {
|
|
|
|
position: relative;
|
|
|
|
width: 42px;
|
|
|
|
height: 42px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > div[class*="info"],
|
|
|
|
& > div[class*="Info"] {
|
|
|
|
margin-top: 84px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-10 11:14:51 +00:00
|
|
|
// Round
|
|
|
|
div[class^="tabBarItem-"],
|
|
|
|
div[class^="checkbox"],
|
|
|
|
button[class*="button"],
|
2022-09-17 09:08:10 +00:00
|
|
|
code.inline,
|
2022-04-10 11:14:51 +00:00
|
|
|
{ &:extend(.round); }
|
|
|
|
|
|
|
|
// Rounder
|
|
|
|
div[class^="markup-"] pre code, // ```code```
|
|
|
|
span[class^="spoiler"],
|
|
|
|
span.mention,
|
|
|
|
[class^="item-"], // in settings
|
|
|
|
div[class^="group-"], // radiogroup
|
|
|
|
div[class*="card"],
|
|
|
|
div[class^="categoryItem-"] > *, // in Discovery
|
|
|
|
div[class^="content-"] img[class^="image-"],
|
|
|
|
{ &:extend(.rounder); }
|