forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflex-utils.scss
99 lines (72 loc) · 1.67 KB
/
flex-utils.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
90
91
92
93
94
95
96
97
98
99
// Flex Utilities
// --------------------------------------------------
// Creates flex classes to align flex containers
// and items
// Align Self
// --------------------------------------------------
.ion-align-self-start {
align-self: flex-start !important;
}
.ion-align-self-end {
align-self: flex-end !important;
}
.ion-align-self-center {
align-self: center !important;
}
.ion-align-self-stretch {
align-self: stretch !important;
}
.ion-align-self-baseline {
align-self: baseline !important;
}
.ion-align-self-auto {
align-self: auto !important;
}
// Flex Wrap
// --------------------------------------------------
.ion-wrap {
flex-wrap: wrap !important;
}
.ion-nowrap {
flex-wrap: nowrap !important;
}
.ion-wrap-reverse {
flex-wrap: wrap-reverse !important;
}
// Justify Content
// --------------------------------------------------
.ion-justify-content-start {
justify-content: flex-start !important;
}
.ion-justify-content-center {
justify-content: center !important;
}
.ion-justify-content-end {
justify-content: flex-end !important;
}
.ion-justify-content-around {
justify-content: space-around !important;
}
.ion-justify-content-between {
justify-content: space-between !important;
}
.ion-justify-content-evenly {
justify-content: space-evenly !important;
}
// Align Items
// --------------------------------------------------
.ion-align-items-start {
align-items: flex-start !important;
}
.ion-align-items-center {
align-items: center !important;
}
.ion-align-items-end {
align-items: flex-end !important;
}
.ion-align-items-stretch {
align-items: stretch !important;
}
.ion-align-items-baseline {
align-items: baseline !important;
}