-
Notifications
You must be signed in to change notification settings - Fork 839
/
Copy path_button_group.scss
41 lines (35 loc) · 990 Bytes
/
_button_group.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.euiButtonGroup {
display: inline-block;
max-width: 100%;
position: relative; // Ensures the EuiScreenReaderOnly component is positioned relative to this component
}
.euiButtonGroup--fullWidth {
display: block;
.euiButtonGroup__buttons {
width: 100%;
.euiButtonGroupButton {
flex: 1;
}
}
}
.euiButtonGroup__buttons {
@include euiSlightShadow;
border-radius: $euiBorderRadius + 1px; // Simply for the box-shadow
max-width: 100%;
display: flex;
overflow: hidden;
transition: all $euiAnimSpeedNormal ease-in-out;
}
.euiButtonGroup--isDisabled .euiButtonGroup__buttons {
box-shadow: none;
}
.euiButtonGroup--compressed {
.euiButtonGroup__buttons {
box-shadow: none !important; // sass-lint:disable-line no-important
border-radius: $euiFormControlCompressedBorderRadius;
background-color: $euiFormBackgroundColor;
height: $euiFormControlCompressedHeight;
border: 1px solid $euiFormBorderColor;
overflow: visible;
}
}