Akron | bec4a6a | 2018-07-10 14:45:15 +0200 | [diff] [blame^] | 1 | @charset "utf-8"; |
| 2 | @import "../util"; |
| 3 | |
| 4 | /* |
| 5 | * Define the base layout of horizontal button groups |
| 6 | */ |
| 7 | .button-group { |
| 8 | > span { |
| 9 | cursor: pointer; |
| 10 | box-shadow: $choose-box-shadow; |
| 11 | font-size: 9pt; |
| 12 | line-height: 1.5em; |
| 13 | padding: 0 4px; |
| 14 | display: inline-block; |
| 15 | @include choose-item; |
| 16 | border-style: solid; |
| 17 | border-width: $border-size 0; |
| 18 | &:hover { |
| 19 | @include choose-hover; |
| 20 | } |
| 21 | &:first-child { |
| 22 | border: { |
| 23 | left-width: $border-size; |
| 24 | top-left-radius: $standard-border-radius; |
| 25 | bottom-left-radius: $standard-border-radius; |
| 26 | } |
| 27 | } |
| 28 | &:last-child { |
| 29 | border: { |
| 30 | right-width: $border-size; |
| 31 | top-right-radius: $standard-border-radius; |
| 32 | bottom-right-radius: $standard-border-radius; |
| 33 | } |
| 34 | } |
| 35 | &.button-icon { |
| 36 | font-family: 'FontAwesome'; |
| 37 | > span { |
| 38 | @include blind; |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | } |