diff options
Diffstat (limited to 'src/components/settings_modal/settings_modal.scss')
| -rw-r--r-- | src/components/settings_modal/settings_modal.scss | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/src/components/settings_modal/settings_modal.scss b/src/components/settings_modal/settings_modal.scss index 8cea52d2..3efbe205 100644 --- a/src/components/settings_modal/settings_modal.scss +++ b/src/components/settings_modal/settings_modal.scss @@ -1,14 +1,29 @@ -@import '../../_variables.scss'; +@import 'src/_variables.scss'; .settings-modal { + .settings_tab-switcher { height: 100%; } + &.peek { + .settings-modal-panel { + transform: translateY(calc(100% - 50px)); + } + } + .settings-modal-panel { + transition: transform; + transition-timing-function: ease-in-out; + transition-duration: 300ms; width: 1000px; max-width: 90vw; height: 90vh; + @media all and (max-width: 800px) { + max-width: 100vw; + height: 100vh; + } } .panel-body { + height: 100%; overflow-y: hidden; } .setting-item { @@ -16,6 +31,12 @@ margin: 1em 1em 1.4em; padding-bottom: 1.4em; + .btn { + min-height: 28px; + min-width: 10em; + padding: 0 2em; + } + > div { margin-bottom: .5em; &:last-child { @@ -33,7 +54,6 @@ min-width: 10em; } - textarea { width: 100%; max-width: 100%; @@ -46,12 +66,6 @@ color: $fallback--cRed; } - .btn { - min-height: 28px; - min-width: 10em; - padding: 0 2em; - } - .number-input { max-width: 6em; } |
