blob: 5210fa78b7d7f6827e31f2f94d6ea652c6ca883d [file] [log] [blame]
Nils Diewald7cad8402014-07-08 17:06:56 +00001@charset "utf-8";
2
3@import "colors";
4
Nils Diewaldeca30442014-11-18 20:33:54 +00005#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%;
12 padding: 3pt;
13 color: $dark-orange;
14 &:hover, &.active {
15 color: $light-green;
16 cursor: pointer;
17 }
18}
19
Nils Diewald7cad8402014-07-08 17:06:56 +000020#searchMirror {
21 position: absolute;
22 margin-top: 1px;
23 white-space: nowrap;
24 overflow: show;
25 height: 0;
26 > span {
27 opacity: 0;
28 white-space: nowrap;
29 overflow: hidden;
30 }
31 > ul {
32 color: white;
33 margin: 0;
Nils Diewaldf3f88392014-07-15 14:56:29 +000034 margin-top: -1px;
Nils Diewald7cad8402014-07-08 17:06:56 +000035 text-indent: 0;
36 display: inline-block;
Nils Diewaldf3f88392014-07-15 14:56:29 +000037 background-color: $pagination-bg;
38 border: {
39 width: 2px;
40 style: solid;
41 top-width: 0px;
42 color: $pagination-border;
43 }
44 box-shadow: $pagination-box-shadow;
Nils Diewald7cad8402014-07-08 17:06:56 +000045 opacity: 0;
46 padding: 0;
Nils Diewaldeca30442014-11-18 20:33:54 +000047 padding-bottom: 5px;
Nils Diewald7cad8402014-07-08 17:06:56 +000048 border-bottom-left-radius: 10px;
49 border-bottom-right-radius: 10px;
50 > li {
Nils Diewaldeca30442014-11-18 20:33:54 +000051 cursor: pointer;
Nils Diewald7cad8402014-07-08 17:06:56 +000052 list-style-type: none;
53 list-style-position: outside;
Nils Diewaldeca30442014-11-18 20:33:54 +000054 padding: 3px 10pt;
Nils Diewald80d4c6e2014-11-19 02:53:16 +000055 text-shadow: none;
Nils Diewald7cad8402014-07-08 17:06:56 +000056 white-space: normal;
Nils Diewaldf3f88392014-07-15 14:56:29 +000057 color: $light-green;
Nils Diewaldeca30442014-11-18 20:33:54 +000058 border: {
59 top: 5px solid transparent;
60 bottom: 5px solid transparent;
61 }
62 &:hover {
63 background-color: $dark-orange;
64 color: white;
65 text-shadow: none;
Nils Diewaldc5d9bac2014-11-19 18:10:38 +000066 > span {
67 color: white;
68 }
Nils Diewaldeca30442014-11-18 20:33:54 +000069 }
Nils Diewald7cad8402014-07-08 17:06:56 +000070 > span {
Nils Diewald80d4c6e2014-11-19 02:53:16 +000071 display: block;
72 color: $dark-green;
73 text-align: left;
74 font-style: normal;
75 font-size: 80%;
76 text-shadow: none;
Nils Diewald7cad8402014-07-08 17:06:56 +000077 }
78 /* like sidebar ul li.active */
79 &.active {
Nils Diewaldf3f88392014-07-15 14:56:29 +000080 background-color: $light-green;
81 text-shadow: none;
82 color: $dark-green;
Nils Diewald7cad8402014-07-08 17:06:56 +000083 }
Nils Diewaldeca30442014-11-18 20:33:54 +000084 &:first-of-type:not(.no-more) {
Nils Diewald80d4c6e2014-11-19 02:53:16 +000085 border-top-color: $dark-orange;
Nils Diewaldeca30442014-11-18 20:33:54 +000086 }
87 &:last-of-type:not(.no-more) {
Nils Diewald80d4c6e2014-11-19 02:53:16 +000088 border-bottom-color: $dark-orange;
Nils Diewaldeca30442014-11-18 20:33:54 +000089 }
Nils Diewald7cad8402014-07-08 17:06:56 +000090 }
91 }
92}