diff options
author | Yorhel <git@yorhel.nl> | 2019-10-19 15:28:56 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-19 15:28:58 +0200 |
commit | 103751e1c037a94714ae8ca399d3856976ddf4b7 (patch) | |
tree | 927fe58cb9d314cd607377873c2a4c2f1be758d5 /data | |
parent | dd380abadbe06174219c731668832549594f601e (diff) |
VNWeb::History: Use unicode ✓ and ✗ to indicate filter selection + turn booleans into plain checkboxes
I kept forgetting which color meant what, these glyphs ought to make
that more clear without going back to the uglyness of unstyled form
elements.
Diffstat (limited to 'data')
-rw-r--r-- | data/style.css | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/data/style.css b/data/style.css index b15cea69..4d678084 100644 --- a/data/style.css +++ b/data/style.css @@ -42,7 +42,7 @@ table.stripe tbody tr:nth-child(odd):not(.nostripe), #debug h2 { color: #f00!important; font-size: 20px; } #debug, #debug a { color: #fff!important; } -.visuallyhidden, p.linkradio input { +.visuallyhidden, .linkradio input { position: absolute !important; left: 0; height: 1px; width: 1px; @@ -153,10 +153,12 @@ table.formtable td { padding: 0; } table.formtable tr.newfield td { padding-top: 5px; } table.formtable tr.newpart td { padding-top: 20px; font-weight: bold; } -p.linkradio { padding: 2px } -p.linkradio label { color: $link$; cursor: pointer } -p.linkradio input:checked + label { color: $maintext$ } -p.linkradio em { font-weight: normal; font-style: normal; color: $grayedout$ } +.linkradio { padding: 2px } +.linkradio label { color: $link$; cursor: pointer } +.linkradio label:before { content: '✗' } +.linkradio input:checked + label { color: $maintext$ } +.linkradio input:checked + label:before { content: '✓' } +.linkradio em { font-weight: normal; font-style: normal; color: $grayedout$ } div.spinner { content: ''; border: 3px solid #9eaebd; border-bottom-color: transparent; border-radius: 100%; animation: spin 1s infinite linear; width: 14px; height: 14px; display: inline-block; margin: auto } @keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } } |