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 | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame^] | 55 | /* |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 56 | text-shadow: $light-shadow; |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame^] | 57 | */ |
| 58 | text-shadow: none; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 59 | white-space: normal; |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 60 | color: $light-green; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 61 | border: { |
| 62 | top: 5px solid transparent; |
| 63 | bottom: 5px solid transparent; |
| 64 | } |
| 65 | &:hover { |
| 66 | background-color: $dark-orange; |
| 67 | color: white; |
| 68 | text-shadow: none; |
| 69 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 70 | > span { |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame^] | 71 | display: block; |
| 72 | color: $dark-green; |
| 73 | text-align: left; |
| 74 | font-style: normal; |
| 75 | font-size: 80%; |
| 76 | text-shadow: none; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 77 | } |
| 78 | /* like sidebar ul li.active */ |
| 79 | &.active { |
Nils Diewald | f3f8839 | 2014-07-15 14:56:29 +0000 | [diff] [blame] | 80 | background-color: $light-green; |
| 81 | text-shadow: none; |
| 82 | color: $dark-green; |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 83 | } |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 84 | &:first-of-type:not(.no-more) { |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame^] | 85 | border-top-color: $dark-orange; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 86 | } |
| 87 | &:last-of-type:not(.no-more) { |
Nils Diewald | 80d4c6e | 2014-11-19 02:53:16 +0000 | [diff] [blame^] | 88 | border-bottom-color: $dark-orange; |
Nils Diewald | eca3044 | 2014-11-18 20:33:54 +0000 | [diff] [blame] | 89 | } |
Nils Diewald | 7cad840 | 2014-07-08 17:06:56 +0000 | [diff] [blame] | 90 | } |
| 91 | } |
| 92 | } |