blob: 20f1e6789570a2603ca43f7972c0ef0f46d104bb [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00002@import "../util";
Akron2f979122018-07-25 17:00:23 +02003@import "hint"; // Hint specific menu list
4@import "menu"; // Menu list
5@import "searchbar"; // The search bar
6@import "vc"; // Virtual corpus builder
7@import "statistics"; // Statistics for VCs
8@import "datepicker"; // Datepicker
Nils Diewalda944fab2015-04-08 21:02:04 +00009
10header {
11 position: relative;
12 background-color: $light-green;
Nils Diewald0e6992a2015-04-14 20:13:52 +000013// @include light-noise;
Nils Diewalda944fab2015-04-08 21:02:04 +000014 @include box-sizing-box();
Akrond82e42a2018-08-22 17:08:59 +020015 padding: $base-padding 0 0 $base-padding;
Akron2f979122018-07-25 17:00:23 +020016 // padding-bottom: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000017 font-size: 10pt;
18 color: $nearly-white;
19 // text-shadow: none;
20 button {
21 color: $light-green;
22 background-color: transparent;
23 border-width: 0;
24 font-weight: normal;
25 margin: 0;
26 padding: 0;
27 outline: none;
28 }
Akron6bb71582016-06-10 20:41:08 +020029 span.select { /* , #vc-choose, Formally vc.location */
Nils Diewalda944fab2015-04-08 21:02:04 +000030 cursor: pointer;
31 line-height: 1.8em;
Akron18660452017-11-13 11:06:24 +010032 > span {
33 font-weight: bold;
34 }
Nils Diewalda944fab2015-04-08 21:02:04 +000035 border: {
36 width: 0;
37 bottom-width: 3px;
38 style: solid;
39 color: transparent;
40 }
41 display: inline-block;
42 &:hover {
43 color: $dark-green;
44 border-color: $dark-green;
45 }
Akron37513a62015-11-17 01:07:11 +010046 &.active {
47 border-color: $dark-orange;
48 }
Nils Diewalda944fab2015-04-08 21:02:04 +000049 &::after {
50 pointer-events: none;
51 font-family: FontAwesome;
52 text-align: center;
Nils Diewalda944fab2015-04-08 21:02:04 +000053 }
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 Diewalda944fab2015-04-08 21:02:04 +0000127}
128
129
130/**
131 * Temporary hack for language chooser
132 * http://cssdeck.com/labs/styling-select-box-with-css3
133 */
134#ql-field {
135 cursor: pointer;
136 margin: 0;
137 outline: none;
138 border: none;
139 display: inline-block;
140 position: relative;
141 color: white;
142 background-color: $light-green;
143 border-width: 0;
144 border-radius: 0;
145 @include no-appearance;
146 &:checked {
147 outline: none;
148 }
149 > option {
150 padding: 0pt 2pt;
151 outline: none;
152 }
153}
154
155/**
156 * funny hack for firefox
157 */
158#ql-field:-moz-focusring {
159 color: transparent;
160 text-shadow: 0 0 0 white;
161}