Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
2 | |||||
3 | @import "colors"; | ||||
4 | |||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 5 | #searchbar > i.show-hint { |
6 | z-index: 0; | ||||
7 | position: absolute; | ||||
8 | right: 65px; | ||||
9 | top: 0; | ||||
10 | font-size: 120%; | ||||
11 | line-height: 120%; | ||||
Nils Diewald | 0f77cb8 | 2014-11-19 20:24:55 +0000 | [diff] [blame] | 12 | margin-top: 1pt; |
13 | padding-top: 2pt; | ||||
14 | padding-bottom: 1pt; | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 15 | color: $dark-orange; |
Nils Diewald | 0f77cb8 | 2014-11-19 20:24:55 +0000 | [diff] [blame] | 16 | background-color: white; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 17 | &:hover, &.active { |
18 | color: $light-green; | ||||
19 | cursor: pointer; | ||||
20 | } | ||||
21 | } | ||||
22 | |||||
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 23 | #searchMirror { |
24 | position: absolute; | ||||
25 | margin-top: 1px; | ||||
Nils Diewald | 791b590 | 2014-12-04 04:47:24 +0000 | [diff] [blame] | 26 | white-space: pre-wrap; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 27 | overflow: show; |
28 | height: 0; | ||||
29 | > span { | ||||
30 | opacity: 0; | ||||
Nils Diewald | 791b590 | 2014-12-04 04:47:24 +0000 | [diff] [blame] | 31 | white-space: pre-wrap; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 32 | overflow: hidden; |
33 | } | ||||
34 | > ul { | ||||
35 | color: white; | ||||
36 | margin: 0; | ||||
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 37 | margin-top: -1px; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 38 | text-indent: 0; |
Nils Diewald | 46e6f18 | 2015-02-04 15:22:49 +0000 | [diff] [blame^] | 39 | max-width: 23em; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 40 | display: inline-block; |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 41 | background-color: $pagination-bg; |
42 | border: { | ||||
43 | width: 2px; | ||||
44 | style: solid; | ||||
45 | top-width: 0px; | ||||
46 | color: $pagination-border; | ||||
47 | } | ||||
48 | box-shadow: $pagination-box-shadow; | ||||
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 49 | opacity: 0; |
50 | padding: 0; | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 51 | padding-bottom: 5px; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 52 | border-bottom-left-radius: 10px; |
53 | border-bottom-right-radius: 10px; | ||||
54 | > li { | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 55 | cursor: pointer; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 56 | list-style-type: none; |
57 | list-style-position: outside; | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 58 | padding: 3px 10pt; |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame] | 59 | text-shadow: none; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 60 | white-space: normal; |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 61 | color: $light-green; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 62 | border: { |
63 | top: 5px solid transparent; | ||||
64 | bottom: 5px solid transparent; | ||||
65 | } | ||||
66 | &:hover { | ||||
67 | background-color: $dark-orange; | ||||
68 | color: white; | ||||
69 | text-shadow: none; | ||||
Nils Diewald | c5d9bac | 2014-11-19 18:10:38 +0000 | [diff] [blame] | 70 | > span { |
71 | color: white; | ||||
72 | } | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 73 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 74 | > span { |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame] | 75 | display: block; |
76 | color: $dark-green; | ||||
77 | text-align: left; | ||||
78 | font-style: normal; | ||||
79 | font-size: 80%; | ||||
80 | text-shadow: none; | ||||
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 81 | } |
82 | /* like sidebar ul li.active */ | ||||
83 | &.active { | ||||
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 84 | background-color: $light-green; |
85 | text-shadow: none; | ||||
86 | color: $dark-green; | ||||
Nils Diewald | 0f77cb8 | 2014-11-19 20:24:55 +0000 | [diff] [blame] | 87 | &:hover { |
88 | color: white; | ||||
89 | } | ||||
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 90 | } |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 91 | &:first-of-type:not(.no-more) { |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame] | 92 | border-top-color: $dark-orange; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 93 | } |
94 | &:last-of-type:not(.no-more) { | ||||
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame] | 95 | border-bottom-color: $dark-orange; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 96 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 97 | } |
98 | } | ||||
99 | } |