/
_layout.scss
83 lines (70 loc) · 1.66 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
$ki-embed-font: true;
$ki-icon-size: $kendo-icon-size;
@import "@progress/kendo-font-icons/scss/index.scss";
@include exports( "icons/layout" ) {
@include kendo-icon-styles();
// Icon wrap
.k-icon-wrap {
flex: none;
display: inline-flex;
flex-flow: row nowrap;
gap: 0;
align-items: center;
align-self: flex-start;
vertical-align: middle;
position: relative;
&::before {
content: "\200b";
width: 0;
overflow: hidden;
flex: none;
display: inline-block;
vertical-align: top;
}
}
// kendo-icon-wrapper component
.k-icon-wrapper-host {
display: contents;
}
.k-icon-with-modifier {
position: relative;
margin: .25em;
}
.k-icon-modifier {
position: absolute;
font-size: .5em;
bottom: 0;
right: 0;
margin: 0 -.5em -.5em 0;
}
.k-i-none::before {
content: "";
display: none;
}
.k-icon-action {
padding: $kendo-icon-padding;
cursor: pointer;
}
// RTL icons
.k-rtl .k-i-indent-increase,
.k-rtl .k-i-indent-decrease,
.k-rtl .k-i-caret-alt-right,
.k-rtl .k-i-caret-alt-down,
[dir="rtl"] .k-i-caret-alt-right,
[dir="rtl"] .k-i-caret-alt-down {
transform: scaleX(-1);
}
.k-sprite {
display: inline-block;
width: 16px;
height: 16px;
overflow: hidden;
background-repeat: no-repeat;
font-size: 0;
line-height: 0;
text-align: center;
}
.k-image {
display: inline-block;
}
}