summaryrefslogtreecommitdiff
path: root/ext/css/settings.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-29 21:24:41 -0400
committerGitHub <noreply@github.com>2022-05-29 21:24:41 -0400
commit331a2e62941e04a4d50a21faefed663a92ddc00a (patch)
tree1212a1e7cd57ea2331fab2101afdc325cb3a4766 /ext/css/settings.css
parentf3024c50186344aa6a6b09500ea02540463ce5c9 (diff)
Add support for guiEditNote to view notes (#2143)
* Add AnkiConnect.guiEditNote * Update _onApiNoteView to first try guiEditNote * Add setting * Update noteView API * Use setting * Return which mode was used * Update DisplayGenerator * Handle errors in DisplayAnki * Update docs * Add isErrorUnsupportedAction function * Add an allowFallback option to noteView * Disambiguate * Simplify now that preferredMode isn't used * Update settings info * Implement test buttons * Update styles * Update status visibility * Wrap layout * Update description * Update date
Diffstat (limited to 'ext/css/settings.css')
-rw-r--r--ext/css/settings.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/css/settings.css b/ext/css/settings.css
index 19f587e9..62e979e0 100644
--- a/ext/css/settings.css
+++ b/ext/css/settings.css
@@ -2147,6 +2147,28 @@ button.hotkey-list-item-enabled-button[data-scope-count='0'] {
display: none;
}
+.test-anki-note-viewer-container {
+ margin-top: 0.85em;
+ display: flex;
+ flex-flow: row wrap;
+ align-items: flex-start;
+}
+.test-anki-note-viewer-container>:nth-child(n+2) {
+ margin-left: 0.5em;
+}
+.test-anki-note-viewer-button {
+ flex: 0 0 auto;
+}
+.test-anki-note-viewer-results {
+ align-self: center;
+}
+.test-anki-note-viewer-results[data-success=true] {
+ color: var(--success-color);
+}
+.test-anki-note-viewer-results[data-success=false] {
+ color: var(--danger-color);
+}
+
/* Dictionary settings */
.dictionary-list {