blob: dea337d8484f6135b240630006566daa29bf01f7 [file] [log] [blame]
Akronbec4a6a2018-07-10 14:45:15 +02001@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}
Akron52ed22d2018-07-11 17:05:19 +020043
44ul.button-group-list {
45 border-top-right-radius: 8px;
46 z-index: 150;
47 font-size: 10pt;
48 position: fixed;
49 left: 0;
50 text-align: left;
51 margin: -1 * $border-size;
52 margin-top: 0;
53 > li:first-of-type {
54 border-top-right-radius: 5px;
55 }
56}