]> git.sesse.net Git - pkanalytics/blobdiff - ultimate.css
Support filtering passes by thrower and receiver.
[pkanalytics] / ultimate.css
index 856d83936291ca2fee4c29373356d500b2f4c0ae..e6208f76e9a798c7b6aadd02c9f117bfd9faf652 100644 (file)
        color: rgba(0, 0, 0, 0.6);
        text-decoration: none;
 }
-#filter {
+.filter {
        padding-left: 10px;
        margin-top: 0;
        padding-top: 0;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
+       margin-bottom: 10px;
+}
+.filtermenus {
        margin-bottom: 20px;
 }
-#filter-icon {
+.filter-icon {
        vertical-align: middle;
 }
-#filter-legend {
+.filter-legend {
        vertical-align: bottom;
        font-size: 14px;
        font-weight: bold;
@@ -54,7 +57,7 @@
        padding-left: 6px;
        padding-right: 6px;
 }
-#filter-click-to-add {
+.filter-click-to-add {
        margin-left: 10px;
        vertical-align: bottom;
        font-size: 14px;
@@ -65,6 +68,9 @@
        display: inline-block;
        top: 2px;
 }
+#filter-add-menu, #filter-submenu {
+       z-index: 1;
+}
 #filter-add-menu {
        display: none;
        /* display: block; */
 #filter-submenu div.option {
        padding-right: 12px;
 }
+.filter:not(:nth-child(1 of .filter)) svg,
+.filter:not(:nth-child(1 of .filter)) .filter-legend {
+       opacity: 0;
+}
 div.option input[type="checkbox"] {
        margin-right: 0.5em;
 }
 table {
        border-collapse: collapse;
+       margin-bottom: calc(100vh - 4lh);
 }
 th {
-       background-color: rgba(0, 0, 0, 0.05);
+       background-color: rgb(95% 95% 95%);
+       position: sticky;
+       z-index: 0;
+       top: 0;
 }
 tr {
        border-top: 1px solid #ddd;
@@ -152,3 +166,5 @@ td.name {
 .invertedci .range.s1 { fill: #fdd; }
 
 .bar { fill: steelblue; }
+
+.filtermarker { font-size: smaller; text-transform: uppercase; }