Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
Akron | baba3b6 | 2021-11-22 17:24:48 +0100 | [diff] [blame] | 2 | @use 'sass:math'; |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 3 | @import "../util"; |
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 4 | @import "hint"; // Hint specific menu list |
Leo Repp | 5799740 | 2021-08-18 16:37:52 +0200 | [diff] [blame] | 5 | @import "containermenu"; // Container menu specific |
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 6 | @import "searchbar"; // The search bar |
7 | @import "vc"; // Virtual corpus builder | ||||
8 | @import "statistics"; // Statistics for VCs | ||||
9 | @import "datepicker"; // Datepicker | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 10 | @import "querylanguage"; // Query language |
11 | @import "pipe"; // Pipe | ||||
Akron | bc4aff3 | 2022-02-08 16:08:42 +0100 | [diff] [blame] | 12 | @import "state"; // State |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 13 | |
14 | header { | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 15 | @include box-sizing-box(); |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 16 | 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 Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 25 | line-height: 1.8em; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 26 | |
Akron | 1866045 | 2017-11-13 11:06:24 +0100 | [diff] [blame] | 27 | > span { |
28 | font-weight: bold; | ||||
29 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 30 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 31 | border: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 32 | width: 0; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 33 | bottom-width: 3px; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 34 | style: solid; |
35 | color: transparent; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 36 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 37 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 38 | &:hover { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 39 | color: $dark-green; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 40 | border-color: $dark-green; |
41 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 42 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 43 | &::after { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 44 | @include icon-font; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 45 | pointer-events: none; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 46 | text-align: center; |
47 | content: $fa-down; | ||||
48 | |||||
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 49 | padding: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 50 | left: 4pt; |
Akron | 1866045 | 2017-11-13 11:06:24 +0100 | [diff] [blame] | 51 | right: 4pt; |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 52 | } |
53 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 54 | |
55 | &.active { | ||||
56 | border-color: $dark-orange; | ||||
57 | &::after { | ||||
58 | content: $fa-up; | ||||
59 | } | ||||
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 60 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 61 | } |
62 | |||||
63 | form { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 64 | position: relative; |
65 | display: block; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 66 | padding-left: $logo-left-distance; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 67 | min-height: 2.7em; |
68 | margin: 0px; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 69 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 70 | |
71 | input { | ||||
72 | @include input-field; | ||||
Akron | 1120a58 | 2017-10-17 12:29:16 +0200 | [diff] [blame] | 73 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 74 | |
75 | .button { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 76 | color: $nearly-white; |
77 | line-height: 2em; | ||||
78 | margin-right: $right-distance; | ||||
79 | |||||
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 80 | &.right { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 81 | float: right; |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 82 | display: inline-block; |
Helge | 2e434be | 2023-02-01 16:47:16 +0100 | [diff] [blame^] | 83 | >.tutorial{ |
84 | margin-left: 10px; | ||||
85 | } | ||||
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 86 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 87 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 88 | &.top { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 89 | position: absolute; |
90 | display: block; | ||||
91 | top: 0; | ||||
92 | right: 0; | ||||
93 | margin-right: 0; | ||||
Akron | baba3b6 | 2021-11-22 17:24:48 +0100 | [diff] [blame] | 94 | width: math.div($standard-margin,2); |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 95 | background-color: $dark-green; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 96 | text-align: center; |
97 | height: 100%; | ||||
98 | z-index: 20; | ||||
99 | |||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 100 | > a:hover { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 101 | color: $nearly-white |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 102 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 103 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 104 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 105 | > a { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 106 | color: $nearly-white; |
107 | cursor: pointer; | ||||
108 | position: relative; | ||||
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 109 | font-size: 120%; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 110 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 111 | > span { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 112 | @include blind; |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 113 | } |
114 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 115 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 116 | > a::after { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 117 | @include icon-font; |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 118 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 119 | |
120 | // Icons for buttons | ||||
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 121 | > a.tutorial::after { |
122 | content: $fa-tutorial; | ||||
123 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 124 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 125 | > a.question::after { |
126 | content: $fa-question; | ||||
127 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 128 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 129 | > a.login::after { |
130 | content: $fa-login; | ||||
131 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 132 | |
Akron | e5ef4e0 | 2017-04-19 17:07:52 +0200 | [diff] [blame] | 133 | > a.logout::after { |
134 | content: $fa-logout; | ||||
135 | } | ||||
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 136 | } |
Akron | dbf7bae | 2020-10-07 10:44:24 +0200 | [diff] [blame] | 137 | } |
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 Repp | 5799740 | 2021-08-18 16:37:52 +0200 | [diff] [blame] | 150 | } |