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 { |
29 | @include blind; | ||||
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: { | ||||
38 | top-width: $border-size; | ||||
39 | bottom-width: $border-size; | ||||
40 | top-style: solid; | ||||
41 | bottom-style: solid; | ||||
42 | } | ||||
43 | &:hover { | ||||
44 | @include choose-hover; | ||||
45 | } | ||||
46 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 47 | > a:last-child { |
48 | border: { | ||||
49 | top-right-radius: $standard-border-radius; | ||||
50 | bottom-right-radius: $standard-border-radius; | ||||
51 | right-width: $border-size; | ||||
52 | right-style: solid; | ||||
53 | } | ||||
54 | } | ||||
55 | > a:first-child { | ||||
56 | border: { | ||||
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 | } | ||||
75 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 76 | } |
77 | |||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 78 | #resultinfo.found { |
79 | position: relative; | ||||
80 | z-index: 20; | ||||
81 | margin-bottom: 0px; | ||||
82 | div.result > a { | ||||
83 | margin-bottom: 0; | ||||
84 | border-bottom-width: 0; | ||||
85 | box-shadow: none; | ||||
86 | &:first-child { | ||||
87 | border-bottom-left-radius: 0; | ||||
88 | } | ||||
89 | &:last-child { | ||||
90 | border-bottom-right-radius: 0; | ||||
91 | } | ||||
92 | } | ||||
93 | } | ||||
94 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 95 | #total-results { |
96 | color: $total-results; | ||||
97 | font-weight: bold; | ||||
98 | } | ||||
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 99 | |
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 100 | #no-results { |
101 | margin: 0 auto; | ||||
102 | text-align: center; | ||||
103 | code { | ||||
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 104 | font-weight: bold; |
105 | } | ||||
106 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 107 |