stipe 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/README.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
#Stipe Compass Extension
|
2
|
+
While developing the Toadstool Styleguide framework I realized that we were beginning to build a core series of mixins. It is this core that is the constant between deployments of the Toadstool framework. To better manage this we are in the process of treating this library as a Compass extension and soon to be gem.
|
3
|
+
|
4
|
+
##Please don't mind the mess ...
|
5
|
+
This is a work in progress, if you are following along at home, pull master a lot :D
|
6
|
+
|
7
|
+
This project is in rapid development Stipe has not yet been processed into a Gem. Until such time, you need to clone the Stipe project into a sibling directory from the Toadstool project.
|
8
|
+
|
9
|
+
projects
|
10
|
+
-- stipe
|
11
|
+
-- toadstool
|
12
|
+
|
13
|
+
To make use of the Stipe gem in it's interim state, there is a secondary `Gemfile.local` file that contains a route to the in-development Stipe library. Using Bundler, run this command `bundle --gemfile Gemfile.local`
|
data/lib/stipe.rb
ADDED
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// form colors
|
2
|
+
$alert_background_color: $alpha_color !default;
|
3
|
+
|
4
|
+
$input_disabled: $bravo_gray !default;
|
5
|
+
$input_disabled_bkg: lighten($input_disabled, 75%) !default;
|
6
|
+
$input_disabled_border: lighten($input_disabled, 50%) !default;
|
7
|
+
$input_disabled_text: lighten($input_disabled, 50%) !default;
|
8
|
+
|
9
|
+
$form_field_background_color: $white !default;
|
10
|
+
$form_field_focus_color: $white !default;
|
11
|
+
$form_field_fail_bkg: $white !default;
|
12
|
+
|
13
|
+
$form_field_border: $charlie_gray !default;
|
14
|
+
$form_field_border_fail: $alpha_color !default;
|
15
|
+
$form_field_focus_border_color: $charlie_gray !default;
|
16
|
+
|
17
|
+
$form_field_text: $primary_text !default;
|
18
|
+
$error_text: $alpha_color !default;
|
19
|
+
$form_field_fail: $alpha_color !default;
|
20
|
+
$form_field_text_fail: $alpha_color !default;
|
21
|
+
$instructional_text: $charlie_gray !default;
|
22
|
+
|
23
|
+
@import "forms/mixins";
|
24
|
+
@import "forms/extends";
|
@@ -0,0 +1,11 @@
|
|
1
|
+
// Toadstool core v0.0.0.1
|
2
|
+
// This document is not to be edited as it will be versioned
|
3
|
+
// -----------------------------------------------------------------
|
4
|
+
|
5
|
+
// @import "gradients/mixins/color_gradients";
|
6
|
+
|
7
|
+
// This is where new magic may come from
|
8
|
+
@import "gradients/mixins/area_51";
|
9
|
+
@import "gradients/mixins/linear_gradient_bkgimage";
|
10
|
+
|
11
|
+
@import "gradients/extends";
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// Toadstool core v0.0.0.1
|
2
|
+
// This document is not to be edited as it will be versioned
|
3
|
+
// -----------------------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// ...............
|
7
|
+
// 960 GRID SYSTEM
|
8
|
+
// ...............
|
9
|
+
//
|
10
|
+
// Created by Nathan Smith. See the official site for more info: http://960.gs/
|
11
|
+
//
|
12
|
+
// GPL license:
|
13
|
+
// http://www.gnu.org/licenses/gpl.html
|
14
|
+
//
|
15
|
+
// MIT license:
|
16
|
+
// http://www.opensource.org/licenses/mit-license.php
|
17
|
+
// ---------------------------------------------------------------------------
|
18
|
+
|
19
|
+
// ......................
|
20
|
+
// Toadstool Grid System
|
21
|
+
// ......................
|
22
|
+
//
|
23
|
+
// Created by Dale Sande
|
24
|
+
//
|
25
|
+
// ---------------------------------------------------------------------------
|
26
|
+
|
27
|
+
|
28
|
+
// setting default units of measurement for Toadstool grid solution
|
29
|
+
// -----------------------------------------------------------------
|
30
|
+
$grid_type: 12 !default; // sets default column grid
|
31
|
+
$grid_context: 12 !default; // sets default context of grid width for percentage calculations
|
32
|
+
$grid_uom: percent !default; // use either ``em`` or ``percent``
|
33
|
+
$grid_padding_lr: 0 !default; // sets default left/right padding inside grid block
|
34
|
+
$grid_padding_tb: 0 !default; // sets default top/bottom padding inside grid block
|
35
|
+
$grid_border: 0 !default; // sets default border width on all grid blocks
|
36
|
+
$grid_child: none !default; // sets parent child relationship between grid blocks
|
37
|
+
$grid_align: default !default; // by default grids float left. Optional argument is ``center``
|
38
|
+
$col_base: 10 !default; // equal to 10px in the standard 960.gs
|
39
|
+
$col_gutter: $col_base * 2 !default; // sets default grid gutter width
|
40
|
+
$grid_960: 960 / 100% !default; // grid math for percentages
|
41
|
+
|
42
|
+
|
43
|
+
// the_grid calculates all the variables to define with width of the grid column
|
44
|
+
@import "grid/lib/the_grid";
|
45
|
+
|
46
|
+
// grid_placement based on $child will define alpha or omega placement
|
47
|
+
@import "grid/lib/grid_placement";
|
48
|
+
|
49
|
+
// grid_margin applies $margin_calc from grid_placement
|
50
|
+
@import "grid/lib/grid_margin";
|
51
|
+
|
52
|
+
// Logic support for Push, Pull, Prefix and Suffix
|
53
|
+
@import "grid/lib/push_logic";
|
54
|
+
|
55
|
+
// The mixins that make this grid thing work
|
56
|
+
@import "grid/mixins";
|
57
|
+
|
58
|
+
// The extends that make it awesome
|
59
|
+
// @import "grid/extends";
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// media query support
|
2
|
+
// -----------------------------------------------------
|
3
|
+
|
4
|
+
// I have found that for most designs, the primary breakpoints are with $tablet_portrait first then $mobile.
|
5
|
+
|
6
|
+
$mobile: "screen and (max-width: 40em)" !default;
|
7
|
+
$mobile_portrait: "screen and (max-width: 40em) and (orientation : portrait)" !default;
|
8
|
+
$mobile_landscape: "screen and (max-width: 40em) and (orientation : landscape)" !default;
|
9
|
+
|
10
|
+
$tablet: "screen and (max-width: 64em)" !default;
|
11
|
+
$tablet_portrait: "screen and (max-width: 64em) and (orientation: portrait)" !default;
|
12
|
+
$tablet_landscape: "screen and (max-width: 64em) and (orientation: landscape)" !default;
|
13
|
+
|
14
|
+
$desktop: "screen and (max-width: 120em) and (min-width: 50em)" !default;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// Base variables
|
2
|
+
|
3
|
+
$imgDir: "/images/" !default;
|
4
|
+
|
5
|
+
$font_size: 12 !default;
|
6
|
+
$line: $font_size * 1.5 !default;
|
7
|
+
|
8
|
+
//// !do not edit! ////
|
9
|
+
$em: $font_size; // $em ALWAYS == $font-size
|
10
|
+
$line_height: #{$line / $em}em;
|
11
|
+
|
12
|
+
@import "stipe/mixins";
|
13
|
+
@import "stipe/extends";
|
@@ -0,0 +1,44 @@
|
|
1
|
+
// * ------------------
|
2
|
+
// Type defaults
|
3
|
+
// * ------------------
|
4
|
+
// only need to edit default font size and family, magical SASS takes care of the rest
|
5
|
+
$font_size: 12 !default;
|
6
|
+
|
7
|
+
$heading_1: 46 !default;
|
8
|
+
$heading_2: 32 !default;
|
9
|
+
$heading_3: 28 !default;
|
10
|
+
$heading_4: 18 !default;
|
11
|
+
$heading_5: 18 !default;
|
12
|
+
$heading_6: 18 !default;
|
13
|
+
|
14
|
+
$small_point_size: 10 !default;
|
15
|
+
$large_point_size: 14 !default;
|
16
|
+
|
17
|
+
$line: $font_size * 1.5 !default;
|
18
|
+
|
19
|
+
$primary_font_family: #{Arial, sans-serif} !default;
|
20
|
+
$secondary_font_family: #{"Helvetica Neue", Arial, sans-serif} !default;
|
21
|
+
$heading_font_family: #{"Helvetica Neue", Arial, sans-serif} !default;
|
22
|
+
|
23
|
+
$icon_font_alpha: #{'FontAwesome'} !default;
|
24
|
+
$icon_font_bravo: #{'zocial'} !default;
|
25
|
+
|
26
|
+
// Headings default arguments
|
27
|
+
$heading_size: $heading_1 !default;
|
28
|
+
$heading_font_family: $heading_font_family !default;
|
29
|
+
$heading_color: $primary_header_color !default;
|
30
|
+
$heading_font_weight: normal !default;
|
31
|
+
|
32
|
+
//// !do not edit! ////
|
33
|
+
$em: $font_size; // $em ALWAYS == $font-size
|
34
|
+
$line_height: #{$line / $em}em;
|
35
|
+
|
36
|
+
|
37
|
+
// *-------------------------------------------------------------------------------
|
38
|
+
// intent of the 'text' SCSS is that all essential text elements for the application are placed here
|
39
|
+
// individual element styling will be addressed in element name spaced SCSS files
|
40
|
+
// *-------------------------------------------------------------------------------
|
41
|
+
|
42
|
+
@import "typography/functions";
|
43
|
+
@import "typography/mixins";
|
44
|
+
@import "typography/extends";
|
@@ -0,0 +1,54 @@
|
|
1
|
+
$cupid_background: #7fbf4d !default;
|
2
|
+
$cupid_gradient: $cupid_background 0%, #63a62f 100% !default;
|
3
|
+
$cupid_background_hover: darken($cupid_background, 4) !default;
|
4
|
+
$cupid_gradient_hover: $cupid_background_hover 0%, #5e9e2e 100% !default;
|
5
|
+
$cupid_border_color: #63a62f #63a62f #5b992b #63a62f !default;
|
6
|
+
$cupid_border_radius: em(3) !default;
|
7
|
+
$cupid_inset_box_shadow: #96ca6d !default;
|
8
|
+
$cupid_inset_box_shadow_hover: #8dbf67 !default;
|
9
|
+
$cupid_inset_box_shadow_active: #548c29 !default;
|
10
|
+
$cupid_text_color: #fff !default;
|
11
|
+
$cupid_text_weight: bold !default;
|
12
|
+
$cupid_font_family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif !default;
|
13
|
+
$cupid_font_size: em(12) !default;
|
14
|
+
$cupid_padding: em(7) 0 em(8) 0 !default;
|
15
|
+
$cupid_text_shadow_color: #4c9021 !default;
|
16
|
+
$cupid_width: em(150) !default;
|
17
|
+
|
18
|
+
%cupid-green {
|
19
|
+
@include linear_gradient_w3c ($cupid_background, #{$cupid_gradient});
|
20
|
+
border-width: 1px;
|
21
|
+
border-style: solid;
|
22
|
+
border-color: $cupid_border_color;
|
23
|
+
@include border_radius($cupid_border_radius);
|
24
|
+
@include box_shadow(inset 0 1px 0 0, $cupid_inset_box_shadow);
|
25
|
+
color: $cupid_text_color;
|
26
|
+
font: $cupid_text_weight $cupid_font_size #{$cupid_font_family};
|
27
|
+
line-height: 1em;
|
28
|
+
padding: $cupid_padding;
|
29
|
+
text-align: center;
|
30
|
+
text-shadow: 0 -1px 0 $cupid_text_shadow_color;
|
31
|
+
width: $cupid_width;
|
32
|
+
&:hover {
|
33
|
+
@include linear_gradient_w3c ($cupid_background_hover, #{$cupid_gradient_hover});
|
34
|
+
@include box_shadow(inset 0 1px 0 0, $cupid_inset_box_shadow_hover);
|
35
|
+
cursor: pointer;
|
36
|
+
}
|
37
|
+
&:active {
|
38
|
+
border-width: 1px;
|
39
|
+
border-style: solid;
|
40
|
+
border-color: darken(nth($cupid_border_color, 4), 5);
|
41
|
+
@include box_shadow(inset 0 0 8px 4px, $cupid_inset_box_shadow_active);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
$minimal_background: #e3e3e3 !default;
|
2
|
+
$minimal_border_color: #bbb !default;
|
3
|
+
$minimal_border_radius: em(3);
|
4
|
+
$minimal_inset_shadow_color: #f6f6f6 !default;
|
5
|
+
$minimal_font_color: #333 !default;
|
6
|
+
$minimal_font_weight: bold !default;
|
7
|
+
$minimal_font_size: em(12) !default;
|
8
|
+
$minimal_font_family: "helvetica neue", helvetica, arial, sans-serif !default;
|
9
|
+
$minimal_padding: em(8) 0 em(9) !default;
|
10
|
+
$minimal_text_shadow: 0 1px 0 #fff !default;
|
11
|
+
$minimal_width: em(150) !default;
|
12
|
+
|
13
|
+
|
14
|
+
%minimal {
|
15
|
+
background: $minimal_background;
|
16
|
+
border: 1px solid $minimal_border_color;
|
17
|
+
@include border_radius($minimal_border_radius);
|
18
|
+
@include box_shadow(inset 0 0 1px 1px, $minimal_inset_shadow_color);
|
19
|
+
color: $minimal_font_color;
|
20
|
+
font: $minimal_font_weight $minimal_font_size #{$minimal_font_family};
|
21
|
+
line-height: 1em;
|
22
|
+
padding: $minimal_padding;
|
23
|
+
text-align: center;
|
24
|
+
text-shadow: $minimal_text_shadow;
|
25
|
+
width: $minimal_width;
|
26
|
+
&:hover {
|
27
|
+
background: darken($minimal_background, 5);
|
28
|
+
@include box_shadow(inset 0 0 1px 1px, darken($minimal_inset_shadow_color, 5));
|
29
|
+
color: darken($minimal_font_color, 7);
|
30
|
+
cursor: pointer;
|
31
|
+
}
|
32
|
+
&:active {
|
33
|
+
background: darken($minimal_background, 8);
|
34
|
+
@include box_shadow(inset 0 0 1px 1px, darken($minimal_inset_shadow_color, 5));
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
$alpha_color:$alpha_primary !default;
|
2
|
+
$alpha_color_bravo:scale-color($alpha_color,$lightness:10%) !default;
|
3
|
+
$alpha_color_charlie:scale-color($alpha_color,$lightness:20%) !default;
|
4
|
+
$alpha_color_delta:scale-color($alpha_color,$lightness:30%) !default;
|
5
|
+
$alpha_color_echo:scale-color($alpha_color,$lightness:40%) !default;
|
6
|
+
$alpha_color_fox:scale-color($alpha_color,$lightness:50%) !default;
|
7
|
+
$alpha_color_golf:scale-color($alpha_color,$lightness:60%) !default;
|
8
|
+
$alpha_color_hotel:scale-color($alpha_color,$lightness:70%) !default;
|
9
|
+
$alpha_color_india:scale-color($alpha_color,$lightness:80%) !default;
|
10
|
+
$alpha_color_juliet:scale-color($alpha_color,$lightness:90%) !default;
|
11
|
+
|
12
|
+
$bravo_color:$bravo_primary !default;
|
13
|
+
$bravo_color_bravo:scale-color($bravo_color,$lightness:10%) !default;
|
14
|
+
$bravo_color_charlie:scale-color($bravo_color,$lightness:20%) !default;
|
15
|
+
$bravo_color_delta:scale-color($bravo_color,$lightness:30%) !default;
|
16
|
+
$bravo_color_echo:scale-color($bravo_color,$lightness:40%) !default;
|
17
|
+
$bravo_color_fox:scale-color($bravo_color,$lightness:50%) !default;
|
18
|
+
$bravo_color_golf:scale-color($bravo_color,$lightness:60%) !default;
|
19
|
+
$bravo_color_hotel:scale-color($bravo_color,$lightness:70%) !default;
|
20
|
+
$bravo_color_india:scale-color($bravo_color,$lightness:80%) !default;
|
21
|
+
$bravo_color_juliet:scale-color($bravo_color,$lightness:90%) !default;
|
22
|
+
|
23
|
+
$charlie_color:$charlie_primary !default;
|
24
|
+
$charlie_color_bravo:scale-color($charlie_color,$lightness:10%) !default;
|
25
|
+
$charlie_color_charlie:scale-color($charlie_color,$lightness:20%) !default;
|
26
|
+
$charlie_color_delta:scale-color($charlie_color,$lightness:30%) !default;
|
27
|
+
$charlie_color_echo:scale-color($charlie_color,$lightness:40%) !default;
|
28
|
+
$charlie_color_fox:scale-color($charlie_color,$lightness:50%) !default;
|
29
|
+
$charlie_color_golf:scale-color($charlie_color,$lightness:60%) !default;
|
30
|
+
$charlie_color_hotel:scale-color($charlie_color,$lightness:70%) !default;
|
31
|
+
$charlie_color_india:scale-color($charlie_color,$lightness:80%) !default;
|
32
|
+
$charlie_color_juliet:scale-color($charlie_color,$lightness:90%) !default;
|
33
|
+
|
34
|
+
$delta_color:$delta_primary !default;
|
35
|
+
$delta_color_bravo:scale-color($delta_color,$lightness:10%) !default;
|
36
|
+
$delta_color_charlie:scale-color($delta_color,$lightness:20%) !default;
|
37
|
+
$delta_color_delta:scale-color($delta_color,$lightness:30%) !default;
|
38
|
+
$delta_color_echo:scale-color($delta_color,$lightness:40%) !default;
|
39
|
+
$delta_color_fox:scale-color($delta_color,$lightness:50%) !default;
|
40
|
+
$delta_color_golf:scale-color($delta_color,$lightness:60%) !default;
|
41
|
+
$delta_color_hotel:scale-color($delta_color,$lightness:70%) !default;
|
42
|
+
$delta_color_india:scale-color($delta_color,$lightness:80%) !default;
|
43
|
+
$delta_color_juliet:scale-color($delta_color,$lightness:90%) !default;
|
44
|
+
|
45
|
+
$echo_color:$echo_primary !default;
|
46
|
+
$echo_color_bravo:scale-color($echo_color,$lightness:10%) !default;
|
47
|
+
$echo_color_charlie:scale-color($echo_color,$lightness:20%) !default;
|
48
|
+
$echo_color_delta:scale-color($echo_color,$lightness:30%) !default;
|
49
|
+
$echo_color_echo:scale-color($echo_color,$lightness:40%) !default;
|
50
|
+
$echo_color_fox:scale-color($echo_color,$lightness:50%) !default;
|
51
|
+
$echo_color_golf:scale-color($echo_color,$lightness:60%) !default;
|
52
|
+
$echo_color_hotel:scale-color($echo_color,$lightness:70%) !default;
|
53
|
+
$echo_color_india:scale-color($echo_color,$lightness:80%) !default;
|
54
|
+
$echo_color_juliet:scale-color($echo_color,$lightness:90%) !default;
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
//
|
2
|
+
// Standardized abstract 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
|
+
$alpha_primary: #ec0036 !default; // red
|
7
|
+
$bravo_primary: #299505 !default; // green
|
8
|
+
$charlie_primary: #ffff87 !default; // yellow
|
9
|
+
$delta_primary: #2c46b7 !default; // blue
|
10
|
+
$echo_primary: #fc6432 !default; // accent
|
11
|
+
|
12
|
+
$alpha_gray: #000 !default; //black
|
13
|
+
|
14
|
+
|
15
|
+
@import "color_math";
|
16
|
+
@import "grayscale_math";
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
/////// Toadstool's semantic combinations ////////
|
21
|
+
// Semantic variables should always be matched up with abstract values, never semantic to semantic
|
22
|
+
// ---------------------------------------------------------------------------------------------------
|
23
|
+
|
24
|
+
// abstract 'white' value to easily applied to semantic class objects
|
25
|
+
$white: #fff !default;
|
26
|
+
|
27
|
+
// default shadow colors
|
28
|
+
$shadow_color: fade-out($alpha_gray, 0.5) !default;
|
29
|
+
|
30
|
+
// primary header font color
|
31
|
+
$primary_header_color: $alpha_gray !default;
|
32
|
+
|
33
|
+
// primary font color for the app
|
34
|
+
$primary_text: $bravo_gray !default;
|
35
|
+
|
36
|
+
// default <a href="#"> link color
|
37
|
+
$href_color: $delta_color !default;
|
38
|
+
$href_color_alt: $delta_color_bravo !default;
|
39
|
+
|
40
|
+
// used with the <ins> tag
|
41
|
+
// http://www.w3schools.com/tags/tag_ins.asp
|
42
|
+
$ins_color: $charlie_color !default;
|
43
|
+
|
44
|
+
// used with the <mark> tag
|
45
|
+
// http://www.w3schools.com/html5/tag_mark.asp
|
46
|
+
$mark_color: $charlie_color !default;
|
47
|
+
|
48
|
+
// webkit tap highlight color
|
49
|
+
$webkit_tap_hightlight: $delta_color_bravo !default;
|
50
|
+
|
51
|
+
// overrides the default content selection color in the browser
|
52
|
+
$selection_color: $charlie_color !default;
|
53
|
+
$selection_text_color: $primary_text !default;
|
54
|
+
|
55
|
+
// default border color
|
56
|
+
$border_color: $charlie_gray !default;
|
@@ -0,0 +1,222 @@
|
|
1
|
+
/////// OOCSS color blocks ////////
|
2
|
+
// ----------------------------------------------
|
3
|
+
|
4
|
+
//* Standard grayscale objects */
|
5
|
+
//* -------------------------- */
|
6
|
+
%white {
|
7
|
+
background-color: $white;
|
8
|
+
}
|
9
|
+
|
10
|
+
%alpha_gray {
|
11
|
+
background-color: $alpha_gray;
|
12
|
+
}
|
13
|
+
|
14
|
+
%bravo_gray {
|
15
|
+
background-color: $bravo_gray;
|
16
|
+
}
|
17
|
+
|
18
|
+
%charlie_gray {
|
19
|
+
background-color: $charlie_gray;
|
20
|
+
}
|
21
|
+
|
22
|
+
%delta_gray {
|
23
|
+
background-color: $delta_gray;
|
24
|
+
}
|
25
|
+
|
26
|
+
%echo_gray {
|
27
|
+
background-color: $echo_gray;
|
28
|
+
}
|
29
|
+
|
30
|
+
%fox_gray {
|
31
|
+
background-color: $fox_gray;
|
32
|
+
}
|
33
|
+
|
34
|
+
%golf_gray {
|
35
|
+
background-color: $golf_gray;
|
36
|
+
}
|
37
|
+
|
38
|
+
%hotel_gray {
|
39
|
+
background-color: $hotel_gray;
|
40
|
+
}
|
41
|
+
|
42
|
+
%india_gray {
|
43
|
+
background-color: $india_gray;
|
44
|
+
}
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
//* Standard color objects */
|
49
|
+
//* ---------------------- */
|
50
|
+
%alpha_color {
|
51
|
+
background-color: $alpha_color;
|
52
|
+
}
|
53
|
+
%alpha_color_bravo {
|
54
|
+
background-color: $alpha_color_bravo;
|
55
|
+
}
|
56
|
+
%alpha_color_charlie {
|
57
|
+
background-color: $alpha_color_charlie;
|
58
|
+
}
|
59
|
+
%alpha_color_delta {
|
60
|
+
background-color: $alpha_color_delta;
|
61
|
+
}
|
62
|
+
%alpha_color_echo {
|
63
|
+
background-color: $alpha_color_echo;
|
64
|
+
}
|
65
|
+
%alpha_color_fox {
|
66
|
+
background-color: $alpha_color_fox;
|
67
|
+
}
|
68
|
+
%alpha_color_golf {
|
69
|
+
background-color: $alpha_color_golf;
|
70
|
+
}
|
71
|
+
%alpha_color_hotel {
|
72
|
+
background-color: $alpha_color_hotel;
|
73
|
+
}
|
74
|
+
%alpha_color_india {
|
75
|
+
background-color: $alpha_color_india;
|
76
|
+
}
|
77
|
+
%alpha_color_juliet {
|
78
|
+
background-color: $alpha_color_juliet;
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
%bravo_color {
|
86
|
+
background-color: $bravo_color;
|
87
|
+
}
|
88
|
+
%bravo_color_bravo {
|
89
|
+
background-color: $bravo_color_bravo;
|
90
|
+
}
|
91
|
+
%bravo_color_charlie {
|
92
|
+
background-color: $bravo_color_charlie;
|
93
|
+
}
|
94
|
+
%bravo_color_delta {
|
95
|
+
background-color: $bravo_color_delta;
|
96
|
+
}
|
97
|
+
%bravo_color_echo {
|
98
|
+
background-color: $bravo_color_echo;
|
99
|
+
}
|
100
|
+
%bravo_color_fox {
|
101
|
+
background-color: $bravo_color_fox;
|
102
|
+
}
|
103
|
+
%bravo_color_golf {
|
104
|
+
background-color: $bravo_color_golf;
|
105
|
+
}
|
106
|
+
%bravo_color_hotel {
|
107
|
+
background-color: $bravo_color_hotel;
|
108
|
+
}
|
109
|
+
%bravo_color_india {
|
110
|
+
background-color: $bravo_color_india;
|
111
|
+
}
|
112
|
+
%bravo_color_juliet {
|
113
|
+
background-color: $bravo_color_juliet;
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
%charlie_color {
|
122
|
+
background-color: $charlie_color;
|
123
|
+
}
|
124
|
+
%charlie_color_bravo {
|
125
|
+
background-color: $charlie_color_bravo;
|
126
|
+
}
|
127
|
+
%charlie_color_charlie {
|
128
|
+
background-color: $charlie_color_charlie;
|
129
|
+
}
|
130
|
+
%charlie_color_delta {
|
131
|
+
background-color: $charlie_color_delta;
|
132
|
+
}
|
133
|
+
%charlie_color_echo {
|
134
|
+
background-color: $charlie_color_echo;
|
135
|
+
}
|
136
|
+
%charlie_color_fox {
|
137
|
+
background-color: $charlie_color_fox;
|
138
|
+
}
|
139
|
+
%charlie_color_golf {
|
140
|
+
background-color: $charlie_color_golf;
|
141
|
+
}
|
142
|
+
%charlie_color_hotel {
|
143
|
+
background-color: $charlie_color_hotel;
|
144
|
+
}
|
145
|
+
%charlie_color_india {
|
146
|
+
background-color: $charlie_color_india;
|
147
|
+
}
|
148
|
+
%charlie_color_juliet {
|
149
|
+
background-color: $charlie_color_juliet;
|
150
|
+
}
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
%delta_color {
|
158
|
+
background-color: $delta_color;
|
159
|
+
}
|
160
|
+
%delta_color_bravo {
|
161
|
+
background-color: $delta_color_bravo;
|
162
|
+
}
|
163
|
+
%delta_color_charlie {
|
164
|
+
background-color: $delta_color_charlie;
|
165
|
+
}
|
166
|
+
%delta_color_delta {
|
167
|
+
background-color: $delta_color_delta;
|
168
|
+
}
|
169
|
+
%delta_color_echo {
|
170
|
+
background-color: $delta_color_echo;
|
171
|
+
}
|
172
|
+
%delta_color_fox {
|
173
|
+
background-color: $delta_color_fox;
|
174
|
+
}
|
175
|
+
%delta_color_golf {
|
176
|
+
background-color: $delta_color_golf;
|
177
|
+
}
|
178
|
+
%delta_color_hotel {
|
179
|
+
background-color: $delta_color_hotel;
|
180
|
+
}
|
181
|
+
%delta_color_india {
|
182
|
+
background-color: $delta_color_india;
|
183
|
+
}
|
184
|
+
%delta_color_juliet {
|
185
|
+
background-color: $delta_color_juliet;
|
186
|
+
}
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
%echo_color {
|
194
|
+
background-color: $echo_color;
|
195
|
+
}
|
196
|
+
%echo_color_bravo {
|
197
|
+
background-color: $echo_color_bravo;
|
198
|
+
}
|
199
|
+
%echo_color_charlie {
|
200
|
+
background-color: $echo_color_charlie;
|
201
|
+
}
|
202
|
+
%echo_color_delta {
|
203
|
+
background-color: $echo_color_delta;
|
204
|
+
}
|
205
|
+
%echo_color_echo {
|
206
|
+
background-color: $echo_color_echo;
|
207
|
+
}
|
208
|
+
%echo_color_fox {
|
209
|
+
background-color: $echo_color_fox;
|
210
|
+
}
|
211
|
+
%echo_color_golf {
|
212
|
+
background-color: $echo_color_golf;
|
213
|
+
}
|
214
|
+
%echo_color_hotel {
|
215
|
+
background-color: $echo_color_hotel;
|
216
|
+
}
|
217
|
+
%echo_color_india {
|
218
|
+
background-color: $echo_color_india;
|
219
|
+
}
|
220
|
+
%echo_color_juliet {
|
221
|
+
background-color: $echo_color_juliet;
|
222
|
+
}
|