blob: 98201e3ff533ce245b686629c05f806759a08e78 [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;
31 border: {
32 width: 0;
33 bottom-width: 3px;
34 style: solid;
35 color: transparent;
36 }
37 display: inline-block;
38 &:hover {
39 color: $dark-green;
40 border-color: $dark-green;
41 }
Akron37513a62015-11-17 01:07:11 +010042 &.active {
43 border-color: $dark-orange;
44 }
Nils Diewalda944fab2015-04-08 21:02:04 +000045 &::after {
46 pointer-events: none;
47 font-family: FontAwesome;
48 text-align: center;
49 background-color: $light-green;
50 }
51 }
Akron6bb71582016-06-10 20:41:08 +020052 span.select {
53 &::after {
54 content: $fa-down;
55 padding: {
56 left: 4pt;
57 right: 4pt;
58 }
59 }
60 &.active::after {
61 content: $fa-up;
62 }
Nils Diewalda944fab2015-04-08 21:02:04 +000063 }
64
65 form {
66 padding-left: $logo-left-distance;
67 min-height: 2.7em;
68 display: block;
69 margin: 0px;
70 position: relative;
71 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000072
73 .button {
74 &.right {
75 float: right;
76 display: inline-block;
77 }
78 &.top {
79 position: absolute;
80 display: block;
81 top: 0;
82 right: 0;
83 margin-right: 0;
Nils Diewald4347ee92015-05-04 20:32:48 +000084 width: ($standard-margin / 2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000085 background-color: $dark-green;
86 text-align: center;
87 height: 100%;
Akron189b3592016-01-04 20:56:46 +010088 z-index: 20;
89 > a:hover {
90 color: $nearly-white
91 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000092 }
93 color: $nearly-white;
94 line-height: 2em;
95 margin-right: $right-distance;
96 > a {
97 color: $nearly-white;
98 cursor:pointer;
99 position: relative;
100 font-size: 120%;
101 > span {
102 @include blind;
103 }
104 }
105 > a::after {
106 font-family: 'FontAwesome';
107 }
108 > a.tutorial::after {
109 content: $fa-tutorial;
110 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000111 > a.question::after {
112 content: $fa-question;
113 }
114 > a.login::after {
115 content: $fa-login;
116 }
Akrone5ef4e02017-04-19 17:07:52 +0200117 > a.logout::after {
118 content: $fa-logout;
119 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000120 }
Nils Diewaldfccfbcb2015-04-29 20:48:19 +0000121
122 #vc-view > div {
123 margin: 1.3em 0 .5em 0;
124 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000125}
126
127
128/**
129 * Temporary hack for language chooser
130 * http://cssdeck.com/labs/styling-select-box-with-css3
131 */
132#ql-field {
133 cursor: pointer;
134 margin: 0;
135 outline: none;
136 border: none;
137 display: inline-block;
138 position: relative;
139 color: white;
140 background-color: $light-green;
141 border-width: 0;
142 border-radius: 0;
143 @include no-appearance;
144 &:checked {
145 outline: none;
146 }
147 > option {
148 padding: 0pt 2pt;
149 outline: none;
150 }
151}
152
153/**
154 * funny hack for firefox
155 */
156#ql-field:-moz-focusring {
157 color: transparent;
158 text-shadow: 0 0 0 white;
159}