| 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; | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 53 | } | 
|  | 54 | } | 
| Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 55 | span.select { | 
|  | 56 | &::after { | 
|  | 57 | content: $fa-down; | 
|  | 58 | padding: { | 
| Akron | 1866045 | 2017-11-13 11:06:24 +0100 | [diff] [blame] | 59 | left: 4pt; | 
|  | 60 | right: 4pt; | 
| Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 61 | } | 
|  | 62 | } | 
|  | 63 | &.active::after { | 
|  | 64 | content: $fa-up; | 
|  | 65 | } | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 66 | } | 
|  | 67 |  | 
|  | 68 | form { | 
|  | 69 | padding-left: $logo-left-distance; | 
|  | 70 | min-height: 2.7em; | 
|  | 71 | display: block; | 
|  | 72 | margin: 0px; | 
|  | 73 | position: relative; | 
|  | 74 | } | 
| Akron | 1120a58 | 2017-10-17 12:29:16 +0200 | [diff] [blame] | 75 | .clear { | 
|  | 76 | clear: both; | 
|  | 77 | } | 
| Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 78 |  | 
|  | 79 | .button { | 
|  | 80 | &.right { | 
|  | 81 | float: right; | 
|  | 82 | display: inline-block; | 
|  | 83 | } | 
|  | 84 | &.top { | 
|  | 85 | position: absolute; | 
|  | 86 | display: block; | 
|  | 87 | top: 0; | 
|  | 88 | right: 0; | 
|  | 89 | margin-right: 0; | 
| Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 90 | width: ($standard-margin / 2); | 
| Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 91 | background-color: $dark-green; | 
|  | 92 | text-align: center; | 
|  | 93 | height: 100%; | 
| Akron | 189b359 | 2016-01-04 20:56:46 +0100 | [diff] [blame] | 94 | z-index: 20; | 
|  | 95 | > a:hover { | 
|  | 96 | color: $nearly-white | 
|  | 97 | } | 
| Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 98 | } | 
|  | 99 | color: $nearly-white; | 
|  | 100 | line-height: 2em; | 
|  | 101 | margin-right: $right-distance; | 
|  | 102 | > a { | 
|  | 103 | color: $nearly-white; | 
|  | 104 | cursor:pointer; | 
|  | 105 | position: relative; | 
|  | 106 | font-size: 120%; | 
|  | 107 | > span { | 
|  | 108 | @include blind; | 
|  | 109 | } | 
|  | 110 | } | 
|  | 111 | > a::after { | 
|  | 112 | font-family: 'FontAwesome'; | 
|  | 113 | } | 
|  | 114 | > a.tutorial::after { | 
|  | 115 | content: $fa-tutorial; | 
|  | 116 | } | 
| Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 117 | > a.question::after { | 
|  | 118 | content: $fa-question; | 
|  | 119 | } | 
|  | 120 | > a.login::after { | 
|  | 121 | content: $fa-login; | 
|  | 122 | } | 
| Akron | e5ef4e0 | 2017-04-19 17:07:52 +0200 | [diff] [blame] | 123 | > a.logout::after { | 
|  | 124 | content: $fa-logout; | 
|  | 125 | } | 
| Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 126 | } | 
| Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 127 | } | 
|  | 128 |  | 
|  | 129 |  | 
|  | 130 | /** | 
|  | 131 | * Temporary hack for language chooser | 
|  | 132 | * http://cssdeck.com/labs/styling-select-box-with-css3 | 
|  | 133 | */ | 
|  | 134 | #ql-field { | 
|  | 135 | cursor: pointer; | 
|  | 136 | margin: 0; | 
|  | 137 | outline: none; | 
|  | 138 | border: none; | 
|  | 139 | display: inline-block; | 
|  | 140 | position: relative; | 
|  | 141 | color: white; | 
|  | 142 | background-color: $light-green; | 
|  | 143 | border-width: 0; | 
|  | 144 | border-radius: 0; | 
|  | 145 | @include no-appearance; | 
|  | 146 | &:checked { | 
|  | 147 | outline: none; | 
|  | 148 | } | 
|  | 149 | > option { | 
|  | 150 | padding: 0pt 2pt; | 
|  | 151 | outline: none; | 
|  | 152 | } | 
|  | 153 | } | 
|  | 154 |  | 
|  | 155 | /** | 
|  | 156 | * funny hack for firefox | 
|  | 157 | */ | 
|  | 158 | #ql-field:-moz-focusring { | 
|  | 159 | color: transparent; | 
|  | 160 | text-shadow: 0 0 0 white; | 
|  | 161 | } |