Nils Diewald | 71ac9c7 | 2015-03-09 17:45:58 +0000 | [diff] [blame^] | 1 | /* List view */ |
| 2 | |
| 3 | ul.menu { |
| 4 | position: absolute; |
| 5 | border: 2px solid white; |
| 6 | list-style-type: none; |
| 7 | list-style-position: outside; |
| 8 | padding-left: 0; |
| 9 | } |
| 10 | |
| 11 | ul.menu > li { |
| 12 | padding: 2px 5px; |
| 13 | } |
| 14 | |
| 15 | ul.menu > *.active, |
| 16 | ul.menu > *:hover { |
| 17 | background-color: rgba(255,255,255,.25); |
| 18 | color: #496000; |
| 19 | } |
| 20 | |
| 21 | ul.menu > li:first-of-type { |
| 22 | border-top: 3px solid transparent; |
| 23 | } |
| 24 | |
| 25 | ul.menu > li:last-of-type { |
| 26 | border-bottom: 3px solid transparent; |
| 27 | } |
| 28 | |
| 29 | ul.menu > li:first-of-type:not(.no-more) { |
| 30 | border-top-color: #ffa500; |
| 31 | } |
| 32 | |
| 33 | ul.menu > li:last-of-type:not(.no-more) { |
| 34 | border-bottom-color: #ffa500; |
| 35 | } |
| 36 | |
| 37 | ul.menu > li mark { |
| 38 | text-decoration: underline; |
| 39 | background-color: transparent; |
| 40 | color: inherit; |
| 41 | font-weight: bold; /* #496000; */ |
| 42 | } |
| 43 | |
| 44 | ul.menu > span.pref:not(:empty) { |
| 45 | position: absolute; |
| 46 | min-width: 2px; |
| 47 | border: 2px solid white; |
| 48 | height: -1.5em; |
| 49 | display: block; |
| 50 | right: 0; |
| 51 | bottom: 0; |
| 52 | border-top-width: 0; |
| 53 | padding: .1em .3em; |
| 54 | margin-bottom: -1.6em; |
| 55 | margin-right: -2px; |
| 56 | } |