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 | 88d1ccc | 2018-08-14 17:22:05 +0200 | [diff] [blame] | 51 | &.align.center::after { |
52 | content: $fa-center-align; | ||||
53 | } | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 54 | &.show-kq::after { |
Akron | 179c8ac | 2015-06-30 19:30:50 +0200 | [diff] [blame] | 55 | content: $fa-code; |
56 | } | ||||
57 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 58 | } |
59 | |||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 60 | |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 61 | #resultinfo.found { |
62 | position: relative; | ||||
Akron | bd36c71 | 2018-02-15 11:14:23 +0100 | [diff] [blame] | 63 | // z-index: 20; |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 64 | margin-bottom: 0px; |
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 65 | |
66 | .button-group > span { | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 67 | margin-bottom: 0; |
68 | border-bottom-width: 0; | ||||
69 | box-shadow: none; | ||||
70 | &:first-child { | ||||
71 | border-bottom-left-radius: 0; | ||||
72 | } | ||||
73 | &:last-child { | ||||
74 | border-bottom-right-radius: 0; | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 75 | } |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 76 | } |
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 77 | |
78 | /* | ||||
Akron | 9a5b1e1 | 2016-12-06 18:18:23 +0100 | [diff] [blame] | 79 | div.result.left { |
80 | position: absolute; | ||||
81 | left: 0; | ||||
82 | bottom: 0; | ||||
83 | } | ||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 84 | */ |
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 85 | } |
86 | |||||
Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame] | 87 | |
88 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 89 | #total-results { |
90 | color: $total-results; | ||||
91 | font-weight: bold; | ||||
92 | } | ||||
Akron | 656c5d9 | 2015-11-13 21:17:03 +0100 | [diff] [blame] | 93 | |
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 94 | #no-results { |
95 | margin: 0 auto; | ||||
96 | text-align: center; | ||||
97 | code { | ||||
Nils Diewald | a898dac | 2015-05-06 21:04:16 +0000 | [diff] [blame] | 98 | font-weight: bold; |
99 | } | ||||
100 | } | ||||
Akron | b917a7c | 2015-07-02 11:02:42 +0200 | [diff] [blame] | 101 |