blob: 18000a1621c94dd24a4b107e4347b4a4a9f719bb [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
3
4$border-size: 2px;
5
6ul.menu.hint {
Nils Diewald2488d052015-04-09 21:46:02 +00007 display: inline-block;
8 white-space: normal;
Nils Diewalda944fab2015-04-08 21:02:04 +00009 text-align:left;
Nils Diewald2488d052015-04-09 21:46:02 +000010 top: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000011 max-width: 23em !important;
Nils Diewalda944fab2015-04-08 21:02:04 +000012
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 Diewald2488d052015-04-09 21:46:02 +000030 z-index: 900;
Nils Diewalda944fab2015-04-08 21:02:04 +000031 white-space: pre-wrap;
Nils Diewalda944fab2015-04-08 21:02:04 +000032 height: 0;
Nils Diewald2488d052015-04-09 21:46:02 +000033 display: block;
Nils Diewalda944fab2015-04-08 21:02:04 +000034 > span {
Nils Diewalda944fab2015-04-08 21:02:04 +000035 opacity: 0;
36 white-space: pre-wrap;
37 overflow: hidden;
38 }
39 // Todo: Besser nur, wenn im Focus
40 > div {
Nils Diewalda944fab2015-04-08 21:02:04 +000041 position: absolute;
Nils Diewald2488d052015-04-09 21:46:02 +000042 display: block;
43 cursor: pointer;
44 transition: left 0.2s ease 0s;
Nils Diewalda944fab2015-04-08 21:02:04 +000045 top: 0;
46 left: 0;
Nils Diewald2488d052015-04-09 21:46:02 +000047 text-align: left;
Nils Diewalda944fab2015-04-08 21:02:04 +000048 padding: 0;
49 border-top: 5px solid $dark-orange;
Nils Diewalda944fab2015-04-08 21:02:04 +000050 height: 10px;
51 width: 1.2em;
Nils Diewald2488d052015-04-09 21:46:02 +000052 &:hover:not(.active) {
Nils Diewalda944fab2015-04-08 21:02:04 +000053 border-top: 10px solid $dark-orange;
54 }
Nils Diewald2488d052015-04-09 21:46:02 +000055 &.active {
56 border-top-width: 0;
57 height: 0;
58 width: 23em;
59 }
Nils Diewalda944fab2015-04-08 21:02:04 +000060 }
61}