Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
| 2 | |
| 3 | @import "colors"; |
| 4 | |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 5 | #searchbar > i.show-hint { |
| 6 | z-index: 0; |
| 7 | position: absolute; |
| 8 | right: 65px; |
| 9 | top: 0; |
| 10 | font-size: 120%; |
| 11 | line-height: 120%; |
| 12 | padding: 3pt; |
| 13 | color: $dark-orange; |
| 14 | &:hover, &.active { |
| 15 | color: $light-green; |
| 16 | cursor: pointer; |
| 17 | } |
| 18 | } |
| 19 | |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 20 | #searchMirror { |
| 21 | position: absolute; |
| 22 | margin-top: 1px; |
| 23 | white-space: nowrap; |
| 24 | overflow: show; |
| 25 | height: 0; |
| 26 | > span { |
| 27 | opacity: 0; |
| 28 | white-space: nowrap; |
| 29 | overflow: hidden; |
| 30 | } |
| 31 | > ul { |
| 32 | color: white; |
| 33 | margin: 0; |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 34 | margin-top: -1px; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 35 | text-indent: 0; |
| 36 | display: inline-block; |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 37 | background-color: $pagination-bg; |
| 38 | border: { |
| 39 | width: 2px; |
| 40 | style: solid; |
| 41 | top-width: 0px; |
| 42 | color: $pagination-border; |
| 43 | } |
| 44 | box-shadow: $pagination-box-shadow; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 45 | opacity: 0; |
| 46 | padding: 0; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 47 | padding-bottom: 5px; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 48 | border-bottom-left-radius: 10px; |
| 49 | border-bottom-right-radius: 10px; |
| 50 | > li { |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 51 | cursor: pointer; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 52 | list-style-type: none; |
| 53 | list-style-position: outside; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 54 | padding: 3px 10pt; |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 55 | text-shadow: $light-shadow; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 56 | white-space: normal; |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 57 | color: $light-green; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 58 | border: { |
| 59 | top: 5px solid transparent; |
| 60 | bottom: 5px solid transparent; |
| 61 | } |
| 62 | &:hover { |
| 63 | background-color: $dark-orange; |
| 64 | color: white; |
| 65 | text-shadow: none; |
| 66 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 67 | > span { |
| 68 | float: right; |
| 69 | margin-left: 30pt; |
| 70 | text-align: right; |
| 71 | font-style: italic; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 72 | } |
| 73 | /* like sidebar ul li.active */ |
| 74 | &.active { |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 75 | background-color: $light-green; |
| 76 | text-shadow: none; |
| 77 | color: $dark-green; |
| 78 | text-shadow: none; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 79 | } |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 80 | &:first-of-type:not(.no-more) { |
| 81 | border-top-color: $middle-grey; |
| 82 | &.active { |
| 83 | border-top-color: $dark-orange; |
| 84 | } |
| 85 | } |
| 86 | &:last-of-type:not(.no-more) { |
| 87 | border-bottom-color: $middle-grey; |
| 88 | &.active { |
| 89 | border-bottom-color: $dark-orange; |
| 90 | } |
| 91 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 92 | } |
| 93 | } |
| 94 | } |