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; |
83 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 84 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 85 | &.top { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 86 | position: absolute; |
87 | display: block; | ||||
88 | top: 0; | ||||
89 | right: 0; | ||||
90 | margin-right: 0; | ||||
Akron | baba3b6 | 2021-11-22 17:24:48 +0100 | [diff] [blame] | 91 | width: math.div($standard-margin,2); |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 92 | background-color: $dark-green; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 93 | text-align: center; |
94 | height: 100%; | ||||
95 | z-index: 20; | ||||
96 | |||||
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 97 | > a:hover { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 98 | color: $nearly-white |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 99 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 100 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 101 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 102 | > a { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 103 | color: $nearly-white; |
104 | cursor: pointer; | ||||
105 | position: relative; | ||||
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 106 | font-size: 120%; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 107 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 108 | > span { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 109 | @include blind; |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 110 | } |
111 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 112 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 113 | > a::after { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 114 | @include icon-font; |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 115 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 116 | |
117 | // Icons for buttons | ||||
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 118 | > a.tutorial::after { |
119 | content: $fa-tutorial; | ||||
120 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 121 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 122 | > a.question::after { |
123 | content: $fa-question; | ||||
124 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 125 | |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 126 | > a.login::after { |
127 | content: $fa-login; | ||||
128 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 129 | |
Akron | e5ef4e0 | 2017-04-19 17:07:52 +0200 | [diff] [blame] | 130 | > a.logout::after { |
131 | content: $fa-logout; | ||||
132 | } | ||||
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 133 | } |
Akron | dbf7bae | 2020-10-07 10:44:24 +0200 | [diff] [blame] | 134 | } |
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 Repp | 5799740 | 2021-08-18 16:37:52 +0200 | [diff] [blame] | 147 | } |