blob: 3e9ce00c871f9a042f2b0c9973ae414083aa1d3d [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;
Akronbec4a6a2018-07-10 14:45:15 +020010 &.button-icon {
11 font-family: 'FontAwesome';
12 > span {
13 @include blind;
14 }
15 }
16 }
Akron52ed22d2018-07-11 17:05:19 +020017
Akrone6538cd2018-07-16 17:52:33 +020018 &.button-panel, &.operators {
Akron4d926f12018-07-16 15:30:25 +020019 > span {
20 box-shadow: $choose-box-shadow;
21 font-size: 9pt;
22 line-height: 1.5em;
23 padding: 0 4px;
24 display: inline-block;
25 @include choose-item;
26 border-style: solid;
27 border-width: $border-size 0;
28 &:hover {
29 @include choose-hover;
30 }
31 &:first-child {
32 border: {
33 left-width: $border-size;
34 top-left-radius: $standard-border-radius;
35 bottom-left-radius: $standard-border-radius;
36 }
37 }
38 &:last-child {
39 border: {
40 right-width: $border-size;
41 top-right-radius: $standard-border-radius;
42 bottom-right-radius: $standard-border-radius;
43 }
44 }
45 }
Akron537bc522018-07-13 19:06:27 +020046 }
Akron4d926f12018-07-16 15:30:25 +020047 &.button-view {
48 display: block;
49 position: absolute;
50 right: 0;
51 top: 0;
52 z-index: 20;
53 margin: 0;
54 padding: 0;
55 width: $right-match-distance;
56 > span:first-child {
57 margin-top: $border-size
58 }
59 > span {
Akronbfe912c2018-07-17 19:30:52 +020060 display: block !important;
Akron4d926f12018-07-16 15:30:25 +020061 border-width: 0;
62 text-decoration:none;
63 text-align: center;
64 font-style: normal;
65
66 &.download::after {
Akron4d926f12018-07-16 15:30:25 +020067 content: $fa-download;
68 }
69
70 &.close::after {
Akron4d926f12018-07-16 15:30:25 +020071 content: $fa-close;
72 }
Akrone1c27f62018-07-20 11:42:59 +020073
74 &.plugin::after {
75 content: $fa-plugin;
76 }
Akron537bc522018-07-13 19:06:27 +020077 }
78 }
79}
Akron4d926f12018-07-16 15:30:25 +020080
Akronbfe912c2018-07-17 19:30:52 +020081.button-group.button-view {
82 font-size: 10pt;
83 color: $nearly-white;
84}
85
Akron1801c5c2018-07-16 18:15:48 +020086ul.menu.button-group-list {
Akron52ed22d2018-07-11 17:05:19 +020087 border-top-right-radius: 8px;
Akron52ed22d2018-07-11 17:05:19 +020088 font-size: 10pt;
89 position: fixed;
90 left: 0;
91 text-align: left;
92 margin: -1 * $border-size;
93 margin-top: 0;
94 > li:first-of-type {
95 border-top-right-radius: 5px;
96 }
97}
Akron537bc522018-07-13 19:06:27 +020098
99