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 | |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 5 | #resultinfo { |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 6 | clear: both; |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 7 | text-align: right; |
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 8 | line-height: 1.5em; |
9 | min-height: 1.5em; | ||||
10 | margin-top:.4em; | ||||
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 11 | font-size: 10pt; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 12 | p.found { |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 13 | display: inline; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 14 | padding: 0; |
15 | margin: 0; | ||||
16 | text-align: right; | ||||
17 | } | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 18 | } |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 19 | |
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 20 | // Specify result button group layout |
Akron | 4d926f1 | 2018-07-16 15:30:25 +0200 | [diff] [blame^] | 21 | .result.button-group.button-panel { |
22 | width: auto; | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 23 | vertical-align: bottom; |
24 | display: inline-block; | ||||
25 | line-height: 1.3em; | ||||
26 | |||||
27 | > span { | ||||
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 28 | line-height: 1.3em; |
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 29 | border-width: $result-border-size 0; |
30 | &:first-child { | ||||
31 | border-left-width: $result-border-size; | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 32 | } |
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 33 | &:last-child { |
34 | border-right-width: $result-border-size; | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame] | 35 | } |
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 36 | } |
37 | |||||
38 | // Define icons for result buttons | ||||
39 | .button-icon { | ||||
40 | &.align.left::after { | ||||
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 41 | content: $fa-left-align; |
42 | } | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 43 | &.align.right::after { |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 44 | content: $fa-right-align; |
45 | } | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 46 | &.show-kq::after { |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 47 | content: $fa-code; |
48 | } | ||||
49 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 50 | } |
51 | |||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 52 | |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 53 | #resultinfo.found { |
54 | position: relative; | ||||
Akron | bd36c71 | 2018-02-15 11:14:23 +0100 | [diff] [blame] | 55 | // z-index: 20; |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 56 | margin-bottom: 0px; |
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 57 | |
58 | .button-group > span { | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 59 | margin-bottom: 0; |
60 | border-bottom-width: 0; | ||||
61 | box-shadow: none; | ||||
62 | &:first-child { | ||||
63 | border-bottom-left-radius: 0; | ||||
64 | } | ||||
65 | &:last-child { | ||||
66 | border-bottom-right-radius: 0; | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 67 | } |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 68 | } |
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 69 | |
70 | /* | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame] | 71 | div.result.left { |
72 | position: absolute; | ||||
73 | left: 0; | ||||
74 | bottom: 0; | ||||
75 | } | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 76 | */ |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 77 | } |
78 | |||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 79 | |
80 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 81 | #total-results { |
82 | color: $total-results; | ||||
83 | font-weight: bold; | ||||
84 | } | ||||
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 85 | |
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 86 | #no-results { |
87 | margin: 0 auto; | ||||
88 | text-align: center; | ||||
89 | code { | ||||
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 90 | font-weight: bold; |
91 | } | ||||
92 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 93 |