ZURB-foundation 2.1.3.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +16 -2
- data/lib/ZURB-foundation.rb +2 -2
- data/stylesheets/ZURB/_buttons.sass +101 -0
- data/stylesheets/ZURB/_forms.sass +26 -12
- data/stylesheets/ZURB/_globals.sass +53 -24
- data/stylesheets/ZURB/_grid.sass +105 -102
- data/stylesheets/ZURB/_mobile.sass +61 -27
- data/stylesheets/ZURB/_orbit.sass +87 -22
- data/stylesheets/ZURB/_reveal.sass +20 -19
- data/stylesheets/ZURB/_typography.sass +18 -8
- data/stylesheets/ZURB/_ui.sass +45 -123
- data/stylesheets/ZURB/includes/_colors.sass +5 -1
- data/stylesheets/ZURB/includes/_mixins.sass +10 -6
- data/stylesheets/ZURB/includes/_settings.sass +43 -3
- data/stylesheets/_ZURB-foundation.sass +13 -0
- data/templates/project/index.html +2 -11
- data/templates/project/javascripts/app.js +25 -26
- data/templates/project/javascripts/jquery.customforms.js +65 -13
- data/templates/project/javascripts/modernizr.foundation.js +4 -0
- data/templates/project/manifest.rb +3 -2
- data/templates/project/sass/app.sass +9 -21
- data/templates/project/sass/ie.sass +4 -4
- metadata +7 -5
- data/stylesheets/ZURB/_foundation.sass +0 -9
data/README.mkdn
CHANGED
@@ -18,7 +18,7 @@ In Terminal:
|
|
18
18
|
* `git clone git://github.com/zurb/foundation-sass.git`
|
19
19
|
* `cd foundation-sass`
|
20
20
|
* `sudo gem build ZURB-foundation.gemspec`
|
21
|
-
* `sudo gem install ZURB-foundation-2.1.
|
21
|
+
* `sudo gem install ZURB-foundation-2.1.4.gem`
|
22
22
|
|
23
23
|
To create your first project
|
24
24
|
----------------------------
|
@@ -44,8 +44,9 @@ Foundation is a rock-solid, responsive framework for rapidly prototyping and ite
|
|
44
44
|
|
45
45
|
Homepage: http://foundation.zurb.com
|
46
46
|
Documentation: http://foundation.zurb.com/docs
|
47
|
-
Download: http://foundation.zurb.com/files/foundation-download.zip
|
47
|
+
Download: http://foundation.zurb.com/files/foundation-download-2.1.4.zip
|
48
48
|
|
49
|
+
Foundation is MIT-licensed and absolutely free to use. Foundation wouldn't be possible without the support of the entire ZURB team, our friends and colleagues who gave feedback, and some luminaries who did some heavy lifting that we took advantage of (thanks guys).
|
49
50
|
|
50
51
|
ZURB
|
51
52
|
====
|
@@ -54,6 +55,19 @@ Foundation was made by [ZURB](http://www.zurb.com), an interaction design and de
|
|
54
55
|
|
55
56
|
If Foundation knocks your socks off the way we hope it does and you want more, why not check out [our jobs](http://www.zurb.com/talent/jobs)?
|
56
57
|
|
58
|
+
Community
|
59
|
+
=========
|
60
|
+
|
61
|
+
Many thanks to all the people working on Foundation either to improve the base code or to support specific frameworks. If you want to get on this readme send an email to foundation@zurb.com, and if you have questions you can join the Unofficial Foundation Google Group here: http://groups.google.com/group/foundation-framework-
|
62
|
+
|
63
|
+
WordPress
|
64
|
+
|
65
|
+
* [Starter Theme](https://github.com/drewsymo/Foundation) by Drew Morris
|
66
|
+
* [Optional install for roots](https://github.com/retlehs/roots) by Corey Wagehoft
|
67
|
+
|
68
|
+
.NET
|
69
|
+
|
70
|
+
* [NuGet Package for ASP.Net MVC](http://nuget.org/List/Packages/Zurb_Foundation_MPC3) by Edward Charbeneau
|
57
71
|
|
58
72
|
MIT Open Source License
|
59
73
|
=======================
|
data/lib/ZURB-foundation.rb
CHANGED
@@ -0,0 +1,101 @@
|
|
1
|
+
// Buttons
|
2
|
+
//-------------------------------------------------
|
3
|
+
|
4
|
+
.button
|
5
|
+
background: $default-color
|
6
|
+
border: none
|
7
|
+
color: $white
|
8
|
+
cursor: pointer
|
9
|
+
display: inline-block
|
10
|
+
font-weight: bold
|
11
|
+
line-height: 1
|
12
|
+
padding: 9px 34px 11px
|
13
|
+
position: relative
|
14
|
+
text-align: center
|
15
|
+
text-decoration: none
|
16
|
+
|
17
|
+
// Nice button
|
18
|
+
&.nice
|
19
|
+
background-color: $default-color
|
20
|
+
+background-image(linear-gradient(rgba(#fff, 0.2) 0%, rgba(#fff, 0.2) 50%, rgba(#000, 0) 51%, rgba(#000, 0) 100%))
|
21
|
+
+box-shadow(inset rgba(#fff, 0.5) 0 1px 0)
|
22
|
+
text-shadow: rgba(#000, 0.28) 0 -1px 1px
|
23
|
+
border: 1px solid darken($default-color, 7%)
|
24
|
+
+transition-property(background-color)
|
25
|
+
+transition-duration($button-transition-duration)
|
26
|
+
+transition-timing-function(ease-in-out)
|
27
|
+
|
28
|
+
// Nice button borders
|
29
|
+
&.red
|
30
|
+
border: solid 1px darken($red, 7%)
|
31
|
+
&.blue
|
32
|
+
border: solid 1px darken($blue, 7%)
|
33
|
+
&.white
|
34
|
+
border: solid 1px darken($white, 20%)
|
35
|
+
text-shadow: none !important
|
36
|
+
&.black
|
37
|
+
border: solid 1px darken($black, 7%)
|
38
|
+
|
39
|
+
// Button colors and hover states
|
40
|
+
// Base hover state
|
41
|
+
&:hover, &:focus
|
42
|
+
background-color: darken($default-color, 5%)
|
43
|
+
color: #fff
|
44
|
+
&.red
|
45
|
+
background-color: $red
|
46
|
+
&:hover, &:focus
|
47
|
+
background-color: darken($red, 5%)
|
48
|
+
&.blue
|
49
|
+
background-color: $blue
|
50
|
+
&:hover, &:focus
|
51
|
+
background-color: darken($blue, 5%)
|
52
|
+
&.white
|
53
|
+
background-color: darken($white, 15%)
|
54
|
+
color: #333
|
55
|
+
&:hover, &:focus
|
56
|
+
background-color: darken($white, 30%)
|
57
|
+
color: #333
|
58
|
+
&.black
|
59
|
+
background-color: $black
|
60
|
+
&:hover, &:focus
|
61
|
+
background-color: darken($black, 5%)
|
62
|
+
|
63
|
+
// Button shapes
|
64
|
+
&.radius
|
65
|
+
+border-radius(3px)
|
66
|
+
&.round
|
67
|
+
+border-radius(1000px)
|
68
|
+
|
69
|
+
// Button layout
|
70
|
+
&.full-width
|
71
|
+
width: 100%
|
72
|
+
padding-left: 0 !important
|
73
|
+
padding-right: 0 !important
|
74
|
+
text-align: center
|
75
|
+
&.left-align
|
76
|
+
text-align: left
|
77
|
+
text-indent: 12px
|
78
|
+
|
79
|
+
// Button sizes
|
80
|
+
&.small
|
81
|
+
+font-size(11)
|
82
|
+
padding: 8px 20px 10px
|
83
|
+
width: auto
|
84
|
+
&.medium
|
85
|
+
+font-size(13)
|
86
|
+
width: auto
|
87
|
+
&.large
|
88
|
+
+font-size(18)
|
89
|
+
padding: 11px 48px 13px
|
90
|
+
width: auto
|
91
|
+
|
92
|
+
// Button disabled states
|
93
|
+
&.disabled, &[disabled]
|
94
|
+
opacity: 0.6
|
95
|
+
cursor: default
|
96
|
+
|
97
|
+
//----------------------------------------------------
|
98
|
+
|
99
|
+
// Don't use native buttons on iOS
|
100
|
+
input[type=submit].button
|
101
|
+
-webkit-appearance: none
|
@@ -1,8 +1,6 @@
|
|
1
|
-
|
1
|
+
// Standard Forms
|
2
|
+
//-----------------------------------------
|
2
3
|
|
3
|
-
/* Artfully masterminded by ZURB :: Make sure to include app.js / foundation.js if you are going to use inline label inputs */
|
4
|
-
|
5
|
-
/* Standard Forms */
|
6
4
|
form
|
7
5
|
margin: 0 0 18px
|
8
6
|
label
|
@@ -21,7 +19,9 @@ input.input-text, textarea, select
|
|
21
19
|
label + input.input-text, label + textarea, label + select, label + div.dropdown, select + div.dropdown
|
22
20
|
margin-top: -9px
|
23
21
|
|
24
|
-
|
22
|
+
// Text input and textarea font and padding
|
23
|
+
//-----------------------------------------
|
24
|
+
|
25
25
|
input.input-text, textarea
|
26
26
|
+font-size(13)
|
27
27
|
padding: 4px 3px 2px
|
@@ -32,12 +32,16 @@ input.input-text, textarea
|
|
32
32
|
&:focus
|
33
33
|
outline: none !important
|
34
34
|
|
35
|
-
|
35
|
+
// Inlined Label Style
|
36
|
+
//-----------------------------------------
|
37
|
+
|
36
38
|
input, textarea
|
37
39
|
.placeholder
|
38
40
|
color: #888
|
39
41
|
|
40
|
-
|
42
|
+
// Text input and textarea sizes
|
43
|
+
//-----------------------------------------
|
44
|
+
|
41
45
|
input
|
42
46
|
&.input-text
|
43
47
|
width: 254px
|
@@ -51,20 +55,26 @@ input, textarea
|
|
51
55
|
&.large
|
52
56
|
width: 434px
|
53
57
|
|
54
|
-
|
58
|
+
// Fieldsets
|
59
|
+
//-----------------------------------------
|
60
|
+
|
55
61
|
form
|
56
62
|
fieldset
|
57
63
|
padding: 9px 9px 2px 9px
|
58
64
|
border: solid 1px #ddd
|
59
65
|
margin: 18px 0
|
60
66
|
|
61
|
-
|
67
|
+
// Inlined Radio & Checkbox
|
68
|
+
//-----------------------------------------
|
69
|
+
|
62
70
|
.form-field input[type=radio], .form-field input[type=checkbox]
|
63
71
|
display: inline
|
64
72
|
width: auto
|
65
73
|
margin-bottom: 0
|
66
74
|
|
67
|
-
|
75
|
+
// Errors
|
76
|
+
//-----------------------------------------
|
77
|
+
|
68
78
|
.form-field.error input, input.input-text.red
|
69
79
|
border-color: #c00000
|
70
80
|
background-color: rgba(255,0,0,0.15)
|
@@ -84,7 +94,9 @@ form
|
|
84
94
|
.large+.error
|
85
95
|
width: 440px
|
86
96
|
|
87
|
-
|
97
|
+
// Nicer Forms
|
98
|
+
//-----------------------------------------
|
99
|
+
|
88
100
|
form.nice
|
89
101
|
input.input-text, textarea
|
90
102
|
border: solid 1px #bbb
|
@@ -115,7 +127,9 @@ form.nice
|
|
115
127
|
.large+.error
|
116
128
|
width: 432px
|
117
129
|
|
118
|
-
|
130
|
+
// Custom Forms
|
131
|
+
//-------------------------------------------------
|
132
|
+
|
119
133
|
form.custom
|
120
134
|
span.custom
|
121
135
|
display: inline-block
|
@@ -1,15 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
// Table of Contents:
|
2
|
+
//
|
3
|
+
// Eric Meyer's CSS reset
|
4
|
+
// Body
|
5
|
+
// Links
|
6
|
+
// Lists
|
7
|
+
// Tables
|
8
|
+
// Misc
|
9
|
+
//
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
// Eric Meyer's CSS Reset :: http://meyerweb.com/eric/tools/css/reset/
|
12
|
+
//-------------------------------------------------------------------------------
|
13
|
+
|
13
14
|
|
14
15
|
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video
|
15
16
|
margin: 0
|
@@ -20,7 +21,9 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
|
20
21
|
html
|
21
22
|
font-size: 62.5%
|
22
23
|
|
23
|
-
|
24
|
+
// HTML 5 reset for older browsers
|
25
|
+
//-----------------------------------------
|
26
|
+
|
24
27
|
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
|
25
28
|
display: block
|
26
29
|
body
|
@@ -35,17 +38,37 @@ blockquote, q
|
|
35
38
|
table
|
36
39
|
border-collapse: collapse
|
37
40
|
border-spacing: 0
|
41
|
+
|
42
|
+
// Nicolas Gallagher's micro clearfix - http://nicolasgallagher.com/micro-clearfix-hack/
|
43
|
+
//----------------------------------------------------------------------------------------------------
|
44
|
+
|
45
|
+
// For modern browsers
|
46
|
+
.clearfix
|
47
|
+
&:before, &:after
|
48
|
+
content: ""
|
49
|
+
display: table
|
50
|
+
&:after
|
51
|
+
clear: both
|
52
|
+
|
53
|
+
// For IE 6/7 (triggers hasLayout)
|
54
|
+
.clearfix
|
55
|
+
zoom: 1
|
38
56
|
|
57
|
+
// Base Cascade
|
58
|
+
//----------------------------------------------
|
59
|
+
|
39
60
|
body
|
40
|
-
background:
|
41
|
-
|
42
|
-
+font-size(
|
61
|
+
background: $body-background
|
62
|
+
font-family: $body-font-family
|
63
|
+
+font-size($body-font-size)
|
43
64
|
+font-smoothing(antialiased)
|
44
|
-
line-height:
|
45
|
-
color:
|
65
|
+
line-height: $body-line-height
|
66
|
+
color: $body-color
|
46
67
|
position: relative
|
47
68
|
|
48
|
-
|
69
|
+
// Links
|
70
|
+
//-----------------------------------------
|
71
|
+
|
49
72
|
a
|
50
73
|
color: $blue
|
51
74
|
text-decoration: none
|
@@ -53,14 +76,16 @@ a
|
|
53
76
|
&:hover
|
54
77
|
color: lighten($blue, 10%)
|
55
78
|
&:focus
|
56
|
-
color:
|
79
|
+
color: $orange
|
57
80
|
outline: none
|
58
81
|
|
59
82
|
p
|
60
83
|
a, a:visited
|
61
84
|
line-height: inherit
|
62
85
|
|
63
|
-
|
86
|
+
// Lists
|
87
|
+
//-----------------------------------------
|
88
|
+
|
64
89
|
ul, ol
|
65
90
|
margin-bottom: 18px
|
66
91
|
ul
|
@@ -80,7 +105,9 @@ li
|
|
80
105
|
ul.large li
|
81
106
|
line-height: 21px
|
82
107
|
|
83
|
-
|
108
|
+
// Tables
|
109
|
+
//-----------------------------------------
|
110
|
+
|
84
111
|
table
|
85
112
|
background: $white
|
86
113
|
+border-radius(3px)
|
@@ -96,7 +123,7 @@ table
|
|
96
123
|
thead
|
97
124
|
tr
|
98
125
|
th
|
99
|
-
padding: 8px
|
126
|
+
padding: 8px 10px 9px
|
100
127
|
+font-size(14)
|
101
128
|
font-weight: bold
|
102
129
|
color: #222
|
@@ -121,7 +148,9 @@ table
|
|
121
148
|
&:last-child
|
122
149
|
border-right: none
|
123
150
|
|
124
|
-
|
151
|
+
// Misc
|
152
|
+
//-----------------------------------------
|
153
|
+
|
125
154
|
.left
|
126
155
|
float: left
|
127
156
|
.right
|
@@ -129,4 +158,4 @@ table
|
|
129
158
|
.hide
|
130
159
|
display: none
|
131
160
|
.highlight
|
132
|
-
background:
|
161
|
+
background: $yellow
|
data/stylesheets/ZURB/_grid.sass
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
/* Arfully Masterminded by ZURB */
|
2
|
-
/* Grid :: This is the mobile-friendly, responsive grid that lets Foundation work much of its magic. */
|
3
|
-
|
4
1
|
.container
|
5
2
|
padding: 0 20px
|
6
|
-
|
3
|
+
|
7
4
|
.row
|
5
|
+
@extend .clearfix
|
8
6
|
width: 100%
|
9
|
-
max-width:
|
10
|
-
min-width:
|
7
|
+
max-width: $grid-max-width
|
8
|
+
min-width: $grid-min-width
|
11
9
|
margin: 0 auto
|
10
|
+
// .row .row
|
12
11
|
.row
|
13
12
|
min-width: 0
|
13
|
+
|
14
14
|
.column, .columns
|
15
15
|
margin-left: 4.4%
|
16
16
|
float: left
|
@@ -19,77 +19,76 @@
|
|
19
19
|
&:first-child
|
20
20
|
margin-left: 0
|
21
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
|
-
margin-left: 95.7%
|
22
|
+
.one.columns
|
23
|
+
width: 4.3%
|
24
|
+
.two.columns
|
25
|
+
width: 13%
|
26
|
+
.three.columns
|
27
|
+
width: 21.7%
|
28
|
+
.four.columns
|
29
|
+
width: 30.37%
|
30
|
+
.five.columns
|
31
|
+
width: 39.1%
|
32
|
+
.six.columns
|
33
|
+
width: 47.8%
|
34
|
+
.seven.columns
|
35
|
+
width: 56.5%
|
36
|
+
.eight.columns
|
37
|
+
width: 65.2%
|
38
|
+
.nine.columns
|
39
|
+
width: 73.9%
|
40
|
+
.ten.columns
|
41
|
+
width: 82.6%
|
42
|
+
.eleven.columns
|
43
|
+
width: 91.3%
|
44
|
+
.twelve.columns
|
45
|
+
width: 100%
|
46
|
+
|
47
|
+
.offset-by-one
|
48
|
+
margin-left: 13.1%
|
49
|
+
&:first-child
|
50
|
+
margin-left: 8.7%
|
51
|
+
.offset-by-two
|
52
|
+
margin-left: 21.8%
|
53
|
+
&:first-child
|
54
|
+
margin-left: 17.4%
|
55
|
+
.offset-by-three
|
56
|
+
margin-left: 30.5%
|
57
|
+
&:first-child
|
58
|
+
margin-left: 26.1%
|
59
|
+
.offset-by-four
|
60
|
+
margin-left: 39.2%
|
61
|
+
&:first-child
|
62
|
+
margin-left: 34.8%
|
63
|
+
.offset-by-five
|
64
|
+
margin-left: 47.9%
|
65
|
+
&:first-child
|
66
|
+
margin-left: 43.5%
|
67
|
+
.offset-by-six
|
68
|
+
margin-left: 56.6%
|
69
|
+
&:first-child
|
70
|
+
margin-left: 52.2%
|
71
|
+
.offset-by-seven
|
72
|
+
margin-left: 65.3%
|
73
|
+
&:first-child
|
74
|
+
margin-left: 60.9%
|
75
|
+
.offset-by-eight
|
76
|
+
margin-left: 74.0%
|
77
|
+
&:first-child
|
78
|
+
margin-left: 69.6%
|
79
|
+
.offset-by-nine
|
80
|
+
margin-left: 82.7%
|
81
|
+
&:first-child
|
82
|
+
margin-left: 78.3%
|
83
|
+
.offset-by-ten
|
84
|
+
margin-left: 91.4%
|
85
|
+
&:first-child
|
86
|
+
margin-left: 87.0%
|
87
|
+
.offset-by-eleven
|
88
|
+
&:first-child
|
89
|
+
margin-left: 95.7%
|
91
90
|
|
92
|
-
|
91
|
+
// Source Ordering
|
93
92
|
.push-two
|
94
93
|
left: 17.4%
|
95
94
|
.push-three
|
@@ -134,53 +133,57 @@ img, object, embed
|
|
134
133
|
height: auto
|
135
134
|
img
|
136
135
|
-ms-interpolation-mode: bicubic
|
136
|
+
#map_canvas img, .map_canvas img
|
137
|
+
max-width: none !important
|
137
138
|
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
139
|
+
// Blockgrids
|
140
|
+
//----------------------------------------------------------------------------------------------------
|
141
|
+
|
142
|
+
// Notes:
|
143
|
+
//
|
144
|
+
// These are 2-up, 3-up, 4-up and 5-up ULs suited for repeating blocks of content.
|
145
|
+
// Add 'mobile' to them to switch them just like the layout grid (one item per line) on phones
|
146
|
+
//
|
147
|
+
// For IE7/8 compatibility, block-grid items need to be the same height.
|
148
|
+
// To support arbitrary height, set $support-block-grid-nth-child to true
|
149
|
+
// Just know that IE7/8 do not support :nth-child
|
149
150
|
|
150
|
-
/*For IE7/8 compatibility block-grid items need to be the same height. You can optionally uncomment the lines below to support arbitrary height, but know that IE7/8 do not support :nth-child. */
|
151
151
|
.block-grid
|
152
152
|
display: block
|
153
153
|
overflow: hidden
|
154
|
-
|
154
|
+
& > li
|
155
155
|
display: block
|
156
156
|
height: auto
|
157
157
|
float: left
|
158
158
|
&.two-up
|
159
159
|
margin-left: -4%
|
160
|
-
|
160
|
+
& > li
|
161
161
|
margin-left: 4%
|
162
162
|
width: 46%
|
163
|
-
|
164
|
-
|
163
|
+
@if $support-block-grid-nth-child
|
164
|
+
&:nth-child(2n+1)
|
165
|
+
clear: left
|
165
166
|
&.three-up
|
166
167
|
margin-left: -2%
|
167
|
-
|
168
|
+
& > li
|
168
169
|
margin-left: 2%
|
169
170
|
width: 31.3%
|
170
|
-
|
171
|
-
|
171
|
+
@if $support-block-grid-nth-child
|
172
|
+
&:nth-child(3n+1)
|
173
|
+
clear: left
|
172
174
|
&.four-up
|
173
175
|
margin-left: -4%
|
174
|
-
|
176
|
+
& > li
|
175
177
|
margin-left: 4%
|
176
178
|
width: 23%
|
177
|
-
|
178
|
-
|
179
|
+
@if $support-block-grid-nth-child
|
180
|
+
&:nth-child(4n+1)
|
181
|
+
clear: left
|
179
182
|
&.five-up
|
180
183
|
margin-left: -1.5%
|
181
|
-
|
184
|
+
& > li
|
182
185
|
margin-left: 1.5%
|
183
186
|
width: 18.5%
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
+
@if $support-block-grid-nth-child
|
188
|
+
&:nth-child(5n+1)
|
189
|
+
clear: left
|