/
_layout.scss
68 lines (55 loc) · 1.17 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
@include exports( "core/layout" ) {
// Basic layout
.k-hbox,
.k-hstack {
display: flex;
flex-flow: row nowrap;
}
.k-vbox,
.k-vstack {
display: flex;
flex-flow: column nowrap;
}
.k-flex,
.k-spacer {
flex: 1 0 0%;
}
// Stack layout
.k-stack-layout {}
// Flex layout
.k-flex-layout {
display: flex;
}
// Grid layout
.k-grid-layout {
display: grid;
}
// Separator
.k-separator {
width: auto;
height: 0;
border-width: 1px 0 0;
border-style: solid;
border-color: inherit;
display: block;
flex-grow: 0 !important; // sass-lint:disable-line no-important
flex-shrink: 0 !important; // sass-lint:disable-line no-important
align-self: stretch;
}
.k-separator-horizontal,
.k-vstack > .k-separator {
width: auto;
height: 0;
border-width: 1px 0 0;
}
.k-separator-vertical,
.k-hstack > .k-separator {
width: 0;
height: auto;
border-width: 0 0 0 1px;
}
hr.k-separator {
margin: 0;
padding: 0;
}
}