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