wcc-styles 2.2.3 → 3.0.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/images/wcc/styles/bg/mountain-valley.jpg +0 -0
- data/lib/assets/images/wcc/styles/demo/event-page.jpg +0 -0
- data/lib/assets/images/wcc/styles/demo/wm-event-registration-flow.svg +1 -0
- data/lib/assets/images/wcc/styles/logo-blue.png +0 -0
- data/lib/assets/images/wcc/styles/logo-blue.svg +1 -0
- data/lib/assets/javascripts/wcc/styles/tessa.coffee +2 -1
- data/lib/assets/javascripts/wcc/styles/unmask-pass.js +68 -0
- data/lib/assets/javascripts/wcc/styles.js +1 -0
- data/lib/assets/stylesheets/wcc/styles/{base.scss → base/_base.scss} +4 -15
- data/lib/assets/stylesheets/wcc/styles/{setup → base}/_grid.scss +8 -0
- data/lib/assets/stylesheets/wcc/styles/base/utilities/_box-shadow.scss +14 -0
- data/lib/assets/stylesheets/wcc/styles/base/utilities/_breakpoint-debugger.scss +38 -0
- data/lib/assets/stylesheets/wcc/styles/materials/atoms/_anchor.scss +16 -0
- data/lib/assets/stylesheets/wcc/styles/{snippets → materials/atoms}/_buttons.scss +2 -1
- data/lib/assets/stylesheets/wcc/styles/{snippets → materials/atoms}/_forms.scss +130 -6
- data/lib/assets/stylesheets/wcc/styles/materials/atoms/_icon.scss +18 -0
- data/lib/assets/stylesheets/wcc/styles/{setup → materials/atoms}/_typography.scss +2 -12
- data/lib/assets/stylesheets/wcc/styles/materials/atoms/_wells.scss +10 -0
- data/lib/assets/stylesheets/wcc/styles/materials/molecules/_event-receipt.scss +34 -0
- data/lib/assets/stylesheets/wcc/styles/materials/molecules/_progress-bar.scss +62 -0
- data/lib/assets/stylesheets/wcc/styles/{snippets → materials/molecules}/_top_nav.scss +9 -1
- data/lib/assets/stylesheets/wcc/styles/materials/organisms/_sheets.scss +60 -0
- data/lib/assets/stylesheets/wcc/styles/materials/pages/_auth.scss +12 -0
- data/lib/assets/stylesheets/wcc/styles/materials/templates/_transactional.scss +44 -0
- data/lib/assets/stylesheets/wcc/styles/modules/_mixins.scss +112 -0
- data/lib/assets/stylesheets/wcc/styles/modules/_vars.scss +204 -0
- data/lib/assets/stylesheets/wcc/styles.scss +112 -2
- data/lib/wcc/styles/version.rb +1 -1
- metadata +112 -28
- data/lib/assets/stylesheets/wcc/styles/extensions/_all.scss +0 -3
- data/lib/assets/stylesheets/wcc/styles/setup/_colors.scss +0 -26
- data/lib/assets/stylesheets/wcc/styles/setup/_mixins.scss +0 -19
- data/lib/assets/stylesheets/wcc/styles/snippets/_all.scss +0 -13
- /data/lib/assets/stylesheets/wcc/styles/{setup → base}/_normalize.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/atoms}/_datetimepicker.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/atoms}/_elements.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/atoms}/_labels.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/atoms}/_tables.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/molecules}/_alerts.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/molecules}/_navs.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/molecules}/_pagination.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/organisms}/_sidebar_slideout.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → materials/pages}/_admin.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{extensions → vendor}/_custom_file_inputs.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{extensions → vendor}/_custom_selects.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{extensions → vendor}/_icons.scss +0 -0
- /data/lib/assets/stylesheets/wcc/styles/{snippets → vendor}/_selectize.scss +0 -0
@@ -0,0 +1,62 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Progress Bar.scss
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
// the progress bar element shows a user where they are in a series of
|
6
|
+
// transactional steps. an example would be when registering for an event,
|
7
|
+
// the user will need to login, answer questions, provide payment, then complete
|
8
|
+
|
9
|
+
// container
|
10
|
+
.progress-bar-block {
|
11
|
+
margin: -2rem -2rem 3rem;
|
12
|
+
}
|
13
|
+
|
14
|
+
// progress items container, on a ul
|
15
|
+
.progress-bar {
|
16
|
+
margin: 0;
|
17
|
+
padding: 0;
|
18
|
+
list-style: none;
|
19
|
+
display: flex;
|
20
|
+
|
21
|
+
// progress items, on a li
|
22
|
+
.progress-point {
|
23
|
+
color: rgba($black, .3);
|
24
|
+
text-align: center;
|
25
|
+
padding: 1rem 0;
|
26
|
+
display: inline-block;
|
27
|
+
flex-grow: 1;
|
28
|
+
border-bottom: 2px solid $green; // by default we show the active bar color
|
29
|
+
position: relative;
|
30
|
+
|
31
|
+
// circle element
|
32
|
+
&:after {
|
33
|
+
content: '';
|
34
|
+
display: block;
|
35
|
+
width: 7px;
|
36
|
+
height: 7px;
|
37
|
+
background-color: $green; // by default we show the active bar color
|
38
|
+
border-radius: $global-rounded;
|
39
|
+
|
40
|
+
position: absolute;
|
41
|
+
bottom: -4px;
|
42
|
+
left: 50%;
|
43
|
+
transform: translateX(-50%);
|
44
|
+
}
|
45
|
+
|
46
|
+
// the activated step
|
47
|
+
&.active {
|
48
|
+
color: rgba($black, .7);
|
49
|
+
|
50
|
+
// targets all progress points after the .active point
|
51
|
+
// all items after .active are show in gray
|
52
|
+
~ .progress-point {
|
53
|
+
border-color: $gray-1;
|
54
|
+
|
55
|
+
&:after {
|
56
|
+
background-color: $gray-1;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
@@ -1,7 +1,14 @@
|
|
1
1
|
/*===========================================
|
2
|
-
|
2
|
+
Top Nav
|
3
3
|
============================================*/
|
4
4
|
|
5
|
+
// *TODO--need to move away from styling `header` element as
|
6
|
+
// main nav for all app screens. The `header` doesn't necessarily
|
7
|
+
// describe site navigation, and there can be multiple `header`s on a page
|
8
|
+
// more on the header element: http://html5doctor.com/the-header-element/
|
9
|
+
// *BACKWARDS-INCOMPATIBLE--once we drop the `header` element styles will
|
10
|
+
// not target past apps, the .top-nav class will need to be added
|
11
|
+
.top-nav,
|
5
12
|
header {
|
6
13
|
width: 100%;
|
7
14
|
background-color: white;
|
@@ -11,6 +18,7 @@ header {
|
|
11
18
|
font-weight: 300;
|
12
19
|
padding: 0px 30px;
|
13
20
|
z-index: 1000;
|
21
|
+
margin-bottom: 5rem;
|
14
22
|
|
15
23
|
.logo-holder {
|
16
24
|
display: inline-block;
|
@@ -0,0 +1,60 @@
|
|
1
|
+
// Sheets.scss
|
2
|
+
|
3
|
+
// Sheet
|
4
|
+
// -----------------
|
5
|
+
// sheets are areas that contain content. Sheets are versatile
|
6
|
+
// and can be used for content emphasis. Sheets have a header,
|
7
|
+
// content, and footer. Each are optional, though allow for
|
8
|
+
// extra custimization.
|
9
|
+
.sheet {
|
10
|
+
background-color: $white;
|
11
|
+
padding: $spacing-default;
|
12
|
+
margin-bottom: $spacing-default;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Sheet Header
|
16
|
+
// ------------
|
17
|
+
.sheet-header {
|
18
|
+
text-align: center;
|
19
|
+
margin-bottom: 3rem;
|
20
|
+
|
21
|
+
.sheet-title {
|
22
|
+
font-size: 26px;
|
23
|
+
line-height: 1;
|
24
|
+
margin: 1.5rem 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
hr {
|
28
|
+
max-width: 4rem;
|
29
|
+
border-width: 3px;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.sheet-description {
|
34
|
+
margin: $spacing-default auto;
|
35
|
+
max-width: 24em;
|
36
|
+
text-align: center;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Sheet Callout
|
40
|
+
// -------------
|
41
|
+
.sheet-callout {
|
42
|
+
background-color: #efefef;
|
43
|
+
margin: $spacing-default -$spacing-default;
|
44
|
+
padding: $spacing-default;
|
45
|
+
}
|
46
|
+
|
47
|
+
// Sheet Content
|
48
|
+
// -------------
|
49
|
+
.sheet-content {
|
50
|
+
margin: $spacing-default 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
// Sheet Footer
|
54
|
+
// ------------
|
55
|
+
.sheet-footer {
|
56
|
+
text-align: center;
|
57
|
+
margin-top: $spacing-default;
|
58
|
+
|
59
|
+
@include clearfix();
|
60
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
// Auth.scss
|
2
|
+
// -----------------------
|
3
|
+
// contains specific styles for all auth pages
|
4
|
+
// includes Register, Login, Password Reset, etc
|
5
|
+
|
6
|
+
#auth {
|
7
|
+
@include background-image(#26272c, image-url("wcc/styles/bg/mountain-valley.jpg"), no-repeat, center center, cover);
|
8
|
+
|
9
|
+
.sheet {
|
10
|
+
margin: 15rem 0;
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Transaction Template
|
3
|
+
// ==========================================================================
|
4
|
+
|
5
|
+
|
6
|
+
.transactional-page {
|
7
|
+
background-color: $body-bg;
|
8
|
+
position: relative;
|
9
|
+
|
10
|
+
// on transactional pages we include a faux header bg
|
11
|
+
&:before {
|
12
|
+
content: ' ';
|
13
|
+
display: block;
|
14
|
+
width: 100%;
|
15
|
+
height: 24rem;
|
16
|
+
background: $gradient-blue;
|
17
|
+
|
18
|
+
position: absolute;
|
19
|
+
top: 0;
|
20
|
+
left: 0;
|
21
|
+
right: 0;
|
22
|
+
}
|
23
|
+
|
24
|
+
.sheet {
|
25
|
+
border-radius: 3px;
|
26
|
+
margin-bottom: 3rem;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.persistent-block {
|
31
|
+
text-align: center;
|
32
|
+
width: 80%;
|
33
|
+
position: absolute;
|
34
|
+
top: -11.5rem; // this is a magic number for proper placement
|
35
|
+
z-index: 9999;
|
36
|
+
|
37
|
+
.persistent-title {
|
38
|
+
margin: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
.persistent-meta {
|
42
|
+
color: #959595;
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Mixins.scss
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
// Breakpoint Mixin
|
8
|
+
// ----------------
|
9
|
+
// writing out CSS media queries by hand is a pain,
|
10
|
+
// to write awesome media queries simply @include this mixin
|
11
|
+
// Example:
|
12
|
+
// @include breakpoint($small) {
|
13
|
+
// write your code here
|
14
|
+
// }
|
15
|
+
@mixin breakpoint($val) {
|
16
|
+
@media #{$val} {
|
17
|
+
@content;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
// TODO: sort this out
|
24
|
+
// this is temp
|
25
|
+
@mixin primary-font {
|
26
|
+
font-family: 'Open Sans', sans-serif;
|
27
|
+
}
|
28
|
+
|
29
|
+
@mixin secondary-font {
|
30
|
+
font-family: 'Droid Serif', serif;
|
31
|
+
}
|
32
|
+
|
33
|
+
@mixin secondary-font-black {
|
34
|
+
font-family: 'Droid Serif', serif;
|
35
|
+
}
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
//*TODO-sort this out, used somewhere...
|
41
|
+
@mixin button-theme($button-color) {
|
42
|
+
|
43
|
+
border-color: $button-color;
|
44
|
+
background-color: $button-color;
|
45
|
+
|
46
|
+
&:hover {
|
47
|
+
background-color: darken($button-color, 6%);
|
48
|
+
}
|
49
|
+
|
50
|
+
&:active {
|
51
|
+
background-color: darken($button-color, 6%);
|
52
|
+
}
|
53
|
+
|
54
|
+
&.ghost {
|
55
|
+
background-color: transparent;
|
56
|
+
border: 2px solid $button-color;
|
57
|
+
color: $button-color;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
// Clearfix Mixin
|
63
|
+
// --------------
|
64
|
+
// You can @include clearfix(); on any element
|
65
|
+
// to clear floats and such. Why not @extend?
|
66
|
+
// Because @extend doesn't work inside of media
|
67
|
+
// queries and will eventually bite you in the butt
|
68
|
+
@mixin clearfix() {
|
69
|
+
& {
|
70
|
+
*zoom: 1;
|
71
|
+
}
|
72
|
+
&:before,
|
73
|
+
&:after {
|
74
|
+
content: "";
|
75
|
+
display: table;
|
76
|
+
}
|
77
|
+
&:after {
|
78
|
+
clear: both;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
// Clearfix Class
|
83
|
+
// --------------
|
84
|
+
// here ya go, if you really want to add a .clearfix
|
85
|
+
// class in the markup you can, but it's always better
|
86
|
+
// to pass something like this symantically with Sass
|
87
|
+
.clearfix {
|
88
|
+
@include clearfix();
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
// Content Shadow
|
93
|
+
// --------------
|
94
|
+
// to add a box shadow with depth to a content block, pass
|
95
|
+
// this mixin to an element, like this @include content-shadow(2)
|
96
|
+
// where the parameter number is the shadow depth you want to add
|
97
|
+
@mixin content-shadow($depth) {
|
98
|
+
box-shadow: 0 (1px * $depth) (4px * $depth) rgba(#1d1e1f, 0.1);
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
// Background Image
|
103
|
+
// ----------------
|
104
|
+
// a simple straight forward mixin for adding a background image
|
105
|
+
// to an element without having to write all lines of bg code
|
106
|
+
@mixin background-image( $bg-color, $bg-image, $bg-repeat, $bg-position, $bg-size ) {
|
107
|
+
background-color: $bg-color;
|
108
|
+
background-image: $bg-image;
|
109
|
+
background-repeat: $bg-repeat;
|
110
|
+
background-position: $bg-position;
|
111
|
+
background-size: $bg-size;
|
112
|
+
}
|
@@ -0,0 +1,204 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Variables.scss
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
// -----------------------------
|
6
|
+
//
|
7
|
+
// Table of Contents:
|
8
|
+
//
|
9
|
+
// 1. Colors
|
10
|
+
// 2. Typography
|
11
|
+
// 3. Globals
|
12
|
+
// 4. Breakpoints
|
13
|
+
// 5. Media Queries
|
14
|
+
// 6. Buttons
|
15
|
+
// 7. Content
|
16
|
+
// -----------------------------
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
// ==========================================================================
|
22
|
+
// 1. Colors
|
23
|
+
// ==========================================================================
|
24
|
+
|
25
|
+
|
26
|
+
$red: #962D27;
|
27
|
+
$orange: #EB7F4C;
|
28
|
+
$dark-orange: darken($orange, 2%);
|
29
|
+
$yellow: #EBD15C;
|
30
|
+
$green: #00e581;
|
31
|
+
$blue: #377CAD;
|
32
|
+
$pink: #FF3366;
|
33
|
+
|
34
|
+
$neutral1: #F6F5F3;
|
35
|
+
$neutral2: darken($neutral1, 2%);
|
36
|
+
$neutral3: darken($neutral2, 2%);
|
37
|
+
$neutral4: darken($neutral3, 2%);
|
38
|
+
$neutral5: darken($neutral4, 2%);
|
39
|
+
$neutral6: darken($neutral5, 2%);
|
40
|
+
$neutral7: darken($neutral6, 2%);
|
41
|
+
$neutral8: darken($neutral7, 2%);
|
42
|
+
$neutral9: darken($neutral8, 2%);
|
43
|
+
$neutral10: darken($neutral9, 2%);
|
44
|
+
|
45
|
+
$lightest-grey: #D9D9D9;
|
46
|
+
$light-grey: #999999;
|
47
|
+
$medium-grey: #595959;
|
48
|
+
$dark-grey: #393939;
|
49
|
+
|
50
|
+
$text: #292929;
|
51
|
+
$light-text: #a6a6a6;
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
$white: #fff;
|
56
|
+
$gray-1: #e5e5e5;
|
57
|
+
$gray-2: #ccc;
|
58
|
+
$gray-3: #bfbfbf;
|
59
|
+
$gray-4: #999;
|
60
|
+
$gray-5: #7f7f7f;
|
61
|
+
$gray-6: #666;
|
62
|
+
$gray-7: #4c4c4c;
|
63
|
+
$gray-8: #333;
|
64
|
+
$gray-9: #191919;
|
65
|
+
$black: #000;
|
66
|
+
|
67
|
+
$body-bg: #f4f9f9;
|
68
|
+
|
69
|
+
$gradient-blue: linear-gradient(to top right,#257491,#008b86);
|
70
|
+
|
71
|
+
|
72
|
+
// ==========================================================================
|
73
|
+
// 2. Typography
|
74
|
+
// ==========================================================================
|
75
|
+
|
76
|
+
/*
|
77
|
+
$serif-font: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
|
78
|
+
$sans-font: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
79
|
+
$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
|
80
|
+
$icon-font: "Ionicons";
|
81
|
+
|
82
|
+
$body-font-family: $serif-font;
|
83
|
+
|
84
|
+
$header-font-family: $sans-font;
|
85
|
+
$header-font-weight: 700;
|
86
|
+
$header-font-style: normal;
|
87
|
+
$header-color: $black;
|
88
|
+
$header-line-height: 1.4;
|
89
|
+
$header-margin-bottom: 0.5rem;
|
90
|
+
$header-text-rendering: optimizeLegibility;
|
91
|
+
|
92
|
+
$h1-size: 1.8rem;
|
93
|
+
$h2-size: 1.6rem;
|
94
|
+
$h3-size: 1.4rem;
|
95
|
+
$h4-size: 1.2rem;
|
96
|
+
$h5-size: 1rem;
|
97
|
+
$h6-size: .8rem;
|
98
|
+
|
99
|
+
$header-small-font-color: rgba($header-color, .4);
|
100
|
+
$paragraph-font-size: 1rem;
|
101
|
+
$paragraph-lineheight: 1.6;
|
102
|
+
$paragraph-margin: 1rem;
|
103
|
+
$paragraph-text-rendering: optimizeLegibility;
|
104
|
+
$paragraph-anchor-color: $primary-color;
|
105
|
+
|
106
|
+
$small-font-size: 80%;
|
107
|
+
|
108
|
+
$blockquote-color: $gray-5;
|
109
|
+
$blockquote-padding: 2rem;
|
110
|
+
$blockquote-border: 4px solid $primary-color;
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
// ==========================================================================
|
116
|
+
// 3. Globals
|
117
|
+
// ==========================================================================
|
118
|
+
|
119
|
+
|
120
|
+
$global-font-size: 100%;
|
121
|
+
$global-lineheight: 1.5;
|
122
|
+
$global-letter-spacing: .03em;
|
123
|
+
|
124
|
+
$body-bg: $white;
|
125
|
+
$body-antialiased: true;
|
126
|
+
|
127
|
+
$global-width: rem-calc(1200);
|
128
|
+
|
129
|
+
$global-margin: 1rem;
|
130
|
+
$global-padding: 1rem;
|
131
|
+
$global-weight-normal: normal;
|
132
|
+
$global-weight-bold: bold;
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
$global-transition: .2s all linear;
|
137
|
+
$global-text-rendering: optimizeLegibility;
|
138
|
+
|
139
|
+
*/
|
140
|
+
|
141
|
+
$global-radius: 4px;
|
142
|
+
$global-rounded: 999px;
|
143
|
+
|
144
|
+
|
145
|
+
// ==========================================================================
|
146
|
+
// 4. Breakpoints
|
147
|
+
// ==========================================================================
|
148
|
+
|
149
|
+
|
150
|
+
// Edit the breakpoints to your liking
|
151
|
+
// When writing Sass, always use varibles with breakpoints if possible
|
152
|
+
$small-breakpoint : 0; // should stay at zero
|
153
|
+
$medium-breakpoint : 640px;
|
154
|
+
$large-breakpoint : 1024px;
|
155
|
+
$xlarge-breakpoint : 1200px;
|
156
|
+
$xxlarge-breakpoint : 1440px;
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
// ==========================================================================
|
162
|
+
// 5. Media Queries
|
163
|
+
// ==========================================================================
|
164
|
+
|
165
|
+
|
166
|
+
// Set to true for debugging message
|
167
|
+
// See debugging message code in partials/_utilities.scss
|
168
|
+
$show-query: false;
|
169
|
+
|
170
|
+
// Set media query breakpoints to be used with @mixin breakpoint()
|
171
|
+
// See @mixin breakpoint() specifics in modules/_mixins.scss
|
172
|
+
$small : (min-width: $small-breakpoint);
|
173
|
+
$small-only : (min-width: $small-breakpoint) and (max-width: $medium-breakpoint);
|
174
|
+
$small-down : (max-width: $medium-breakpoint);
|
175
|
+
|
176
|
+
$medium : (min-width: $medium-breakpoint);
|
177
|
+
$medium-only : (min-width: $medium-breakpoint) and (max-width: $large-breakpoint);
|
178
|
+
$medium-down : (max-width: $large-breakpoint);
|
179
|
+
|
180
|
+
$large : (min-width: $large-breakpoint);
|
181
|
+
$large-only : (min-width: $large-breakpoint) and (max-width: $xlarge-breakpoint);
|
182
|
+
$large-down : (max-width: $xlarge-breakpoint);
|
183
|
+
|
184
|
+
$xlarge : (min-width: $xlarge-breakpoint);
|
185
|
+
$xlarge-only : (min-width: $xlarge-breakpoint) and (max-width: $xxlarge-breakpoint);
|
186
|
+
$xlarge-down : (max-width: $xxlarge-breakpoint);
|
187
|
+
|
188
|
+
$xxlarge : (min-width: $xxlarge-breakpoint);
|
189
|
+
|
190
|
+
|
191
|
+
// ==========================================================================
|
192
|
+
// 6. Buttons
|
193
|
+
// ==========================================================================
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
// ==========================================================================
|
198
|
+
// 7. Content
|
199
|
+
// ==========================================================================
|
200
|
+
|
201
|
+
$spacing-small: 1rem;
|
202
|
+
$spacing-default: 2rem;
|
203
|
+
$spacing-medium: 3rem;
|
204
|
+
$spacing-large: 4rem;
|
@@ -1,2 +1,112 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/**
|
2
|
+
*
|
3
|
+
* Watermark Pattern Library
|
4
|
+
* ==========================================================================
|
5
|
+
*
|
6
|
+
* patterns.watermark.org
|
7
|
+
* https://rubygems.org/gems/wcc-styles
|
8
|
+
*
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
// third party imports
|
13
|
+
@import url(//fonts.googleapis.com/css?family=Droid+Serif|Open+Sans:300,400,600,700);
|
14
|
+
@import "compass/layout/stretching";
|
15
|
+
@import "compass";
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
// ==========================================================================
|
21
|
+
// 1. Modules
|
22
|
+
// ==========================================================================
|
23
|
+
//
|
24
|
+
// modules are reserved for sass code that do not output CSS.
|
25
|
+
// For example, mixin declarations, functions, and variables.
|
26
|
+
@import "styles/modules/vars";
|
27
|
+
@import "styles/modules/mixins";
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
// ==========================================================================
|
33
|
+
// 2. Base
|
34
|
+
// ==========================================================================
|
35
|
+
//
|
36
|
+
// code related to the basic general structure; this can include
|
37
|
+
// a grid system, browser reset, global generalities
|
38
|
+
@import "styles/base/base";
|
39
|
+
@import "styles/base/normalize";
|
40
|
+
@import "styles/base/grid";
|
41
|
+
|
42
|
+
@import "styles/base/utilities/box-shadow";
|
43
|
+
@import "styles/base/utilities/breakpoint-debugger";
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
// ==========================================================================
|
49
|
+
// 3. Materials
|
50
|
+
// ==========================================================================
|
51
|
+
//
|
52
|
+
// materials are the building blocks all all web design
|
53
|
+
// materials are categorized as Atoms, Molecules, Organisms,
|
54
|
+
// and Pages. for more info and a deeper understanding of
|
55
|
+
// the principles of Atomic design, read Brad Frost's book:
|
56
|
+
// http://atomicdesign.bradfrost.com/table-of-contents/
|
57
|
+
|
58
|
+
//
|
59
|
+
// 3.1 Atoms
|
60
|
+
// ==========================================================================
|
61
|
+
@import "styles/materials/atoms/typography";
|
62
|
+
@import "styles/materials/atoms/anchor.scss";
|
63
|
+
@import "styles/materials/atoms/icon.scss";
|
64
|
+
@import "styles/materials/atoms/buttons";
|
65
|
+
@import "styles/materials/atoms/tables";
|
66
|
+
@import "styles/materials/atoms/forms";
|
67
|
+
@import "styles/materials/atoms/labels";
|
68
|
+
@import "styles/materials/atoms/datetimepicker";
|
69
|
+
@import "styles/materials/atoms/elements";
|
70
|
+
@import "styles/materials/atoms/wells";
|
71
|
+
|
72
|
+
//
|
73
|
+
// 3.2 Molecules
|
74
|
+
// ==========================================================================
|
75
|
+
@import "styles/materials/molecules/pagination";
|
76
|
+
@import "styles/materials/molecules/navs";
|
77
|
+
@import "styles/materials/molecules/top_nav";
|
78
|
+
@import "styles/materials/molecules/alerts";
|
79
|
+
@import "styles/materials/molecules/progress-bar";
|
80
|
+
@import "styles/materials/molecules/event-receipt";
|
81
|
+
|
82
|
+
//
|
83
|
+
// 3.3 Organisms
|
84
|
+
// ==========================================================================
|
85
|
+
@import "styles/materials/organisms/sidebar_slideout";
|
86
|
+
@import "styles/materials/organisms/sheets";
|
87
|
+
|
88
|
+
//
|
89
|
+
// 3.4 Templates
|
90
|
+
// ==========================================================================
|
91
|
+
@import "styles/materials/templates/transactional";
|
92
|
+
|
93
|
+
//
|
94
|
+
// 3.5 Pages
|
95
|
+
// ==========================================================================
|
96
|
+
@import "styles/materials/pages/auth";
|
97
|
+
@import "styles/materials/pages/admin";
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
// ==========================================================================
|
103
|
+
// 4. Vendor
|
104
|
+
// ==========================================================================
|
105
|
+
//
|
106
|
+
// code directly from third party vendors. ideally vendor
|
107
|
+
// code would never be directly edited, only overwritten
|
108
|
+
// so the code could be updated or patched in the future
|
109
|
+
@import "styles/vendor/icons";
|
110
|
+
@import "styles/vendor/custom_selects";
|
111
|
+
@import "styles/vendor/custom_file_inputs";
|
112
|
+
@import "styles/vendor/selectize";
|
data/lib/wcc/styles/version.rb
CHANGED