diff options
author | ThanosApollo <[email protected]> | 2022-09-01 07:46:56 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-09-01 07:46:56 +0300 |
commit | 95853bb603efacc9890f2b86bd28b0377e448ee5 (patch) | |
tree | b787556e8f94151d67cce064af5614978eec3888 /.local/share/Anki2/addons21/anki_reworked/files/BottomBar.css | |
parent | 0c89df9be987008e55c1b336489c41290653434b (diff) |
Re-add anki addons
Diffstat (limited to '.local/share/Anki2/addons21/anki_reworked/files/BottomBar.css')
-rw-r--r-- | .local/share/Anki2/addons21/anki_reworked/files/BottomBar.css | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.local/share/Anki2/addons21/anki_reworked/files/BottomBar.css b/.local/share/Anki2/addons21/anki_reworked/files/BottomBar.css new file mode 100644 index 0000000..1e07817 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/BottomBar.css @@ -0,0 +1,40 @@ +body #outer button { + color: var(--text-fg, var(--legacy-text-fg)); + border: none; + border-radius: 15px; + padding: 6px 24px; + margin: 0 5px; + cursor: pointer; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.75; + letter-spacing: 0.02857em; + text-transform: uppercase; + min-width: 64px; + background-color: var(--frame-bg, var(--legacy-frame-bg)); + transition: background 0.2s linear, color 0.3s ease-out; + box-shadow: rgb(0 0 0 / 20%) 0px 3px 7px -2px, + rgb(0 0 0 / 5%) 0px 5px 10px 0px, rgb(0 0 0 / 12%) 0px 1px 5px 0px; +} +body.nightMode #outer button { + background: initial; + background-color: var(--frame-bg, var(--legacy-frame-bg)); +} + +body #outer button:focus, +body #outer button.focus { + background-color: var(--primary-color); + color: var(--frame-bg, var(--legacy-frame-bg)); + outline: none; +} +body.nightMode #outer button:focus, +body.nightMode #outer button.focus { + color: var(--text-fg, var(--legacy-text-fg)); +} + +body #outer button:hover { + background-color: rgba(0, 0, 0, 0.05); +} +body.nightMode #outer button:hover { + background-color: rgba(255, 255, 255, 0.1); +} |