From 95853bb603efacc9890f2b86bd28b0377e448ee5 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Thu, 1 Sep 2022 07:46:56 +0300 Subject: Re-add anki addons --- .../addons21/anki_reworked/files/BottomBar.css | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .local/share/Anki2/addons21/anki_reworked/files/BottomBar.css (limited to '.local/share/Anki2/addons21/anki_reworked/files/BottomBar.css') 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); +} -- cgit v1.2.3