Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 1 | @charset "utf-8"; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 2 | @import "choose"; |
3 | @import "lengths"; | ||||
4 | @import "icons"; | ||||
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 5 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 6 | /** |
7 | * Definitions of fragments for vc and query | ||||
8 | * builder. | ||||
9 | */ | ||||
10 | |||||
11 | .vc.fragment, | ||||
12 | p.query.fragment { | ||||
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 13 | @include choose-item; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 14 | position: relative; |
15 | padding: 4pt 6pt !important; | ||||
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 16 | |
17 | border : { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 18 | width: $border-size; |
19 | style: solid; | ||||
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 20 | radius: $standard-border-radius; |
21 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 22 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 23 | margin: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 24 | left: $left-distance; |
25 | top: .5em; | ||||
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 26 | bottom: .5em; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 27 | right: $right-view-distance; |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 28 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 29 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 30 | &:hover { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 31 | @include choose-hover; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 32 | cursor: pointer; |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 33 | } |
34 | |||||
35 | // This is the description | ||||
36 | > span:first-of-type { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 37 | font-weight: bold; |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 38 | 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'; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 48 | content: $fa-to-query; |
49 | position: absolute; | ||||
50 | right: 4pt; | ||||
51 | top: $border-size; | ||||
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 52 | } |
53 | } |