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; |
39 | display: inline-block; | ||||
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 40 | background-color: $pagination-bg; |
41 | border: { | ||||
42 | width: 2px; | ||||
43 | style: solid; | ||||
44 | top-width: 0px; | ||||
45 | color: $pagination-border; | ||||
46 | } | ||||
47 | box-shadow: $pagination-box-shadow; | ||||
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 48 | opacity: 0; |
49 | padding: 0; | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 50 | padding-bottom: 5px; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 51 | border-bottom-left-radius: 10px; |
52 | border-bottom-right-radius: 10px; | ||||
53 | > li { | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 54 | cursor: pointer; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 55 | list-style-type: none; |
56 | list-style-position: outside; | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 57 | padding: 3px 10pt; |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame] | 58 | text-shadow: none; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 59 | white-space: normal; |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 60 | color: $light-green; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 61 | border: { |
62 | top: 5px solid transparent; | ||||
63 | bottom: 5px solid transparent; | ||||
64 | } | ||||
65 | &:hover { | ||||
66 | background-color: $dark-orange; | ||||
67 | color: white; | ||||
68 | text-shadow: none; | ||||
Nils Diewald | c5d9bac | 2014-11-19 18:10:38 +0000 | [diff] [blame] | 69 | > span { |
70 | color: white; | ||||
71 | } | ||||
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 72 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 73 | > span { |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame] | 74 | display: block; |
75 | color: $dark-green; | ||||
76 | text-align: left; | ||||
77 | font-style: normal; | ||||
78 | font-size: 80%; | ||||
79 | text-shadow: none; | ||||
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 80 | } |
81 | /* like sidebar ul li.active */ | ||||
82 | &.active { | ||||
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 83 | background-color: $light-green; |
84 | text-shadow: none; | ||||
85 | color: $dark-green; | ||||
Nils Diewald | 0f77cb8 | 2014-11-19 20:24:55 +0000 | [diff] [blame] | 86 | &:hover { |
87 | color: white; | ||||
88 | } | ||||
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 89 | } |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 90 | &:first-of-type:not(.no-more) { |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame] | 91 | border-top-color: $dark-orange; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 92 | } |
93 | &:last-of-type:not(.no-more) { | ||||
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame] | 94 | border-bottom-color: $dark-orange; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 95 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 96 | } |
97 | } | ||||
98 | } |