blob: 0ad4fc17a099fcfea09dd5ae0f726829efbe38ec [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 }
Akronbec4a6a2018-07-10 14:45:15 +020019}
Akronb917a7c2015-07-02 11:02:42 +020020
Akronbec4a6a2018-07-10 14:45:15 +020021// Specify result button group layout
22.result.button-group {
23 vertical-align: bottom;
24 display: inline-block;
25 line-height: 1.3em;
26
27 > span {
Akron656c5d92015-11-13 21:17:03 +010028 line-height: 1.3em;
Akronbec4a6a2018-07-10 14:45:15 +020029 border-width: $result-border-size 0;
30 &:first-child {
31 border-left-width: $result-border-size;
Akronb917a7c2015-07-02 11:02:42 +020032 }
Akronbec4a6a2018-07-10 14:45:15 +020033 &:last-child {
34 border-right-width: $result-border-size;
Akron9a5b1e12016-12-06 18:18:23 +010035 }
Akronbec4a6a2018-07-10 14:45:15 +020036 }
37
38 // Define icons for result buttons
39 .button-icon {
40 &.align.left::after {
Akron179c8ac2015-06-30 19:30:50 +020041 content: $fa-left-align;
42 }
Akronbec4a6a2018-07-10 14:45:15 +020043 &.align.right::after {
Akron179c8ac2015-06-30 19:30:50 +020044 content: $fa-right-align;
45 }
Akronbec4a6a2018-07-10 14:45:15 +020046 &.show-kq::after {
Akron179c8ac2015-06-30 19:30:50 +020047 content: $fa-code;
48 }
49 }
Nils Diewalda944fab2015-04-08 21:02:04 +000050}
51
Akronbec4a6a2018-07-10 14:45:15 +020052
Akronb917a7c2015-07-02 11:02:42 +020053#resultinfo.found {
54 position: relative;
Akronbd36c712018-02-15 11:14:23 +010055 // z-index: 20;
Akronb917a7c2015-07-02 11:02:42 +020056 margin-bottom: 0px;
Akronbec4a6a2018-07-10 14:45:15 +020057
58 .button-group > span {
Akronb917a7c2015-07-02 11:02:42 +020059 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;
Akronbec4a6a2018-07-10 14:45:15 +020067 }
Akronb917a7c2015-07-02 11:02:42 +020068 }
Akronbec4a6a2018-07-10 14:45:15 +020069
70 /*
Akron9a5b1e12016-12-06 18:18:23 +010071 div.result.left {
72 position: absolute;
73 left: 0;
74 bottom: 0;
75 }
Akronbec4a6a2018-07-10 14:45:15 +020076 */
Akronb917a7c2015-07-02 11:02:42 +020077}
78
Akronbec4a6a2018-07-10 14:45:15 +020079
80
Nils Diewalda944fab2015-04-08 21:02:04 +000081#total-results {
82 color: $total-results;
83 font-weight: bold;
84}
Akron656c5d92015-11-13 21:17:03 +010085
Nils Diewalda898dac2015-05-06 21:04:16 +000086#no-results {
87 margin: 0 auto;
88 text-align: center;
89 code {
Nils Diewalda898dac2015-05-06 21:04:16 +000090 font-weight: bold;
91 }
92}
Akronb917a7c2015-07-02 11:02:42 +020093