blob: 41b5cc489ad067f0826bc9ec9d211907e0e31f13 [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
Akronbc4aff32022-02-08 16:08:42 +010012@import "state"; // State
Akronaefecc02024-10-28 11:13:26 +010013@import "panel"; // Panel
Nils Diewalda944fab2015-04-08 21:02:04 +000014
15header {
Nils Diewalda944fab2015-04-08 21:02:04 +000016 @include box-sizing-box();
Akron7e5afce2020-08-25 15:50:19 +020017 position: relative;
18 background-color: $light-green;
19 padding: $base-padding 0 0 $base-padding;
20 font-size: 10pt;
21 color: $nearly-white;
22
23 span.select {
24 display: inline-block;
25 cursor: pointer;
Nils Diewalda944fab2015-04-08 21:02:04 +000026 line-height: 1.8em;
Akron7e5afce2020-08-25 15:50:19 +020027
Akron18660452017-11-13 11:06:24 +010028 > span {
29 font-weight: bold;
30 }
Akron7e5afce2020-08-25 15:50:19 +020031
Nils Diewalda944fab2015-04-08 21:02:04 +000032 border: {
Akron7e5afce2020-08-25 15:50:19 +020033 width: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000034 bottom-width: 3px;
Akron7e5afce2020-08-25 15:50:19 +020035 style: solid;
36 color: transparent;
Nils Diewalda944fab2015-04-08 21:02:04 +000037 }
Akron7e5afce2020-08-25 15:50:19 +020038
Nils Diewalda944fab2015-04-08 21:02:04 +000039 &:hover {
Akron7e5afce2020-08-25 15:50:19 +020040 color: $dark-green;
Nils Diewalda944fab2015-04-08 21:02:04 +000041 border-color: $dark-green;
42 }
Akron7e5afce2020-08-25 15:50:19 +020043
Nils Diewalda944fab2015-04-08 21:02:04 +000044 &::after {
Akron7e5afce2020-08-25 15:50:19 +020045 @include icon-font;
Nils Diewalda944fab2015-04-08 21:02:04 +000046 pointer-events: none;
Akron7e5afce2020-08-25 15:50:19 +020047 text-align: center;
48 content: $fa-down;
49
Akron6bb71582016-06-10 20:41:08 +020050 padding: {
Akron7e5afce2020-08-25 15:50:19 +020051 left: 4pt;
Akron18660452017-11-13 11:06:24 +010052 right: 4pt;
Akron6bb71582016-06-10 20:41:08 +020053 }
54 }
Akron7e5afce2020-08-25 15:50:19 +020055
56 &.active {
57 border-color: $dark-orange;
58 &::after {
59 content: $fa-up;
60 }
Akron6bb71582016-06-10 20:41:08 +020061 }
Nils Diewalda944fab2015-04-08 21:02:04 +000062 }
63
64 form {
Akron7e5afce2020-08-25 15:50:19 +020065 position: relative;
66 display: block;
Nils Diewalda944fab2015-04-08 21:02:04 +000067 padding-left: $logo-left-distance;
Akron7e5afce2020-08-25 15:50:19 +020068 min-height: 2.7em;
69 margin: 0px;
Nils Diewalda944fab2015-04-08 21:02:04 +000070 }
Akron7e5afce2020-08-25 15:50:19 +020071
72 input {
73 @include input-field;
Akron1120a582017-10-17 12:29:16 +020074 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000075
76 .button {
Akron7e5afce2020-08-25 15:50:19 +020077 color: $nearly-white;
78 line-height: 2em;
79 margin-right: $right-distance;
80
Nils Diewald7c8ced22015-04-15 19:21:00 +000081 &.right {
Akron7e5afce2020-08-25 15:50:19 +020082 float: right;
Nils Diewald7c8ced22015-04-15 19:21:00 +000083 display: inline-block;
Helge2e434be2023-02-01 16:47:16 +010084 >.tutorial{
85 margin-left: 10px;
86 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000087 }
Akron7e5afce2020-08-25 15:50:19 +020088
Nils Diewald7c8ced22015-04-15 19:21:00 +000089 &.top {
Akron7e5afce2020-08-25 15:50:19 +020090 position: absolute;
91 display: block;
92 top: 0;
93 right: 0;
94 margin-right: 0;
Akronbaba3b62021-11-22 17:24:48 +010095 width: math.div($standard-margin,2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000096 background-color: $dark-green;
Akron7e5afce2020-08-25 15:50:19 +020097 text-align: center;
98 height: 100%;
99 z-index: 20;
100
Akron189b3592016-01-04 20:56:46 +0100101 > a:hover {
Akron7e5afce2020-08-25 15:50:19 +0200102 color: $nearly-white
Akron189b3592016-01-04 20:56:46 +0100103 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000104 }
Akron7e5afce2020-08-25 15:50:19 +0200105
Nils Diewald7c8ced22015-04-15 19:21:00 +0000106 > a {
Akron7e5afce2020-08-25 15:50:19 +0200107 color: $nearly-white;
108 cursor: pointer;
109 position: relative;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000110 font-size: 120%;
Akron7e5afce2020-08-25 15:50:19 +0200111
Nils Diewald7c8ced22015-04-15 19:21:00 +0000112 > span {
Akron7e5afce2020-08-25 15:50:19 +0200113 @include blind;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000114 }
115 }
Akron7e5afce2020-08-25 15:50:19 +0200116
Nils Diewald7c8ced22015-04-15 19:21:00 +0000117 > a::after {
Akron7e5afce2020-08-25 15:50:19 +0200118 @include icon-font;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000119 }
Akron7e5afce2020-08-25 15:50:19 +0200120
121 // Icons for buttons
Nils Diewald7c8ced22015-04-15 19:21:00 +0000122 > a.tutorial::after {
123 content: $fa-tutorial;
124 }
Akron7e5afce2020-08-25 15:50:19 +0200125
Nils Diewald7c8ced22015-04-15 19:21:00 +0000126 > a.question::after {
127 content: $fa-question;
128 }
Akron7e5afce2020-08-25 15:50:19 +0200129
Nils Diewald7c8ced22015-04-15 19:21:00 +0000130 > a.login::after {
131 content: $fa-login;
132 }
Akron7e5afce2020-08-25 15:50:19 +0200133
Akrone5ef4e02017-04-19 17:07:52 +0200134 > a.logout::after {
135 content: $fa-logout;
136 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000137 }
Akrondbf7bae2020-10-07 10:44:24 +0200138}
139
140
141.query.button-group > span {
142 border-top-width: 0;
143 border-color: white;
144
145 &:first-child {
146 border-top-left-radius: 0;
147 }
148 &:last-child {
149 border-top-right-radius: 0;
150 }
Leo Repp57997402021-08-18 16:37:52 +0200151}