minable 0.0.2 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +4 -4
- data/Rakefile +1 -1
- data/app/assets/stylesheets/minable/_all.scss +1 -0
- data/app/assets/stylesheets/minable/_global.scss +28 -0
- data/app/assets/stylesheets/minable/_grid.scss +11 -0
- data/app/assets/stylesheets/minable/_settings.scss +15 -0
- data/app/assets/stylesheets/{framework → minable/framework}/_all.scss +0 -0
- data/app/assets/stylesheets/{framework → minable/framework}/_normalize.scss +0 -0
- data/app/assets/stylesheets/{framework → minable/framework}/_typecsset.scss +0 -27
- data/app/assets/stylesheets/{framework → minable/framework}/grid/_all.scss +0 -0
- data/app/assets/stylesheets/minable/framework/grid/_grid-core.scss +66 -0
- data/app/assets/stylesheets/minable/framework/grid/_grid-unit.scss +380 -0
- data/app/assets/stylesheets/{helpers → minable/helpers}/_all.scss +0 -0
- data/app/assets/stylesheets/{helpers → minable/helpers}/classes/_all.scss +1 -0
- data/app/assets/stylesheets/minable/helpers/classes/_clearfix.scss +23 -0
- data/app/assets/stylesheets/{helpers → minable/helpers}/classes/_display-classes.scss +13 -15
- data/app/assets/stylesheets/{helpers → minable/helpers}/functions/_all.scss +0 -0
- data/app/assets/stylesheets/{helpers → minable/helpers}/functions/_strip-unit.scss +0 -0
- data/app/assets/stylesheets/{helpers → minable/helpers}/mixins/_all.scss +2 -1
- data/app/assets/stylesheets/minable/helpers/mixins/_opacity.scss +6 -0
- data/app/assets/stylesheets/{helpers → minable/helpers}/mixins/_rem-fallback.scss +0 -1
- data/app/assets/stylesheets/{helpers → minable/helpers}/mixins/_replace-text.scss +0 -0
- data/app/assets/stylesheets/minable-ui/_all.scss +3 -0
- data/app/assets/stylesheets/minable-ui/buttons/_all.scss +3 -0
- data/app/assets/stylesheets/minable-ui/buttons/_button-colors.scss +49 -0
- data/app/assets/stylesheets/minable-ui/buttons/_button-core.scss +32 -0
- data/app/assets/stylesheets/minable-ui/buttons/_button-group.scss +0 -0
- data/app/assets/stylesheets/minable-ui/buttons/_button-icon.scss +0 -0
- data/app/assets/stylesheets/minable-ui/buttons/_button-settings.scss +33 -0
- data/app/assets/stylesheets/minable-ui/forms/_all.scss +5 -0
- data/app/assets/stylesheets/minable-ui/forms/_form-core.scss +63 -0
- data/app/assets/stylesheets/minable-ui/forms/_form-grouped.scss +148 -0
- data/app/assets/stylesheets/minable-ui/forms/_form-responsive.scss +59 -0
- data/app/assets/stylesheets/minable-ui/forms/_form-settings.scss +22 -0
- data/app/assets/stylesheets/minable-ui/forms/_form-stacked.scss +28 -0
- data/app/assets/stylesheets/minable-ui/tables/_all.scss +2 -0
- data/app/assets/stylesheets/minable-ui/tables/_tables-core.scss +16 -0
- data/app/assets/stylesheets/minable-ui/tables/_tables-settings.scss +9 -0
- data/features/step_definitions/minable_steps.rb +2 -2
- data/features/support/env.rb +4 -1
- data/features/support/minable_support.rb +3 -3
- data/lib/minable/generator.rb +13 -13
- data/lib/minable/version.rb +1 -1
- data/lib/minable.rb +3 -3
- data/lib/tasks/install.rake +9 -9
- data/minable.gemspec +10 -12
- data/readme.md +14 -32
- metadata +40 -32
- data/app/assets/stylesheets/_global.scss +0 -8
- data/app/assets/stylesheets/_minable.scss +0 -36
- data/app/assets/stylesheets/_settings.scss +0 -25
- data/app/assets/stylesheets/_shame.scss +0 -1
- data/app/assets/stylesheets/components/_all.scss +0 -6
- data/app/assets/stylesheets/components/_containers.scss +0 -1
- data/app/assets/stylesheets/components/_footer.scss +0 -1
- data/app/assets/stylesheets/components/_header.scss +0 -1
- data/app/assets/stylesheets/components/_typography.scss +0 -1
- data/app/assets/stylesheets/framework/grid/_grid-core.scss +0 -58
- data/app/assets/stylesheets/framework/grid/_grid-unit.scss +0 -195
- data/app/assets/stylesheets/modules/_all.scss +0 -1
- data/app/assets/stylesheets/templates/_404.scss +0 -1
- data/app/assets/stylesheets/templates/_all.scss +0 -3
- data/app/assets/stylesheets/templates/_home.scss +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2d18c239e232ca1a47f747d1846aa3933e70436
|
4
|
+
data.tar.gz: 5443ddfca107210dfc07f42f8e251046057d27df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df63bad0528b2065c2cc22ccd08494e2346345e3edf09f13b9f8923daaab3c484fa4af9ce7c1ec89b089604fca6bd2cd0e34b2be2f1fa9441bbcb4fb4f55a9a7
|
7
|
+
data.tar.gz: c376c26f6c204e2817fbc8e7dd1c477dcd1dab9f0d20737c33b8c5b99e38a47b5a7d1999541b31ce28f0d6230c0c3f87a8ffe348230fb4c7616b65f6abfc8d0b
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
minable (0.
|
4
|
+
minable (0.1.1)
|
5
5
|
sass (~> 3.2.14)
|
6
6
|
thor
|
7
7
|
|
8
8
|
GEM
|
9
|
-
remote:
|
9
|
+
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
aruba (0.5.4)
|
12
12
|
childprocess (>= 0.3.6)
|
@@ -30,8 +30,8 @@ GEM
|
|
30
30
|
rake (10.1.1)
|
31
31
|
rspec-expectations (2.14.5)
|
32
32
|
diff-lcs (>= 1.1.3, < 2.0)
|
33
|
-
sass (3.2.
|
34
|
-
thor (0.
|
33
|
+
sass (3.2.19)
|
34
|
+
thor (0.19.1)
|
35
35
|
|
36
36
|
PLATFORMS
|
37
37
|
ruby
|
data/Rakefile
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
@import "grid";
|
@@ -0,0 +1,28 @@
|
|
1
|
+
@if $min-grid-ie7-support-enable {
|
2
|
+
*, *:before, *:after {
|
3
|
+
-moz-box-sizing: content-box;
|
4
|
+
-webkit-box-sizing: content-box;
|
5
|
+
box-sizing: content-box;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
@if $min-grid-ie7-support-enable == false {
|
10
|
+
*, *:before, *:after {
|
11
|
+
-moz-box-sizing: border-box;
|
12
|
+
-webkit-box-sizing: border-box;
|
13
|
+
box-sizing: border-box;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
img {
|
18
|
+
height: auto;
|
19
|
+
max-width: 100%;
|
20
|
+
}
|
21
|
+
|
22
|
+
html.svg .svg-fallback {
|
23
|
+
display: none;
|
24
|
+
}
|
25
|
+
|
26
|
+
html.no-svg .svg-main {
|
27
|
+
display: none;
|
28
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
$min-browser-default-font-size: 16px !default;
|
2
|
+
|
3
|
+
|
4
|
+
$min-grid-output-classes: false !default;
|
5
|
+
$min-grid-ie7-support-enable: false !default;
|
6
|
+
|
7
|
+
|
8
|
+
$min-wrapper-width: 960px !default;
|
9
|
+
$min-wrapper-wide-width: false !default;
|
10
|
+
|
11
|
+
|
12
|
+
$min-grid-gutter: 32px !default;
|
13
|
+
$min-grid-gutter-outer-enable: true !default;
|
14
|
+
|
15
|
+
$min-grid-breakpoints: false !default;
|
File without changes
|
File without changes
|
@@ -40,9 +40,6 @@ $typecsset-magic-number: $typecsset-base-line-height;
|
|
40
40
|
$typecsset-magic-ratio: $typecsset-base-line-height / $typecsset-base-font-size;
|
41
41
|
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
43
|
//------------------------------------\\
|
47
44
|
// TOOLS
|
48
45
|
//------------------------------------\\
|
@@ -84,9 +81,6 @@ $typecsset-magic-ratio: $typecsset-base-line-height / $typecsset-base-fo
|
|
84
81
|
}
|
85
82
|
|
86
83
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
84
|
/*------------------------------------*\
|
91
85
|
#SHARED
|
92
86
|
\*------------------------------------*/
|
@@ -106,9 +100,6 @@ $typecsset-magic-ratio: $typecsset-base-line-height / $typecsset-base-fo
|
|
106
100
|
}
|
107
101
|
|
108
102
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
103
|
/*------------------------------------*\
|
113
104
|
#BASE
|
114
105
|
\*------------------------------------*/
|
@@ -144,9 +135,6 @@ body {
|
|
144
135
|
}
|
145
136
|
|
146
137
|
|
147
|
-
|
148
|
-
|
149
|
-
|
150
138
|
/*------------------------------------*\
|
151
139
|
#HEADINGS
|
152
140
|
\*------------------------------------*/
|
@@ -181,9 +169,6 @@ h6 {
|
|
181
169
|
}
|
182
170
|
|
183
171
|
|
184
|
-
|
185
|
-
|
186
|
-
|
187
172
|
/*------------------------------------*\
|
188
173
|
#LISTS
|
189
174
|
\*------------------------------------*/
|
@@ -198,9 +183,6 @@ li > ol {
|
|
198
183
|
}
|
199
184
|
|
200
185
|
|
201
|
-
|
202
|
-
|
203
|
-
|
204
186
|
/*------------------------------------*\
|
205
187
|
#PARAGRAPHS
|
206
188
|
\*------------------------------------*/
|
@@ -227,9 +209,6 @@ address {
|
|
227
209
|
}
|
228
210
|
|
229
211
|
|
230
|
-
|
231
|
-
|
232
|
-
|
233
212
|
/*------------------------------------*\
|
234
213
|
#CODE
|
235
214
|
\*------------------------------------*/
|
@@ -249,9 +228,6 @@ samp {
|
|
249
228
|
}
|
250
229
|
|
251
230
|
|
252
|
-
|
253
|
-
|
254
|
-
|
255
231
|
/*------------------------------------*\
|
256
232
|
#QUOTES
|
257
233
|
\*------------------------------------*/
|
@@ -318,9 +294,6 @@ q {
|
|
318
294
|
}
|
319
295
|
|
320
296
|
|
321
|
-
|
322
|
-
|
323
|
-
|
324
297
|
/*------------------------------------*\
|
325
298
|
#TABLES
|
326
299
|
\*------------------------------------*/
|
File without changes
|
@@ -0,0 +1,66 @@
|
|
1
|
+
// Minable Grid Core
|
2
|
+
|
3
|
+
$min-grid-breakpoints: false !default;
|
4
|
+
$min-grid-usable-gutter: strip-unit($min-grid-gutter) / 2;
|
5
|
+
|
6
|
+
$min-grid-output-classes: true !default;
|
7
|
+
$min-grid-ie7-support-enable: true !default;
|
8
|
+
|
9
|
+
.min-wrapper {
|
10
|
+
max-width: $min-wrapper-width;
|
11
|
+
margin-left: auto;
|
12
|
+
margin-right: auto;
|
13
|
+
}
|
14
|
+
|
15
|
+
@if $min-wrapper-wide-width {
|
16
|
+
.min-wrapper-wide {
|
17
|
+
max-width: $min-wrapper-wide-width;
|
18
|
+
margin-left: auto;
|
19
|
+
margin-right: auto;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.min-g {
|
24
|
+
display: -webkit-flex;
|
25
|
+
-webkit-flex-flow: row wrap;
|
26
|
+
display: -ms-flexbox;
|
27
|
+
-ms-flex-flow: row wrap;
|
28
|
+
font-size: 0;
|
29
|
+
|
30
|
+
|
31
|
+
@if $min-grid-gutter-outer-enable == false {
|
32
|
+
margin-right: -#{$min-grid-usable-gutter}px;
|
33
|
+
margin-left: -#{$min-grid-usable-gutter}px;
|
34
|
+
}
|
35
|
+
|
36
|
+
@if $min-grid-gutter-outer-enable == true {
|
37
|
+
.min-g {
|
38
|
+
margin-right: -#{$min-grid-usable-gutter}px;
|
39
|
+
margin-left: -#{$min-grid-usable-gutter}px;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
[class *= "min-u"] {
|
45
|
+
display: inline-block;
|
46
|
+
*display: inline;
|
47
|
+
font-size: $min-browser-default-font-size;
|
48
|
+
vertical-align: top;
|
49
|
+
zoom: 1;
|
50
|
+
|
51
|
+
@if $min-grid-ie7-support-enable == false {
|
52
|
+
padding-right: #{$min-grid-usable-gutter}px;
|
53
|
+
padding-left: #{$min-grid-usable-gutter}px;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
@if $min-grid-ie7-support-enable {
|
58
|
+
.min-inner {
|
59
|
+
padding-right: #{$min-grid-usable-gutter}px;
|
60
|
+
padding-left: #{$min-grid-usable-gutter}px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.centered {
|
65
|
+
margin: 0 auto;
|
66
|
+
}
|
@@ -0,0 +1,380 @@
|
|
1
|
+
@if $min-grid-output-classes {
|
2
|
+
.min-u-1 {
|
3
|
+
width: 100%;
|
4
|
+
}
|
5
|
+
|
6
|
+
.min-u-1-2 {
|
7
|
+
width: 50%;
|
8
|
+
*width: 49.969%;
|
9
|
+
}
|
10
|
+
|
11
|
+
.min-u-1-3 {
|
12
|
+
width: 33.3333%;
|
13
|
+
*width: 33.3023%;
|
14
|
+
}
|
15
|
+
|
16
|
+
.min-u-2-3 {
|
17
|
+
width: 66.6667%;
|
18
|
+
*width: 66.6357%;
|
19
|
+
}
|
20
|
+
|
21
|
+
.min-u-1-4 {
|
22
|
+
width: 25%;
|
23
|
+
*width: 24.969%;
|
24
|
+
}
|
25
|
+
|
26
|
+
.min-u-3-4 {
|
27
|
+
width: 75%;
|
28
|
+
*width: 74.969%;
|
29
|
+
}
|
30
|
+
|
31
|
+
.min-u-1-5 {
|
32
|
+
width: 20%;
|
33
|
+
*width: 19.969%;
|
34
|
+
}
|
35
|
+
|
36
|
+
.min-u-2-5 {
|
37
|
+
width: 40%;
|
38
|
+
*width: 39.969%;
|
39
|
+
}
|
40
|
+
|
41
|
+
.min-u-3-5 {
|
42
|
+
width: 60%;
|
43
|
+
*width: 59.969%;
|
44
|
+
}
|
45
|
+
|
46
|
+
.min-u-4-5 {
|
47
|
+
width: 80%;
|
48
|
+
*width: 79.969%;
|
49
|
+
}
|
50
|
+
|
51
|
+
.min-u-1-6 {
|
52
|
+
width: 16.6667%;
|
53
|
+
*width: 16.6357%;
|
54
|
+
}
|
55
|
+
|
56
|
+
.min-u-5-6 {
|
57
|
+
width: 83.3333%;
|
58
|
+
*width: 83.3023%;
|
59
|
+
}
|
60
|
+
|
61
|
+
.min-u-1-8 {
|
62
|
+
width: 12.5%;
|
63
|
+
*width: 12.469%;
|
64
|
+
}
|
65
|
+
|
66
|
+
.min-u-3-8 {
|
67
|
+
width: 37.5%;
|
68
|
+
*width: 37.469%;
|
69
|
+
}
|
70
|
+
|
71
|
+
.min-u-5-8 {
|
72
|
+
width: 62.5%;
|
73
|
+
*width: 62.469%;
|
74
|
+
}
|
75
|
+
|
76
|
+
.min-u-7-8 {
|
77
|
+
width: 87.5%;
|
78
|
+
*width: 87.469%;
|
79
|
+
}
|
80
|
+
|
81
|
+
.min-u-1-12 {
|
82
|
+
width: 8.3333%;
|
83
|
+
*width: 8.3023%;
|
84
|
+
}
|
85
|
+
|
86
|
+
.min-u-5-12 {
|
87
|
+
width: 41.6667%;
|
88
|
+
*width: 41.6357%;
|
89
|
+
}
|
90
|
+
|
91
|
+
.min-u-7-12 {
|
92
|
+
width: 58.3333%;
|
93
|
+
*width: 58.3023%;
|
94
|
+
}
|
95
|
+
|
96
|
+
.min-u-11-12 {
|
97
|
+
width: 91.6667%;
|
98
|
+
*width: 91.6357%;
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
@if $min-grid-breakpoints {
|
103
|
+
@each $min-breakpoint in $min-grid-breakpoints {
|
104
|
+
$min-breakpoint-name: nth($min-breakpoint,1);
|
105
|
+
$min-breakpoint-value: strip-unit(nth($min-breakpoint,2)) / strip-unit($min-browser-default-font-size);
|
106
|
+
|
107
|
+
@media (max-width: #{$min-breakpoint-value}em) {
|
108
|
+
.min-u-#{$min-breakpoint-name}-1 {
|
109
|
+
width: 100%;
|
110
|
+
}
|
111
|
+
.min-u-#{$min-breakpoint-name}-1-2 {
|
112
|
+
width: 50%;
|
113
|
+
*width: 49.969%;
|
114
|
+
}
|
115
|
+
.min-u-#{$min-breakpoint-name}-1-3 {
|
116
|
+
width: 33.33333%;
|
117
|
+
*width: 33.3023%;
|
118
|
+
}
|
119
|
+
.min-u-#{$min-breakpoint-name}-2-3 {
|
120
|
+
width: 66.66666%;
|
121
|
+
*width: 66.6357%;
|
122
|
+
}
|
123
|
+
.min-u-#{$min-breakpoint-name}-1-4 {
|
124
|
+
width: 25%;
|
125
|
+
*width: 24.969%;
|
126
|
+
}
|
127
|
+
.min-u-#{$min-breakpoint-name}-3-4 {
|
128
|
+
width: 75%;
|
129
|
+
*width: 74.969%;
|
130
|
+
}
|
131
|
+
.min-u-#{$min-breakpoint-name}-1-5 {
|
132
|
+
width: 20%;
|
133
|
+
*width: 19.969%;
|
134
|
+
}
|
135
|
+
.min-u-#{$min-breakpoint-name}-2-5 {
|
136
|
+
width: 40%;
|
137
|
+
*width: 39.969%;
|
138
|
+
}
|
139
|
+
.min-u-#{$min-breakpoint-name}-3-5 {
|
140
|
+
width: 60%;
|
141
|
+
*width: 59.969%;
|
142
|
+
}
|
143
|
+
.min-u-#{$min-breakpoint-name}-4-5 {
|
144
|
+
width: 80%;
|
145
|
+
*width: 79.969%;
|
146
|
+
}
|
147
|
+
.min-u-#{$min-breakpoint-name}-1-6 {
|
148
|
+
width: 16.666%;
|
149
|
+
*width: 16.6357%;
|
150
|
+
}
|
151
|
+
.min-u-#{$min-breakpoint-name}-5-6 {
|
152
|
+
width: 83.33%;
|
153
|
+
*width: 83.3023%;
|
154
|
+
}
|
155
|
+
.min-u-#{$min-breakpoint-name}-1-8 {
|
156
|
+
width: 12.5%;
|
157
|
+
*width: 12.469%;
|
158
|
+
}
|
159
|
+
.min-u-#{$min-breakpoint-name}-3-8 {
|
160
|
+
width: 37.5%;
|
161
|
+
*width: 37.469%;
|
162
|
+
}
|
163
|
+
.min-u-#{$min-breakpoint-name}-5-8 {
|
164
|
+
width: 62.5%;
|
165
|
+
*width: 62.469%;
|
166
|
+
}
|
167
|
+
.min-u-#{$min-breakpoint-name}-7-8 {
|
168
|
+
width: 87.5%;
|
169
|
+
*width: 87.469%;
|
170
|
+
}
|
171
|
+
.min-u-#{$min-breakpoint-name}-1-12 {
|
172
|
+
width: 8.3333%;
|
173
|
+
*width: 8.3023%;
|
174
|
+
}
|
175
|
+
.min-u-#{$min-breakpoint-name}-5-12 {
|
176
|
+
width: 41.6666%;
|
177
|
+
*width: 41.6357%;
|
178
|
+
}
|
179
|
+
.min-u-#{$min-breakpoint-name}-7-12 {
|
180
|
+
width: 58.3333%;
|
181
|
+
*width: 58.3023%;
|
182
|
+
}
|
183
|
+
.min-u-#{$min-breakpoint-name}-11-12 {
|
184
|
+
width: 91.6666%;
|
185
|
+
*width: 91.6357%;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
};
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
%min-u-1 {
|
194
|
+
width: 100%;
|
195
|
+
}
|
196
|
+
|
197
|
+
%min-u-1-2 {
|
198
|
+
width: 50%;
|
199
|
+
*width: 49.969%;
|
200
|
+
}
|
201
|
+
|
202
|
+
%min-u-1-3 {
|
203
|
+
width: 33.3333%;
|
204
|
+
*width: 33.3023%;
|
205
|
+
}
|
206
|
+
|
207
|
+
%min-u-2-3 {
|
208
|
+
width: 66.6667%;
|
209
|
+
*width: 66.6357%;
|
210
|
+
}
|
211
|
+
|
212
|
+
%min-u-1-4 {
|
213
|
+
width: 25%;
|
214
|
+
*width: 24.969%;
|
215
|
+
}
|
216
|
+
|
217
|
+
%min-u-3-4 {
|
218
|
+
width: 75%;
|
219
|
+
*width: 74.969%;
|
220
|
+
}
|
221
|
+
|
222
|
+
%min-u-1-5 {
|
223
|
+
width: 20%;
|
224
|
+
*width: 19.969%;
|
225
|
+
}
|
226
|
+
|
227
|
+
%min-u-2-5 {
|
228
|
+
width: 40%;
|
229
|
+
*width: 39.969%;
|
230
|
+
}
|
231
|
+
|
232
|
+
%min-u-3-5 {
|
233
|
+
width: 60%;
|
234
|
+
*width: 59.969%;
|
235
|
+
}
|
236
|
+
|
237
|
+
%min-u-4-5 {
|
238
|
+
width: 80%;
|
239
|
+
*width: 79.969%;
|
240
|
+
}
|
241
|
+
|
242
|
+
%min-u-1-6 {
|
243
|
+
width: 16.6667%;
|
244
|
+
*width: 16.6357%;
|
245
|
+
}
|
246
|
+
|
247
|
+
%min-u-5-6 {
|
248
|
+
width: 83.3333%;
|
249
|
+
*width: 83.3023%;
|
250
|
+
}
|
251
|
+
|
252
|
+
%min-u-1-8 {
|
253
|
+
width: 12.5%;
|
254
|
+
*width: 12.469%;
|
255
|
+
}
|
256
|
+
|
257
|
+
%min-u-3-8 {
|
258
|
+
width: 37.5%;
|
259
|
+
*width: 37.469%;
|
260
|
+
}
|
261
|
+
|
262
|
+
%min-u-5-8 {
|
263
|
+
width: 62.5%;
|
264
|
+
*width: 62.469%;
|
265
|
+
}
|
266
|
+
|
267
|
+
%min-u-7-8 {
|
268
|
+
width: 87.5%;
|
269
|
+
*width: 87.469%;
|
270
|
+
}
|
271
|
+
|
272
|
+
%min-u-1-12 {
|
273
|
+
width: 8.3333%;
|
274
|
+
*width: 8.3023%;
|
275
|
+
}
|
276
|
+
|
277
|
+
%min-u-5-12 {
|
278
|
+
width: 41.6667%;
|
279
|
+
*width: 41.6357%;
|
280
|
+
}
|
281
|
+
|
282
|
+
%min-u-7-12 {
|
283
|
+
width: 58.3333%;
|
284
|
+
*width: 58.3023%;
|
285
|
+
}
|
286
|
+
|
287
|
+
%min-u-11-12 {
|
288
|
+
width: 91.6667%;
|
289
|
+
*width: 91.6357%;
|
290
|
+
}
|
291
|
+
|
292
|
+
|
293
|
+
@if $min-grid-breakpoints {
|
294
|
+
@each $min-breakpoint in $min-grid-breakpoints {
|
295
|
+
$min-breakpoint-name: nth($min-breakpoint,1);
|
296
|
+
$min-breakpoint-value: strip-unit(nth($min-breakpoint,2)) / strip-unit($min-browser-default-font-size);
|
297
|
+
|
298
|
+
@media (max-width: #{$min-breakpoint-value}em) {
|
299
|
+
%min-u-#{$min-breakpoint-name}-1 {
|
300
|
+
width: 100%;
|
301
|
+
}
|
302
|
+
%min-u-#{$min-breakpoint-name}-1-2 {
|
303
|
+
width: 50%;
|
304
|
+
*width: 49.969%;
|
305
|
+
}
|
306
|
+
%min-u-#{$min-breakpoint-name}-1-3 {
|
307
|
+
width: 33.33333%;
|
308
|
+
*width: 33.3023%;
|
309
|
+
}
|
310
|
+
%min-u-#{$min-breakpoint-name}-2-3 {
|
311
|
+
width: 66.66666%;
|
312
|
+
*width: 66.6357%;
|
313
|
+
}
|
314
|
+
%min-u-#{$min-breakpoint-name}-1-4 {
|
315
|
+
width: 25%;
|
316
|
+
*width: 24.969%;
|
317
|
+
}
|
318
|
+
%min-u-#{$min-breakpoint-name}-3-4 {
|
319
|
+
width: 75%;
|
320
|
+
*width: 74.969%;
|
321
|
+
}
|
322
|
+
%min-u-#{$min-breakpoint-name}-1-5 {
|
323
|
+
width: 20%;
|
324
|
+
*width: 19.969%;
|
325
|
+
}
|
326
|
+
%min-u-#{$min-breakpoint-name}-2-5 {
|
327
|
+
width: 40%;
|
328
|
+
*width: 39.969%;
|
329
|
+
}
|
330
|
+
%min-u-#{$min-breakpoint-name}-3-5 {
|
331
|
+
width: 60%;
|
332
|
+
*width: 59.969%;
|
333
|
+
}
|
334
|
+
%min-u-#{$min-breakpoint-name}-4-5 {
|
335
|
+
width: 80%;
|
336
|
+
*width: 79.969%;
|
337
|
+
}
|
338
|
+
%min-u-#{$min-breakpoint-name}-1-6 {
|
339
|
+
width: 16.666%;
|
340
|
+
*width: 16.6357%;
|
341
|
+
}
|
342
|
+
%min-u-#{$min-breakpoint-name}-5-6 {
|
343
|
+
width: 83.33%;
|
344
|
+
*width: 83.3023%;
|
345
|
+
}
|
346
|
+
%min-u-#{$min-breakpoint-name}-1-8 {
|
347
|
+
width: 12.5%;
|
348
|
+
*width: 12.469%;
|
349
|
+
}
|
350
|
+
%min-u-#{$min-breakpoint-name}-3-8 {
|
351
|
+
width: 37.5%;
|
352
|
+
*width: 37.469%;
|
353
|
+
}
|
354
|
+
%min-u-#{$min-breakpoint-name}-5-8 {
|
355
|
+
width: 62.5%;
|
356
|
+
*width: 62.469%;
|
357
|
+
}
|
358
|
+
%min-u-#{$min-breakpoint-name}-7-8 {
|
359
|
+
width: 87.5%;
|
360
|
+
*width: 87.469%;
|
361
|
+
}
|
362
|
+
%min-u-#{$min-breakpoint-name}-1-12 {
|
363
|
+
width: 8.3333%;
|
364
|
+
*width: 8.3023%;
|
365
|
+
}
|
366
|
+
%min-u-#{$min-breakpoint-name}-5-12 {
|
367
|
+
width: 41.6666%;
|
368
|
+
*width: 41.6357%;
|
369
|
+
}
|
370
|
+
%min-u-#{$min-breakpoint-name}-7-12 {
|
371
|
+
width: 58.3333%;
|
372
|
+
*width: 58.3023%;
|
373
|
+
}
|
374
|
+
%min-u-#{$min-breakpoint-name}-11-12 {
|
375
|
+
width: 91.6666%;
|
376
|
+
*width: 91.6357%;
|
377
|
+
}
|
378
|
+
}
|
379
|
+
};
|
380
|
+
}
|
File without changes
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* For modern browsers
|
3
|
+
* 1. The space content is one way to avoid an Opera bug when the
|
4
|
+
* contenteditable attribute is included anywhere else in the document.
|
5
|
+
* Otherwise it causes space to appear at the top and bottom of elements
|
6
|
+
* that are clearfixed.
|
7
|
+
* 2. The use of `table` rather than `block` is only necessary if using
|
8
|
+
* `:before` to contain the top-margins of child elements.
|
9
|
+
*/
|
10
|
+
|
11
|
+
.cf {
|
12
|
+
*zoom: 1;
|
13
|
+
|
14
|
+
&:before,
|
15
|
+
&:after {
|
16
|
+
content: " "; /* 1 */
|
17
|
+
display: table; /* 2 */
|
18
|
+
}
|
19
|
+
|
20
|
+
&:after {
|
21
|
+
clear: both;
|
22
|
+
}
|
23
|
+
}
|