blob: 763c20e1b4179687e28cb062fb1b6f12ebb0482d [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
Akron2f979122018-07-25 17:00:23 +02004@import "searchbar"; // The search bar
5@import "vc"; // Virtual corpus builder
6@import "statistics"; // Statistics for VCs
7@import "datepicker"; // Datepicker
Akron7e5afce2020-08-25 15:50:19 +02008@import "querylanguage"; // Query language
9@import "pipe"; // Pipe
Nils Diewalda944fab2015-04-08 21:02:04 +000010
11header {
Nils Diewalda944fab2015-04-08 21:02:04 +000012 @include box-sizing-box();
Akron7e5afce2020-08-25 15:50:19 +020013 position: relative;
14 background-color: $light-green;
15 padding: $base-padding 0 0 $base-padding;
16 font-size: 10pt;
17 color: $nearly-white;
18
19 span.select {
20 display: inline-block;
21 cursor: pointer;
Nils Diewalda944fab2015-04-08 21:02:04 +000022 line-height: 1.8em;
Akron7e5afce2020-08-25 15:50:19 +020023
Akron18660452017-11-13 11:06:24 +010024 > span {
25 font-weight: bold;
26 }
Akron7e5afce2020-08-25 15:50:19 +020027
Nils Diewalda944fab2015-04-08 21:02:04 +000028 border: {
Akron7e5afce2020-08-25 15:50:19 +020029 width: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000030 bottom-width: 3px;
Akron7e5afce2020-08-25 15:50:19 +020031 style: solid;
32 color: transparent;
Nils Diewalda944fab2015-04-08 21:02:04 +000033 }
Akron7e5afce2020-08-25 15:50:19 +020034
Nils Diewalda944fab2015-04-08 21:02:04 +000035 &:hover {
Akron7e5afce2020-08-25 15:50:19 +020036 color: $dark-green;
Nils Diewalda944fab2015-04-08 21:02:04 +000037 border-color: $dark-green;
38 }
Akron7e5afce2020-08-25 15:50:19 +020039
Nils Diewalda944fab2015-04-08 21:02:04 +000040 &::after {
Akron7e5afce2020-08-25 15:50:19 +020041 @include icon-font;
Nils Diewalda944fab2015-04-08 21:02:04 +000042 pointer-events: none;
Akron7e5afce2020-08-25 15:50:19 +020043 text-align: center;
44 content: $fa-down;
45
Akron6bb71582016-06-10 20:41:08 +020046 padding: {
Akron7e5afce2020-08-25 15:50:19 +020047 left: 4pt;
Akron18660452017-11-13 11:06:24 +010048 right: 4pt;
Akron6bb71582016-06-10 20:41:08 +020049 }
50 }
Akron7e5afce2020-08-25 15:50:19 +020051
52 &.active {
53 border-color: $dark-orange;
54 &::after {
55 content: $fa-up;
56 }
Akron6bb71582016-06-10 20:41:08 +020057 }
Nils Diewalda944fab2015-04-08 21:02:04 +000058 }
59
60 form {
Akron7e5afce2020-08-25 15:50:19 +020061 position: relative;
62 display: block;
Nils Diewalda944fab2015-04-08 21:02:04 +000063 padding-left: $logo-left-distance;
Akron7e5afce2020-08-25 15:50:19 +020064 min-height: 2.7em;
65 margin: 0px;
Nils Diewalda944fab2015-04-08 21:02:04 +000066 }
Akron7e5afce2020-08-25 15:50:19 +020067
68 input {
69 @include input-field;
Akron1120a582017-10-17 12:29:16 +020070 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000071
72 .button {
Akron7e5afce2020-08-25 15:50:19 +020073 color: $nearly-white;
74 line-height: 2em;
75 margin-right: $right-distance;
76
Nils Diewald7c8ced22015-04-15 19:21:00 +000077 &.right {
Akron7e5afce2020-08-25 15:50:19 +020078 float: right;
Nils Diewald7c8ced22015-04-15 19:21:00 +000079 display: inline-block;
80 }
Akron7e5afce2020-08-25 15:50:19 +020081
Nils Diewald7c8ced22015-04-15 19:21:00 +000082 &.top {
Akron7e5afce2020-08-25 15:50:19 +020083 position: absolute;
84 display: block;
85 top: 0;
86 right: 0;
87 margin-right: 0;
88 width: ($standard-margin / 2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000089 background-color: $dark-green;
Akron7e5afce2020-08-25 15:50:19 +020090 text-align: center;
91 height: 100%;
92 z-index: 20;
93
Akron189b3592016-01-04 20:56:46 +010094 > a:hover {
Akron7e5afce2020-08-25 15:50:19 +020095 color: $nearly-white
Akron189b3592016-01-04 20:56:46 +010096 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000097 }
Akron7e5afce2020-08-25 15:50:19 +020098
Nils Diewald7c8ced22015-04-15 19:21:00 +000099 > a {
Akron7e5afce2020-08-25 15:50:19 +0200100 color: $nearly-white;
101 cursor: pointer;
102 position: relative;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000103 font-size: 120%;
Akron7e5afce2020-08-25 15:50:19 +0200104
Nils Diewald7c8ced22015-04-15 19:21:00 +0000105 > span {
Akron7e5afce2020-08-25 15:50:19 +0200106 @include blind;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000107 }
108 }
Akron7e5afce2020-08-25 15:50:19 +0200109
Nils Diewald7c8ced22015-04-15 19:21:00 +0000110 > a::after {
Akron7e5afce2020-08-25 15:50:19 +0200111 @include icon-font;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000112 }
Akron7e5afce2020-08-25 15:50:19 +0200113
114 // Icons for buttons
Nils Diewald7c8ced22015-04-15 19:21:00 +0000115 > a.tutorial::after {
116 content: $fa-tutorial;
117 }
Akron7e5afce2020-08-25 15:50:19 +0200118
Nils Diewald7c8ced22015-04-15 19:21:00 +0000119 > a.question::after {
120 content: $fa-question;
121 }
Akron7e5afce2020-08-25 15:50:19 +0200122
Nils Diewald7c8ced22015-04-15 19:21:00 +0000123 > a.login::after {
124 content: $fa-login;
125 }
Akron7e5afce2020-08-25 15:50:19 +0200126
Akrone5ef4e02017-04-19 17:07:52 +0200127 > a.logout::after {
128 content: $fa-logout;
129 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000130 }
Akron24f48ea2020-07-01 09:37:19 +0200131}