Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 2 | @import "../util"; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 3 | |
4 | $border-size: 2px; | ||||
5 | |||||
6 | ul.menu.hint { | ||||
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 7 | display: inline-block; |
8 | white-space: normal; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 9 | text-align:left; |
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 10 | top: 0; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 11 | max-width: 23em !important; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 12 | |
13 | > li:first-of-type { | ||||
14 | border-top: { | ||||
15 | width: 1px; | ||||
16 | left-radius: 0; | ||||
17 | right-radius: 0; | ||||
18 | } | ||||
19 | } | ||||
20 | span.desc { | ||||
21 | display: block; | ||||
22 | font-size: 75%; | ||||
23 | } | ||||
24 | } | ||||
25 | |||||
26 | #searchMirror { | ||||
27 | position: absolute; | ||||
28 | left: 0; | ||||
29 | top: 0; | ||||
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 30 | z-index: 900; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 31 | white-space: pre-wrap; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 32 | height: 0; |
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 33 | display: block; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 34 | > span { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 35 | opacity: 0; |
36 | white-space: pre-wrap; | ||||
37 | overflow: hidden; | ||||
38 | } | ||||
39 | // Todo: Besser nur, wenn im Focus | ||||
40 | > div { | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 41 | position: absolute; |
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 42 | display: block; |
43 | cursor: pointer; | ||||
44 | transition: left 0.2s ease 0s; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 45 | top: 0; |
46 | left: 0; | ||||
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 47 | text-align: left; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 48 | padding: 0; |
49 | border-top: 5px solid $dark-orange; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 50 | height: 10px; |
51 | width: 1.2em; | ||||
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 52 | &:hover:not(.active) { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 53 | border-top: 10px solid $dark-orange; |
54 | } | ||||
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 55 | &.active { |
56 | border-top-width: 0; | ||||
57 | height: 0; | ||||
58 | width: 23em; | ||||
59 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 60 | } |
61 | } |