timequake 1.0.9 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/hamburgers/_base.scss +86 -0
- data/app/assets/stylesheets/hamburgers/hamburgers.scss +118 -0
- data/app/assets/stylesheets/hamburgers/types/_3dx-r.scss +35 -0
- data/app/assets/stylesheets/hamburgers/types/_3dx.scss +35 -0
- data/app/assets/stylesheets/hamburgers/types/_3dxy-r.scss +35 -0
- data/app/assets/stylesheets/hamburgers/types/_3dxy.scss +35 -0
- data/app/assets/stylesheets/hamburgers/types/_3dy-r.scss +35 -0
- data/app/assets/stylesheets/hamburgers/types/_3dy.scss +35 -0
- data/app/assets/stylesheets/hamburgers/types/_arrow-r.scss +16 -0
- data/app/assets/stylesheets/hamburgers/types/_arrow.scss +16 -0
- data/app/assets/stylesheets/hamburgers/types/_arrowalt-r.scss +36 -0
- data/app/assets/stylesheets/hamburgers/types/_arrowalt.scss +36 -0
- data/app/assets/stylesheets/hamburgers/types/_arrowturn-r.scss +18 -0
- data/app/assets/stylesheets/hamburgers/types/_arrowturn.scss +18 -0
- data/app/assets/stylesheets/hamburgers/types/_boring.scss +30 -0
- data/app/assets/stylesheets/hamburgers/types/_collapse-r.scss +47 -0
- data/app/assets/stylesheets/hamburgers/types/_collapse.scss +47 -0
- data/app/assets/stylesheets/hamburgers/types/_elastic-r.scss +41 -0
- data/app/assets/stylesheets/hamburgers/types/_elastic.scss +41 -0
- data/app/assets/stylesheets/hamburgers/types/_emphatic-r.scss +53 -0
- data/app/assets/stylesheets/hamburgers/types/_emphatic.scss +53 -0
- data/app/assets/stylesheets/hamburgers/types/_minus.scss +34 -0
- data/app/assets/stylesheets/hamburgers/types/_slider-r.scss +38 -0
- data/app/assets/stylesheets/hamburgers/types/_slider.scss +38 -0
- data/app/assets/stylesheets/hamburgers/types/_spin-r.scss +43 -0
- data/app/assets/stylesheets/hamburgers/types/_spin.scss +43 -0
- data/app/assets/stylesheets/hamburgers/types/_spring-r.scss +47 -0
- data/app/assets/stylesheets/hamburgers/types/_spring.scss +44 -0
- data/app/assets/stylesheets/hamburgers/types/_squeeze.scss +43 -0
- data/app/assets/stylesheets/hamburgers/types/_stand-r.scss +45 -0
- data/app/assets/stylesheets/hamburgers/types/_stand.scss +45 -0
- data/app/assets/stylesheets/hamburgers/types/_vortex-r.scss +48 -0
- data/app/assets/stylesheets/hamburgers/types/_vortex.scss +48 -0
- data/app/assets/stylesheets/timequake/_index.scss +7 -1
- data/app/assets/stylesheets/timequake/buttons.scss +3 -1
- data/app/assets/stylesheets/timequake/colors.scss +1 -0
- data/app/assets/stylesheets/timequake/display.scss +143 -0
- data/app/assets/stylesheets/timequake/flex.scss +128 -0
- data/app/assets/stylesheets/timequake/layout.scss +51 -0
- data/app/assets/stylesheets/timequake/margin.scss +246 -0
- data/app/assets/stylesheets/timequake/padding.scss +246 -0
- data/app/assets/stylesheets/timequake/typography.scss +58 -0
- data/app/assets/stylesheets/timequake/universal.scss +12 -1
- data/app/assets/stylesheets/timequake/visibility.scss +39 -0
- data/lib/generators/timequake/templates/timequake_overrides.scss +71 -0
- data/lib/timequake/version.rb +1 -1
- metadata +41 -2
@@ -0,0 +1,48 @@
|
|
1
|
+
@if index($hamburger-types, vortex) {
|
2
|
+
/*
|
3
|
+
* Vortex
|
4
|
+
*/
|
5
|
+
.hamburger--vortex {
|
6
|
+
.hamburger-inner {
|
7
|
+
transition-duration: 0.2s;
|
8
|
+
transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
|
9
|
+
|
10
|
+
&::before,
|
11
|
+
&::after {
|
12
|
+
transition-duration: 0s;
|
13
|
+
transition-delay: 0.1s;
|
14
|
+
transition-timing-function: linear;
|
15
|
+
}
|
16
|
+
|
17
|
+
&::before {
|
18
|
+
transition-property: top, opacity;
|
19
|
+
}
|
20
|
+
|
21
|
+
&::after {
|
22
|
+
transition-property: bottom, transform;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
&.is-active {
|
27
|
+
.hamburger-inner {
|
28
|
+
transform: rotate(765deg);
|
29
|
+
transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
|
30
|
+
|
31
|
+
&::before,
|
32
|
+
&::after {
|
33
|
+
transition-delay: 0s;
|
34
|
+
}
|
35
|
+
|
36
|
+
&::before {
|
37
|
+
top: 0;
|
38
|
+
opacity: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
&::after {
|
42
|
+
bottom: 0;
|
43
|
+
transform: rotate(90deg);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -1,9 +1,15 @@
|
|
1
1
|
@import 'breakpoints';
|
2
2
|
@import 'colors';
|
3
3
|
@import 'typography';
|
4
|
+
@import 'visibility';
|
5
|
+
@import 'display';
|
6
|
+
@import 'flex';
|
7
|
+
@import 'margin';
|
8
|
+
@import 'padding';
|
4
9
|
@import 'buttons';
|
5
10
|
@import 'forms';
|
6
11
|
@import 'modals';
|
7
12
|
@import 'tables';
|
8
13
|
@import 'universal';
|
9
|
-
@import '
|
14
|
+
@import 'layout';
|
15
|
+
// @import 'settings.scss';
|
@@ -4,6 +4,7 @@ $btn-border-radius: 5px !default;
|
|
4
4
|
$btn-border-width: 1px !default;
|
5
5
|
$btn-padding: 11px 5px !default;
|
6
6
|
$btn-font-size: 16px !default;
|
7
|
+
$btn-font-weight: 700 !default;
|
7
8
|
$btn-font: $copy-font !default;
|
8
9
|
$btn-color: $primary-color !default;
|
9
10
|
$btn-border-color: $primary-color !default;
|
@@ -34,9 +35,10 @@ $btn-mini-padding: 8px !default;
|
|
34
35
|
cursor: pointer;
|
35
36
|
transition: 300ms all;
|
36
37
|
font-size: $btn-font-size;
|
38
|
+
font-weight: $btn-font-weight;
|
37
39
|
|
38
40
|
&:hover { background-color: lighten($btn-color, 5%); }
|
39
|
-
&:active { transform: scale(.
|
41
|
+
&:active { transform: scale(.97); }
|
40
42
|
|
41
43
|
&.clear {
|
42
44
|
color: $btn-color;
|
@@ -0,0 +1,143 @@
|
|
1
|
+
/* DISPLAY HELPERS */
|
2
|
+
.inline-block { display: inline-block !important; }
|
3
|
+
.block { display: block !important; }
|
4
|
+
|
5
|
+
|
6
|
+
@media (min-width: $medium) {
|
7
|
+
.md-inline-block { display: inline-block !important; }
|
8
|
+
.md-block { display: block !important; }
|
9
|
+
}
|
10
|
+
|
11
|
+
@media (min-width: $large) {
|
12
|
+
.lg-inline-block { display: inline-block !important; }
|
13
|
+
.lg-block { display: block !important; }
|
14
|
+
}
|
15
|
+
|
16
|
+
@media (min-width: $xlarge) {
|
17
|
+
.xlg-inline-block { display: inline-block !important; }
|
18
|
+
.xlg-block { display: block !important; }
|
19
|
+
}
|
20
|
+
|
21
|
+
@media (min-width: $xxlarge) {
|
22
|
+
.xxlg-inline-block { display: inline-block !important; }
|
23
|
+
.xxlg-block { display: block !important; }
|
24
|
+
}
|
25
|
+
|
26
|
+
/* POSITION HELPERS */
|
27
|
+
.relative { position: relative !important; }
|
28
|
+
.absolute { position: absolute !important; }
|
29
|
+
.fixed { position: fixed !important; }
|
30
|
+
.static { position: static !important; }
|
31
|
+
.float-right { float: right !important; }
|
32
|
+
.float-left { float: left !important; }
|
33
|
+
|
34
|
+
.vert-horz-center {
|
35
|
+
display: flex;
|
36
|
+
justify-content: center;
|
37
|
+
align-items: center;
|
38
|
+
}
|
39
|
+
|
40
|
+
.vert-center {
|
41
|
+
display: flex;
|
42
|
+
align-items: center;
|
43
|
+
}
|
44
|
+
|
45
|
+
@media (min-width: $medium) {
|
46
|
+
.md-relative { position: relative !important; }
|
47
|
+
.md-absolute { position: absolute !important; }
|
48
|
+
.md-fixed { position: fixed !important; }
|
49
|
+
.md-static { position: static !important; }
|
50
|
+
.md-float-right { float: right !important; }
|
51
|
+
.md-float-left { float: left !important; }
|
52
|
+
}
|
53
|
+
|
54
|
+
@media (min-width: $large) {
|
55
|
+
.lg-relative { position: relative !important; }
|
56
|
+
.lg-absolute { position: absolute !important; }
|
57
|
+
.lg-fixed { position: fixed !important; }
|
58
|
+
.lg-static { position: static !important; }
|
59
|
+
.lg-float-right { float: right !important; }
|
60
|
+
.lg-float-left { float: left !important; }
|
61
|
+
}
|
62
|
+
|
63
|
+
@media (min-width: $xlarge) {
|
64
|
+
.xlg-relative { position: relative !important; }
|
65
|
+
.xlg-absolute { position: absolute !important; }
|
66
|
+
.xlg-fixed { position: fixed !important; }
|
67
|
+
.xlg-static { position: static !important; }
|
68
|
+
.xlg-float-right { float: right !important; }
|
69
|
+
.xlg-float-left { float: left !important; }
|
70
|
+
}
|
71
|
+
|
72
|
+
@media (min-width: $xxlarge) {
|
73
|
+
.xxlg-relative { position: relative !important; }
|
74
|
+
.xxlg-absolute { position: absolute !important; }
|
75
|
+
.xxlg-fixed { position: fixed !important; }
|
76
|
+
.xxlg-static { position: static !important; }
|
77
|
+
.xxlg-float-right { float: right !important; }
|
78
|
+
.xxlg-float-left { float: left !important; }
|
79
|
+
}
|
80
|
+
|
81
|
+
/* SIZE HELPERS */
|
82
|
+
.width-100 { width: 100% !important; }
|
83
|
+
.width-50 { width: 50% !important; }
|
84
|
+
.width-33 { width: 33.33% !important; }
|
85
|
+
.width-25 { width: 25% !important; }
|
86
|
+
.width-auto { width: auto !important; }
|
87
|
+
.height-100 { height: 100% !important; }
|
88
|
+
.height-50 { height: 50% !important; }
|
89
|
+
.height-33 { height: 33.33% !important; }
|
90
|
+
.height-25 { height: 25% !important; }
|
91
|
+
.height-auto { height: auto !important; }
|
92
|
+
|
93
|
+
@media (min-width: $medium) {
|
94
|
+
.md-width-100 { width: 100% !important; }
|
95
|
+
.md-width-50 { width: 50% !important; }
|
96
|
+
.md-width-33 { width: 33.33% !important; }
|
97
|
+
.md-width-25 { width: 25% !important; }
|
98
|
+
.md-width-auto { width: auto !important; }
|
99
|
+
.md-height-100 { height: 100% !important; }
|
100
|
+
.md-height-50 { height: 50% !important; }
|
101
|
+
.md-height-33 { height: 33.33% !important; }
|
102
|
+
.md-height-25 { height: 25% !important; }
|
103
|
+
.md-height-auto { height: auto !important; }
|
104
|
+
}
|
105
|
+
|
106
|
+
@media (min-width: $large) {
|
107
|
+
.lg-width-100 { width: 100% !important; }
|
108
|
+
.lg-width-50 { width: 50% !important; }
|
109
|
+
.lg-width-33 { width: 33.33% !important; }
|
110
|
+
.lg-width-25 { width: 25% !important; }
|
111
|
+
.lg-width-auto { width: auto !important; }
|
112
|
+
.lg-height-100 { height: 100% !important; }
|
113
|
+
.lg-height-50 { height: 50% !important; }
|
114
|
+
.lg-height-33 { height: 33.33% !important; }
|
115
|
+
.lg-height-25 { height: 25% !important; }
|
116
|
+
.lg-height-auto { height: auto !important; }
|
117
|
+
}
|
118
|
+
|
119
|
+
@media (min-width: $xlarge) {
|
120
|
+
.xlg-width-100 { width: 100% !important; }
|
121
|
+
.xlg-width-50 { width: 50% !important; }
|
122
|
+
.xlg-width-33 { width: 33.33% !important; }
|
123
|
+
.xlg-width-25 { width: 25% !important; }
|
124
|
+
.xlg-width-auto { width: auto !important; }
|
125
|
+
.xlg-height-100 { height: 100% !important; }
|
126
|
+
.xlg-height-50 { height: 50% !important; }
|
127
|
+
.xlg-height-33 { height: 33.33% !important; }
|
128
|
+
.xlg-height-25 { height: 25% !important; }
|
129
|
+
.xlg-height-auto { height: auto !important; }
|
130
|
+
}
|
131
|
+
|
132
|
+
@media (min-width: $xxlarge) {
|
133
|
+
.xxlg-width-100 { width: 100% !important; }
|
134
|
+
.xxlg-width-50 { width: 50% !important; }
|
135
|
+
.xxlg-width-33 { width: 33.33% !important; }
|
136
|
+
.xxlg-width-25 { width: 25% !important; }
|
137
|
+
.xxlg-width-auto { width: auto !important; }
|
138
|
+
.xxlg-height-100 { height: 100% !important; }
|
139
|
+
.xxlg-height-50 { height: 50% !important; }
|
140
|
+
.xxlg-height-33 { height: 33.33% !important; }
|
141
|
+
.xxlg-height-25 { height: 25% !important; }
|
142
|
+
.xxlg-height-auto { height: auto !important; }
|
143
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
/* FLEX HELPERS */
|
2
|
+
.flex { display: flex !important; }
|
3
|
+
.no-flex-wrap { flex-wrap: nowrap !important; }
|
4
|
+
.flex-wrap { flex-wrap: wrap !important; }
|
5
|
+
.flex-dir-col { flex-direction: column !important; }
|
6
|
+
.flex-dir-row { flex-direction: row !important; }
|
7
|
+
|
8
|
+
.jc-start { justify-content: flex-start !important; }
|
9
|
+
.jc-end { justify-content: flex-end !important; }
|
10
|
+
.jc-center { justify-content: center !important; }
|
11
|
+
.jc-space-around { justify-content: space-around !important; }
|
12
|
+
.jc-space-between { justify-content: space-between !important; }
|
13
|
+
.jc-space-evenly { justify-content: space-evenly !important; }
|
14
|
+
|
15
|
+
.ai-start { align-items: flex-start !important; }
|
16
|
+
.ai-end { align-items: flex-end !important; }
|
17
|
+
.ai-center { align-items: center !important; }
|
18
|
+
.ai-stretch { align-items: stretch !important; }
|
19
|
+
.ai-baseline { align-items: baseline !important; }
|
20
|
+
|
21
|
+
.as-start { align-self: flex-start !important; }
|
22
|
+
.as-end { align-self: flex-end !important; }
|
23
|
+
.as-center { align-self: center !important; }
|
24
|
+
.as-stretch { align-self: stretch !important; }
|
25
|
+
|
26
|
+
@media (min-width: $medium) {
|
27
|
+
.md-flex { display: flex !important; }
|
28
|
+
.md-no-flex-wrap { flex-wrap: nowrap !important; }
|
29
|
+
.md-flex-wrap { flex-wrap: wrap !important; }
|
30
|
+
.md-flex-dir-col { flex-direction: column !important; }
|
31
|
+
.md-flex-dir-row { flex-direction: row !important; }
|
32
|
+
|
33
|
+
.md-jc-start { justify-content: flex-start !important; }
|
34
|
+
.md-jc-end { justify-content: flex-end !important; }
|
35
|
+
.md-jc-center { justify-content: center !important; }
|
36
|
+
.md-jc-space-around { justify-content: space-around !important; }
|
37
|
+
.md-jc-space-between { justify-content: space-between !important; }
|
38
|
+
.md-jc-space-evenly { justify-content: space-evenly !important; }
|
39
|
+
|
40
|
+
.md-ai-start { align-items: flex-start !important; }
|
41
|
+
.md-ai-end { align-items: flex-end !important; }
|
42
|
+
.md-ai-center { align-items: center !important; }
|
43
|
+
.md-ai-stretch { align-items: stretch !important; }
|
44
|
+
.md-ai-baseline { align-items: baseline !important; }
|
45
|
+
|
46
|
+
.md-as-start { align-self: flex-start !important; }
|
47
|
+
.md-as-end { align-self: flex-end !important; }
|
48
|
+
.md-as-center { align-self: center !important; }
|
49
|
+
.md-as-stretch { align-self: stretch !important; }
|
50
|
+
}
|
51
|
+
|
52
|
+
@media (min-width: $large) {
|
53
|
+
.lg-flex { display: flex !important; }
|
54
|
+
.lg-no-flex-wrap { flex-wrap: nowrap !important; }
|
55
|
+
.lg-flex-wrap { flex-wrap: wrap !important; }
|
56
|
+
.lg-flex-dir-col { flex-direction: column !important; }
|
57
|
+
.lg-flex-dir-row { flex-direction: row !important; }
|
58
|
+
|
59
|
+
.lg-jc-start { justify-content: flex-start !important; }
|
60
|
+
.lg-jc-end { justify-content: flex-end !important; }
|
61
|
+
.lg-jc-center { justify-content: center !important; }
|
62
|
+
.lg-jc-space-around { justify-content: space-around !important; }
|
63
|
+
.lg-jc-space-between { justify-content: space-between !important; }
|
64
|
+
.lg-jc-space-evenly { justify-content: space-evenly !important; }
|
65
|
+
|
66
|
+
.lg-ai-start { align-items: flex-start !important; }
|
67
|
+
.lg-ai-end { align-items: flex-end !important; }
|
68
|
+
.lg-ai-center { align-items: center !important; }
|
69
|
+
.lg-ai-stretch { align-items: stretch !important; }
|
70
|
+
.lg-ai-baseline { align-items: baseline !important; }
|
71
|
+
|
72
|
+
.lg-as-start { align-self: flex-start !important; }
|
73
|
+
.lg-as-end { align-self: flex-end !important; }
|
74
|
+
.lg-as-center { align-self: center !important; }
|
75
|
+
.lg-as-stretch { align-self: stretch !important; }
|
76
|
+
}
|
77
|
+
|
78
|
+
@media (min-width: $xlarge) {
|
79
|
+
.xlg-flex { display: flex !important; }
|
80
|
+
.xlg-no-flex-wrap { flex-wrap: nowrap !important; }
|
81
|
+
.xlg-flex-wrap { flex-wrap: wrap !important; }
|
82
|
+
.xlg-flex-dir-col { flex-direction: column !important; }
|
83
|
+
.xlg-flex-dir-row { flex-direction: row !important; }
|
84
|
+
|
85
|
+
.xlg-jc-start { justify-content: flex-start !important; }
|
86
|
+
.xlg-jc-end { justify-content: flex-end !important; }
|
87
|
+
.xlg-jc-center { justify-content: center !important; }
|
88
|
+
.xlg-jc-space-around { justify-content: space-around !important; }
|
89
|
+
.xlg-jc-space-between { justify-content: space-between !important; }
|
90
|
+
.xlg-jc-space-evenly { justify-content: space-evenly !important; }
|
91
|
+
|
92
|
+
.xlg-ai-start { align-items: flex-start !important; }
|
93
|
+
.xlg-ai-end { align-items: flex-end !important; }
|
94
|
+
.xlg-ai-center { align-items: center !important; }
|
95
|
+
.xlg-ai-stretch { align-items: stretch !important; }
|
96
|
+
.xlg-ai-baseline { align-items: baseline !important; }
|
97
|
+
|
98
|
+
.xlg-as-start { align-self: flex-start !important; }
|
99
|
+
.xlg-as-end { align-self: flex-end !important; }
|
100
|
+
.xlg-as-center { align-self: center !important; }
|
101
|
+
.xlg-as-stretch { align-self: stretch !important; }
|
102
|
+
}
|
103
|
+
|
104
|
+
@media (min-width: $xxlarge) {
|
105
|
+
.xxlg-flex { display: flex !important; }
|
106
|
+
.xxlg-no-flex-wrap { flex-wrap: nowrap !important; }
|
107
|
+
.xxlg-flex-wrap { flex-wrap: wrap !important; }
|
108
|
+
.xxlg-flex-dir-col { flex-direction: column !important; }
|
109
|
+
.xxlg-flex-dir-row { flex-direction: row !important; }
|
110
|
+
|
111
|
+
.xxlg-jc-start { justify-content: flex-start !important; }
|
112
|
+
.xxlg-jc-end { justify-content: flex-end !important; }
|
113
|
+
.xxlg-jc-center { justify-content: center !important; }
|
114
|
+
.xxlg-jc-space-around { justify-content: space-around !important; }
|
115
|
+
.xxlg-jc-space-between { justify-content: space-between !important; }
|
116
|
+
.xxlg-jc-space-evenly { justify-content: space-evenly !important; }
|
117
|
+
|
118
|
+
.xxlg-ai-start { align-items: flex-start !important; }
|
119
|
+
.xxlg-ai-end { align-items: flex-end !important; }
|
120
|
+
.xxlg-ai-center { align-items: center !important; }
|
121
|
+
.xxlg-ai-stretch { align-items: stretch !important; }
|
122
|
+
.xxlg-ai-baseline { align-items: baseline !important; }
|
123
|
+
|
124
|
+
.xxlg-as-start { align-self: flex-start !important; }
|
125
|
+
.xxlg-as-end { align-self: flex-end !important; }
|
126
|
+
.xxlg-as-center { align-self: center !important; }
|
127
|
+
.xxlg-as-stretch { align-self: stretch !important; }
|
128
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
.row {
|
2
|
+
display: flex;
|
3
|
+
flex-wrap: wrap;
|
4
|
+
max-width: 1200px;
|
5
|
+
margin: 0 auto;
|
6
|
+
}
|
7
|
+
|
8
|
+
.column {
|
9
|
+
width: 100%;
|
10
|
+
padding: 0 10px;
|
11
|
+
|
12
|
+
&.no-gutters { padding: 0; }
|
13
|
+
}
|
14
|
+
|
15
|
+
@for $i from 1 through 12 {
|
16
|
+
.sm-#{$i} { width: 100% / 12 * $i; }
|
17
|
+
.sm-offset-#{$i} { margin-left: 100% / 12 * $i; }
|
18
|
+
.sm-order-#{$i} { order: $i; }
|
19
|
+
}
|
20
|
+
|
21
|
+
@media (min-width: $medium) {
|
22
|
+
@for $i from 1 through 12 {
|
23
|
+
.md-#{$i} { width: 100% / 12 * $i; }
|
24
|
+
.md-offset-#{$i} { margin-left: 100% / 12 * $i; }
|
25
|
+
.md-order-#{$i} { order: $i; }
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
@media (min-width: $large) {
|
30
|
+
@for $i from 1 through 12 {
|
31
|
+
.lg-#{$i} { width: 100% / 12 * $i; }
|
32
|
+
.lg-offset-#{$i} { margin-left: 100% / 12 * $i; }
|
33
|
+
.lg-order-#{$i} { order: $i; }
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
@media (min-width: $xlarge) {
|
38
|
+
@for $i from 1 through 12 {
|
39
|
+
.xlg-#{$i} { width: 100% / 12 * $i; }
|
40
|
+
.xlg-offset-#{$i} { margin-left: 100% / 12 * $i; }
|
41
|
+
.xlg-order-#{$i} { order: $i; }
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
@media (min-width: $xxlarge) {
|
46
|
+
@for $i from 1 through 12 {
|
47
|
+
.xxlg-#{$i} { width: 100% / 12 * $i; }
|
48
|
+
.xxlg-offset-#{$i} { margin-left: 100% / 12 * $i; }
|
49
|
+
.xxlg-order-#{$i} { order: $i; }
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,246 @@
|
|
1
|
+
.mx-hr {
|
2
|
+
margin-left: .5rem !important;
|
3
|
+
margin-right: .5rem !important;
|
4
|
+
}
|
5
|
+
|
6
|
+
.my-hr {
|
7
|
+
margin-top: .5rem !important;
|
8
|
+
margin-bottom: .5rem !important;
|
9
|
+
}
|
10
|
+
|
11
|
+
@for $i from 0 through 8 {
|
12
|
+
.mx-#{$i} {
|
13
|
+
margin-left: #{$i}rem !important;
|
14
|
+
margin-right: #{$i}rem !important;
|
15
|
+
}
|
16
|
+
|
17
|
+
.my-#{$i} {
|
18
|
+
margin-top: #{$i}rem !important;
|
19
|
+
margin-bottom: #{$i}rem !important;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.m-hr { margin: .5rem !important; }
|
24
|
+
@for $i from 0 through 8 {
|
25
|
+
.m-#{$i} { margin: #{$i}rem !important; }
|
26
|
+
}
|
27
|
+
|
28
|
+
.mb-hr { margin-bottom: .5rem !important; }
|
29
|
+
@for $i from 0 through 8 {
|
30
|
+
.mb-#{$i} { margin-bottom: #{$i}rem !important; }
|
31
|
+
}
|
32
|
+
|
33
|
+
.mt-hr { margin-top: .5rem !important; }
|
34
|
+
@for $i from 0 through 8 {
|
35
|
+
.mt-#{$i} { margin-top: #{$i}rem !important; }
|
36
|
+
}
|
37
|
+
|
38
|
+
.mr-hr { margin-right: .5rem !important; }
|
39
|
+
@for $i from 0 through 8 {
|
40
|
+
.mr-#{$i} { margin-right: #{$i}rem !important; }
|
41
|
+
}
|
42
|
+
|
43
|
+
.ml-hr { margin-left: .5rem !important; }
|
44
|
+
@for $i from 0 through 8 {
|
45
|
+
.ml-#{$i} { margin-left: #{$i}rem !important; }
|
46
|
+
}
|
47
|
+
|
48
|
+
// MEDIUM
|
49
|
+
@media (min-width: $medium) {
|
50
|
+
.md-mx-hr {
|
51
|
+
margin-left: .5rem !important;
|
52
|
+
margin-right: .5rem !important;
|
53
|
+
}
|
54
|
+
|
55
|
+
.md-my-hr {
|
56
|
+
margin-top: .5rem !important;
|
57
|
+
margin-bottom: .5rem !important;
|
58
|
+
}
|
59
|
+
|
60
|
+
@for $i from 0 through 8 {
|
61
|
+
.md-mx-#{$i} {
|
62
|
+
margin-left: #{$i}rem !important;
|
63
|
+
margin-right: #{$i}rem !important;
|
64
|
+
}
|
65
|
+
|
66
|
+
.md-my-#{$i} {
|
67
|
+
margin-top: #{$i}rem !important;
|
68
|
+
margin-bottom: #{$i}rem !important;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.md-m-hr { margin: .5rem !important; }
|
73
|
+
@for $i from 0 through 8 {
|
74
|
+
.md-m-#{$i} { margin: #{$i}rem !important; }
|
75
|
+
}
|
76
|
+
|
77
|
+
.md-mb-hr { margin-bottom: .5rem !important; }
|
78
|
+
@for $i from 0 through 8 {
|
79
|
+
.md-mb-#{$i} { margin-bottom: #{$i}rem !important; }
|
80
|
+
}
|
81
|
+
|
82
|
+
.md-mt-hr { margin-top: .5rem !important; }
|
83
|
+
@for $i from 0 through 8 {
|
84
|
+
.md-mt-#{$i} { margin-top: #{$i}rem !important; }
|
85
|
+
}
|
86
|
+
|
87
|
+
.md-mr-hr { margin-right: .5rem !important; }
|
88
|
+
@for $i from 0 through 8 {
|
89
|
+
.md-mr-#{$i} { margin-right: #{$i}rem !important; }
|
90
|
+
}
|
91
|
+
|
92
|
+
.md-ml-hr { margin-left: .5rem !important; }
|
93
|
+
@for $i from 0 through 8 {
|
94
|
+
.md-ml-#{$i} { margin-left: #{$i}rem !important; }
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
// LARGE
|
99
|
+
@media (min-width: $large) {
|
100
|
+
.lg-mx-hr {
|
101
|
+
margin-left: .5rem !important;
|
102
|
+
margin-right: .5rem !important;
|
103
|
+
}
|
104
|
+
|
105
|
+
.lg-my-hr {
|
106
|
+
margin-top: .5rem !important;
|
107
|
+
margin-bottom: .5rem !important;
|
108
|
+
}
|
109
|
+
|
110
|
+
@for $i from 0 through 8 {
|
111
|
+
.lg-mx-#{$i} {
|
112
|
+
margin-left: #{$i}rem !important;
|
113
|
+
margin-right: #{$i}rem !important;
|
114
|
+
}
|
115
|
+
|
116
|
+
.lg-my-#{$i} {
|
117
|
+
margin-top: #{$i}rem !important;
|
118
|
+
margin-bottom: #{$i}rem !important;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
.lg-m-hr { margin: .5rem !important; }
|
123
|
+
@for $i from 0 through 8 {
|
124
|
+
.lg-m-#{$i} { margin: #{$i}rem !important; }
|
125
|
+
}
|
126
|
+
|
127
|
+
.lg-mb-hr { margin-bottom: .5rem !important; }
|
128
|
+
@for $i from 0 through 8 {
|
129
|
+
.lg-mb-#{$i} { margin-bottom: #{$i}rem !important; }
|
130
|
+
}
|
131
|
+
|
132
|
+
.lg-mt-hr { margin-top: .5rem !important; }
|
133
|
+
@for $i from 0 through 8 {
|
134
|
+
.lg-mt-#{$i} { margin-top: #{$i}rem !important; }
|
135
|
+
}
|
136
|
+
|
137
|
+
.lg-mr-hr { margin-right: .5rem !important; }
|
138
|
+
@for $i from 0 through 8 {
|
139
|
+
.lg-mr-#{$i} { margin-right: #{$i}rem !important; }
|
140
|
+
}
|
141
|
+
|
142
|
+
.lg-ml-hr { margin-left: .5rem !important; }
|
143
|
+
@for $i from 0 through 8 {
|
144
|
+
.lg-ml-#{$i} { margin-left: #{$i}rem !important; }
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
// XLARGE
|
149
|
+
@media (min-width: $xlarge) {
|
150
|
+
.xlg-mx-hr {
|
151
|
+
margin-left: .5rem !important;
|
152
|
+
margin-right: .5rem !important;
|
153
|
+
}
|
154
|
+
|
155
|
+
.xlg-my-hr {
|
156
|
+
margin-top: .5rem !important;
|
157
|
+
margin-bottom: .5rem !important;
|
158
|
+
}
|
159
|
+
|
160
|
+
@for $i from 0 through 8 {
|
161
|
+
.xlg-mx-#{$i} {
|
162
|
+
margin-left: #{$i}rem !important;
|
163
|
+
margin-right: #{$i}rem !important;
|
164
|
+
}
|
165
|
+
|
166
|
+
.xlg-my-#{$i} {
|
167
|
+
margin-top: #{$i}rem !important;
|
168
|
+
margin-bottom: #{$i}rem !important;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
.xlg-m-hr { margin: .5rem !important; }
|
173
|
+
@for $i from 0 through 8 {
|
174
|
+
.xlg-m-#{$i} { margin: #{$i}rem !important; }
|
175
|
+
}
|
176
|
+
|
177
|
+
.xlg-mb-hr { margin-bottom: .5rem !important; }
|
178
|
+
@for $i from 0 through 8 {
|
179
|
+
.xlg-mb-#{$i} { margin-bottom: #{$i}rem !important; }
|
180
|
+
}
|
181
|
+
|
182
|
+
.xlg-mt-hr { margin-top: .5rem !important; }
|
183
|
+
@for $i from 0 through 8 {
|
184
|
+
.xlg-mt-#{$i} { margin-top: #{$i}rem !important; }
|
185
|
+
}
|
186
|
+
|
187
|
+
.xlg-mr-hr { margin-right: .5rem !important; }
|
188
|
+
@for $i from 0 through 8 {
|
189
|
+
.xlg-mr-#{$i} { margin-right: #{$i}rem !important; }
|
190
|
+
}
|
191
|
+
|
192
|
+
.xlg-ml-hr { margin-left: .5rem !important; }
|
193
|
+
@for $i from 0 through 8 {
|
194
|
+
.xlg-ml-#{$i} { margin-left: #{$i}rem !important; }
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
// XXLARGE
|
199
|
+
@media (min-width: $xxlarge) {
|
200
|
+
.xxlg-mx-hr {
|
201
|
+
margin-left: .5rem !important;
|
202
|
+
margin-right: .5rem !important;
|
203
|
+
}
|
204
|
+
|
205
|
+
.xxlg-my-hr {
|
206
|
+
margin-top: .5rem !important;
|
207
|
+
margin-bottom: .5rem !important;
|
208
|
+
}
|
209
|
+
|
210
|
+
@for $i from 0 through 8 {
|
211
|
+
.xxlg-mx-#{$i} {
|
212
|
+
margin-left: #{$i}rem !important;
|
213
|
+
margin-right: #{$i}rem !important;
|
214
|
+
}
|
215
|
+
|
216
|
+
.xxlg-my-#{$i} {
|
217
|
+
margin-top: #{$i}rem !important;
|
218
|
+
margin-bottom: #{$i}rem !important;
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
.xxlg-m-hr { margin: .5rem !important; }
|
223
|
+
@for $i from 0 through 8 {
|
224
|
+
.xxlg-m-#{$i} { margin: #{$i}rem !important; }
|
225
|
+
}
|
226
|
+
|
227
|
+
.xxlg-mb-hr { margin-bottom: .5rem !important; }
|
228
|
+
@for $i from 0 through 8 {
|
229
|
+
.xxlg-mb-#{$i} { margin-bottom: #{$i}rem !important; }
|
230
|
+
}
|
231
|
+
|
232
|
+
.xxlg-mt-hr { margin-top: .5rem !important; }
|
233
|
+
@for $i from 0 through 8 {
|
234
|
+
.xxlg-mt-#{$i} { margin-top: #{$i}rem !important; }
|
235
|
+
}
|
236
|
+
|
237
|
+
.xxlg-mr-hr { margin-right: .5rem !important; }
|
238
|
+
@for $i from 0 through 8 {
|
239
|
+
.xxlg-mr-#{$i} { margin-right: #{$i}rem !important; }
|
240
|
+
}
|
241
|
+
|
242
|
+
.xxlg-ml-hr { margin-left: .5rem !important; }
|
243
|
+
@for $i from 0 through 8 {
|
244
|
+
.xxlg-ml-#{$i} { margin-left: #{$i}rem !important; }
|
245
|
+
}
|
246
|
+
}
|