blob: 76c583e11bccdc11f352932f68c94e7a66dc8278 [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
Leo Repp8e21cbe2021-08-18 16:37:52 +02004@import "containermenu"; // Container menu specific
Akron2f979122018-07-25 17:00:23 +02005@import "searchbar"; // The search bar
6@import "vc"; // Virtual corpus builder
7@import "statistics"; // Statistics for VCs
8@import "datepicker"; // Datepicker
Akron7e5afce2020-08-25 15:50:19 +02009@import "querylanguage"; // Query language
10@import "pipe"; // Pipe
Nils Diewalda944fab2015-04-08 21:02:04 +000011
12header {
Nils Diewalda944fab2015-04-08 21:02:04 +000013 @include box-sizing-box();
Akron7e5afce2020-08-25 15:50:19 +020014 position: relative;
15 background-color: $light-green;
16 padding: $base-padding 0 0 $base-padding;
17 font-size: 10pt;
18 color: $nearly-white;
19
20 span.select {
21 display: inline-block;
22 cursor: pointer;
Nils Diewalda944fab2015-04-08 21:02:04 +000023 line-height: 1.8em;
Akron7e5afce2020-08-25 15:50:19 +020024
Akron18660452017-11-13 11:06:24 +010025 > span {
26 font-weight: bold;
27 }
Akron7e5afce2020-08-25 15:50:19 +020028
Nils Diewalda944fab2015-04-08 21:02:04 +000029 border: {
Akron7e5afce2020-08-25 15:50:19 +020030 width: 0;
Nils Diewalda944fab2015-04-08 21:02:04 +000031 bottom-width: 3px;
Akron7e5afce2020-08-25 15:50:19 +020032 style: solid;
33 color: transparent;
Nils Diewalda944fab2015-04-08 21:02:04 +000034 }
Akron7e5afce2020-08-25 15:50:19 +020035
Nils Diewalda944fab2015-04-08 21:02:04 +000036 &:hover {
Akron7e5afce2020-08-25 15:50:19 +020037 color: $dark-green;
Nils Diewalda944fab2015-04-08 21:02:04 +000038 border-color: $dark-green;
39 }
Akron7e5afce2020-08-25 15:50:19 +020040
Nils Diewalda944fab2015-04-08 21:02:04 +000041 &::after {
Akron7e5afce2020-08-25 15:50:19 +020042 @include icon-font;
Nils Diewalda944fab2015-04-08 21:02:04 +000043 pointer-events: none;
Akron7e5afce2020-08-25 15:50:19 +020044 text-align: center;
45 content: $fa-down;
46
Akron6bb71582016-06-10 20:41:08 +020047 padding: {
Akron7e5afce2020-08-25 15:50:19 +020048 left: 4pt;
Akron18660452017-11-13 11:06:24 +010049 right: 4pt;
Akron6bb71582016-06-10 20:41:08 +020050 }
51 }
Akron7e5afce2020-08-25 15:50:19 +020052
53 &.active {
54 border-color: $dark-orange;
55 &::after {
56 content: $fa-up;
57 }
Akron6bb71582016-06-10 20:41:08 +020058 }
Nils Diewalda944fab2015-04-08 21:02:04 +000059 }
60
61 form {
Akron7e5afce2020-08-25 15:50:19 +020062 position: relative;
63 display: block;
Nils Diewalda944fab2015-04-08 21:02:04 +000064 padding-left: $logo-left-distance;
Akron7e5afce2020-08-25 15:50:19 +020065 min-height: 2.7em;
66 margin: 0px;
Nils Diewalda944fab2015-04-08 21:02:04 +000067 }
Akron7e5afce2020-08-25 15:50:19 +020068
69 input {
70 @include input-field;
Akron1120a582017-10-17 12:29:16 +020071 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000072
73 .button {
Akron7e5afce2020-08-25 15:50:19 +020074 color: $nearly-white;
75 line-height: 2em;
76 margin-right: $right-distance;
77
Nils Diewald7c8ced22015-04-15 19:21:00 +000078 &.right {
Akron7e5afce2020-08-25 15:50:19 +020079 float: right;
Nils Diewald7c8ced22015-04-15 19:21:00 +000080 display: inline-block;
81 }
Akron7e5afce2020-08-25 15:50:19 +020082
Nils Diewald7c8ced22015-04-15 19:21:00 +000083 &.top {
Akron7e5afce2020-08-25 15:50:19 +020084 position: absolute;
85 display: block;
86 top: 0;
87 right: 0;
88 margin-right: 0;
89 width: ($standard-margin / 2);
Nils Diewald7c8ced22015-04-15 19:21:00 +000090 background-color: $dark-green;
Akron7e5afce2020-08-25 15:50:19 +020091 text-align: center;
92 height: 100%;
93 z-index: 20;
94
Akron189b3592016-01-04 20:56:46 +010095 > a:hover {
Akron7e5afce2020-08-25 15:50:19 +020096 color: $nearly-white
Akron189b3592016-01-04 20:56:46 +010097 }
Nils Diewald7c8ced22015-04-15 19:21:00 +000098 }
Akron7e5afce2020-08-25 15:50:19 +020099
Nils Diewald7c8ced22015-04-15 19:21:00 +0000100 > a {
Akron7e5afce2020-08-25 15:50:19 +0200101 color: $nearly-white;
102 cursor: pointer;
103 position: relative;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000104 font-size: 120%;
Akron7e5afce2020-08-25 15:50:19 +0200105
Nils Diewald7c8ced22015-04-15 19:21:00 +0000106 > span {
Akron7e5afce2020-08-25 15:50:19 +0200107 @include blind;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000108 }
109 }
Akron7e5afce2020-08-25 15:50:19 +0200110
Nils Diewald7c8ced22015-04-15 19:21:00 +0000111 > a::after {
Akron7e5afce2020-08-25 15:50:19 +0200112 @include icon-font;
Nils Diewald7c8ced22015-04-15 19:21:00 +0000113 }
Akron7e5afce2020-08-25 15:50:19 +0200114
115 // Icons for buttons
Nils Diewald7c8ced22015-04-15 19:21:00 +0000116 > a.tutorial::after {
117 content: $fa-tutorial;
118 }
Akron7e5afce2020-08-25 15:50:19 +0200119
Nils Diewald7c8ced22015-04-15 19:21:00 +0000120 > a.question::after {
121 content: $fa-question;
122 }
Akron7e5afce2020-08-25 15:50:19 +0200123
Nils Diewald7c8ced22015-04-15 19:21:00 +0000124 > a.login::after {
125 content: $fa-login;
126 }
Akron7e5afce2020-08-25 15:50:19 +0200127
Akrone5ef4e02017-04-19 17:07:52 +0200128 > a.logout::after {
129 content: $fa-logout;
130 }
Nils Diewald7c8ced22015-04-15 19:21:00 +0000131 }
Akrondbf7bae2020-10-07 10:44:24 +0200132}
133
134
135.query.button-group > span {
136 border-top-width: 0;
137 border-color: white;
138
139 &:first-child {
140 border-top-left-radius: 0;
141 }
142 &:last-child {
143 border-top-right-radius: 0;
144 }
Leo Repp8e21cbe2021-08-18 16:37:52 +0200145}