blob: f68e7db8a57ff54f1972ab18eaa9790c8338c2fb [file] [log] [blame]
Akron49f88cc2018-09-11 11:06:19 +02001@charset "utf-8";
Akron7e5afce2020-08-25 15:50:19 +02002@import "choose";
3@import "lengths";
4@import "icons";
Akron49f88cc2018-09-11 11:06:19 +02005
Akron7e5afce2020-08-25 15:50:19 +02006/**
7 * Definitions of fragments for vc and query
8 * builder.
9 */
10
11.vc.fragment,
12p.query.fragment {
Akron49f88cc2018-09-11 11:06:19 +020013 @include choose-item;
Akron7e5afce2020-08-25 15:50:19 +020014 position: relative;
15 padding: 4pt 6pt !important;
Akron49f88cc2018-09-11 11:06:19 +020016
17 border : {
Akron7e5afce2020-08-25 15:50:19 +020018 width: $border-size;
19 style: solid;
Akron49f88cc2018-09-11 11:06:19 +020020 radius: $standard-border-radius;
21 }
Akron7e5afce2020-08-25 15:50:19 +020022
Akron49f88cc2018-09-11 11:06:19 +020023 margin: {
Akron7e5afce2020-08-25 15:50:19 +020024 left: $left-distance;
25 top: .5em;
Akron49f88cc2018-09-11 11:06:19 +020026 bottom: .5em;
Akron7e5afce2020-08-25 15:50:19 +020027 right: $right-view-distance;
Akron49f88cc2018-09-11 11:06:19 +020028 }
Akron7e5afce2020-08-25 15:50:19 +020029
Akron49f88cc2018-09-11 11:06:19 +020030 &:hover {
Akron49f88cc2018-09-11 11:06:19 +020031 @include choose-hover;
Akron7e5afce2020-08-25 15:50:19 +020032 cursor: pointer;
Akron49f88cc2018-09-11 11:06:19 +020033 }
34
35 // This is the description
36 > span:first-of-type {
Akron7e5afce2020-08-25 15:50:19 +020037 font-weight: bold;
Akron49f88cc2018-09-11 11:06:19 +020038 padding-right: 4pt;
39 }
40
41 // Query fragment
42 > span:nth-of-type(2) {
43 padding-right: 1.2em;
44 }
45
46 &::after {
47 font-family: 'FontAwesome';
Akron7e5afce2020-08-25 15:50:19 +020048 content: $fa-to-query;
49 position: absolute;
50 right: 4pt;
51 top: $border-size;
Akron49f88cc2018-09-11 11:06:19 +020052 }
53}