aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/taxonomies.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/taxonomies.scss')
-rw-r--r--app/assets/stylesheets/taxonomies.scss82
1 files changed, 82 insertions, 0 deletions
diff --git a/app/assets/stylesheets/taxonomies.scss b/app/assets/stylesheets/taxonomies.scss
new file mode 100644
index 0000000..446fd20
--- /dev/null
+++ b/app/assets/stylesheets/taxonomies.scss
@@ -0,0 +1,82 @@
+/*
+ * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
+ *
+ * SPDX-License-Identifier: LAL-1.3
+ */
+
+body>aside {
+ width: auto;
+
+ span[data-target="taxonomy.filter"] {
+ z-index: 990;
+ background: var(--icon-menu-on) top left/32px no-repeat;
+ width: 32px;
+ height: 32px;
+ position: absolute;
+ top: 6.1rem;
+ left: 10px;
+
+ &.off {
+ background-image: var(--icon-menu-off);
+ }
+ &.on {
+ background-image: var(--icon-menu-on);
+ }
+ }
+
+ nav {
+ z-index: 900;
+ position: fixed;
+ top: 5.5rem;
+ bottom: 0;
+ margin: 0;
+ padding: 0;
+ background-color: var(--incommon-blue);
+ display: block;
+ border-top-right-radius: 1rem;
+ width: 20rem;
+ height: calc(100% - 7.5rem);
+ padding-top: 48px;
+ }
+}
+
+/* Dewey Taxonomy */
+#taxonomy-2519915f-d19c-4281-b758-f5ddb889d7fa {
+ ol {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+
+ li {
+ padding: 0.5rem 1rem;
+ }
+
+ ol {
+ display: none;
+ }
+ ol.active {
+ font-weight: bold;
+ text-align: right;
+ li {
+ display: initial;
+ &.active {
+ font-weight: bold;
+ text-align: right;
+ }
+ }
+ }
+ }
+
+ #category-30 { background-color: #BCBCBC; }
+ #category-31 { background-color: #95a5a6; }
+ #category-32 { background-color: #848482; }
+ #category-33 { background-color: #948279; }
+ #category-34 { background-color: #59706a; }
+ #category-35 { background-color: #16a085; }
+ #category-36 { background-color: #27ae60; }
+ #category-37 { background-color: #2980b9; }
+ #category-38 { background-color: #34495e; }
+ #category-39 { background-color: #bd3525; }
+ #category-40 { background-color: #d35400; }
+ #category-42 { background-color: #eead0e; }
+}