blob: c0c746902a7459311a4007155663e6526a56573b [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
Akronbaba3b62021-11-22 17:24:48 +01002@use 'sass:math';
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00003@import "../util";
Akron2f979122018-07-25 17:00:23 +02004@import "hint"; // Hint specific menu list
Leo Repp57997402021-08-18 16:37:52 +02005@import "containermenu"; // Container menu specific
Akron2f979122018-07-25 17:00:23 +02006@import "searchbar"; // The search bar
7@import "vc"; // Virtual corpus builder
8@import "statistics"; // Statistics for VCs
9@import "datepicker"; // Datepicker
Akron7e5afce2020-08-25 15:50:19 +020010@import "querylanguage"; // Query language
11@import "pipe"; // Pipe
Nils Diewalda944fab2015-04-08 21:02:04 +000012
13header {
Nils Diewalda944fab2015-04-08 21:02:04 +000014 @include box-sizing-box();
Akron7e5afce2020-08-25 15:50:19 +020015 position: relative;
16 background-color: $light-green;
17 padding: $base-padding 0 0 $base-padding;
18 font-size: 10pt;
19 color: $nearly-white;
20
21 span.select {
22 display: inline-block;
23 cursor: pointer;
Nils Diewalda944fab2015-04-08 21:02:04 +000024 line-height: 1.8em;
Akron7e5afce2020-08-25 15:50:19 +020025
Akron18660452017-11-13 11:06:24 +010026 > span {
27 font-weight: bold;
28 }
Akron7e5afce2020-08-25 15:50:19 +020029
Nils Diewalda944fab2015-04-08 21:02:04 +000030 border: {
Akron7e5afce2020-08-25 15:50:19 +020031 width: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000032 bottom-width: 3px;
Akron7e5afce2020-08-25 15:50:19 +020033 style: solid;
34 color: transparent;
Nils Diewalda944fab2015-04-08 21:02:04 +000035 }
Akron7e5afce2020-08-25 15:50:19 +020036
Nils Diewalda944fab2015-04-08 21:02:04 +000037 &:hover {
Akron7e5afce2020-08-25 15:50:19 +020038 color: $dark-green;
Nils Diewalda944fab2015-04-08 21:02:04 +000039 border-color: $dark-green;
40 }
Akron7e5afce2020-08-25 15:50:19 +020041
Nils Diewalda944fab2015-04-08 21:02:04 +000042 &::after {
Akron7e5afce2020-08-25 15:50:19 +020043 @include icon-font;
Nils Diewalda944fab2015-04-08 21:02:04 +000044 pointer-events: none;
Akron7e5afce2020-08-25 15:50:19 +020045 text-align: center;
46 content: $fa-down;
47
Akron6bb71582016-06-10 20:41:08 +020048 padding: {
Akron7e5afce2020-08-25 15:50:19 +020049 left: 4pt;
Akron18660452017-11-13 11:06:24 +010050 right: 4pt;
Akron6bb71582016-06-10 20:41:08 +020051 }
52 }
Akron7e5afce2020-08-25 15:50:19 +020053
54 &.active {
55 border-color: $dark-orange;
56 &::after {
57 content: $fa-up;
58 }
Akron6bb71582016-06-10 20:41:08 +020059 }
Nils Diewalda944fab2015-04-08 21:02:04 +000060 }
61
62 form {
Akron7e5afce2020-08-25 15:50:19 +020063 position: relative;
64 display: block;
Nils Diewalda944fab2015-04-08 21:02:04 +000065 padding-left: $logo-left-distance;
Akron7e5afce2020-08-25 15:50:19 +020066 min-height: 2.7em;
67 margin: 0px;
Nils Diewalda944fab2015-04-08 21:02:04 +000068 }
Akron7e5afce2020-08-25 15:50:19 +020069
70 input {
71 @include input-field;
Akron1120a582017-10-17 12:29:16 +020072 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000073
74 .button {
Akron7e5afce2020-08-25 15:50:19 +020075 color: $nearly-white;
76 line-height: 2em;
77 margin-right: $right-distance;
78
Nils Diewald7c8ced22015-04-15 19:21:00 +000079 &.right {
Akron7e5afce2020-08-25 15:50:19 +020080 float: right;
Nils Diewald7c8ced22015-04-15 19:21:00 +000081 display: inline-block;
82 }
Akron7e5afce2020-08-25 15:50:19 +020083
Nils Diewald7c8ced22015-04-15 19:21:00 +000084 &.top {
Akron7e5afce2020-08-25 15:50:19 +020085 position: absolute;
86 display: block;
87 top: 0;
88 right: 0;
89 margin-right: 0;
Akronbaba3b62021-11-22 17:24:48 +010090 width: math.div($standard-margin,2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000091 background-color: $dark-green;
Akron7e5afce2020-08-25 15:50:19 +020092 text-align: center;
93 height: 100%;
94 z-index: 20;
95
Akron189b3592016-01-04 20:56:46 +010096 > a:hover {
Akron7e5afce2020-08-25 15:50:19 +020097 color: $nearly-white
Akron189b3592016-01-04 20:56:46 +010098 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000099 }
Akron7e5afce2020-08-25 15:50:19 +0200100
Nils Diewald7c8ced22015-04-15 19:21:00 +0000101 > a {
Akron7e5afce2020-08-25 15:50:19 +0200102 color: $nearly-white;
103 cursor: pointer;
104 position: relative;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000105 font-size: 120%;
Akron7e5afce2020-08-25 15:50:19 +0200106
Nils Diewald7c8ced22015-04-15 19:21:00 +0000107 > span {
Akron7e5afce2020-08-25 15:50:19 +0200108 @include blind;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000109 }
110 }
Akron7e5afce2020-08-25 15:50:19 +0200111
Nils Diewald7c8ced22015-04-15 19:21:00 +0000112 > a::after {
Akron7e5afce2020-08-25 15:50:19 +0200113 @include icon-font;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000114 }
Akron7e5afce2020-08-25 15:50:19 +0200115
116 // Icons for buttons
Nils Diewald7c8ced22015-04-15 19:21:00 +0000117 > a.tutorial::after {
118 content: $fa-tutorial;
119 }
Akron7e5afce2020-08-25 15:50:19 +0200120
Nils Diewald7c8ced22015-04-15 19:21:00 +0000121 > a.question::after {
122 content: $fa-question;
123 }
Akron7e5afce2020-08-25 15:50:19 +0200124
Nils Diewald7c8ced22015-04-15 19:21:00 +0000125 > a.login::after {
126 content: $fa-login;
127 }
Akron7e5afce2020-08-25 15:50:19 +0200128
Akrone5ef4e02017-04-19 17:07:52 +0200129 > a.logout::after {
130 content: $fa-logout;
131 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000132 }
Akrondbf7bae2020-10-07 10:44:24 +0200133}
134
135
136.query.button-group > span {
137 border-top-width: 0;
138 border-color: white;
139
140 &:first-child {
141 border-top-left-radius: 0;
142 }
143 &:last-child {
144 border-top-right-radius: 0;
145 }
Leo Repp57997402021-08-18 16:37:52 +0200146}