Show snippets without activated JS
Change-Id: Ibfbc21b9fbbd1d3dcc8929f5ac136ce2179e1ae9
diff --git a/dev/scss/main/kwic.scss b/dev/scss/main/kwic.scss
index 5776004..ca646b9 100644
--- a/dev/scss/main/kwic.scss
+++ b/dev/scss/main/kwic.scss
@@ -129,24 +129,6 @@
display: block;
}
-
-
-/*
-#search ol > li:focus:not(.active) {
- background-color: $dark-orange !important;
- &:not(:target) div.flag {
- border-right-color: $nearly-white;
- }
- div.snippet {
- color: $nearly-white;
- text-shadow: none !important;
- .class-3 {
- border-color: $nearly-white;
- }
- }
- }
-*/
-
#search div.match-main {
position: relative;
z-index: 4;
@@ -193,25 +175,21 @@
/**
* Active
*/
-#search > ol {
- > li.active,
- > li:target {
- background-color: $dark-orange;
- display: block;
- text-align: left;
- position: relative;
- border-width: 2px;
- white-space: wrap;
- height: auto;
- width: auto;
+body.no-js #search > ol > li:active,
+#search > ol > li.active,
+#search > ol > li:target {
+ background-color: $dark-orange;
+ display: block;
+ text-align: left;
+ position: relative;
+ border-width: 2px;
+ white-space: wrap;
+ height: auto;
+ width: auto;
- div.match-main > div.match-wrap {
- cursor: default;
- }
+ div.match-main > div.match-wrap {
+ cursor: default;
}
-}
-
-#search > ol > li.active {
span {
display: inline !important;
}
@@ -249,9 +227,7 @@
}
}
}
-}
-#search > ol > li.active {
overflow: hidden;
div.meta {
display: none;