]> git.draconx.ca Git - homepage.git/blobdiff - content/style.scss
Consolidate some clicky table label styles.
[homepage.git] / content / style.scss
index 912fe4aa7796124d590af0929587a1dd08b8c594..e517d90c08b7270b49c70d24ae9fbfdb5e3e59cd 100644 (file)
@@ -273,41 +273,41 @@ $clickynames: name, date, size;
         opacity: 0;
         z-index: -2;
     }
+}
 
-    th.clicky-#{$col}>label {
-        white-space: nowrap;
-        cursor: pointer;
-        line-height: 1.5em;
+thead.clicky label {
+    white-space: nowrap;
+    line-height: 1.5em;
+    cursor: pointer;
 
-        &>* {
-            display: -moz-inline-box;
-            display: inline-block;
-            border: 1px dotted transparent;
-            vertical-align: middle;
-        }
+    &>* {
+        display: -moz-inline-box;
+        display: inline-block;
+        border: 1px dotted transparent;
+        vertical-align: middle;
+    }
 
-        // Expand the first label a bit so the table (hopefully)
-        // does not reshape as columns are selected.
-        &:first-child {
-            margin-right: 1.75em;
-            padding-right: 2px;
-        }
+    // Expand the first label a bit so the table (hopefully)
+    // does not reshape as columns are selected.
+    &:first-child {
+        margin-right: 1.75em;
+        padding-right: 2px;
+    }
 
-        &:active { color: $linkactivecolour; }
-        &:first-child:active>span, &~label:active>.svg {
-            border-color: $linkactivecolour;
-        }
+    &:active { color: $linkactivecolour; }
+    &:first-child:active>span, &~label:active>.svg {
+        border-color: $linkactivecolour;
+    }
 
-        .svg {
-            margin-left: 0.25em;
-        }
+    .svg {
+        margin-left: 0.25em;
+    }
 
-        .svg, svg, img.svgfallback {
-            height: 1.5em;
-            width: auto;
-        }
-        .svg svg { width: 1.5em; }
+    .svg, svg, img.svgfallback {
+        height: 1.5em;
+        width: auto;
     }
+    .svg svg { width: 1.5em; }
 }
 
 table.filelist {