blob: 10d1256db468563bfea9ed15f06899845c9d320b [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
Nils Diewalda944fab2015-04-08 21:02:04 +000013
14header {
Nils Diewalda944fab2015-04-08 21:02:04 +000015 @include box-sizing-box();
Akron7e5afce2020-08-25 15:50:19 +020016 position: relative;
17 background-color: $light-green;
18 padding: $base-padding 0 0 $base-padding;
19 font-size: 10pt;
20 color: $nearly-white;
21
22 span.select {
23 display: inline-block;
24 cursor: pointer;
Nils Diewalda944fab2015-04-08 21:02:04 +000025 line-height: 1.8em;
Akron7e5afce2020-08-25 15:50:19 +020026
Akron18660452017-11-13 11:06:24 +010027 > span {
28 font-weight: bold;
29 }
Akron7e5afce2020-08-25 15:50:19 +020030
Nils Diewalda944fab2015-04-08 21:02:04 +000031 border: {
Akron7e5afce2020-08-25 15:50:19 +020032 width: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000033 bottom-width: 3px;
Akron7e5afce2020-08-25 15:50:19 +020034 style: solid;
35 color: transparent;
Nils Diewalda944fab2015-04-08 21:02:04 +000036 }
Akron7e5afce2020-08-25 15:50:19 +020037
Nils Diewalda944fab2015-04-08 21:02:04 +000038 &:hover {
Akron7e5afce2020-08-25 15:50:19 +020039 color: $dark-green;
Nils Diewalda944fab2015-04-08 21:02:04 +000040 border-color: $dark-green;
41 }
Akron7e5afce2020-08-25 15:50:19 +020042
Nils Diewalda944fab2015-04-08 21:02:04 +000043 &::after {
Akron7e5afce2020-08-25 15:50:19 +020044 @include icon-font;
Nils Diewalda944fab2015-04-08 21:02:04 +000045 pointer-events: none;
Akron7e5afce2020-08-25 15:50:19 +020046 text-align: center;
47 content: $fa-down;
48
Akron6bb71582016-06-10 20:41:08 +020049 padding: {
Akron7e5afce2020-08-25 15:50:19 +020050 left: 4pt;
Akron18660452017-11-13 11:06:24 +010051 right: 4pt;
Akron6bb71582016-06-10 20:41:08 +020052 }
53 }
Akron7e5afce2020-08-25 15:50:19 +020054
55 &.active {
56 border-color: $dark-orange;
57 &::after {
58 content: $fa-up;
59 }
Akron6bb71582016-06-10 20:41:08 +020060 }
Nils Diewalda944fab2015-04-08 21:02:04 +000061 }
62
63 form {
Akron7e5afce2020-08-25 15:50:19 +020064 position: relative;
65 display: block;
Nils Diewalda944fab2015-04-08 21:02:04 +000066 padding-left: $logo-left-distance;
Akron7e5afce2020-08-25 15:50:19 +020067 min-height: 2.7em;
68 margin: 0px;
Nils Diewalda944fab2015-04-08 21:02:04 +000069 }
Akron7e5afce2020-08-25 15:50:19 +020070
71 input {
72 @include input-field;
Akron1120a582017-10-17 12:29:16 +020073 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000074
75 .button {
Akron7e5afce2020-08-25 15:50:19 +020076 color: $nearly-white;
77 line-height: 2em;
78 margin-right: $right-distance;
79
Nils Diewald7c8ced22015-04-15 19:21:00 +000080 &.right {
Akron7e5afce2020-08-25 15:50:19 +020081 float: right;
Nils Diewald7c8ced22015-04-15 19:21:00 +000082 display: inline-block;
Helge2e434be2023-02-01 16:47:16 +010083 >.tutorial{
84 margin-left: 10px;
85 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000086 }
Akron7e5afce2020-08-25 15:50:19 +020087
Nils Diewald7c8ced22015-04-15 19:21:00 +000088 &.top {
Akron7e5afce2020-08-25 15:50:19 +020089 position: absolute;
90 display: block;
91 top: 0;
92 right: 0;
93 margin-right: 0;
Akronbaba3b62021-11-22 17:24:48 +010094 width: math.div($standard-margin,2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000095 background-color: $dark-green;
Akron7e5afce2020-08-25 15:50:19 +020096 text-align: center;
97 height: 100%;
98 z-index: 20;
99
Akron189b3592016-01-04 20:56:46 +0100100 > a:hover {
Akron7e5afce2020-08-25 15:50:19 +0200101 color: $nearly-white
Akron189b3592016-01-04 20:56:46 +0100102 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000103 }
Akron7e5afce2020-08-25 15:50:19 +0200104
Nils Diewald7c8ced22015-04-15 19:21:00 +0000105 > a {
Akron7e5afce2020-08-25 15:50:19 +0200106 color: $nearly-white;
107 cursor: pointer;
108 position: relative;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000109 font-size: 120%;
Akron7e5afce2020-08-25 15:50:19 +0200110
Nils Diewald7c8ced22015-04-15 19:21:00 +0000111 > span {
Akron7e5afce2020-08-25 15:50:19 +0200112 @include blind;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000113 }
114 }
Akron7e5afce2020-08-25 15:50:19 +0200115
Nils Diewald7c8ced22015-04-15 19:21:00 +0000116 > a::after {
Akron7e5afce2020-08-25 15:50:19 +0200117 @include icon-font;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000118 }
Akron7e5afce2020-08-25 15:50:19 +0200119
120 // Icons for buttons
Nils Diewald7c8ced22015-04-15 19:21:00 +0000121 > a.tutorial::after {
122 content: $fa-tutorial;
123 }
Akron7e5afce2020-08-25 15:50:19 +0200124
Nils Diewald7c8ced22015-04-15 19:21:00 +0000125 > a.question::after {
126 content: $fa-question;
127 }
Akron7e5afce2020-08-25 15:50:19 +0200128
Nils Diewald7c8ced22015-04-15 19:21:00 +0000129 > a.login::after {
130 content: $fa-login;
131 }
Akron7e5afce2020-08-25 15:50:19 +0200132
Akrone5ef4e02017-04-19 17:07:52 +0200133 > a.logout::after {
134 content: $fa-logout;
135 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000136 }
Akrondbf7bae2020-10-07 10:44:24 +0200137}
138
139
140.query.button-group > span {
141 border-top-width: 0;
142 border-color: white;
143
144 &:first-child {
145 border-top-left-radius: 0;
146 }
147 &:last-child {
148 border-top-right-radius: 0;
149 }
Leo Repp57997402021-08-18 16:37:52 +0200150}