blob: 2bd01585be3295244715cc4f711391e55ea26b21 [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();
Akron2f979122018-07-25 17:00:23 +020015 padding-top: $base-padding;
16 // 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;
53 background-color: $light-green;
54 }
55 }
Akron6bb71582016-06-10 20:41:08 +020056 span.select {
57 &::after {
58 content: $fa-down;
59 padding: {
Akron18660452017-11-13 11:06:24 +010060 left: 4pt;
61 right: 4pt;
Akron6bb71582016-06-10 20:41:08 +020062 }
63 }
64 &.active::after {
65 content: $fa-up;
66 }
Nils Diewalda944fab2015-04-08 21:02:04 +000067 }
68
69 form {
70 padding-left: $logo-left-distance;
71 min-height: 2.7em;
72 display: block;
73 margin: 0px;
74 position: relative;
75 }
Akron1120a582017-10-17 12:29:16 +020076 .clear {
77 clear: both;
78 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000079
80 .button {
81 &.right {
82 float: right;
83 display: inline-block;
84 }
85 &.top {
86 position: absolute;
87 display: block;
88 top: 0;
89 right: 0;
90 margin-right: 0;
Nils Diewald4347ee92015-05-04 20:32:48 +000091 width: ($standard-margin / 2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000092 background-color: $dark-green;
93 text-align: center;
94 height: 100%;
Akron189b3592016-01-04 20:56:46 +010095 z-index: 20;
96 > a:hover {
97 color: $nearly-white
98 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000099 }
100 color: $nearly-white;
101 line-height: 2em;
102 margin-right: $right-distance;
103 > a {
104 color: $nearly-white;
105 cursor:pointer;
106 position: relative;
107 font-size: 120%;
108 > span {
109 @include blind;
110 }
111 }
112 > a::after {
113 font-family: 'FontAwesome';
114 }
115 > a.tutorial::after {
116 content: $fa-tutorial;
117 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000118 > a.question::after {
119 content: $fa-question;
120 }
121 > a.login::after {
122 content: $fa-login;
123 }
Akrone5ef4e02017-04-19 17:07:52 +0200124 > a.logout::after {
125 content: $fa-logout;
126 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000127 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000128}
129
130
131/**
132 * Temporary hack for language chooser
133 * http://cssdeck.com/labs/styling-select-box-with-css3
134 */
135#ql-field {
136 cursor: pointer;
137 margin: 0;
138 outline: none;
139 border: none;
140 display: inline-block;
141 position: relative;
142 color: white;
143 background-color: $light-green;
144 border-width: 0;
145 border-radius: 0;
146 @include no-appearance;
147 &:checked {
148 outline: none;
149 }
150 > option {
151 padding: 0pt 2pt;
152 outline: none;
153 }
154}
155
156/**
157 * funny hack for firefox
158 */
159#ql-field:-moz-focusring {
160 color: transparent;
161 text-shadow: 0 0 0 white;
162}