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; |
| 72 | width: 22px; |
| 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 | } |
| 95 | > a.align.left::after { |
| 96 | content: $fa-left-align; |
| 97 | } |
| 98 | > a.align.right::after { |
| 99 | content: $fa-right-align; |
| 100 | } |
| 101 | > a.question::after { |
| 102 | content: $fa-question; |
| 103 | } |
| 104 | > a.login::after { |
| 105 | content: $fa-login; |
| 106 | } |
| 107 | } |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 108 | |
| 109 | #vc-view > div { |
| 110 | margin: 1.3em 0 .5em 0; |
| 111 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | |
| 115 | /** |
| 116 | * Temporary hack for language chooser |
| 117 | * http://cssdeck.com/labs/styling-select-box-with-css3 |
| 118 | */ |
| 119 | #ql-field { |
| 120 | cursor: pointer; |
| 121 | margin: 0; |
| 122 | outline: none; |
| 123 | border: none; |
| 124 | display: inline-block; |
| 125 | position: relative; |
| 126 | color: white; |
| 127 | background-color: $light-green; |
| 128 | border-width: 0; |
| 129 | border-radius: 0; |
| 130 | @include no-appearance; |
| 131 | &:checked { |
| 132 | outline: none; |
| 133 | } |
| 134 | > option { |
| 135 | padding: 0pt 2pt; |
| 136 | outline: none; |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * funny hack for firefox |
| 142 | */ |
| 143 | #ql-field:-moz-focusring { |
| 144 | color: transparent; |
| 145 | text-shadow: 0 0 0 white; |
| 146 | } |