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