From 4ddb7273098bee179bb77e0937e560fc0100960c Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 4 Aug 2022 09:50:48 +0300 Subject: Add anki addons --- .../sources/css/25/deckbrowser.css | 121 +++++++++++++++++++++ .../sources/css/25/overview.css | 67 ++++++++++++ .../sources/css/25/reviewer-bottom.css | 92 ++++++++++++++++ .../sources/css/25/reviewer.css | 90 +++++++++++++++ .../sources/css/25/toolbar-bottom.css | 9 ++ .../Background_and_gear/sources/css/25/toolbar.css | 74 +++++++++++++ 6 files changed, 453 insertions(+) create mode 100644 .local/share/Anki2/addons21/Background_and_gear/sources/css/25/deckbrowser.css create mode 100644 .local/share/Anki2/addons21/Background_and_gear/sources/css/25/overview.css create mode 100644 .local/share/Anki2/addons21/Background_and_gear/sources/css/25/reviewer-bottom.css create mode 100644 .local/share/Anki2/addons21/Background_and_gear/sources/css/25/reviewer.css create mode 100644 .local/share/Anki2/addons21/Background_and_gear/sources/css/25/toolbar-bottom.css create mode 100644 .local/share/Anki2/addons21/Background_and_gear/sources/css/25/toolbar.css (limited to '.local/share/Anki2/addons21/Background_and_gear/sources/css/25') diff --git a/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/deckbrowser.css b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/deckbrowser.css new file mode 100644 index 0000000..986818e --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/deckbrowser.css @@ -0,0 +1,121 @@ +/* night-mode-specific colours */ +.review-count { + color: #0a0; +} + +.new-count { + color: #00a; +} + +.learn-count { + color: #C35617; +} + +.zero-count { + color: #ddd; +} + +.nightMode .review-count { + color: #5CcC00; +} +.nightMode .new-count { + color: #77ccff; +} +.nightMode .learn-count { + color: #FF935B; +} +.nightMode .zero-count { + color: #444; +} + +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ +a.deck { + color: black; + text-decoration: none; + min-width: 5em; + display: inline-block; +} + +a.deck:hover { + text-decoration: underline; +} + +tr.deck td { + border-bottom: 1px solid #e7e7e7; +} + +tr.top-level-drag-row td { + border-bottom: 1px solid transparent; +} + +td { + white-space: nowrap; +} + +tr.drag-hover td { + border-bottom: 1px solid #aaa; +} + +body { + margin: 1em; + -webkit-user-select: none; +} + +.current { + background-color: rgba(231, 231, 231, 0.3)/* #e7e7e7; */ +} + +.decktd { + min-width: 15em; +} + +.count { + min-width: 4em; + text-align: right; +} + +.optscol { + width: 2em; +} + +.collapse { + color: black; + text-decoration: none; + display: inline-block; + width: 1em; +} + +.filtered { + color: #00a !important; +} + +.gears { + width: 1em; + height: 1em; + opacity: 0.5; + padding-top: 0.2em; +} + +.nightMode a.deck { + color: white; +} +.nightMode tr.deck td { + border-bottom-color: #29292B; +} +.nightMode tr.drag-hover td { + border-bottom-color: #777; +} +.nightMode .current { + background-color: rgba(41, 41, 43, 0.3); /* #29292B; */ +} +.nightMode .collapse { + color: white; +} +.nightMode .gears { + filter: invert(180); +} +.nightMode .filtered { + color: #77ccff !important; +} +/*AnKing edits*/ \ No newline at end of file diff --git a/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/overview.css b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/overview.css new file mode 100644 index 0000000..f42cc84 --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/overview.css @@ -0,0 +1,67 @@ +/* night-mode-specific colours */ +.review-count { + color: #0a0; +} + +.new-count { + color: #00a; +} + +.learn-count { + color: #C35617; +} + +.zero-count { + color: #ddd; +} + +.nightMode .review-count { + color: #5CcC00; +} +.nightMode .new-count { + color: #77ccff; +} +.nightMode .learn-count { + color: #FF935B; +} +.nightMode .zero-count { + color: #444; +} + +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ +.smallLink { + font-size: 10px; +} + +h3 { + margin-bottom: 0; +} + +.descfont { + padding: 1em; + color: #333; +} + +.description { + white-space: pre-wrap; +} + +#fulldesc { + display: none; +} + +.descmid { + width: 70%; + margin: 0 auto 0; + text-align: left; +} + +.dyn { + text-align: center; +} + +.nightMode .descfont { + color: #ccc; +} +/*AnKing edits*/ \ No newline at end of file diff --git a/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/reviewer-bottom.css b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/reviewer-bottom.css new file mode 100644 index 0000000..d6fdf8a --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/reviewer-bottom.css @@ -0,0 +1,92 @@ +/* night-mode-specific colours */ +.review-count { + color: #0a0; +} + +.new-count { + color: #00a; +} + +.learn-count { + color: #C35617; +} + +.zero-count { + color: #ddd; +} + +.nightMode .review-count { + color: #5CcC00; +} +.nightMode .new-count { + color: #77ccff; +} +.nightMode .learn-count { + color: #FF935B; +} +.nightMode .zero-count { + color: #444; +} + +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ +body { + margin: 0; + padding: 0; +} + +button { + min-width: 60px; + white-space: nowrap; + margin: 0.5em; +} + +.hitem { + margin-top: 2px; +} + +.stat { + padding-top: 5px; +} + +.stat2 { + padding-top: 3px; + font-weight: normal; +} + +.stattxt { + padding-left: 5px; + padding-right: 5px; + white-space: nowrap; +} + +#ansbut { + margin-bottom: 1em; +} + +.nobold { + font-weight: normal; + display: inline-block; + padding-top: 4px; +} + +.spacer { + height: 18px; +} + +.spacer2 { + height: 16px; +} + +#outer { + border-top: 1px solid #aaa; +} + +#innertable { + padding: 3px; +} + +.nightMode #outer { + border-top-color: #29292B; +} + /*AnKing edits*/ \ No newline at end of file diff --git a/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/reviewer.css b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/reviewer.css new file mode 100644 index 0000000..d301cbc --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/reviewer.css @@ -0,0 +1,90 @@ +/* night-mode-specific colours */ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ +hr { + background-color: #ccc; +} + +body { + margin: 20px; + overflow-wrap: break-word; +} + +body.nightMode { + background-color: #2f2f31; + color: white; +} + +img { + max-width: 95%; + max-height: 95vh; +} + +#_flag { + position: fixed; + right: 10px; + top: 0; + font-size: 30px; + display: none; + -webkit-text-stroke-width: 1px; + -webkit-text-stroke-color: black; +} + +#_mark { + position: fixed; + left: 10px; + top: 0; + font-size: 30px; + color: yellow; + display: none; + -webkit-text-stroke-width: 1px; + -webkit-text-stroke-color: black; +} + +#typeans { + width: 100%; + box-sizing: border-box; +} + +.typeGood { + background: #0f0; +} + +.typeBad { + background: #f00; +} + +.typeMissed { + background: #ccc; +} + +.replay-button { + text-decoration: none; + display: inline-flex; + vertical-align: middle; + margin: 3px; +} +.replay-button svg { + width: 40px; + height: 40px; +} +.replay-button svg circle { + fill: #fff; + stroke: #414141; +} +.replay-button svg path { + fill: #414141; +} + +.nightMode .latex { + filter: invert(100%); +} + +.drawing { + zoom: 50%; +} + +.nightMode img.drawing { + filter: invert(1) hue-rotate(180deg); +} +/*AnKing edits*/ \ No newline at end of file diff --git a/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/toolbar-bottom.css b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/toolbar-bottom.css new file mode 100644 index 0000000..e0fb5e1 --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/toolbar-bottom.css @@ -0,0 +1,9 @@ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ +#header { + border-bottom: 0; + margin-bottom: 6px; + margin-top: 0; + padding: 9px; +} +/*AnKing edits*/ \ No newline at end of file diff --git a/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/toolbar.css b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/toolbar.css new file mode 100644 index 0000000..dfc0cc2 --- /dev/null +++ b/.local/share/Anki2/addons21/Background_and_gear/sources/css/25/toolbar.css @@ -0,0 +1,74 @@ +/* night-mode-specific colours */ +/* Copyright: Ankitects Pty Ltd and contributors + * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ +#header { + padding: 3px; + font-weight: bold; + border-bottom: 1px solid #aaa; +} + +.tdcenter { + white-space: nowrap; +} + +body { + margin: 0; + padding: 0; + -webkit-user-select: none; + overflow: hidden; +} + +* { + -webkit-user-drag: none; +} + +.hitem { + padding-right: 12px; + padding-left: 12px; + text-decoration: none; + color: black; +} + +.hitem:hover { + text-decoration: underline; +} + +.hitem:focus { + outline: 0; +} + +.nightMode .hitem { + color: white; +} +.nightMode #header { + border-bottom-color: #29292B; +} + +.isMac.nightMode #header { + border-bottom-color: #3a3a3a; +} + +@keyframes spin { + 0% { + -webkit-transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + } +} +.spin { + animation: spin; + animation-duration: 2s; + animation-iteration-count: infinite; + display: inline-block; + visibility: visible !important; + animation-timing-function: linear; +} + +#sync-spinner { + width: 16px; + height: 16px; + margin-bottom: -3px; + visibility: hidden; +} +/*AnKing edits*/ \ No newline at end of file -- cgit v1.2.3