blob: e84d912e9ad71ec0ed62b6a474889ec24a4d5f54 [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();
14 padding: 8px;
15 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 }
28 span.select, #vc-choose { /* Formally vc.location */
29 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 }
42 &::after {
43 pointer-events: none;
44 font-family: FontAwesome;
45 text-align: center;
46 background-color: $light-green;
47 }
48 }
49 span.select::after {
Nils Diewald2488d052015-04-09 21:46:02 +000050 content: $fa-down;
Nils Diewalda944fab2015-04-08 21:02:04 +000051 }
52
53 form {
54 padding-left: $logo-left-distance;
55 min-height: 2.7em;
56 display: block;
57 margin: 0px;
58 position: relative;
59 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000060
61 .button {
62 &.right {
63 float: right;
64 display: inline-block;
65 }
66 &.top {
67 position: absolute;
68 display: block;
69 top: 0;
70 right: 0;
71 margin-right: 0;
Nils Diewald4347ee92015-05-04 20:32:48 +000072 width: ($standard-margin / 2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000073 background-color: $dark-green;
74 text-align: center;
75 height: 100%;
76 }
77 color: $nearly-white;
78 line-height: 2em;
79 margin-right: $right-distance;
80 > a {
81 color: $nearly-white;
82 cursor:pointer;
83 position: relative;
84 font-size: 120%;
85 > span {
86 @include blind;
87 }
88 }
89 > a::after {
90 font-family: 'FontAwesome';
91 }
92 > a.tutorial::after {
93 content: $fa-tutorial;
94 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000095 > a.question::after {
96 content: $fa-question;
97 }
98 > a.login::after {
99 content: $fa-login;
100 }
101 }
Nils Diewaldfccfbcb2015-04-29 20:48:19 +0000102
103 #vc-view > div {
104 margin: 1.3em 0 .5em 0;
105 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000106}
107
108
109/**
110 * Temporary hack for language chooser
111 * http://cssdeck.com/labs/styling-select-box-with-css3
112 */
113#ql-field {
114 cursor: pointer;
115 margin: 0;
116 outline: none;
117 border: none;
118 display: inline-block;
119 position: relative;
120 color: white;
121 background-color: $light-green;
122 border-width: 0;
123 border-radius: 0;
124 @include no-appearance;
125 &:checked {
126 outline: none;
127 }
128 > option {
129 padding: 0pt 2pt;
130 outline: none;
131 }
132}
133
134/**
135 * funny hack for firefox
136 */
137#ql-field:-moz-focusring {
138 color: transparent;
139 text-shadow: 0 0 0 white;
140}