mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-14 12:14:24 -05:00
b3a236637e
Port 74dae9458d
and related to glitch-soc
82 lines
1.4 KiB
SCSS
82 lines
1.4 KiB
SCSS
.glitch.local-settings {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
background: $ui-secondary-color;
|
|
color: $inverted-text-color;
|
|
border-radius: 8px;
|
|
height: 80vh;
|
|
width: 80vw;
|
|
max-width: 740px;
|
|
max-height: 450px;
|
|
overflow: hidden;
|
|
|
|
label {
|
|
display: block;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
line-height: 24px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
line-height: 20px;
|
|
margin-top: 20px;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.glitch.local-settings__navigation__item {
|
|
display: block;
|
|
padding: 15px 20px;
|
|
color: inherit;
|
|
background: $primary-text-color;
|
|
border-bottom: 1px $ui-primary-color solid;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
outline: none;
|
|
transition: background .3s;
|
|
|
|
&:hover {
|
|
background: $ui-secondary-color;
|
|
}
|
|
|
|
&.active {
|
|
background: $ui-highlight-color;
|
|
color: $primary-text-color;
|
|
}
|
|
|
|
&.close, &.close:hover {
|
|
background: $error-value-color;
|
|
color: $primary-text-color;
|
|
}
|
|
}
|
|
|
|
.glitch.local-settings__navigation {
|
|
background: $simple-background-color;
|
|
color: $inverted-text-color;
|
|
width: 200px;
|
|
font-size: 15px;
|
|
line-height: 20px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.glitch.local-settings__page {
|
|
display: block;
|
|
flex: auto;
|
|
padding: 15px 20px 15px 20px;
|
|
width: 360px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.glitch.local-settings__page__item {
|
|
select {
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|