blob: b29be0c25d8d2e1c8c8e1cbd6ff919da1c61a887 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00002@import "../util";
3@import "hint"; // Hint specific menu list
4@import "menu"; // Menu list
5@import "searchbar"; // The search bar
6@import "vc"; // Virtual collection builder
Nils Diewalda1228622015-04-25 01:59:10 +00007@import "datepicker"; // Datepicker
Nils Diewalda944fab2015-04-08 21:02:04 +00008
9header {
10 position: relative;
11 background-color: $light-green;
Nils Diewald0e6992a2015-04-14 20:13:52 +000012// @include light-noise;
Nils Diewalda944fab2015-04-08 21:02:04 +000013 @include box-sizing-box();
Akron189b3592016-01-04 20:56:46 +010014 padding: $base-padding;
Nils Diewalda944fab2015-04-08 21:02:04 +000015 padding-bottom: 0;
16 font-size: 10pt;
17 color: $nearly-white;
18 // text-shadow: none;
19 button {
20 color: $light-green;
21 background-color: transparent;
22 border-width: 0;
23 font-weight: normal;
24 margin: 0;
25 padding: 0;
26 outline: none;
27 }
Akron6bb71582016-06-10 20:41:08 +020028 span.select { /* , #vc-choose, Formally vc.location */
Nils Diewalda944fab2015-04-08 21:02:04 +000029 cursor: pointer;
30 line-height: 1.8em;
Akron18660452017-11-13 11:06:24 +010031 > span {
32 font-weight: bold;
33 }
Nils Diewalda944fab2015-04-08 21:02:04 +000034 border: {
35 width: 0;
36 bottom-width: 3px;
37 style: solid;
38 color: transparent;
39 }
40 display: inline-block;
41 &:hover {
42 color: $dark-green;
43 border-color: $dark-green;
44 }
Akron37513a62015-11-17 01:07:11 +010045 &.active {
46 border-color: $dark-orange;
47 }
Nils Diewalda944fab2015-04-08 21:02:04 +000048 &::after {
49 pointer-events: none;
50 font-family: FontAwesome;
51 text-align: center;
52 background-color: $light-green;
53 }
54 }
Akron6bb71582016-06-10 20:41:08 +020055 span.select {
56 &::after {
57 content: $fa-down;
58 padding: {
Akron18660452017-11-13 11:06:24 +010059 left: 4pt;
60 right: 4pt;
Akron6bb71582016-06-10 20:41:08 +020061 }
62 }
63 &.active::after {
64 content: $fa-up;
65 }
Nils Diewalda944fab2015-04-08 21:02:04 +000066 }
67
68 form {
69 padding-left: $logo-left-distance;
70 min-height: 2.7em;
71 display: block;
72 margin: 0px;
73 position: relative;
74 }
Akron1120a582017-10-17 12:29:16 +020075 .clear {
76 clear: both;
77 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000078
79 .button {
80 &.right {
81 float: right;
82 display: inline-block;
83 }
84 &.top {
85 position: absolute;
86 display: block;
87 top: 0;
88 right: 0;
89 margin-right: 0;
Nils Diewald4347ee92015-05-04 20:32:48 +000090 width: ($standard-margin / 2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000091 background-color: $dark-green;
92 text-align: center;
93 height: 100%;
Akron189b3592016-01-04 20:56:46 +010094 z-index: 20;
95 > a:hover {
96 color: $nearly-white
97 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000098 }
99 color: $nearly-white;
100 line-height: 2em;
101 margin-right: $right-distance;
102 > a {
103 color: $nearly-white;
104 cursor:pointer;
105 position: relative;
106 font-size: 120%;
107 > span {
108 @include blind;
109 }
110 }
111 > a::after {
112 font-family: 'FontAwesome';
113 }
114 > a.tutorial::after {
115 content: $fa-tutorial;
116 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000117 > a.question::after {
118 content: $fa-question;
119 }
120 > a.login::after {
121 content: $fa-login;
122 }
Akrone5ef4e02017-04-19 17:07:52 +0200123 > a.logout::after {
124 content: $fa-logout;
125 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000126 }
Nils Diewaldfccfbcb2015-04-29 20:48:19 +0000127
128 #vc-view > div {
129 margin: 1.3em 0 .5em 0;
130 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000131}
132
133
134/**
135 * Temporary hack for language chooser
136 * http://cssdeck.com/labs/styling-select-box-with-css3
137 */
138#ql-field {
139 cursor: pointer;
140 margin: 0;
141 outline: none;
142 border: none;
143 display: inline-block;
144 position: relative;
145 color: white;
146 background-color: $light-green;
147 border-width: 0;
148 border-radius: 0;
149 @include no-appearance;
150 &:checked {
151 outline: none;
152 }
153 > option {
154 padding: 0pt 2pt;
155 outline: none;
156 }
157}
158
159/**
160 * funny hack for firefox
161 */
162#ql-field:-moz-focusring {
163 color: transparent;
164 text-shadow: 0 0 0 white;
165}