Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 1 | @charset "utf-8"; |
| 2 | @import "../util"; |
| 3 | |
| 4 | .vc.fragment, p.query.fragment { |
| 5 | position:relative; |
| 6 | @include choose-item; |
| 7 | |
| 8 | border : { |
| 9 | width: $border-size; |
| 10 | style: solid; |
| 11 | radius: $standard-border-radius; |
| 12 | } |
| 13 | padding: 2pt 4pt !important; |
| 14 | margin: { |
| 15 | // left: $border-size; |
| 16 | left: $left-distance; |
| 17 | top: .5em; |
| 18 | bottom: .5em; |
| 19 | right: $right-match-distance; |
| 20 | } |
| 21 | &:hover { |
| 22 | cursor:pointer; |
| 23 | @include choose-hover; |
| 24 | } |
| 25 | |
| 26 | // This is the description |
| 27 | > span:first-of-type { |
| 28 | font-weight: bold; |
| 29 | padding-right: 4pt; |
| 30 | } |
| 31 | |
| 32 | // Query fragment |
| 33 | > span:nth-of-type(2) { |
| 34 | padding-right: 1.2em; |
| 35 | } |
| 36 | |
| 37 | &::after { |
| 38 | font-family: 'FontAwesome'; |
| 39 | content: $fa-to-query; |
| 40 | position: absolute; |
| 41 | right: 4pt; |
| 42 | top: $border-size; |
| 43 | } |
| 44 | } |