You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
2.0 KiB
112 lines
2.0 KiB
.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, legend {
|
|
display: block;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.boolean label, .radio_buttons label {
|
|
position: relative;
|
|
padding-left: 28px;
|
|
padding-top: 3px;
|
|
|
|
input {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
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: lighten($ui-secondary-color, 8%);
|
|
border-bottom: 1px $ui-secondary-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: lighten($ui-secondary-color, 8%);
|
|
width: 212px;
|
|
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 {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.glitch.local-settings__page__item.string,
|
|
.glitch.local-settings__page__item.radio_buttons {
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
@media screen and (max-width: 630px) {
|
|
.glitch.local-settings__navigation {
|
|
width: 40px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.glitch.local-settings__navigation__item {
|
|
padding: 10px;
|
|
|
|
span:last-of-type {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|