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