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 |
| 4 | @import "menu"; // Menu list |
| 5 | @import "searchbar"; // The search bar |
| 6 | @import "vc"; // Virtual corpus builder |
| 7 | @import "statistics"; // Statistics for VCs |
| 8 | @import "datepicker"; // Datepicker |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 9 | |
| 10 | header { |
| 11 | position: relative; |
| 12 | background-color: $light-green; |
Nils Diewald | 0e6992a | 2015-04-14 20:13:52 +0000 | [diff] [blame] | 13 | // @include light-noise; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 14 | @include box-sizing-box(); |
Akron | d82e42a | 2018-08-22 17:08:59 +0200 | [diff] [blame^] | 15 | padding: $base-padding 0 0 $base-padding; |
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 16 | // padding-bottom: 0; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 17 | font-size: 10pt; |
| 18 | color: $nearly-white; |
| 19 | // text-shadow: none; |
| 20 | button { |
| 21 | color: $light-green; |
| 22 | background-color: transparent; |
| 23 | border-width: 0; |
| 24 | font-weight: normal; |
| 25 | margin: 0; |
| 26 | padding: 0; |
| 27 | outline: none; |
| 28 | } |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 29 | span.select { /* , #vc-choose, Formally vc.location */ |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 30 | cursor: pointer; |
| 31 | line-height: 1.8em; |
Akron | 1866045 | 2017-11-13 11:06:24 +0100 | [diff] [blame] | 32 | > span { |
| 33 | font-weight: bold; |
| 34 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 35 | border: { |
| 36 | width: 0; |
| 37 | bottom-width: 3px; |
| 38 | style: solid; |
| 39 | color: transparent; |
| 40 | } |
| 41 | display: inline-block; |
| 42 | &:hover { |
| 43 | color: $dark-green; |
| 44 | border-color: $dark-green; |
| 45 | } |
Akron | 37513a6 | 2015-11-17 01:07:11 +0100 | [diff] [blame] | 46 | &.active { |
| 47 | border-color: $dark-orange; |
| 48 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 49 | &::after { |
| 50 | pointer-events: none; |
| 51 | font-family: FontAwesome; |
| 52 | text-align: center; |
| 53 | background-color: $light-green; |
| 54 | } |
| 55 | } |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 56 | span.select { |
| 57 | &::after { |
| 58 | content: $fa-down; |
| 59 | padding: { |
Akron | 1866045 | 2017-11-13 11:06:24 +0100 | [diff] [blame] | 60 | left: 4pt; |
| 61 | right: 4pt; |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 62 | } |
| 63 | } |
| 64 | &.active::after { |
| 65 | content: $fa-up; |
| 66 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | form { |
| 70 | padding-left: $logo-left-distance; |
| 71 | min-height: 2.7em; |
| 72 | display: block; |
| 73 | margin: 0px; |
| 74 | position: relative; |
| 75 | } |
Akron | 1120a58 | 2017-10-17 12:29:16 +0200 | [diff] [blame] | 76 | .clear { |
| 77 | clear: both; |
| 78 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 79 | |
| 80 | .button { |
| 81 | &.right { |
| 82 | float: right; |
| 83 | display: inline-block; |
| 84 | } |
| 85 | &.top { |
| 86 | position: absolute; |
| 87 | display: block; |
| 88 | top: 0; |
| 89 | right: 0; |
| 90 | margin-right: 0; |
Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 91 | width: ($standard-margin / 2); |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 92 | background-color: $dark-green; |
| 93 | text-align: center; |
| 94 | height: 100%; |
Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 95 | z-index: 20; |
| 96 | > a:hover { |
| 97 | color: $nearly-white |
| 98 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 99 | } |
| 100 | color: $nearly-white; |
| 101 | line-height: 2em; |
| 102 | margin-right: $right-distance; |
| 103 | > a { |
| 104 | color: $nearly-white; |
| 105 | cursor:pointer; |
| 106 | position: relative; |
| 107 | font-size: 120%; |
| 108 | > span { |
| 109 | @include blind; |
| 110 | } |
| 111 | } |
| 112 | > a::after { |
| 113 | font-family: 'FontAwesome'; |
| 114 | } |
| 115 | > a.tutorial::after { |
| 116 | content: $fa-tutorial; |
| 117 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 118 | > a.question::after { |
| 119 | content: $fa-question; |
| 120 | } |
| 121 | > a.login::after { |
| 122 | content: $fa-login; |
| 123 | } |
Akron | e5ef4e0 | 2017-04-19 17:07:52 +0200 | [diff] [blame] | 124 | > a.logout::after { |
| 125 | content: $fa-logout; |
| 126 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 127 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 128 | } |
| 129 | |
| 130 | |
| 131 | /** |
| 132 | * Temporary hack for language chooser |
| 133 | * http://cssdeck.com/labs/styling-select-box-with-css3 |
| 134 | */ |
| 135 | #ql-field { |
| 136 | cursor: pointer; |
| 137 | margin: 0; |
| 138 | outline: none; |
| 139 | border: none; |
| 140 | display: inline-block; |
| 141 | position: relative; |
| 142 | color: white; |
| 143 | background-color: $light-green; |
| 144 | border-width: 0; |
| 145 | border-radius: 0; |
| 146 | @include no-appearance; |
| 147 | &:checked { |
| 148 | outline: none; |
| 149 | } |
| 150 | > option { |
| 151 | padding: 0pt 2pt; |
| 152 | outline: none; |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * funny hack for firefox |
| 158 | */ |
| 159 | #ql-field:-moz-focusring { |
| 160 | color: transparent; |
| 161 | text-shadow: 0 0 0 white; |
| 162 | } |