blob: 45bc4ecfc04f9292589dfa1e94481a1488a009e2 [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
Akron2d0d96d2019-11-18 19:49:50 +01004
Nils Diewalda944fab2015-04-08 21:02:04 +00005/**
Akron7e5afce2020-08-25 15:50:19 +02006 * Search field
Nils Diewalda944fab2015-04-08 21:02:04 +00007 */
8#q-field {
Akron7e5afce2020-08-25 15:50:19 +02009 display: block;
10 margin-bottom: 3px;
11 width: 100%;
12 margin: 0;
Akron36c020f2018-03-19 16:25:26 +010013
14 &::-webkit-search-cancel-button {
15 display: none;
16 }
Akron1be6c1c2020-01-07 15:29:58 +010017
18 &.loading {
Akron7e5afce2020-08-25 15:50:19 +020019 background: {
20 color: $light-orange;
21 image: none;
22 }
Akron1be6c1c2020-01-07 15:29:58 +010023 }
Nils Diewalda944fab2015-04-08 21:02:04 +000024}
25
Nils Diewalda944fab2015-04-08 21:02:04 +000026
27#searchbar {
Akron7e5afce2020-08-25 15:50:19 +020028 position: relative;
29 width: 100%;
30 padding: 0;
Akron179b7c82018-05-28 19:33:38 +020031 padding-right: $right-distance + $button-width;
Akron7e5afce2020-08-25 15:50:19 +020032
Nils Diewalda944fab2015-04-08 21:02:04 +000033 button[type=submit] {
34 position: absolute;
Akron7e5afce2020-08-25 15:50:19 +020035 padding: 0;
36 right: $right-distance;
37
Akron1be6c1c2020-01-07 15:29:58 +010038 &:not(.loading)::after {
Nils Diewald2488d052015-04-09 21:46:02 +000039 content: $fa-search;
Nils Diewalda944fab2015-04-08 21:02:04 +000040 }
Nils Diewalda944fab2015-04-08 21:02:04 +000041 }
42}
43
Akron2d0d96d2019-11-18 19:49:50 +010044.query.panel {
45 padding-right: $right-distance + $button-width;
46}
47
48// Specify result button group layout
49
50.query.button-group.button-panel {
Akron7e5afce2020-08-25 15:50:19 +020051 display: block;
52 width: auto;
53 text-align: right;
Akron2d0d96d2019-11-18 19:49:50 +010054 vertical-align: top;
Akron7e5afce2020-08-25 15:50:19 +020055 line-height: 1.3em;
56
Akron2d0d96d2019-11-18 19:49:50 +010057 > span {
58 box-shadow: none;
59 }
60}