diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-27 19:34:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 19:34:14 -0500 |
commit | ed0c0c20c095ac693dac3f1c4145e4c8dc83601a (patch) | |
tree | 6a426348a026e08c499f708b66797bfe14c91687 /ext/bg/css/settings2.css | |
parent | 97bb05147e256699cf1b5e85c4ef88e510b9ace1 (diff) |
Native keyboard shortcuts settings (#1322)
* Fix style issue
* Add ExtensionKeyboardShortcutController
* Move descriptions
* Add separator line
Diffstat (limited to 'ext/bg/css/settings2.css')
-rw-r--r-- | ext/bg/css/settings2.css | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/ext/bg/css/settings2.css b/ext/bg/css/settings2.css index 327c3f37..4a465a2c 100644 --- a/ext/bg/css/settings2.css +++ b/ext/bg/css/settings2.css @@ -791,7 +791,8 @@ select.short-height { flex: 0 0 auto; padding: var(--modal-padding-vertical-half) var(--modal-padding-horizontal); } -.modal-body>.settings-item { +.modal-body>.settings-item, +.modal-settings-group>.settings-item { margin-left: calc(var(--modal-padding-horizontal) * -1); } .modal-body .settings-item { @@ -912,6 +913,15 @@ button.icon-button.modal-header-button:active>.icon-button-inner>.icon { visibility 0s ease-in-out var(--animation-duration2); } +.modal-separator-line { + border-bottom: var(--thin-border-size) solid var(--separator-color1); + margin: 0 calc(var(--modal-padding-horizontal) * -1); +} +.modal-separator-line-light { + border-bottom: var(--thin-border-size) solid var(--separator-color2); + margin: 0 calc(var(--modal-padding-horizontal) * -1); +} + /* Status footer */ .status-footer-container { @@ -1944,11 +1954,6 @@ input.sentence-termination-character-input2 { padding-left: 0.375em; } -.anki-card-primary-separator { - border-bottom: var(--thin-border-size) solid var(--separator-color1); - margin: 0 calc(var(--modal-padding-horizontal) * -1); -} - /* Generic layouts */ .margin-above { |