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