diff options
author | Thanos Apollo <[email protected]> | 2022-08-04 09:50:48 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2022-08-04 09:50:48 +0300 |
commit | 4ddb7273098bee179bb77e0937e560fc0100960c (patch) | |
tree | cebc2f9412e45910408a7885ca78d7dedb77de78 /.local/share/Anki2/addons21/anki_reworked/files | |
parent | e83759ae9d0513024e390810ddcb18ffdd84675e (diff) |
Add anki addons
Diffstat (limited to '.local/share/Anki2/addons21/anki_reworked/files')
18 files changed, 361 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); +} diff --git a/.local/share/Anki2/addons21/anki_reworked/files/CardLayout.css b/.local/share/Anki2/addons21/anki_reworked/files/CardLayout.css new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/CardLayout.css @@ -0,0 +1 @@ + diff --git a/.local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css b/.local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css new file mode 100644 index 0000000..0b8f82c --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/DeckBrowser.css @@ -0,0 +1,48 @@ +body table:first-of-type { + width: 90%; + max-width: 600px; +} +body table:first-of-type th { + padding: 0 6px; +} +body table:first-of-type td { + padding: 6px; +} +body table:first-of-type tr.deck td { + border-bottom: none; +} +body table:first-of-type tr.deck td.opts { + padding-left: 20px; +} +body table:first-of-type tr.deck td.opts > a { + display: flex; +} +body table:first-of-type tr.current { + background-color: transparent; +} +body table:first-of-type tr.current td { + background-color: var(--faint-border, var(--legacy-faint-border)); +} +body table:first-of-type tr.current td:first-of-type { + border-radius: 10px 0 0 10px; +} +body table:first-of-type tr.current td:last-of-type { + border-radius: 0 10px 10px 0; +} +body table:first-of-type tr a { + color: var(--text-fg, var(--legacy-text-fg)) !important; +} +body table:first-of-type tr a.filtered { + color: var(--link, var(--legacy-link)) !important; +} +a.deck { + padding: 5px 10px 5px 5px; + transition: padding 1s, background-color 0.5s, margin-right 1s; + border-radius: 6px; + margin-right: 5px; +} +body table:first-of-type tr a.deck:hover { + padding: 5px 10px 5px 10px; + background-color: rgba(0, 0, 0, 0.1); + margin-right: 0; +} diff --git a/.local/share/Anki2/addons21/anki_reworked/files/Editor.css b/.local/share/Anki2/addons21/anki_reworked/files/Editor.css new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/Editor.css @@ -0,0 +1 @@ + diff --git a/.local/share/Anki2/addons21/anki_reworked/files/Overview.css b/.local/share/Anki2/addons21/anki_reworked/files/Overview.css new file mode 100644 index 0000000..7c7571a --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/Overview.css @@ -0,0 +1,59 @@ +body .descmid { + text-align: center; +} +center > table tr:first-of-type { + display: flex; + flex-direction: column; +} +td table { + width: 50%; +} +td table tr:first-of-type { + display: table-row; + flex-direction: unset; +} +td table tr td:last-of-type { + text-align: right; +} +button#study.but, +button#main.but { + padding: 10px 27px; + box-sizing: border-box; + width: 100%; + margin-bottom: 20px; + + color: var(--text-fg, var(--legacy-text-fg)); + border: none; + border-radius: 15px; + 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: initial; + 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 button#study.but:hover, +body.nightMode button#main.but:hover { + background-color: rgba(255, 255, 255, 0.1); +} +button#study.but:focus, +button#main.but:focus { + background-color: var(--primary-color) !important; + color: var(--frame-bg, var(--legacy-frame-bg)); + outline: none; +} +body.nightMode button#study.but:focus, +body.nightMode button#main.but:focus { + color: var(--text-fg); +} +button#study.but:hover, +button#main.but:hover { + background-color: rgba(0, 0, 0, 0.05); +} diff --git a/.local/share/Anki2/addons21/anki_reworked/files/QAbout.css b/.local/share/Anki2/addons21/anki_reworked/files/QAbout.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/QAbout.css diff --git a/.local/share/Anki2/addons21/anki_reworked/files/QAddCards.css b/.local/share/Anki2/addons21/anki_reworked/files/QAddCards.css new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/QAddCards.css @@ -0,0 +1 @@ + diff --git a/.local/share/Anki2/addons21/anki_reworked/files/QAddonsDialog.css b/.local/share/Anki2/addons21/anki_reworked/files/QAddonsDialog.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/QAddonsDialog.css diff --git a/.local/share/Anki2/addons21/anki_reworked/files/QBrowser.css b/.local/share/Anki2/addons21/anki_reworked/files/QBrowser.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/QBrowser.css diff --git a/.local/share/Anki2/addons21/anki_reworked/files/QEditCurrent.css b/.local/share/Anki2/addons21/anki_reworked/files/QEditCurrent.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/QEditCurrent.css diff --git a/.local/share/Anki2/addons21/anki_reworked/files/QFilteredDeckConfigDialog.css b/.local/share/Anki2/addons21/anki_reworked/files/QFilteredDeckConfigDialog.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/QFilteredDeckConfigDialog.css diff --git a/.local/share/Anki2/addons21/anki_reworked/files/QNewDeckStats.css b/.local/share/Anki2/addons21/anki_reworked/files/QNewDeckStats.css new file mode 100644 index 0000000..88cb00c --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/QNewDeckStats.css @@ -0,0 +1,3 @@ +body { + background-color: red; +}
\ No newline at end of file diff --git a/.local/share/Anki2/addons21/anki_reworked/files/QPreferences.css b/.local/share/Anki2/addons21/anki_reworked/files/QPreferences.css new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/QPreferences.css diff --git a/.local/share/Anki2/addons21/anki_reworked/files/Reviewer.css b/.local/share/Anki2/addons21/anki_reworked/files/Reviewer.css new file mode 100644 index 0000000..9e47f09 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/Reviewer.css @@ -0,0 +1,9 @@ +body #typeans { + padding: 8px 12px; + border-radius: 5px; +} +body.card { + width: 90%; + margin: 20px auto; + max-width: 1080px; +} diff --git a/.local/share/Anki2/addons21/anki_reworked/files/ReviewerBottomBar.css b/.local/share/Anki2/addons21/anki_reworked/files/ReviewerBottomBar.css new file mode 100644 index 0000000..768270e --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/ReviewerBottomBar.css @@ -0,0 +1,60 @@ +body { + overflow: hidden; +} +body #outer { + border-top: 1px solid transparent; +} +body.nightMode #outer { + border-top-color: transparent; +} +body #outer table#innertable { + padding: 6px; + transform: translateY(8px); +} +body button { + margin: 0; +} +body .stat { + position: relative; + padding-top: 0px; + min-width: 120px; +} +body .stat2 { + padding-top: 0px; + font-weight: normal; +} +td[align="center"] { + position: relative; +} +body .stattxt, +td[align="center"] > span { + position: absolute; + display: block; + left: 50%; + transform: translate(-50%, -13px); + color: var(--text-fg, var(--legacy-text-fg)); +} +body .stattxt#time { + transform: translate(-50%, -6px); +} +body #outer button#ansbut, +body #outer table button { + transform: translateY(-4px); +} +/* ARBb addon fix */ +body #outer.arbb .stat { + min-width: auto; + padding-left: 2px; + padding-right: 2px; +} +body #outer.arbb table#innertable { + padding: initial; + width: calc(100% - 10px); +} +body #outer.arbb button { + /* color: var(--text-fg, var(--legacy-text-fg)); */ + letter-spacing: 0.02857em; + text-transform: uppercase; + margin-left: 2px; + margin-right: 2px; +} diff --git a/.local/share/Anki2/addons21/anki_reworked/files/TopToolbar.css b/.local/share/Anki2/addons21/anki_reworked/files/TopToolbar.css new file mode 100644 index 0000000..3b4b6ee --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/TopToolbar.css @@ -0,0 +1,25 @@ +body #outer { + display: flex; + justify-content: center; +} +body center #header { + width: auto; + border-bottom: none; + border-radius: 0 0 12px 12px; + background-color: var(--frame-bg, var(--legacy-frame-bg)); + height: 40px; + box-shadow: rgb(0 0 0 / 10%) 0px 0px 11px -2px, + rgb(0 0 0 / 14%) 0px 2px 2px 0px, rgb(0 0 0 / 12%) 0px 4px 5px 0px; +} +body.nightMode center #header { + background-color: var(--faint-border, var(--legacy-faint-border)); +} +body center #header .hitem { + padding-left: initial; + padding-right: initial; + padding: 0 15px; + color: var(--text-fg, var(--legacy-text-fg)) !important; +} +body center #header a#sync { + color: var(--link, var(--legacy-link)) !important; +} diff --git a/.local/share/Anki2/addons21/anki_reworked/files/global.css b/.local/share/Anki2/addons21/anki_reworked/files/global.css new file mode 100644 index 0000000..a145312 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/global.css @@ -0,0 +1,96 @@ +:root, +:root .isWin, +:root .isMac, +:root .isLin { + --focus-color: rgba(81, 135, 169, 0.7); +} +/* Force LIGHT MODE Background */ +:root body:not(.nightMode), +:root body.isWin:not(.nightMode), +:root body.isMac:not(.nightMode), +:root body.isLin:not(.nightMode) { + /* Force variable styling on legacy versions */ + --legacy-text-fg: black; + --legacy-frame-bg: white; + --legacy-border: #aaa; + --legacy-medium-border: #b6b6b6; + --legacy-faint-border: #e7e7e7; + --legacy-link: #00a; + --legacy-review-count: #0a0; + --legacy-new-count: #00a; + --legacy-learn-count: #c35617; + --legacy-zero-count: #ddd; + --legacy-slightly-grey-text: #333; + --legacy-highlight-bg: #77ccff; + --legacy-highlight-fg: black; + --legacy-disabled: #777; + --legacy-flag1-fg: #e25252; + --legacy-flag2-fg: #ffb347; + --legacy-flag3-fg: #54c414; + --legacy-flag4-fg: #578cff; + --legacy-flag5-fg: #ff82ee; + --legacy-flag6-fg: #00d1b5; + --legacy-flag7-fg: #9649dd; + --legacy-flag1-bg: #ff9b9b; + --legacy-flag2-bg: #ffb347; + --legacy-flag3-bg: #93e066; + --legacy-flag4-bg: #9dbcff; + --legacy-flag5-bg: #f5a8eb; + --legacy-flag6-bg: #7edbd7; + --legacy-flag7-bg: #cca3f1; + --legacy-buried-fg: #aaaa33; + --legacy-suspended-fg: #dd0; + --legacy-suspended-bg: #ffffb2; + --legacy-marked-bg: #cce; + --legacy-tooltip-bg: #fcfcfc; +} +/* Force DARK MODE Background */ +:root body.nightMode, +:root body.isWin.nightMode, +:root body.isMac.nightMode, +:root body.isLin.nightMode { + /* Force variable styling on legacy versions */ + --legacy-text-fg: white; + --legacy-frame-bg: #3a3a3a; + --legacy-border: #777; + --legacy-medium-border: #444; + --legacy-faint-border: #29292b; + --legacy-link: #77ccff; + --legacy-review-count: #5ccc00; + --legacy-new-count: #77ccff; + --legacy-learn-count: #ff935b; + --legacy-zero-count: #444; + --legacy-slightly-grey-text: #ccc; + --legacy-highlight-bg: #77ccff; + --legacy-highlight-fg: white; + --legacy-disabled: #777; + --legacy-flag1-fg: #ff7b7b; + --legacy-flag2-fg: #f5aa41; + --legacy-flag3-fg: #86ce5d; + --legacy-flag4-fg: #6f9dff; + --legacy-flag5-fg: #f097e4; + --legacy-flag6-fg: #5ccfca; + --legacy-flag7-fg: #9f63d3; + --legacy-flag1-bg: #aa5555; + --legacy-flag2-bg: #ac653a; + --legacy-flag3-bg: #559238; + --legacy-flag4-bg: #506aa3; + --legacy-flag5-bg: #975d8f; + --legacy-flag6-bg: #399185; + --legacy-flag7-bg: #624b77; + --legacy-buried-fg: #777733; + --legacy-suspended-fg: #ffffb2; + --legacy-suspended-bg: #aaaa33; + --legacy-marked-bg: #77c; + --legacy-tooltip-bg: #272727; +} + +body { + background-color: var(--window-bg) !important; +} +html { + font-size: 12px; +} +html body a { + color: var(--link, var(--legacy-link)) !important; +} diff --git a/.local/share/Anki2/addons21/anki_reworked/files/legacy.css b/.local/share/Anki2/addons21/anki_reworked/files/legacy.css new file mode 100644 index 0000000..2ce3692 --- /dev/null +++ b/.local/share/Anki2/addons21/anki_reworked/files/legacy.css @@ -0,0 +1,18 @@ +button { + box-sizing: border-box; + color: var(--text-fg, var(--legacy-text-fg)); + border: none; + border-radius: 15px; + cursor: pointer; + padding: 6px 24px; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.75; + letter-spacing: 0.02857em; + text-transform: uppercase; + background: initial; + 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; +}
\ No newline at end of file |