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(); |
| 14 | padding: 8px; |
| 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 | } |
| 42 | &::after { |
| 43 | pointer-events: none; |
| 44 | font-family: FontAwesome; |
| 45 | text-align: center; |
| 46 | background-color: $light-green; |
| 47 | } |
| 48 | } |
| 49 | span.select::after { |
Nils Diewald | 2488d05 | 2015-04-09 21:46:02 +0000 | [diff] [blame] | 50 | content: $fa-down; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | form { |
| 54 | padding-left: $logo-left-distance; |
| 55 | min-height: 2.7em; |
| 56 | display: block; |
| 57 | margin: 0px; |
| 58 | position: relative; |
| 59 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 60 | |
| 61 | .button { |
| 62 | &.right { |
| 63 | float: right; |
| 64 | display: inline-block; |
| 65 | } |
| 66 | &.top { |
| 67 | position: absolute; |
| 68 | display: block; |
| 69 | top: 0; |
| 70 | right: 0; |
| 71 | margin-right: 0; |
Nils Diewald | 4347ee9 | 2015-05-04 20:32:48 +0000 | [diff] [blame] | 72 | width: ($standard-margin / 2); |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 73 | background-color: $dark-green; |
| 74 | text-align: center; |
| 75 | height: 100%; |
| 76 | } |
| 77 | color: $nearly-white; |
| 78 | line-height: 2em; |
| 79 | margin-right: $right-distance; |
| 80 | > a { |
| 81 | color: $nearly-white; |
| 82 | cursor:pointer; |
| 83 | position: relative; |
| 84 | font-size: 120%; |
| 85 | > span { |
| 86 | @include blind; |
| 87 | } |
| 88 | } |
| 89 | > a::after { |
| 90 | font-family: 'FontAwesome'; |
| 91 | } |
| 92 | > a.tutorial::after { |
| 93 | content: $fa-tutorial; |
| 94 | } |
Nils Diewald | 7c8ced2 | 2015-04-15 19:21:00 +0000 | [diff] [blame] | 95 | > a.question::after { |
| 96 | content: $fa-question; |
| 97 | } |
| 98 | > a.login::after { |
| 99 | content: $fa-login; |
| 100 | } |
| 101 | } |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 102 | |
| 103 | #vc-view > div { |
| 104 | margin: 1.3em 0 .5em 0; |
| 105 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 106 | } |
| 107 | |
| 108 | |
| 109 | /** |
| 110 | * Temporary hack for language chooser |
| 111 | * http://cssdeck.com/labs/styling-select-box-with-css3 |
| 112 | */ |
| 113 | #ql-field { |
| 114 | cursor: pointer; |
| 115 | margin: 0; |
| 116 | outline: none; |
| 117 | border: none; |
| 118 | display: inline-block; |
| 119 | position: relative; |
| 120 | color: white; |
| 121 | background-color: $light-green; |
| 122 | border-width: 0; |
| 123 | border-radius: 0; |
| 124 | @include no-appearance; |
| 125 | &:checked { |
| 126 | outline: none; |
| 127 | } |
| 128 | > option { |
| 129 | padding: 0pt 2pt; |
| 130 | outline: none; |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * funny hack for firefox |
| 136 | */ |
| 137 | #ql-field:-moz-focusring { |
| 138 | color: transparent; |
| 139 | text-shadow: 0 0 0 white; |
| 140 | } |