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