/
_layout.scss
89 lines (68 loc) · 1.72 KB
/
_layout.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@import "~@progress/kendo-theme-default/scss/button/_layout.scss";
@include exports("button/layout/material") {
// Button
.k-button {
text-transform: uppercase;
font-weight: 500;
transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
&::before {
display: block;
transition: opacity .4s cubic-bezier(.25, .8, .25, 1);
}
&::after {
display: none !important; // sass-lint:disable-line no-important
}
}
// Button group
.k-button-group {}
// Split button
.k-split-button {}
// Outline button
.k-button-outline {
background-color: transparent !important; // sass-lint:disable-line no-important
&::after {
display: block !important; // sass-lint:disable-line no-important
box-shadow: inset 0 0 0 1px currentColor;
opacity: 1;
}
}
// Link button
.k-button.k-button-link {
&:hover,
&.k-state-hover,
&:active,
&.k-state-active,
&.k-state-selected {
&::before {
opacity: 0;
}
}
&:focus,
&.k-state-focus {
&::before {
opacity: $flat-button-focus-opacity;
}
}
}
// Clear button
.k-button-clear,
.k-button.k-clear {
&::before {
display: none;
}
&:focus,
&.k-state-focus,
&.k-state-focused {
&::before {
display: block;
}
}
}
// Popup button group
.k-overflow-button,
.k-overflow-group {
&.k-button-group {
line-height: inherit;
}
}
}