blob: 28e318ac85397931347cb9f7876d3f105930a5ef [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;
83 }
Akron7e5afce2020-08-25 15:50:19 +020084
Nils Diewald7c8ced22015-04-15 19:21:00 +000085 &.top {
Akron7e5afce2020-08-25 15:50:19 +020086 position: absolute;
87 display: block;
88 top: 0;
89 right: 0;
90 margin-right: 0;
Akronbaba3b62021-11-22 17:24:48 +010091 width: math.div($standard-margin,2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000092 background-color: $dark-green;
Akron7e5afce2020-08-25 15:50:19 +020093 text-align: center;
94 height: 100%;
95 z-index: 20;
96
Akron189b3592016-01-04 20:56:46 +010097 > a:hover {
Akron7e5afce2020-08-25 15:50:19 +020098 color: $nearly-white
Akron189b3592016-01-04 20:56:46 +010099 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000100 }
Akron7e5afce2020-08-25 15:50:19 +0200101
Nils Diewald7c8ced22015-04-15 19:21:00 +0000102 > a {
Akron7e5afce2020-08-25 15:50:19 +0200103 color: $nearly-white;
104 cursor: pointer;
105 position: relative;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000106 font-size: 120%;
Akron7e5afce2020-08-25 15:50:19 +0200107
Nils Diewald7c8ced22015-04-15 19:21:00 +0000108 > span {
Akron7e5afce2020-08-25 15:50:19 +0200109 @include blind;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000110 }
111 }
Akron7e5afce2020-08-25 15:50:19 +0200112
Nils Diewald7c8ced22015-04-15 19:21:00 +0000113 > a::after {
Akron7e5afce2020-08-25 15:50:19 +0200114 @include icon-font;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000115 }
Akron7e5afce2020-08-25 15:50:19 +0200116
117 // Icons for buttons
Nils Diewald7c8ced22015-04-15 19:21:00 +0000118 > a.tutorial::after {
119 content: $fa-tutorial;
120 }
Akron7e5afce2020-08-25 15:50:19 +0200121
Nils Diewald7c8ced22015-04-15 19:21:00 +0000122 > a.question::after {
123 content: $fa-question;
124 }
Akron7e5afce2020-08-25 15:50:19 +0200125
Nils Diewald7c8ced22015-04-15 19:21:00 +0000126 > a.login::after {
127 content: $fa-login;
128 }
Akron7e5afce2020-08-25 15:50:19 +0200129
Akrone5ef4e02017-04-19 17:07:52 +0200130 > a.logout::after {
131 content: $fa-logout;
132 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000133 }
Akrondbf7bae2020-10-07 10:44:24 +0200134}
135
136
137.query.button-group > span {
138 border-top-width: 0;
139 border-color: white;
140
141 &:first-child {
142 border-top-left-radius: 0;
143 }
144 &:last-child {
145 border-top-right-radius: 0;
146 }
Leo Repp57997402021-08-18 16:37:52 +0200147}