blob: 8b4e0a5fafbd8cfab8213764eaf529d33abbc8f1 [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;
72 width: 22px;
73 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 }
95 > a.align.left::after {
96 content: $fa-left-align;
97 }
98 > a.align.right::after {
99 content: $fa-right-align;
100 }
101 > a.question::after {
102 content: $fa-question;
103 }
104 > a.login::after {
105 content: $fa-login;
106 }
107 }
Nils Diewaldfccfbcb2015-04-29 20:48:19 +0000108
109 #vc-view > div {
110 margin: 1.3em 0 .5em 0;
111 }
Nils Diewalda944fab2015-04-08 21:02:04 +0000112}
113
114
115/**
116 * Temporary hack for language chooser
117 * http://cssdeck.com/labs/styling-select-box-with-css3
118 */
119#ql-field {
120 cursor: pointer;
121 margin: 0;
122 outline: none;
123 border: none;
124 display: inline-block;
125 position: relative;
126 color: white;
127 background-color: $light-green;
128 border-width: 0;
129 border-radius: 0;
130 @include no-appearance;
131 &:checked {
132 outline: none;
133 }
134 > option {
135 padding: 0pt 2pt;
136 outline: none;
137 }
138}
139
140/**
141 * funny hack for firefox
142 */
143#ql-field:-moz-focusring {
144 color: transparent;
145 text-shadow: 0 0 0 white;
146}