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"; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 3 | |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 4 | $border-size : 1px; |
5 | |||||
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 6 | #resultinfo { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 7 | clear: both; |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 8 | text-align: right; |
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 9 | line-height: 1.5em; |
10 | min-height: 1.5em; | ||||
11 | margin-top:.4em; | ||||
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 12 | font-size: 10pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 13 | p.found { |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 14 | display: inline; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 15 | padding: 0; |
16 | margin: 0; | ||||
17 | text-align: right; | ||||
18 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 19 | |
20 | div.result { | ||||
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 21 | vertical-align: bottom; |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 22 | display: inline-block; |
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 23 | line-height: 1.3em; |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 24 | > a { |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 25 | display: inline-block; |
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 26 | cursor: pointer; |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 27 | position: relative; |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 28 | > span { |
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame^] | 29 | @include blind; |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 30 | } |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 31 | box-shadow: $choose-box-shadow; |
32 | @include standard-text-padding; | ||||
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 33 | // padding-top: 1pt; |
34 | // padding-bottom: 3pt; | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 35 | |
36 | @include choose-item; | ||||
37 | border: { | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame^] | 38 | top-width: $border-size; |
39 | bottom-width: $border-size; | ||||
40 | top-style: solid; | ||||
41 | bottom-style: solid; | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 42 | } |
43 | &:hover { | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame^] | 44 | @include choose-hover; |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 45 | } |
46 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 47 | > a:last-child { |
48 | border: { | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame^] | 49 | top-right-radius: $standard-border-radius; |
50 | bottom-right-radius: $standard-border-radius; | ||||
51 | right-width: $border-size; | ||||
52 | right-style: solid; | ||||
53 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 54 | } |
55 | > a:first-child { | ||||
56 | border: { | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame^] | 57 | top-left-radius: $standard-border-radius; |
58 | bottom-left-radius: $standard-border-radius; | ||||
59 | left-width: $border-size; | ||||
60 | left-style: solid; | ||||
61 | } | ||||
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 62 | } |
63 | > a::after { | ||||
64 | font-family: 'FontAwesome'; | ||||
65 | } | ||||
66 | > a.align.left::after { | ||||
67 | content: $fa-left-align; | ||||
68 | } | ||||
69 | > a.align.right::after { | ||||
70 | content: $fa-right-align; | ||||
71 | } | ||||
72 | > a.show-kq::after { | ||||
73 | content: $fa-code; | ||||
74 | } | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame^] | 75 | > a.show-meta::after { |
76 | content: $fa-metadata; | ||||
77 | } | ||||
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 78 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 79 | } |
80 | |||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 81 | #resultinfo.found { |
82 | position: relative; | ||||
83 | z-index: 20; | ||||
84 | margin-bottom: 0px; | ||||
85 | div.result > a { | ||||
86 | margin-bottom: 0; | ||||
87 | border-bottom-width: 0; | ||||
88 | box-shadow: none; | ||||
89 | &:first-child { | ||||
90 | border-bottom-left-radius: 0; | ||||
91 | } | ||||
92 | &:last-child { | ||||
93 | border-bottom-right-radius: 0; | ||||
94 | } | ||||
95 | } | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame^] | 96 | div.result.left { |
97 | position: absolute; | ||||
98 | left: 0; | ||||
99 | bottom: 0; | ||||
100 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 101 | } |
102 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 103 | #total-results { |
104 | color: $total-results; | ||||
105 | font-weight: bold; | ||||
106 | } | ||||
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 107 | |
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 108 | #no-results { |
109 | margin: 0 auto; | ||||
110 | text-align: center; | ||||
111 | code { | ||||
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 112 | font-weight: bold; |
113 | } | ||||
114 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 115 |