2020-05-10 03:46:06 +00:00
|
|
|
@import 'src/_variables.scss';
|
2020-05-03 14:36:12 +00:00
|
|
|
.settings-modal {
|
2020-05-23 23:06:55 +00:00
|
|
|
overflow: hidden;
|
2020-05-10 03:46:06 +00:00
|
|
|
|
2020-05-03 14:36:12 +00:00
|
|
|
.settings_tab-switcher {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-05-10 03:46:06 +00:00
|
|
|
&.peek {
|
|
|
|
.settings-modal-panel {
|
2020-05-23 23:06:55 +00:00
|
|
|
/* Explanation:
|
|
|
|
* Modal is positioned vertically centered.
|
|
|
|
* 100vh - 100% = Distance between modal's top+bottom boundaries and screen
|
|
|
|
* (100vh - 100%) / 2 = Distance between bottom (or top) boundary and screen
|
|
|
|
* + 100% - we move modal completely off-screen, it's top boundary touches
|
|
|
|
* bottom of the screen
|
|
|
|
* - 50px - leaving tiny amount of space so that titlebar + tiny amount of modal is visible
|
|
|
|
*/
|
|
|
|
transform: translateY(calc(((100vh - 100%) / 2 + 100%) - 50px));
|
2020-05-10 03:46:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-03 14:36:12 +00:00
|
|
|
.settings-modal-panel {
|
2020-05-10 03:46:06 +00:00
|
|
|
transition: transform;
|
|
|
|
transition-timing-function: ease-in-out;
|
|
|
|
transition-duration: 300ms;
|
2020-05-03 14:36:12 +00:00
|
|
|
width: 1000px;
|
|
|
|
max-width: 90vw;
|
|
|
|
height: 90vh;
|
2020-05-10 03:46:06 +00:00
|
|
|
@media all and (max-width: 800px) {
|
|
|
|
max-width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
2020-05-03 14:36:12 +00:00
|
|
|
}
|
|
|
|
.panel-body {
|
2020-05-10 03:46:06 +00:00
|
|
|
height: 100%;
|
2020-05-03 14:36:12 +00:00
|
|
|
overflow-y: hidden;
|
|
|
|
|
2020-05-10 03:46:06 +00:00
|
|
|
.btn {
|
|
|
|
min-height: 28px;
|
|
|
|
min-width: 10em;
|
|
|
|
padding: 0 2em;
|
|
|
|
}
|
2020-05-23 23:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.full-height {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setting-item {
|
|
|
|
border-bottom: 2px solid var(--fg, $fallback--fg);
|
|
|
|
margin: 1em 1em 1.4em;
|
|
|
|
padding-bottom: 1.4em;
|
2020-05-10 03:46:06 +00:00
|
|
|
|
2020-05-03 14:36:12 +00:00
|
|
|
> div {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
min-width: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unavailable,
|
|
|
|
.unavailable i {
|
|
|
|
color: var(--cRed, $fallback--cRed);
|
|
|
|
color: $fallback--cRed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.number-input {
|
|
|
|
max-width: 6em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|