stipe 0.0.5.7.7 → 0.0.5.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/readme.md +6 -6
- data/stylesheets/stipe/_gradients.scss +4 -8
- data/stylesheets/stipe/gradients/mixins/_linear_gradient_bkgimage.scss +8 -6
- data/stylesheets/stipe/grid/_extends.scss +79 -124
- data/stylesheets/stipe/grid/_mixins.scss +1 -1
- data/stylesheets/stipe/grid/lib/_grid_placement.scss +12 -12
- data/stylesheets/stipe/grid/readme.md +48 -13
- data/stylesheets/stipe/toadstool/_design.scss +1 -1
- data/stylesheets/stipe/toadstool/_grids.scss +66 -15
- data/stylesheets/stipe/toadstool/modules/_main_nav.scss +2 -1
- metadata +1 -2
- data/stylesheets/stipe/gradients/_extends.scss +0 -48
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjhlYTVjMDVjMTEyOTgyYTRmNThkMjAwZjA3NjkxYmI4YjlhMjVmYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWY0NmJhNTdlZjQ0ZTc4OTkxNDFlYTMzMzZjYzhmMzYwMGYwYjM4NQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDNhNDgyZWZmMDhhOTVjYzUzZjRkNWZjNmMzYjI2MmIzMTQzODYzNGVjNTI4
|
10
|
+
NmNjYzU2ZWE0ZWNmNDU4NTRkYWVlYzVmYzA2NGE3ZGFlOTk3MmQxYWU0MDIw
|
11
|
+
MGFmNWFiNWYzNDBmYTBjMjdlNGEzNGMxNTk2NDFiMjdkOTk3MjY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2E5YzJlZDc1NTM5MmNmNmIzMTRiODlmYjAwMTQxZDI0YzUyNDM1YTQ4MDcz
|
14
|
+
NWYxYTI4MjYwYzE3NDVkY2ExNjI2MDIzYjNkMDcyMjk3MWZkMGMxOGU2NGZm
|
15
|
+
YzJhZmM4ZGI2NWRiM2YxNjY1MTNiZGNjNDUxMGM5MmQ2MDI0MWQ=
|
data/readme.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#Stipe Compass Extension
|
1
|
+
e#Stipe Compass Extension
|
2
2
|
Stipe is the life blood of the Toadstool style guide framework. Consisting of a series of mixins, extends and defaults that give Toadstool that 'instant on' experience.
|
3
3
|
|
4
4
|
[Stipe](https://rubygems.org/gems/stipe)
|
@@ -12,12 +12,12 @@ To use the Stipe gem, using Bundler `gem 'stipe'`
|
|
12
12
|
Stipe is a Compass Extension, so Compass is a dependency. You will need to include `require 'stipe'` in your config.rb file.
|
13
13
|
|
14
14
|
# Stipe Changelog
|
15
|
-
###0.0.5.8
|
16
|
-
|
17
|
-
*
|
18
|
-
|
15
|
+
###0.0.5.7.8
|
16
|
+
* ALERT!!!! Deprecated Stipe's gradient support. This code will be deleted in future releases. Please make sure to update all gradients to use Compass' `@include background-image` mixin
|
17
|
+
* Grids have been updated to support a larger array of placeholder classes for both 12 col and 24 col grid layouts.
|
18
|
+
* New experimental support for placeholder selectors and nested grids
|
19
19
|
|
20
|
-
###0.0.5.7.
|
20
|
+
###0.0.5.7.7
|
21
21
|
* Update grid - move box-sizing from grid scope to global attribute
|
22
22
|
* Deprecate Stipe's grid solution in favor of using Compass
|
23
23
|
|
@@ -1,11 +1,7 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// Code is depricated!
|
2
|
+
// ALERT!!!!!!!!!!!
|
3
|
+
// In future releases of Stipe, all references to this document will be deleted and all gradient support moved over to Compass
|
4
4
|
|
5
|
-
//
|
6
|
-
|
7
|
-
// This is where new magic may come from
|
5
|
+
// ----------------------------------------------------------------------
|
8
6
|
@import "gradients/mixins/area_51";
|
9
7
|
@import "gradients/mixins/linear_gradient_bkgimage";
|
10
|
-
|
11
|
-
@import "gradients/extends";
|
@@ -1,13 +1,15 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
1
|
+
// Code is depricated!
|
2
|
+
// ALERT!!!!!!!!!!!
|
3
|
+
// In future releases of Stipe, all references to this document will be deleted and all gradient support moved over to Compass
|
4
|
+
|
5
|
+
// ----------------------------------------------------------------------
|
4
6
|
|
5
7
|
|
6
8
|
// The following gradients are designed with variable color stops and supports background images
|
7
9
|
// It is recommended to use these to build reusable objects in the SCSS
|
8
10
|
// -------------------------------------------------------------------------------------
|
9
|
-
// four color stop linear gradient with color stops and images set as variable
|
10
|
-
// ---------------------------------------------------------------
|
11
|
+
// four color stop linear gradient with color stops and images set as variable
|
12
|
+
// ---------------------------------------------------------------
|
11
13
|
// NOTE: Place url path on single quotes, i.e. '../../images/image.png'
|
12
14
|
|
13
15
|
@mixin linear_gradient_bkgimage ($image, $position, $start_color, $color_values, $prefixes: $prefix_defaults) {
|
@@ -30,7 +32,7 @@
|
|
30
32
|
|
31
33
|
// requires that color values are written using #{} interpolation syntax
|
32
34
|
// example .....
|
33
|
-
// @include linear_gradient_bkgimage_legacy_safari (#{color-stop(0%,$alpha_color), color-stop(100%,$bravo_color)});
|
35
|
+
// @include linear_gradient_bkgimage_legacy_safari (#{color-stop(0%,$alpha_color), color-stop(100%,$bravo_color)});
|
34
36
|
// ---------------------------------------------------------------------------------------
|
35
37
|
// NOTE: Place url path on single quotes, i.e. '../../images/image.png'
|
36
38
|
@mixin linear_gradient_bkgimage_legacy_safari ($image, $position, $color_values) {
|
@@ -3,149 +3,61 @@
|
|
3
3
|
// Preferred uses include @extend .class; or repurpose the mixin within the class.
|
4
4
|
//
|
5
5
|
|
6
|
-
// grid
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
padding: em(10) 0;
|
11
|
-
@include box_shadow (inset $shadow_color, 0 0 em(20) em(10));
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
%grid_1 {
|
16
|
-
@include grid(1);
|
17
|
-
@media #{$tablet_portrait} {
|
18
|
-
@include grid(1, $grid_context: 10);
|
19
|
-
}
|
20
|
-
@media #{$mobile} {
|
21
|
-
@include grid(1, $grid_context: 4);
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
%grid_2 {
|
26
|
-
@include grid(2);
|
27
|
-
@media #{$tablet_portrait} {
|
28
|
-
@include grid(2, $grid_context: 10);
|
29
|
-
}
|
30
|
-
@media #{$mobile} {
|
31
|
-
@include grid(2, $grid_context: 4);
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
%grid_3 {
|
36
|
-
@include grid(3);
|
37
|
-
@media #{$tablet_portrait} {
|
38
|
-
@include grid(3, $grid_context: 10);
|
39
|
-
}
|
40
|
-
@media #{$mobile} {
|
41
|
-
@include grid(3, $grid_context: 4);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
%grid_4 {
|
46
|
-
@include grid(4);
|
47
|
-
@media #{$tablet_portrait} {
|
48
|
-
@include grid(4, $grid_context: 10);
|
49
|
-
}
|
50
|
-
@media #{$mobile} {
|
51
|
-
@include grid(4, $grid_context: 4);
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
%grid_5 {
|
56
|
-
@include grid(5);
|
57
|
-
@media #{$tablet_portrait} {
|
58
|
-
@include grid(5, $grid_context: 10);
|
59
|
-
}
|
60
|
-
@media #{$mobile} {
|
61
|
-
@include grid(4, $grid_context: 4);
|
6
|
+
// 12 col grid support --------------------
|
7
|
+
@for $i from 1 through 12 {
|
8
|
+
%grid_#{$i}of12 {
|
9
|
+
@include grid($i, $grid_context: 12);
|
62
10
|
}
|
63
11
|
}
|
64
12
|
|
65
|
-
|
66
|
-
@
|
67
|
-
|
68
|
-
|
13
|
+
@media #{$tablet_portrait} {
|
14
|
+
@for $i from 1 through 10 {
|
15
|
+
%grid_#{$i}of10 {
|
16
|
+
@include grid($i, $grid_context: 10);
|
17
|
+
}
|
69
18
|
}
|
70
|
-
@
|
71
|
-
|
19
|
+
@for $i from 11 through 12 {
|
20
|
+
%grid_#{$i}of10 {
|
21
|
+
@include grid(10, $grid_context: 10);
|
22
|
+
}
|
72
23
|
}
|
73
24
|
}
|
74
25
|
|
75
|
-
|
76
|
-
@
|
77
|
-
|
78
|
-
|
26
|
+
@media #{$mobile} {
|
27
|
+
@for $i from 1 through 4 {
|
28
|
+
%grid_#{$i}of4 {
|
29
|
+
@include grid($i, $grid_context: 4);
|
30
|
+
}
|
79
31
|
}
|
80
|
-
@
|
81
|
-
|
32
|
+
@for $i from 5 through 12 {
|
33
|
+
%grid_#{$i}of4 {
|
34
|
+
@include grid(4, $grid_context: 4);
|
35
|
+
}
|
82
36
|
}
|
83
37
|
}
|
84
38
|
|
85
|
-
%grid_8 {
|
86
|
-
@include grid(8);
|
87
|
-
@media #{$tablet_portrait} {
|
88
|
-
@include grid(8, $grid_context: 10);
|
89
|
-
}
|
90
|
-
@media #{$mobile} {
|
91
|
-
@include grid(4, $grid_context: 4);
|
92
|
-
}
|
93
|
-
}
|
94
39
|
|
95
|
-
%grid_9 {
|
96
|
-
@include grid(9);
|
97
|
-
@media #{$tablet_portrait} {
|
98
|
-
@include grid(9, $grid_context: 10);
|
99
|
-
}
|
100
|
-
@media #{$mobile} {
|
101
|
-
@include grid(4, $grid_context: 4);
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
%grid_10 {
|
106
|
-
@include grid(10);
|
107
|
-
@media #{$tablet_portrait} {
|
108
|
-
@include grid(10, $grid_context: 10);
|
109
|
-
}
|
110
|
-
@media #{$mobile} {
|
111
|
-
@include grid(4, $grid_context: 4);
|
112
|
-
}
|
113
|
-
}
|
114
40
|
|
115
|
-
|
116
|
-
|
117
|
-
@
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
@include grid(4, $grid_context: 4);
|
41
|
+
// 12 col Nested grids -----------------------------
|
42
|
+
@for $v from 1 through 12 {
|
43
|
+
@for $i from 1 through $v {
|
44
|
+
%grid_#{$i}of#{$v}_nested {
|
45
|
+
@include grid($i, $grid_context: $v);
|
46
|
+
}
|
122
47
|
}
|
123
48
|
}
|
124
49
|
|
125
|
-
|
126
|
-
|
127
|
-
@
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
@include grid(4, $grid_context: 4);
|
50
|
+
// 24 col Nested grids -----------------------------
|
51
|
+
@for $v from 1 through 24 {
|
52
|
+
@for $i from 1 through $v {
|
53
|
+
%grid_#{$i}of#{$v}_nested {
|
54
|
+
@include grid($i, $grid_context: $v);
|
55
|
+
}
|
132
56
|
}
|
133
57
|
}
|
134
58
|
|
135
|
-
%grid_full {
|
136
|
-
@include full_width_block(12, $main_grid_align: left);
|
137
|
-
}
|
138
59
|
|
139
|
-
%grid_full_center {
|
140
|
-
@include full_width_block(12);
|
141
|
-
}
|
142
60
|
|
143
|
-
// 24 col grid support --------------------
|
144
|
-
@for $i from 1 through 24 {
|
145
|
-
%grid_#{$i}_24 {
|
146
|
-
@include grid($i, $grid_type:24);
|
147
|
-
}
|
148
|
-
}
|
149
61
|
|
150
62
|
// push ----------------------
|
151
63
|
@for $i from 1 through 12 {
|
@@ -183,11 +95,54 @@
|
|
183
95
|
}
|
184
96
|
|
185
97
|
// alpha / omega ----------------------
|
186
|
-
|
187
98
|
%alpha {
|
188
99
|
@include alpha;
|
189
100
|
}
|
190
101
|
|
191
102
|
%omega {
|
192
103
|
@include omega;
|
193
|
-
}
|
104
|
+
}
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
// 24 col grid support --------------------
|
109
|
+
@for $i from 1 through 24 {
|
110
|
+
%grid_#{$i}of24 {
|
111
|
+
@include grid($i, $grid_context: 24);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
@media #{$tablet_portrait} {
|
116
|
+
@for $i from 1 through 19 {
|
117
|
+
%grid_#{$i}of19 {
|
118
|
+
@include grid($i, $grid_context: 19);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
@for $i from 20 through 24 {
|
122
|
+
%grid_#{$i}of19 {
|
123
|
+
@include grid(19, $grid_context: 19);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
@media #{$mobile} {
|
129
|
+
@for $i from 1 through 8 {
|
130
|
+
%grid_#{$i}of8 {
|
131
|
+
@include grid($i, $grid_context: 8);
|
132
|
+
}
|
133
|
+
}
|
134
|
+
@for $i from 9 through 24 {
|
135
|
+
%grid_#{$i}of8 {
|
136
|
+
@include grid(8, $grid_context: 8);
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
// Standard layout ----------------------------
|
142
|
+
%grid_full {
|
143
|
+
@include full_width_block(12, $main_grid_align: left);
|
144
|
+
}
|
145
|
+
|
146
|
+
%grid_full_center {
|
147
|
+
@include full_width_block(12);
|
148
|
+
}
|
@@ -15,10 +15,10 @@
|
|
15
15
|
$margin_calc: #{$margin / $em}em;
|
16
16
|
@include grid_margin($grid_child, $margin_calc);
|
17
17
|
}
|
18
|
-
@else if $grid_uom == combo {
|
19
|
-
|
20
|
-
|
21
|
-
}
|
18
|
+
// @else if $grid_uom == combo {
|
19
|
+
// $margin_calc: #{$margin / $em}em;
|
20
|
+
// @include grid_margin($grid_child, $margin_calc);
|
21
|
+
// }
|
22
22
|
@else if $grid_uom == percent {
|
23
23
|
$margin_calc: $margin / $grid_context_width * 100%;
|
24
24
|
@include grid_margin($grid_child, $margin_calc);
|
@@ -30,10 +30,10 @@
|
|
30
30
|
$margin_calc: #{$margin / $em}em;
|
31
31
|
@include grid_margin($grid_child, $margin_calc);
|
32
32
|
}
|
33
|
-
@else if $grid_uom == combo {
|
34
|
-
|
35
|
-
|
36
|
-
}
|
33
|
+
// @else if $grid_uom == combo {
|
34
|
+
// $margin_calc: #{$margin / $em}em;
|
35
|
+
// @include grid_margin($grid_child, $margin_calc);
|
36
|
+
// }
|
37
37
|
@else if $grid_uom == percent {
|
38
38
|
$margin_calc: $margin / $grid_context_width * 100%;
|
39
39
|
@include grid_margin($grid_child, $margin_calc);
|
@@ -45,10 +45,10 @@
|
|
45
45
|
$margin_calc: #{$margin / $em}em;
|
46
46
|
@include grid_margin($grid_child, $margin_calc);
|
47
47
|
}
|
48
|
-
@else if $grid_uom == combo {
|
49
|
-
|
50
|
-
|
51
|
-
}
|
48
|
+
// @else if $grid_uom == combo {
|
49
|
+
// $margin_calc: #{$margin / $em}em;
|
50
|
+
// @include grid_margin($grid_child, $margin_calc);
|
51
|
+
// }
|
52
52
|
@else if $grid_uom == percent {
|
53
53
|
$margin_calc: $margin / $grid_context_width * 100%;
|
54
54
|
@include grid_margin($grid_child, $margin_calc);
|
@@ -1,29 +1,64 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
#Grids
|
2
|
+
Stipe's grid system is based on the original 960.gs solution. Whereas there are concepts like columns, gutters and nesting.
|
3
3
|
|
4
|
-
##Grid use definition
|
5
|
-
To use grids in Toadstool, Stipe comes with some awesome Mixins for easy creation of custom grids as well as commonly used silent classes.
|
6
4
|
|
7
|
-
|
5
|
+
##Placeholder classes
|
6
|
+
For the most part when framing a UI, simply extend already pre-defned placeholder classes like `@extend %grid_4of12`, for example. Stipe's placeholder classes come with support for tablet and mobile devices.
|
8
7
|
|
9
|
-
|
8
|
+
For example, using the following Sass
|
10
9
|
|
11
|
-
|
10
|
+
```sass
|
11
|
+
.grid-block {
|
12
|
+
@extend %grid_4of12;
|
13
|
+
@media #{$mobile} {
|
14
|
+
@extend %grid_4of4;
|
15
|
+
}
|
16
|
+
}
|
12
17
|
|
13
|
-
|
18
|
+
.left-nav {
|
19
|
+
@extend %grid_4of12;
|
20
|
+
@media #{$mobile} {
|
21
|
+
@extend %grid_4of4;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
26
|
+
You will get the following CSS
|
27
|
+
|
28
|
+
```css
|
29
|
+
.grid-block, .left-nav {
|
30
|
+
float: left;
|
31
|
+
margin-left: 1.04167%;
|
32
|
+
margin-right: 1.04167%;
|
33
|
+
width: 31.25%;
|
34
|
+
}
|
35
|
+
|
36
|
+
@media screen and (max-width: 40em) {
|
37
|
+
.grid-block, .left-nav {
|
38
|
+
float: left;
|
39
|
+
margin-left: 3.125%;
|
40
|
+
margin-right: 3.125%;
|
41
|
+
width: 93.75%;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
```
|
45
|
+
|
46
|
+
##Building custom grid widths and nesting
|
47
|
+
If you require more customization of a given grid, use Stipe's grid mixin `@include grid($col_count)`. Whereas you are replacing `$col_count` with the number of columns you need.
|
48
|
+
|
49
|
+
When nesting grids, since Stipe uses percentages, you need to make sure to reset your context.
|
14
50
|
|
15
51
|
##Grid arguments
|
16
52
|
Additional arguments can be passed into the grid mixin to include `$grid_padding_l` `$grid_padding_r` `$grid_padding_tb` `$grid_border` `$border_place` `$grid_uom` `$col_gutter` `$grid_type` `$grid_align` `$grid_context`
|
17
53
|
|
18
|
-
* `$grid_padding_l` => adds padding LEFT, takes
|
19
|
-
* `$grid_padding_r` => adds padding RIGHT, takes
|
20
|
-
* `$grid_padding_tb` => adds padding TOP and BOTTOM, takes
|
54
|
+
* `$grid_padding_l` => adds padding LEFT, takes integer value
|
55
|
+
* `$grid_padding_r` => adds padding RIGHT, takes integer value
|
56
|
+
* `$grid_padding_tb` => adds padding TOP and BOTTOM, takes integer value
|
21
57
|
* `$grid_border` => takes integer value, adds border using `$border_color` and `$standard_border_style` configs found in `_config.scss`.
|
22
58
|
* `$border_place` => arguments are `left` and `right`. Argument will place a single border on either the left or right side of the block.
|
23
59
|
* `$grid_uom` => set to percent by default, accepts `em` as argument.
|
24
60
|
* `$col_gutter` => takes integer to adjust col gutter
|
25
|
-
* `$grid_type` => set to 12 col by default, allows for on-the-fly adjustment to grid type <b>Feature us currently inoperable</b>
|
26
61
|
* `$grid_align` => takes `center` as argument
|
27
|
-
* `$grid_context` => Adjusts column widths based on nested grid context. Necessary when
|
62
|
+
* `$grid_context` => Adjusts column widths based on nested grid context. Necessary when calculating with percentages
|
28
63
|
|
29
64
|
Stipe uses the `box-size` CSS property, but this is not supported by IE7. By entereing values like `$grid_padding_l, $grid_padding_r, $grid_border`, Stipe will calculate a width that IE7 can use.
|
@@ -31,7 +31,7 @@
|
|
31
31
|
margin-bottom: em(20);
|
32
32
|
float: left;
|
33
33
|
background-image: url(data:image/gif;base64,R0lGODlhUAABAIAAAP/////l5SwAAAAAUAABAAACC4SPocvtD6NsqIICADs=);
|
34
|
-
&.col_24_grid {
|
34
|
+
&.col_24_grid, &.col_18_grid, &.col_8_grid {
|
35
35
|
background-image: url(data:image/gif;base64,R0lGODlhKAABAIAAAP/////l5SH5BAAAAAAALAAAAAAoAAEAAAIIhB2py+15TAEAOw==);
|
36
36
|
}
|
37
37
|
}
|
@@ -1,48 +1,99 @@
|
|
1
1
|
|
2
|
-
.col_4_grid, .col_10_grid {
|
2
|
+
.col_4_grid, .col_8_grid, .col_10_grid, .col_18_grid {
|
3
3
|
display: none;
|
4
4
|
}
|
5
5
|
|
6
6
|
@media #{$tablet_portrait} {
|
7
|
-
.col_10_grid {
|
7
|
+
.col_10_grid, .col_18_grid {
|
8
8
|
display: block;
|
9
9
|
}
|
10
|
-
.col_12_grid {
|
10
|
+
.col_12_grid, .col_24_grid {
|
11
11
|
display: none;
|
12
12
|
}
|
13
13
|
}
|
14
14
|
|
15
15
|
@media #{$mobile} {
|
16
|
-
.col_4_grid {
|
16
|
+
.col_4_grid, .col_8_grid {
|
17
17
|
display: block;
|
18
18
|
}
|
19
|
-
.col_12_grid, .col_10_grid {
|
19
|
+
.col_12_grid, .col_10_grid, .col_18_grid {
|
20
20
|
display: none;
|
21
21
|
}
|
22
22
|
}
|
23
23
|
|
24
24
|
|
25
|
+
[class^=grid] {
|
26
|
+
margin-bottom: 1em;
|
27
|
+
text-align: center;
|
28
|
+
padding: em(10) 0;
|
29
|
+
@include box_shadow (inset $shadow_color, 0 0 em(20) em(10));
|
30
|
+
}
|
31
|
+
|
25
32
|
|
26
|
-
// grid
|
33
|
+
// 12 col grid support --------------------
|
27
34
|
@for $i from 1 through 12 {
|
28
35
|
.grid-#{$i} {
|
29
|
-
@extend %grid_#{$i};
|
30
|
-
@extend %grid_display;
|
36
|
+
@extend %grid_#{$i}of12;
|
31
37
|
}
|
32
38
|
}
|
33
39
|
|
34
|
-
|
35
|
-
|
40
|
+
@media #{$tablet_portrait} {
|
41
|
+
@for $i from 1 through 10 {
|
42
|
+
.grid-#{$i} {
|
43
|
+
@extend %grid_#{$i}of10;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
@for $i from 11 through 12 {
|
47
|
+
.grid-#{$i} {
|
48
|
+
@extend %grid_#{$i}of10;
|
49
|
+
}
|
50
|
+
}
|
36
51
|
}
|
37
52
|
|
38
|
-
|
39
|
-
|
53
|
+
@media #{$mobile} {
|
54
|
+
@for $i from 1 through 4 {
|
55
|
+
.grid-#{$i} {
|
56
|
+
@extend %grid_#{$i}of4;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
@for $i from 5 through 12 {
|
60
|
+
.grid-#{$i} {
|
61
|
+
@extend %grid_#{$i}of4;
|
62
|
+
}
|
63
|
+
}
|
40
64
|
}
|
41
65
|
|
42
66
|
|
67
|
+
|
68
|
+
// 24 col grid support --------------------
|
43
69
|
@for $i from 1 through 24 {
|
44
70
|
.grid-#{$i}-24 {
|
45
|
-
@extend %grid_#{$i}
|
46
|
-
|
71
|
+
@extend %grid_#{$i}of24;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
@media #{$tablet_portrait} {
|
76
|
+
@for $i from 1 through 19 {
|
77
|
+
.grid-#{$i}-24 {
|
78
|
+
@extend %grid_#{$i}of19;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
@for $i from 20 through 24 {
|
82
|
+
.grid-#{$i}-24 {
|
83
|
+
@extend %grid_#{$i}of19;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
@media #{$mobile} {
|
89
|
+
@for $i from 1 through 8 {
|
90
|
+
.grid-#{$i}-24 {
|
91
|
+
@extend %grid_#{$i}of8;
|
92
|
+
}
|
47
93
|
}
|
48
|
-
|
94
|
+
@for $i from 9 through 24 {
|
95
|
+
.grid-#{$i}-24 {
|
96
|
+
@extend %grid_#{$i}of8;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
@@ -27,7 +27,8 @@
|
|
27
27
|
}
|
28
28
|
a {
|
29
29
|
color: $white;
|
30
|
-
|
30
|
+
background-color: $bravo_gray; // Old browsers
|
31
|
+
@include background-image(linear-gradient(top, $bravo_gray 50%, $delta_gray 100%));
|
31
32
|
.no-flexbox & {
|
32
33
|
padding: 0 em(10);
|
33
34
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.5.7.
|
4
|
+
version: 0.0.5.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dale Sande
|
@@ -72,7 +72,6 @@ files:
|
|
72
72
|
- stylesheets/stipe/doc-src/grids.md
|
73
73
|
- stylesheets/stipe/forms/_extends.scss
|
74
74
|
- stylesheets/stipe/forms/_mixins.scss
|
75
|
-
- stylesheets/stipe/gradients/_extends.scss
|
76
75
|
- stylesheets/stipe/gradients/mixins/_area_51.scss
|
77
76
|
- stylesheets/stipe/gradients/mixins/_linear_gradient_bkgimage.scss
|
78
77
|
- stylesheets/stipe/grid/_debug.scss
|
@@ -1,48 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Standardized abstract gradient color objects. NOT to be used as classes appended to a block in the HTML.
|
3
|
-
// Preferred uses include @extend .class; or repurpose the mixin within the class.
|
4
|
-
//
|
5
|
-
|
6
|
-
|
7
|
-
/////// OOCSS gradient color ////////
|
8
|
-
// ----------------------------------------------
|
9
|
-
|
10
|
-
//* Gradient color objects */
|
11
|
-
//* ----------------------- */
|
12
|
-
// %alpha_color_gradient {
|
13
|
-
// @include alpha_color_gradient;
|
14
|
-
// }
|
15
|
-
//
|
16
|
-
// %bravo_color_gradient {
|
17
|
-
// @include bravo_color_gradient;
|
18
|
-
// }
|
19
|
-
//
|
20
|
-
// %charlie_color_gradient {
|
21
|
-
// @include charlie_color_gradient;
|
22
|
-
// }
|
23
|
-
//
|
24
|
-
// %delta_color_gradient {
|
25
|
-
// @include delta_color_gradient;
|
26
|
-
// }
|
27
|
-
//
|
28
|
-
// %echo_color_gradient {
|
29
|
-
// @include echo_color_gradient;
|
30
|
-
// }
|
31
|
-
//
|
32
|
-
// %fox_color_gradient {
|
33
|
-
// @include fox_color_gradient;
|
34
|
-
// }
|
35
|
-
//
|
36
|
-
// %golf_color_gradient {
|
37
|
-
// @include golf_color_gradient;
|
38
|
-
// }
|
39
|
-
//
|
40
|
-
// %hotel_color_gradient {
|
41
|
-
// @include hotel_color_gradient;
|
42
|
-
// }
|
43
|
-
//
|
44
|
-
// %india_color_gradient {
|
45
|
-
// @include india_color_gradient;
|
46
|
-
// }
|
47
|
-
|
48
|
-
/////// OOCSS gradient color mixins ////////
|