blob: 5276f0ae1ce14ad61ecbfe515c911359a0ef22a5 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00002@import "../util";
Nils Diewalda944fab2015-04-08 21:02:04 +00003
Akronb917a7c2015-07-02 11:02:42 +02004$border-size : 1px;
5
Akron179c8ac2015-06-30 19:30:50 +02006#resultinfo {
Nils Diewalda944fab2015-04-08 21:02:04 +00007 clear: both;
Akron179c8ac2015-06-30 19:30:50 +02008 text-align: right;
Akron656c5d92015-11-13 21:17:03 +01009 line-height: 1.5em;
10 min-height: 1.5em;
11 margin-top:.4em;
Akron179c8ac2015-06-30 19:30:50 +020012 font-size: 10pt;
Nils Diewalda944fab2015-04-08 21:02:04 +000013 p.found {
Akron179c8ac2015-06-30 19:30:50 +020014 display: inline;
Nils Diewalda944fab2015-04-08 21:02:04 +000015 padding: 0;
16 margin: 0;
17 text-align: right;
18 }
Akronb917a7c2015-07-02 11:02:42 +020019
20 div.result {
Akron656c5d92015-11-13 21:17:03 +010021 vertical-align: bottom;
Akron179c8ac2015-06-30 19:30:50 +020022 display: inline-block;
Akron656c5d92015-11-13 21:17:03 +010023 line-height: 1.3em;
Akron179c8ac2015-06-30 19:30:50 +020024 > a {
Akronb917a7c2015-07-02 11:02:42 +020025 display: inline-block;
Akron656c5d92015-11-13 21:17:03 +010026 cursor: pointer;
Akron179c8ac2015-06-30 19:30:50 +020027 position: relative;
Akron179c8ac2015-06-30 19:30:50 +020028 > span {
Akron9a5b1e12016-12-06 18:18:23 +010029 @include blind;
Akron179c8ac2015-06-30 19:30:50 +020030 }
Akronb917a7c2015-07-02 11:02:42 +020031 box-shadow: $choose-box-shadow;
32 @include standard-text-padding;
Akron656c5d92015-11-13 21:17:03 +010033 // padding-top: 1pt;
34 // padding-bottom: 3pt;
Akronb917a7c2015-07-02 11:02:42 +020035
36 @include choose-item;
37 border: {
Akron9a5b1e12016-12-06 18:18:23 +010038 top-width: $border-size;
39 bottom-width: $border-size;
40 top-style: solid;
41 bottom-style: solid;
Akronb917a7c2015-07-02 11:02:42 +020042 }
43 &:hover {
Akron9a5b1e12016-12-06 18:18:23 +010044 @include choose-hover;
Akronb917a7c2015-07-02 11:02:42 +020045 }
46 }
Akronb917a7c2015-07-02 11:02:42 +020047 > a:last-child {
48 border: {
Akron9a5b1e12016-12-06 18:18:23 +010049 top-right-radius: $standard-border-radius;
50 bottom-right-radius: $standard-border-radius;
51 right-width: $border-size;
52 right-style: solid;
53 }
Akronb917a7c2015-07-02 11:02:42 +020054 }
55 > a:first-child {
56 border: {
Akron9a5b1e12016-12-06 18:18:23 +010057 top-left-radius: $standard-border-radius;
58 bottom-left-radius: $standard-border-radius;
59 left-width: $border-size;
60 left-style: solid;
61 }
Akron179c8ac2015-06-30 19:30:50 +020062 }
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 }
Akron9a5b1e12016-12-06 18:18:23 +010075 > a.show-meta::after {
76 content: $fa-metadata;
77 }
Akron179c8ac2015-06-30 19:30:50 +020078 }
Nils Diewalda944fab2015-04-08 21:02:04 +000079}
80
Akronb917a7c2015-07-02 11:02:42 +020081#resultinfo.found {
82 position: relative;
Akronbd36c712018-02-15 11:14:23 +010083 // z-index: 20;
Akronb917a7c2015-07-02 11:02:42 +020084 margin-bottom: 0px;
85 div.result > a {
86 margin-bottom: 0;
87 border-bottom-width: 0;
88 box-shadow: none;
89 &:first-child {
90 border-bottom-left-radius: 0;
91 }
92 &:last-child {
93 border-bottom-right-radius: 0;
94 }
95 }
Akron9a5b1e12016-12-06 18:18:23 +010096 div.result.left {
97 position: absolute;
98 left: 0;
99 bottom: 0;
100 }
Akronb917a7c2015-07-02 11:02:42 +0200101}
102
Nils Diewalda944fab2015-04-08 21:02:04 +0000103#total-results {
104 color: $total-results;
105 font-weight: bold;
106}
Akron656c5d92015-11-13 21:17:03 +0100107
Nils Diewalda898dac2015-05-06 21:04:16 +0000108#no-results {
109 margin: 0 auto;
110 text-align: center;
111 code {
Nils Diewalda898dac2015-05-06 21:04:16 +0000112 font-weight: bold;
113 }
114}
Akronb917a7c2015-07-02 11:02:42 +0200115