summaryrefslogtreecommitdiff
path: root/ext/mixed/css/display-default.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-24 21:45:57 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 22:39:26 -0500
commit56ee7f8df47a3826e10d9b0876f313f5ced4c98e (patch)
treea76cbff2a64ff8a1f4c0f401faf321205a74dfdb /ext/mixed/css/display-default.css
parent0e1e737afda14310bf0904a8d4f0a1031a800a99 (diff)
Update display content generation to use HTML templates
Diffstat (limited to 'ext/mixed/css/display-default.css')
-rw-r--r--ext/mixed/css/display-default.css57
1 files changed, 37 insertions, 20 deletions
diff --git a/ext/mixed/css/display-default.css b/ext/mixed/css/display-default.css
index ac237e79..69141c9d 100644
--- a/ext/mixed/css/display-default.css
+++ b/ext/mixed/css/display-default.css
@@ -19,36 +19,53 @@
body { background-color: #ffffff; color: #333333; }
-hr { border-top-color: #eeeeee; }
-
-.tag-default { background-color: #8a8a91; }
-.tag-name { background-color: #5cb85c; }
-.tag-expression { background-color: #f0ad4e; }
-.tag-popular { background-color: #0275d8; }
-.tag-frequent { background-color: #5bc0de; }
-.tag-archaism { background-color: #d9534f; }
-.tag-dictionary { background-color: #aa66cc; }
-.tag-frequency { background-color: #5cb85c; }
-.tag-partOfSpeech { background-color: #565656; }
-
-.reasons { color: #777777; }
-.glossary li { color: #777777; }
-.glossary-item { color: #000000; }
-.label { color: #ffffff; }
-
-.expression .kanji-link {
+.navigation-header {
+ background-color: #ffffff;
+ border-bottom-color: #eeeeee;
+}
+
+.entry+.entry { border-top-color: #eeeeee; }
+
+.kanji-glyph-data>tbody>tr>* { border-top-color: #dddddd; }
+
+.tag { color: #ffffff; }
+.tag[data-category=default] { background-color: #8a8a91; }
+.tag[data-category=name] { background-color: #5cb85c; }
+.tag[data-category=expression] { background-color: #f0ad4e; }
+.tag[data-category=popular] { background-color: #0275d8; }
+.tag[data-category=frequent] { background-color: #5bc0de; }
+.tag[data-category=archaism] { background-color: #d9534f; }
+.tag[data-category=dictionary] { background-color: #aa66cc; }
+.tag[data-category=frequency] { background-color: #5cb85c; }
+.tag[data-category=partOfSpeech] { background-color: #565656; }
+
+.term-reasons { color: #777777; }
+
+.term-expression>.term-expression-text .kanji-link {
border-bottom-color: #777777;
color: #333333;
}
-.expression-popular, .expression-popular .kanji-link {
+.term-expression[data-frequency=popular]>.term-expression-text,
+.term-expression[data-frequency=popular]>.term-expression-text .kanji-link {
color: #0275d8;
}
-.expression-rare, .expression-rare .kanji-link {
+.term-expression[data-frequency=rare]>.term-expression-text,
+.term-expression[data-frequency=rare]>.term-expression-text .kanji-link {
color: #999999;
}
+.term-definition-container,
+.kanji-glossary-container {
+ color: #777777;
+}
+
+.term-glossary,
+.kanji-glossary {
+ color: #000000;
+}
+
.icon-checkbox:checked + label {
/* invert colors */
background-color: #333333;