stipe 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +13 -0
- data/lib/stipe.rb +4 -0
- data/stylesheets/stipe/_buttons.scss +0 -0
- data/stylesheets/stipe/_color.scss +7 -0
- data/stylesheets/stipe/_forms.scss +24 -0
- data/stylesheets/stipe/_gradients.scss +11 -0
- data/stylesheets/stipe/_grid.scss +59 -0
- data/stylesheets/stipe/_media.scss +14 -0
- data/stylesheets/stipe/_stipe.scss +13 -0
- data/stylesheets/stipe/_typography.scss +44 -0
- data/stylesheets/stipe/buttons/_extends.scss +13 -0
- data/stylesheets/stipe/buttons/doc-src/buttons.md +3 -0
- data/stylesheets/stipe/buttons/lib/_cupid-green.scss +54 -0
- data/stylesheets/stipe/buttons/lib/_minimal.scss +36 -0
- data/stylesheets/stipe/color/_color_math.scss +61 -0
- data/stylesheets/stipe/color/_default_color_pallet.scss +56 -0
- data/stylesheets/stipe/color/_extends.scss +222 -0
- data/stylesheets/stipe/color/_grayscale_math.scss +10 -0
- data/stylesheets/stipe/forms/_default.scss +11 -0
- data/stylesheets/stipe/forms/_extends.scss +103 -0
- data/stylesheets/stipe/forms/_mixins.scss +32 -0
- data/stylesheets/stipe/gradients/_extends.scss +48 -0
- data/stylesheets/stipe/gradients/mixins/_area_51.scss +53 -0
- data/stylesheets/stipe/gradients/mixins/_linear_gradient_bkgimage.scss +43 -0
- data/stylesheets/stipe/grid/_extends.scss +221 -0
- data/stylesheets/stipe/grid/_mixins.scss +66 -0
- data/stylesheets/stipe/grid/lib/_grid_background.scss +10 -0
- data/stylesheets/stipe/grid/lib/_grid_margin.scss +23 -0
- data/stylesheets/stipe/grid/lib/_grid_placement.scss +66 -0
- data/stylesheets/stipe/grid/lib/_push_logic.scss +52 -0
- data/stylesheets/stipe/grid/lib/_the_grid.scss +98 -0
- data/stylesheets/stipe/resets/_eric_meyer.scss +48 -0
- data/stylesheets/stipe/resets/_toadstool.scss +212 -0
- data/stylesheets/stipe/stipe/_extends.scss +42 -0
- data/stylesheets/stipe/stipe/_mixins.scss +291 -0
- data/stylesheets/stipe/toadstool/_buttons.scss +29 -0
- data/stylesheets/stipe/toadstool/_config.scss +228 -0
- data/stylesheets/stipe/toadstool/_design.scss +52 -0
- data/stylesheets/stipe/toadstool/_forms.scss +19 -0
- data/stylesheets/stipe/toadstool/_grids.scss +93 -0
- data/stylesheets/stipe/toadstool/_modules.scss +3 -0
- data/stylesheets/stipe/toadstool/_typography.scss +109 -0
- data/stylesheets/stipe/toadstool/_ui_manifest.scss +39 -0
- data/stylesheets/stipe/toadstool/_ui_patterns.scss +2 -0
- data/stylesheets/stipe/toadstool/_web_fonts.scss +32 -0
- data/stylesheets/stipe/toadstool/modules/_footer.scss +6 -0
- data/stylesheets/stipe/toadstool/modules/_header.scss +41 -0
- data/stylesheets/stipe/toadstool/modules/_main_nav.scss +46 -0
- data/stylesheets/stipe/toadstool/ui_patterns/_emBox.scss +16 -0
- data/stylesheets/stipe/toadstool/ui_patterns/_prettify.scss +118 -0
- data/stylesheets/stipe/typography/_default.scss +66 -0
- data/stylesheets/stipe/typography/_extends.scss +86 -0
- data/stylesheets/stipe/typography/_functions.scss +22 -0
- data/stylesheets/stipe/typography/_mixins.scss +105 -0
- data/stylesheets/stipe/typography/web_fonts/_font_awesome.scss +4 -0
- data/stylesheets/stipe/typography/web_fonts/_font_awesome_pua.scss +231 -0
- data/stylesheets/stipe/typography/web_fonts/_zocial.scss +3 -0
- data/stylesheets/stipe/typography/web_fonts/_zocial_characters.scss +54 -0
- metadata +135 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
//* Generic global UI objects */
|
4
|
+
//* ------------------------- */
|
5
|
+
%clearfix {
|
6
|
+
@include clearfix;
|
7
|
+
}
|
8
|
+
|
9
|
+
%standard_block_spacing {
|
10
|
+
@include standard_block_spacing;
|
11
|
+
}
|
12
|
+
|
13
|
+
%standard_hr {
|
14
|
+
@include standard_hr;
|
15
|
+
}
|
16
|
+
|
17
|
+
%standard_rounded_borders {
|
18
|
+
@include standard_rounded_border;
|
19
|
+
}
|
20
|
+
|
21
|
+
%box_sizing {
|
22
|
+
@include box_sizing;
|
23
|
+
}
|
24
|
+
|
25
|
+
// Standardized uses for box and text shadows //
|
26
|
+
//* text shadows */
|
27
|
+
//* ------------ */
|
28
|
+
%primary_text_shadow {
|
29
|
+
@include primary_text_shadow;
|
30
|
+
}
|
31
|
+
%disabled_text_shadow {
|
32
|
+
@include disabled_text_shadow;
|
33
|
+
}
|
34
|
+
|
35
|
+
//* box shadows */
|
36
|
+
//* ----------- */
|
37
|
+
%primary_box_shadow {
|
38
|
+
@include primary_box_shadow;
|
39
|
+
}
|
40
|
+
%disabled_box_shadow {
|
41
|
+
@include disabled_box_shadow;
|
42
|
+
}
|
@@ -0,0 +1,291 @@
|
|
1
|
+
// This document is not to be edited as it will be versioned
|
2
|
+
// -----------------------------------------------------------------
|
3
|
+
|
4
|
+
|
5
|
+
// This document is to house Toadstools dynamic mixins with arguments
|
6
|
+
// These mixins are not intended to be application specific
|
7
|
+
|
8
|
+
|
9
|
+
// required default value to for vendor prefix support
|
10
|
+
// -----------------------------------------------------
|
11
|
+
$prefix_defaults: -moz- -webkit- -o- -ms- '';
|
12
|
+
$webkit_support: -webkit- '';
|
13
|
+
$moz_webkit_support: -moz- -webkit- '';
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
/////// shadow arguments /////////
|
19
|
+
// -------------------------------
|
20
|
+
$shadow: #{$h-shadow / $em}em #{$v-shadow / $em}em #{$blur / $em}em;
|
21
|
+
$inset_shadow: #{$ih-shadow / $em}em #{$iv-shadow / $em}em #{$iblur / $em}em;
|
22
|
+
|
23
|
+
@mixin box_shadow ($shadow_color, $shadow, $prefixes: $prefix_defaults) {
|
24
|
+
@each $prefix in $prefixes {
|
25
|
+
#{$prefix}box-shadow: $shadow_color $shadow;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
@mixin dual_box_shadow ($shadow_color, $shadow, $inset_color, $inset_shadow, $prefixes: $prefix_defaults) {
|
30
|
+
@each $prefix in $prefixes {
|
31
|
+
#{$prefix}box-shadow: $shadow_color $shadow, inset $inset_color $inset_shadow;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
@mixin text_shadow ($shadow_color, $shadow, $prefixes: $prefix_defaults) {
|
36
|
+
@each $prefix in $prefixes {
|
37
|
+
#{$prefix}text-shadow: $shadow_color $shadow;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
/////// shadow arguments /////////
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
/////// border-radius arguments /////////
|
45
|
+
// --------------------------------------
|
46
|
+
@mixin border_radius ($border_radius, $prefixes: $webkit_support) {
|
47
|
+
@each $prefix in $prefixes {
|
48
|
+
#{$prefix}border-radius: $border_radius;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
/////// border-radius arguments /////////
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
/////// box-sizing arguments /////////
|
56
|
+
// --------------------------------------
|
57
|
+
@mixin box_sizing ($box_sizing: border-box, $prefixes: $moz_webkit_support) {
|
58
|
+
@each $prefix in $prefixes {
|
59
|
+
#{$prefix}box-sizing: $box_sizing;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
/////// box-sizing arguments /////////
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
/////////// image with gradient background ////////////
|
67
|
+
// ------------------------------------------------- //
|
68
|
+
|
69
|
+
// This tool is pretty crazy and a little complex. Purpose is to simplify the creation of dual background assets that consist of an image and a gradient background.
|
70
|
+
// This tool also requires that a gradient object be created as variables.
|
71
|
+
// Known restrictions ... images must be .png, position of background is currently hard-coded
|
72
|
+
@mixin icon_gradient_background($icon_image, $fallback_color, $w3c_color_spec, $safari_color_spec, $ie_start, $ie_stop) {
|
73
|
+
// w3c //:
|
74
|
+
@include linear_gradient_bkgimage ('#{$imgDir}#{$icon_image}.png',5% 50%, $fallback_color, $w3c_color_spec);
|
75
|
+
// legacy safari //
|
76
|
+
@include linear_gradient_bkgimage_legacy_safari ('#{$imgDir}#{$icon_image}.png', 5% 50%, $safari_color_spec);
|
77
|
+
// IE suck
|
78
|
+
@include linear_gradient_legacy_ie ($ie_start, $ie_stop);
|
79
|
+
}
|
80
|
+
|
81
|
+
// Example using this mixin
|
82
|
+
// .your_new_class {
|
83
|
+
// @include icon_gradient_background(
|
84
|
+
// $icon_image: play_icon,
|
85
|
+
// $fallback_color: $echo_color_bravo,
|
86
|
+
// $w3c_color_spec: $alpha_color_gradient_var_w3c,
|
87
|
+
// $safari_color_spec: $alpha_color_gradient_var_legacy_safari,
|
88
|
+
// $ie_start: $echo_color_delta,
|
89
|
+
// $ie_stop: $echo_color_delta);
|
90
|
+
// }
|
91
|
+
// }
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
/////// column count arguments /////////
|
96
|
+
// --------------------------------------
|
97
|
+
@mixin column_count($col_count, $col_gap, $prefixes: $prefix_defaults) {
|
98
|
+
@each $prefix in $prefixes {
|
99
|
+
#{$prefix}column-count: $col_count;
|
100
|
+
#{$prefix}column-gap: $col_gap;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
/////// column count arguments /////////
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
///////// flexbox arguments /////////
|
108
|
+
// -----------------------------------
|
109
|
+
@mixin flexbox ($width, $height, $orient: horizontal, $pack: center, $align: center, $prefixes: $prefix_defaults) {
|
110
|
+
@each $prefix in $prefixes {
|
111
|
+
display: #{$prefix}box;
|
112
|
+
#{$prefix}box-orient: $orient;
|
113
|
+
#{$prefix}box-pack: $pack;
|
114
|
+
#{$prefix}box-align: $align;
|
115
|
+
}
|
116
|
+
height: $height;
|
117
|
+
width: $width;
|
118
|
+
}
|
119
|
+
|
120
|
+
|
121
|
+
@mixin flex ($value, $prefixes: $prefix_defaults) {
|
122
|
+
@each $prefix in $prefixes {
|
123
|
+
#{$prefix}box-flex: $value;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
///////// flexbox arguments /////////
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
/////// transition arguments //////////
|
131
|
+
// http://www.w3schools.com/css3/css3_pr_transition.asp
|
132
|
+
@mixin transition ($property, $duration, $timing_function, $delay, $prefixes: $prefix_defaults) {
|
133
|
+
@each $prefix in $prefixes {
|
134
|
+
#{$prefix}transition: $property $duration $timing_function $delay;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
/////// transition arguments //////////
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
/////// transform arguments //////////
|
142
|
+
// http://www.w3schools.com/css3/css3_pr_transform.asp
|
143
|
+
@mixin transform ($function, $prefixes: $prefix_defaults) {
|
144
|
+
@each $prefix in $prefixes {
|
145
|
+
#{$prefix}transform: $function;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
/////// transform arguments //////////
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
////////// style placeholder text //////////
|
153
|
+
@mixin placeholder_styles ($color) {
|
154
|
+
color: $color;
|
155
|
+
}
|
156
|
+
|
157
|
+
@mixin placeholder ($color) {
|
158
|
+
&::-webkit-input-placeholder {
|
159
|
+
@include placeholder_styles ($color);
|
160
|
+
}
|
161
|
+
&:-moz-placeholder {
|
162
|
+
@include placeholder_styles ($color);
|
163
|
+
}
|
164
|
+
&:-ms-input-placeholder {
|
165
|
+
@include placeholder_styles ($color);
|
166
|
+
}
|
167
|
+
}
|
168
|
+
////////// style placeholder text //////////
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
////////////// hide text ////////////
|
173
|
+
// Kellum Method
|
174
|
+
// http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/
|
175
|
+
@mixin hide_text {
|
176
|
+
text-indent: 100%;
|
177
|
+
white-space: nowrap;
|
178
|
+
overflow: hidden;
|
179
|
+
}
|
180
|
+
////////////// hide text ////////////
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
/////// clearfix //////////
|
185
|
+
@mixin clearfix () {
|
186
|
+
zoom: 1;
|
187
|
+
&:before {
|
188
|
+
content: "\0020";
|
189
|
+
display: block;
|
190
|
+
height: 0;
|
191
|
+
overflow: hidden;
|
192
|
+
}
|
193
|
+
&:after {
|
194
|
+
content: "\0020";
|
195
|
+
display: block;
|
196
|
+
height: 0;
|
197
|
+
overflow: hidden;
|
198
|
+
clear: both;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
/////// clearfix //////////
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
///////// inset border /////////
|
206
|
+
@mixin inset_border () {
|
207
|
+
@include box_shadow(inset 0 0 1px, $alpha_gray);
|
208
|
+
}
|
209
|
+
///////// inset border /////////
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
/////// center text trick /////////
|
214
|
+
// ---------------------------------
|
215
|
+
// By setting the height of the block element and the line-height to the same value
|
216
|
+
// this will typically center the text in the block.
|
217
|
+
// If for some reason this needs adjustment, set a new value for the $line_height.
|
218
|
+
//
|
219
|
+
//
|
220
|
+
@mixin center_text ($block_height, $line_height: $block_height) {
|
221
|
+
height: $block_height;
|
222
|
+
line-height: $line-height;
|
223
|
+
}
|
224
|
+
/////// center text trick /////////
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
// a standardized border radius
|
229
|
+
// ----------------------------
|
230
|
+
@mixin standard_rounded_border ($standard_round_corner, $standard_border_style, $standard_corner_width, $standard_border_color) {
|
231
|
+
@include border_radius(#{$standard_round_corner / $em}rem);
|
232
|
+
border: $standard_corner_width $standard_border_style $standard_border_color;
|
233
|
+
}
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
// This mixin is used for a linear layout of LIs versus using floats
|
238
|
+
// Build off of the ``flexbox`` mixin, this tool allows for quick
|
239
|
+
// development of a ul/li layout using flexbox
|
240
|
+
// -----------------------------------------------------------------
|
241
|
+
@mixin ul_flexbox ($width :100%, $height: auto, $text_align :center) {
|
242
|
+
ul {
|
243
|
+
@include flexbox (horizontal, center, stretch, $width, $height);
|
244
|
+
}
|
245
|
+
li {
|
246
|
+
@include flex(1);
|
247
|
+
text-align: $text_align;
|
248
|
+
height: $height;
|
249
|
+
line-height: $height;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
|
253
|
+
|
254
|
+
// Standard block clear and default spacing
|
255
|
+
// This tool is designed to be a standard spacing element between markup blocks.
|
256
|
+
// The only value to be adjusted is the margin-bottom spacing. This is an argument addressed
|
257
|
+
// in the ``_config.scss`` file
|
258
|
+
@mixin standard_block_spacing ($default_block_spacing) {
|
259
|
+
@include clearfix;
|
260
|
+
margin-bottom: #{$default_block_spacing / $em}em;
|
261
|
+
}
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
// This mixin allows for quick application of a UI to the <hr> tag
|
266
|
+
// All values are set in the ``_config.scss`` file
|
267
|
+
@mixin standard_hr ($standard_border_style, $standard_hr_width, $standard_hr_spacing, $standard_hr_color){
|
268
|
+
border-bottom: $standard_hr_width $standard_border_style $standard_hr_color;
|
269
|
+
padding-bottom: #{$standard_hr_spacing / $em}rem;
|
270
|
+
margin-bottom: #{$standard_hr_spacing / $em}rem;
|
271
|
+
}
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
// This series of mixins sets default values for consistant use of text and box shadows
|
276
|
+
// throughout your site. Values are set in the ``_config.scss`` file
|
277
|
+
@mixin primary_text_shadow ($h-shadow, $v-shadow, $blur ) {
|
278
|
+
@include text_shadow ($shadow_color, #{$h-shadow / $em}em #{$v-shadow / $em}em #{$blur / $em}em);
|
279
|
+
}
|
280
|
+
|
281
|
+
@mixin disabled_text_shadow ($h-shadow, $v-shadow, $blur ) {
|
282
|
+
@include text_shadow (fade-out($shadow_color, 0.5), #{$h-shadow / $em}em #{$v-shadow / $em}em #{$blur / $em}em);
|
283
|
+
}
|
284
|
+
|
285
|
+
@mixin primary_box_shadow ($h-shadow, $v-shadow, $blur ) {
|
286
|
+
@include box_shadow ($shadow_color, #{$h-shadow / $em}em #{$v-shadow / $em}em #{$blur / $em}em);
|
287
|
+
}
|
288
|
+
|
289
|
+
@mixin disabled_box_shadow ($h-shadow, $v-shadow, $blur ) {
|
290
|
+
@include box_shadow (fade-out($shadow_color, 0.4), #{$h-shadow / $em}em #{$v-shadow / $em}em #{$blur / $em}em);
|
291
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
[class*="toadstool"] {
|
2
|
+
.nav_toggle { //background: -webkit-linear-gradient(to bottom, #7d7e7d 0%,#0e0e0e 100%);
|
3
|
+
//@include linear_gradient_w3c (#7d7e7d, #{#7d7e7d 0%, #0e0e0e 100%});
|
4
|
+
@include linear_gradient_w3c ($alpha_gray, #{$delta_gray 0%, $alpha_gray 100%});
|
5
|
+
&:hover {
|
6
|
+
@include linear_gradient_w3c ($alpha_gray, #{$alpha_gray 0%, $delta_gray 100%});
|
7
|
+
border-color: $alpha_gray;
|
8
|
+
box-shadow: 0 0 0;
|
9
|
+
}
|
10
|
+
text-shadow: 0 0 0;
|
11
|
+
box-shadow: 0 0 0;
|
12
|
+
border-color: $alpha_gray;
|
13
|
+
float: right;
|
14
|
+
display: none;
|
15
|
+
@media #{$mobile} {
|
16
|
+
display: block;
|
17
|
+
width: auto;
|
18
|
+
padding: em(15) em(10) em(10) em(10);
|
19
|
+
font-weight: normal;
|
20
|
+
span {
|
21
|
+
&:after {
|
22
|
+
content: "\f00b";
|
23
|
+
font-family: $icon_font_alpha;
|
24
|
+
font-size: 2em;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,228 @@
|
|
1
|
+
// The config file is intended to allow users to quickly redefine core elements of the design
|
2
|
+
// that will cascade throughout the css to get your design up and running FAST!
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
///// Typography configuration /////
|
7
|
+
// -----------------------------------------------------------------------------
|
8
|
+
// $font_size: 12;
|
9
|
+
//
|
10
|
+
$heading_1: 32;
|
11
|
+
$heading_2: 24;
|
12
|
+
// $heading_3: 28;
|
13
|
+
// $heading_4: 18;
|
14
|
+
// $heading_5: 18;
|
15
|
+
// $heading_6: 18;
|
16
|
+
//
|
17
|
+
// $line: $font_size * 1.5;
|
18
|
+
//
|
19
|
+
// $small_point_size: 10;
|
20
|
+
// $large_point_size: 14;
|
21
|
+
//
|
22
|
+
// $primary_font_family: #{Arial, sans-serif};
|
23
|
+
// $secondary_font_family: #{"Helvetica Neue", Arial, sans-serif};
|
24
|
+
$heading_font_family: #{'Lato', sans-serif};
|
25
|
+
|
26
|
+
// $icon_font_alpha: #{'FontAwesome'};
|
27
|
+
// $icon_font_bravo: #{'zocial'};
|
28
|
+
|
29
|
+
|
30
|
+
///// Default webfont directory /////
|
31
|
+
// -----------------------------------------------------------------------------
|
32
|
+
// $webfont_directory: "/fonts/";
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
///// default image directory /////
|
37
|
+
// -----------------------------------------------------------------------------
|
38
|
+
// In Sinatra, the images folder resides in the public directory. This directory is not made publically accessible,
|
39
|
+
// so simply referencing the images directory will be fine.
|
40
|
+
// $imgDir: "/images/";
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
/////// OOCSS generic base colors ////////
|
45
|
+
// -----------------------------------------------------------------------------
|
46
|
+
// Red, green, yellow, blue, accent and black is not law, but a common theme in most designs.
|
47
|
+
// Using Toadstool, all you need to do is edit these 6 hex values and everything else is created
|
48
|
+
// by magic, unicorns and fairy dust!
|
49
|
+
$alpha_primary: #5a2e2e; // red
|
50
|
+
$bravo_primary: #3e4147; // green
|
51
|
+
$charlie_primary: #fffedf; // yellow
|
52
|
+
$delta_primary: #2a2c31; // blue
|
53
|
+
$echo_primary: #dfba69; // accent
|
54
|
+
//
|
55
|
+
$alpha_gray: #333; //black
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
/////// Toadstool color math ////////
|
60
|
+
// -----------------------------------------------------------------------------
|
61
|
+
// This is a bootstrap template for creating an array of colors
|
62
|
+
// If this is not for you, feel free to comment out
|
63
|
+
@import "stipe/color/default_color_pallet";
|
64
|
+
|
65
|
+
// Don't like Stipe's color pallet, no worries. Uncomment these lines and go for it!
|
66
|
+
// @import "color/color_math";
|
67
|
+
// @import "color/grayscale_math";
|
68
|
+
|
69
|
+
|
70
|
+
/////// Grid configuration ////////
|
71
|
+
// -----------------------------------------------------------------------------
|
72
|
+
// setting default units of measurement for Toadstool grid solution
|
73
|
+
// $grid_type: 12; // sets default column grid
|
74
|
+
// $grid_uom: percent; // use either ``em`` or ``percent``
|
75
|
+
// $grid_padding_lr: 0; // sets default left/right padding inside grid block
|
76
|
+
// $grid_padding_tb: 0; // sets default top/bottom padding inside grid block
|
77
|
+
// $grid_border: 0; // sets default border width on all grid blocks
|
78
|
+
// $grid_child: none; // sets parent child relationship between grid blocks
|
79
|
+
// $grid_align: default; // by default grids float left. Optional argument is ``center``
|
80
|
+
// $col_base: 10; // equal to 10px in the standard 960.gs
|
81
|
+
// $col_gutter: $col_base * 2; // sets default grid gutter width
|
82
|
+
// $grid_960: 960 / 100%; // grid math for percentages
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
/////// axle's semantic combinations ////////
|
88
|
+
// Semantic variables should always be matched up with abstract values, never semantic to semantic
|
89
|
+
// -----------------------------------------------------------------------------
|
90
|
+
|
91
|
+
// abstract 'white' value to easily applied to semantic class objects
|
92
|
+
// $white: #fff;
|
93
|
+
|
94
|
+
// default shadow colors
|
95
|
+
// $shadow_color: fade-out($alpha_gray, 0.5);
|
96
|
+
|
97
|
+
// primary header font color
|
98
|
+
// $primary_header_color: $alpha_gray;
|
99
|
+
|
100
|
+
// primary font color for the app
|
101
|
+
// $primary_text: $bravo_gray;
|
102
|
+
|
103
|
+
// default <a href="#"> link color
|
104
|
+
// $href_color: $delta_color;
|
105
|
+
// $href_color_alt: $delta_color_bravo;
|
106
|
+
|
107
|
+
// used with the <ins> tag
|
108
|
+
// http://www.w3schools.com/tags/tag_ins.asp
|
109
|
+
// $ins_color: $charlie_color;
|
110
|
+
|
111
|
+
// used with the <mark> tag
|
112
|
+
// http://www.w3schools.com/html5/tag_mark.asp
|
113
|
+
// $mark_color: $charlie_color;
|
114
|
+
|
115
|
+
// webkit tap highlight color
|
116
|
+
// $webkit_tap_hightlight: $delta_color_bravo;
|
117
|
+
|
118
|
+
// overrides the default content selection color in the browser
|
119
|
+
// $selection_color: $charlie_color;
|
120
|
+
// $selection_text_color: $primary_text;
|
121
|
+
|
122
|
+
// default border color
|
123
|
+
// $border_color: $charlie_gray;
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
// Config defaults for forms
|
128
|
+
// -----------------------------------------------------------------------------
|
129
|
+
// $alert_background_color: $alpha_color;
|
130
|
+
|
131
|
+
// $input_disabled: $bravo_gray;
|
132
|
+
// $input_disabled_bkg: lighten($input_disabled, 75%);
|
133
|
+
// $input_disabled_border: lighten($input_disabled, 50%);
|
134
|
+
// $input_disabled_text: lighten($input_disabled, 50%);
|
135
|
+
//
|
136
|
+
// $form_field_background_color: $white;
|
137
|
+
// $form_field_focus_color: $white;
|
138
|
+
// $form_field_fail_bkg: $white;
|
139
|
+
//
|
140
|
+
// $form_field_border: $charlie_gray;
|
141
|
+
// $form_field_border_fail: $alpha_color;
|
142
|
+
// $form_field_focus_border_color: $charlie_gray;
|
143
|
+
//
|
144
|
+
// $form_field_text: $primary_text;
|
145
|
+
// $error_text: $alpha_color;
|
146
|
+
// $form_field_fail: $alpha_color;
|
147
|
+
// $form_field_text_fail: $alpha_color;
|
148
|
+
// $instructional_text: $charlie_gray;
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
// Config defaults for buttons
|
153
|
+
// -----------------------------------------------------------------------------
|
154
|
+
// $primary_button_border_color: $bravo_color;
|
155
|
+
// $secondary_button_border_color: $bravo_gray;
|
156
|
+
// $button_text: $white;
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
// Config defaults for ``standard_rounded_border`` mixin
|
161
|
+
// -----------------------------------------------------------------------------
|
162
|
+
$standard_round_corner: 3; // sets default border radius
|
163
|
+
$standard_corner_width: 1px; // sets default border width
|
164
|
+
$standard_border_color: $border_color; // sets default border color
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
// Config defaults for ``standard_block_spacing`` mixin
|
169
|
+
// -----------------------------------------------------------------------------
|
170
|
+
$default_block_spacing: 20; // sets margin-bottom
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
// Config defaults for site border style
|
175
|
+
// -----------------------------------------------------------------------------
|
176
|
+
$standard_border_style: solid;
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
// Config defaults for ``standard_hr`` mixin
|
181
|
+
// -----------------------------------------------------------------------------
|
182
|
+
$standard_hr_spacing: 40; // sets padding and margin bottom
|
183
|
+
$standard_hr_color: $delta_gray;
|
184
|
+
$standard_hr_width: 1px;
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
// Config values for all default shadows
|
189
|
+
// -----------------------------------------------------------------------------
|
190
|
+
$h-shadow: 0; // horizontal shadow settings
|
191
|
+
$v-shadow: 2; // vertical shaddow settings
|
192
|
+
$blur: 3; // blur settings
|
193
|
+
|
194
|
+
$inset_color: $shadow_color; // for use with ``dual_box_shadow`` mixin
|
195
|
+
$ih-shadow: 0; // inset horizontal shadow settings
|
196
|
+
$iv-shadow: 2; // inset vertical shaddow settings
|
197
|
+
$iblur: 3; // inset blur settings
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
/////////////// UI @media breakpoint defaults ////////////////
|
203
|
+
// -----------------------------------------------------------------------------
|
204
|
+
// $tablet: "screen and (max-width: 64em)";
|
205
|
+
// $tablet_portrait: "screen and (max-width: 50em) and (orientation: portrait)";
|
206
|
+
// $tablet_landscape: "screen and (max-width: 50em) and (orientation: landscape)";
|
207
|
+
//
|
208
|
+
// $mobile: "screen and (max-width: 30em)";
|
209
|
+
// $mobile_portrait: "screen and (max-width: 30em) and (orientation : portrait)";
|
210
|
+
// $mobile_landscape: "screen and (max-width: 30em) and (orientation : landscape)";
|
211
|
+
|
212
|
+
|
213
|
+
// Compass function for creating grid background
|
214
|
+
// -----------------------------------------------------------------------------
|
215
|
+
// @import "compass/layout/grid-background";
|
216
|
+
// $grid-background-total-columns: 12;
|
217
|
+
// $grid-background-column-width: 60px;
|
218
|
+
// $grid-background-gutter-width: 20px;
|
219
|
+
// $grid-background-offset: 10px;
|
220
|
+
// $grid-background-column-color: scale-color($echo_primary,$lightness:80%);
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|