98 lines
No EOL
2.1 KiB
SCSS
98 lines
No EOL
2.1 KiB
SCSS
// Settings
|
|
/// Global
|
|
.tab-header {
|
|
padding: 32px;
|
|
}
|
|
|
|
.setting {
|
|
background: var(--CardBackground);
|
|
border: 1px rgb(255 255 255 / 10%) solid;
|
|
border-radius: 6px;
|
|
padding: 12px 6px 12px 12px;
|
|
margin: 0px 32px 24px 32px;
|
|
h1, h2, p {
|
|
margin: 0px;
|
|
cursor: default;
|
|
}
|
|
h2 {
|
|
font-size: 18px;
|
|
}
|
|
.setting-header {
|
|
border-bottom: 1px rgba(255, 255, 255, 0.1) solid;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
margin: -12px -6px 12px -12px;
|
|
padding: 14px 32px 6px 32px;
|
|
border-radius: 6px 6px 0px 0px;
|
|
h1 {
|
|
font-size: 24px;
|
|
margin-bottom: 6px;
|
|
}
|
|
p {
|
|
font-size: 14px;
|
|
margin-bottom: 12px;
|
|
}
|
|
}
|
|
.setting-content {
|
|
.option {
|
|
display: grid;
|
|
grid-template-columns: 360px auto;
|
|
grid-gap: 32px;
|
|
border-bottom: 1px rgb(255 255 255 / 10%) solid;
|
|
padding: 32px;
|
|
.option-meta {
|
|
h2 {
|
|
font-size: 16px;
|
|
margin-bottom: 12px;
|
|
margin-top: 6px;
|
|
}
|
|
p {
|
|
font-size: 14px;
|
|
color: rgb(145 145 145);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Appearance
|
|
/// Theme
|
|
[os="Linux"] .theme #auto {display: none !important}
|
|
.theme {
|
|
button {
|
|
background: #181818;
|
|
border: 1px rgb(255 255 255 / 10%) solid;
|
|
color: white;
|
|
border-radius: 10px;
|
|
aspect-ratio: 1;
|
|
width: 84px;
|
|
cursor: pointer;
|
|
margin-right: 6px;
|
|
transition: 0.3s border;
|
|
p {
|
|
margin: 96px 0px -32px 0px;
|
|
color: gray;
|
|
transition: 0.3s color;
|
|
}
|
|
}
|
|
button:hover {
|
|
border: 1px white solid;
|
|
transition: 0.3s border;
|
|
p {
|
|
color: white;
|
|
transition: 0.3s color;
|
|
}
|
|
}
|
|
.theme-active::before {
|
|
content: "";
|
|
background: var(--TabActiveBackground);
|
|
width: 20px;
|
|
position: absolute;
|
|
margin: 50px 0px 0px 10px;
|
|
border-radius: 50px;
|
|
aspect-ratio: 1;
|
|
}
|
|
}
|
|
button#auto {background-image: url(/public/images/settings/theme/Auto.png)}
|
|
button#light {background-image: url(/public/images/settings/theme/Light.png)}
|
|
button#dark {background-image: url(/public/images/settings/theme/Dark.png)} |