auther 4.1.0 → 5.0.0

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/README.md +70 -43
  5. data/app/assets/stylesheets/auther/application.scss +3 -1
  6. data/app/assets/stylesheets/auther/auther.scss +98 -9
  7. data/app/controllers/auther/base_controller.rb +26 -21
  8. data/app/controllers/auther/session_controller.rb +10 -7
  9. data/app/models/auther/account.rb +2 -1
  10. data/app/presenters/auther/account.rb +10 -0
  11. data/app/views/auther/session/new.html.slim +19 -37
  12. data/app/views/layouts/auther/auth.html.slim +0 -2
  13. data/bin/rails +4 -7
  14. data/lib/auther/authenticator.rb +14 -18
  15. data/lib/auther/cipher.rb +2 -3
  16. data/lib/auther/engine.rb +3 -22
  17. data/lib/auther/gatekeeper.rb +18 -15
  18. data/lib/auther/identity.rb +3 -2
  19. data/lib/auther/keymaster.rb +5 -4
  20. data/lib/auther/null_logger.rb +6 -6
  21. data/lib/auther/settings.rb +14 -7
  22. data/lib/auther/tasks/rspec.rake +6 -0
  23. data/lib/auther/tasks/rubocop.rake +6 -0
  24. data/lib/generators/auther/install/install_generator.rb +1 -0
  25. data/vendor/assets/stylesheets/bitters/_base.scss +10 -0
  26. data/vendor/assets/stylesheets/bitters/_buttons.scss +35 -0
  27. data/vendor/assets/stylesheets/bitters/_forms.scss +90 -0
  28. data/vendor/assets/stylesheets/bitters/_grid-settings.scss +14 -0
  29. data/vendor/assets/stylesheets/bitters/_typography.scss +49 -0
  30. data/vendor/assets/stylesheets/bitters/_variables.scss +42 -0
  31. metadata +53 -20
  32. metadata.gz.sig +0 -0
  33. data/app/assets/javascripts/auther/application.js +0 -5
  34. data/app/assets/stylesheets/auther/foundation_and_overrides.scss +0 -1191
  35. data/app/helpers/auther/foundation_helper.rb +0 -9
@@ -0,0 +1,90 @@
1
+ fieldset {
2
+ background-color: $secondary-background-color;
3
+ border: $base-border;
4
+ margin: 0 0 $small-spacing;
5
+ padding: $base-spacing;
6
+ }
7
+
8
+ input,
9
+ label,
10
+ select {
11
+ display: block;
12
+ font-family: $base-font-family;
13
+ font-size: $base-font-size;
14
+ }
15
+
16
+ label {
17
+ font-weight: 600;
18
+ margin-bottom: $small-spacing / 2;
19
+
20
+ &.required::after {
21
+ content: "*";
22
+ }
23
+
24
+ abbr {
25
+ display: none;
26
+ }
27
+ }
28
+
29
+ #{$all-text-inputs},
30
+ select[multiple=multiple] {
31
+ background-color: $base-background-color;
32
+ border: $base-border;
33
+ border-radius: $base-border-radius;
34
+ box-shadow: $form-box-shadow;
35
+ box-sizing: border-box;
36
+ font-family: $base-font-family;
37
+ font-size: $base-font-size;
38
+ margin-bottom: $small-spacing;
39
+ padding: $base-spacing / 3;
40
+ transition: border-color $base-duration $base-timing;
41
+ width: 100%;
42
+
43
+ &:hover {
44
+ border-color: shade($base-border-color, 20%);
45
+ }
46
+
47
+ &:focus {
48
+ border-color: $action-color;
49
+ box-shadow: $form-box-shadow-focus;
50
+ outline: none;
51
+ }
52
+
53
+ &:disabled {
54
+ background-color: shade($base-background-color, 5%);
55
+ cursor: not-allowed;
56
+
57
+ &:hover {
58
+ border: $base-border;
59
+ }
60
+ }
61
+ }
62
+
63
+ textarea {
64
+ resize: vertical;
65
+ }
66
+
67
+ input[type="search"] {
68
+ appearance: none;
69
+ }
70
+
71
+ input[type="checkbox"],
72
+ input[type="radio"] {
73
+ display: inline;
74
+ margin-right: $small-spacing / 2;
75
+
76
+ + label {
77
+ display: inline-block;
78
+ }
79
+ }
80
+
81
+ input[type="file"] {
82
+ margin-bottom: $small-spacing;
83
+ width: 100%;
84
+ }
85
+
86
+ select {
87
+ margin-bottom: $base-spacing;
88
+ max-width: 100%;
89
+ width: auto;
90
+ }
@@ -0,0 +1,14 @@
1
+ @import "neat-helpers"; // or "../neat/neat-helpers" when not in Rails
2
+
3
+ // Neat Overrides
4
+ // $column: 90px;
5
+ // $gutter: 30px;
6
+ // $grid-columns: 12;
7
+ // $max-width: 1200px;
8
+
9
+ // Neat Breakpoints
10
+ $medium-screen: 600px;
11
+ $large-screen: 900px;
12
+
13
+ $medium-screen-up: new-breakpoint(min-width $medium-screen 4);
14
+ $large-screen-up: new-breakpoint(min-width $large-screen 8);
@@ -0,0 +1,49 @@
1
+ body {
2
+ color: $base-font-color;
3
+ font-family: $base-font-family;
4
+ font-feature-settings: "kern", "liga", "pnum";
5
+ font-size: $base-font-size;
6
+ line-height: $base-line-height;
7
+ }
8
+
9
+ h1,
10
+ h2,
11
+ h3,
12
+ h4,
13
+ h5,
14
+ h6 {
15
+ font-family: $heading-font-family;
16
+ font-size: $base-font-size;
17
+ line-height: $heading-line-height;
18
+ margin: 0 0 $small-spacing;
19
+ }
20
+
21
+ p {
22
+ margin: 0 0 $small-spacing;
23
+ }
24
+
25
+ a {
26
+ color: $action-color;
27
+ text-decoration: none;
28
+ transition: color $base-duration $base-timing;
29
+
30
+ &:active,
31
+ &:focus,
32
+ &:hover {
33
+ color: shade($action-color, 25%);
34
+ }
35
+ }
36
+
37
+ hr {
38
+ border-bottom: $base-border;
39
+ border-left: 0;
40
+ border-right: 0;
41
+ border-top: 0;
42
+ margin: $base-spacing 0;
43
+ }
44
+
45
+ img,
46
+ picture {
47
+ margin: 0;
48
+ max-width: 100%;
49
+ }
@@ -0,0 +1,42 @@
1
+ // Typography
2
+ $base-font-family: $helvetica;
3
+ $heading-font-family: $base-font-family;
4
+
5
+ // Font Sizes
6
+ $base-font-size: 1em;
7
+
8
+ // Line height
9
+ $base-line-height: 1.5;
10
+ $heading-line-height: 1.2;
11
+
12
+ // Other Sizes
13
+ $base-border-radius: 3px;
14
+ $base-spacing: $base-line-height * 1em;
15
+ $small-spacing: $base-spacing / 2;
16
+ $base-z-index: 0;
17
+
18
+ // Colors
19
+ $blue: #477dca;
20
+ $dark-gray: #333;
21
+ $medium-gray: #999;
22
+ $light-gray: #ddd;
23
+
24
+ // Font Colors
25
+ $base-font-color: $dark-gray;
26
+ $action-color: $blue;
27
+
28
+ // Border
29
+ $base-border-color: $light-gray;
30
+ $base-border: 1px solid $base-border-color;
31
+
32
+ // Background Colors
33
+ $base-background-color: #fff;
34
+ $secondary-background-color: tint($base-border-color, 75%);
35
+
36
+ // Forms
37
+ $form-box-shadow: inset 0 1px 3px rgba(#000, 0.06);
38
+ $form-box-shadow-focus: $form-box-shadow, 0 0 5px adjust-color($action-color, $lightness: -5%, $alpha: -0.3);
39
+
40
+ // Animations
41
+ $base-duration: 150ms;
42
+ $base-timing: ease;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auther
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -30,7 +30,7 @@ cert_chain:
30
30
  aSif+qBc6oHD7EQWPF5cZkzkIURuwNwPBngZGxIKaMAgRhjGFXzUMAaq++r59cS9
31
31
  xTfQ4k6fglKEgpnLAXiKdo2c8Ym+X4rIKFfedQ==
32
32
  -----END CERTIFICATE-----
33
- date: 2015-07-05 00:00:00.000000000 Z
33
+ date: 2015-11-11 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rails
@@ -75,7 +75,7 @@ dependencies:
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  - !ruby/object:Gem::Dependency
78
- name: jquery-rails
78
+ name: bourbon
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
@@ -89,7 +89,7 @@ dependencies:
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  - !ruby/object:Gem::Dependency
92
- name: modernizr-rails
92
+ name: neat
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ">="
@@ -103,33 +103,33 @@ dependencies:
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  - !ruby/object:Gem::Dependency
106
- name: foundation-rails
106
+ name: rake
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '5.5'
112
- type: :runtime
111
+ version: '10.0'
112
+ type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '5.5'
118
+ version: '10.0'
119
119
  - !ruby/object:Gem::Dependency
120
- name: rake
120
+ name: gemsmith
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
- version: '10.0'
125
+ version: '0'
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - "~>"
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
- version: '10.0'
132
+ version: '0'
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: pry
135
135
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +159,7 @@ dependencies:
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  - !ruby/object:Gem::Dependency
162
- name: pry-stack_explorer
162
+ name: pry-remote
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - ">="
@@ -173,7 +173,7 @@ dependencies:
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  - !ruby/object:Gem::Dependency
176
- name: pry-remote
176
+ name: pry-state
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - ">="
@@ -200,6 +200,20 @@ dependencies:
200
200
  - - ">="
201
201
  - !ruby/object:Gem::Version
202
202
  version: '0'
203
+ - !ruby/object:Gem::Dependency
204
+ name: pry-stack_explorer
205
+ requirement: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ type: :development
211
+ prerelease: false
212
+ version_requirements: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
203
217
  - !ruby/object:Gem::Dependency
204
218
  name: rspec-rails
205
219
  requirement: !ruby/object:Gem::Requirement
@@ -284,6 +298,20 @@ dependencies:
284
298
  - - ">="
285
299
  - !ruby/object:Gem::Version
286
300
  version: '0'
301
+ - !ruby/object:Gem::Dependency
302
+ name: rubocop
303
+ requirement: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - ">="
306
+ - !ruby/object:Gem::Version
307
+ version: '0'
308
+ type: :development
309
+ prerelease: false
310
+ version_requirements: !ruby/object:Gem::Requirement
311
+ requirements:
312
+ - - ">="
313
+ - !ruby/object:Gem::Version
314
+ version: '0'
287
315
  - !ruby/object:Gem::Dependency
288
316
  name: codeclimate-test-reporter
289
317
  requirement: !ruby/object:Gem::Requirement
@@ -299,7 +327,7 @@ dependencies:
299
327
  - !ruby/object:Gem::Version
300
328
  version: '0'
301
329
  description: Enhances Rails with multi-account, form-based, database-less, application-wide
302
- authentication as a Rails Engine.
330
+ authentication.
303
331
  email:
304
332
  - brooke@alchemists.io
305
333
  executables: []
@@ -310,13 +338,10 @@ extra_rdoc_files:
310
338
  files:
311
339
  - LICENSE.md
312
340
  - README.md
313
- - app/assets/javascripts/auther/application.js
314
341
  - app/assets/stylesheets/auther/application.scss
315
342
  - app/assets/stylesheets/auther/auther.scss
316
- - app/assets/stylesheets/auther/foundation_and_overrides.scss
317
343
  - app/controllers/auther/base_controller.rb
318
344
  - app/controllers/auther/session_controller.rb
319
- - app/helpers/auther/foundation_helper.rb
320
345
  - app/models/auther/account.rb
321
346
  - app/presenters/auther/account.rb
322
347
  - app/views/auther/session/new.html.slim
@@ -332,8 +357,16 @@ files:
332
357
  - lib/auther/keymaster.rb
333
358
  - lib/auther/null_logger.rb
334
359
  - lib/auther/settings.rb
360
+ - lib/auther/tasks/rspec.rake
361
+ - lib/auther/tasks/rubocop.rake
335
362
  - lib/generators/auther/install/install_generator.rb
336
363
  - lib/generators/auther/templates/config/initializers/auther.rb
364
+ - vendor/assets/stylesheets/bitters/_base.scss
365
+ - vendor/assets/stylesheets/bitters/_buttons.scss
366
+ - vendor/assets/stylesheets/bitters/_forms.scss
367
+ - vendor/assets/stylesheets/bitters/_grid-settings.scss
368
+ - vendor/assets/stylesheets/bitters/_typography.scss
369
+ - vendor/assets/stylesheets/bitters/_variables.scss
337
370
  homepage: https://github.com/bkuhlmann/auther
338
371
  licenses:
339
372
  - MIT
@@ -354,7 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
387
  version: '0'
355
388
  requirements: []
356
389
  rubyforge_project:
357
- rubygems_version: 2.4.8
390
+ rubygems_version: 2.5.0
358
391
  signing_key:
359
392
  specification_version: 4
360
393
  summary: Enhances Rails with multi-account, form-based, database-less, application-wide
metadata.gz.sig CHANGED
Binary file
@@ -1,5 +0,0 @@
1
- //= require jquery
2
- //= require jquery_ujs
3
- //= require foundation
4
-
5
- $(function(){ $(document).foundation(); });
@@ -1,1191 +0,0 @@
1
- //
2
- // FOUNDATION SETTINGS
3
- //
4
-
5
- // This is the default html and body font-size for the base rem value.
6
- // $rem-base: 16px;
7
-
8
- // Allows the use of rem-calc() or lower-bound() in your settings
9
- @import "foundation/functions";
10
-
11
- // $experimental: true;
12
-
13
- // The default font-size is set to 100% of the browser style sheet (usually 16px)
14
- // for compatibility with brower-based text zoom or user-set defaults.
15
-
16
- // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
17
- // If you want your base font-size to be different and not have it affect the grid breakpoints,
18
- // set $rem-base to $base-font-size and make sure $base-font-size is a px value.
19
- // $base-font-size: 100%;
20
-
21
- // The $base-line-height is 100% while $base-font-size is 150%
22
- // $base-line-height: 150%;
23
-
24
- // We use this to control whether or not CSS classes come through in the gem files.
25
- // $include-html-classes: true;
26
- // $include-print-styles: true;
27
- // $include-html-global-classes: $include-html-classes;
28
-
29
- // Grid
30
-
31
- // $include-html-grid-classes: $include-html-classes;
32
-
33
- // $row-width: rem-calc(1000);
34
- // $column-gutter: rem-calc(30);
35
- // $total-columns: 12;
36
-
37
- // We use these to control various global styles
38
- // $body-bg: #fff;
39
- // $body-font-color: #222;
40
- // $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
41
- // $body-font-weight: normal;
42
- // $body-font-style: normal;
43
-
44
- // We use this to control font-smoothing
45
- // $font-smoothing: antialiased;
46
-
47
- // We use these to control text direction settings
48
- // $text-direction: ltr;
49
- // $opposite-direction: right;
50
- // $default-float: left;
51
-
52
- // We use these as default colors throughout
53
- // $primary-color: #008CBA;
54
- // $secondary-color: #e7e7e7;
55
- // $alert-color: #f04124;
56
- // $success-color: #43AC6A;
57
- // $warning-color: #f08a24;
58
- // $info-color: #a0d3e8;
59
-
60
- // We use these to make sure border radius matches unless we want it different.
61
- // $global-radius: 3px;
62
- // $global-rounded: 1000px;
63
-
64
- // We use these to control inset shadow shiny edges and depressions.
65
- // $shiny-edge-size: 0 1px 0;
66
- // $shiny-edge-color: rgba(#fff, .5);
67
- // $shiny-edge-active-color: rgba(#000, .2);
68
-
69
- // Media Query Ranges
70
- // $small-range: (0em, 40em);
71
- // $medium-range: (40.063em, 64em);
72
- // $large-range: (64.063em, 90em);
73
- // $xlarge-range: (90.063em, 120em);
74
- // $xxlarge-range: (120.063em);
75
-
76
- // $screen: "only screen";
77
-
78
- // $landscape: "#{$screen} and (orientation: landscape)";
79
- // $portrait: "#{$screen} and (orientation: portrait)";
80
-
81
- // $small-up: $screen;
82
- // $small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})";
83
-
84
- // $medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})";
85
- // $medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})";
86
-
87
- // $large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})";
88
- // $large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})";
89
-
90
- // $xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})";
91
- // $xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})";
92
-
93
- // $xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})";
94
- // $xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})";
95
-
96
- // Legacy
97
- // $small: $medium-up;
98
- // $medium: $medium-up;
99
- // $large: $large-up;
100
-
101
- //We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
102
- // $cursor-crosshair-value: crosshair;
103
- // $cursor-default-value: default;
104
- // $cursor-pointer-value: pointer;
105
- // $cursor-help-value: help;
106
- // $cursor-text-value: text;
107
-
108
- // Accordion
109
-
110
- // $include-html-accordion-classes: $include-html-classes;
111
-
112
- // $accordion-navigation-padding: rem-calc(16);
113
- // $accordion-navigation-bg-color: #efefef ;
114
- // $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
115
- // $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
116
- // $accordion-navigation-font-color: #222;
117
- // $accordion-navigation-font-size: rem-calc(16);
118
- // $accordion-navigation-font-family: $body-font-family;
119
-
120
- // $accordion-content-padding: $column-gutter/2;
121
- // $accordion-content-active-bg-color: #fff;
122
-
123
- // Alert Boxes
124
-
125
- // $include-html-alert-classes: $include-html-classes;
126
-
127
- // We use this to control alert padding.
128
- // $alert-padding-top: rem-calc(14);
129
- // $alert-padding-default-float: $alert-padding-top;
130
- // $alert-padding-opposite-direction: $alert-padding-top + rem-calc(10);
131
- // $alert-padding-bottom: $alert-padding-top;
132
-
133
- // We use these to control text style.
134
- // $alert-font-weight: normal;
135
- // $alert-font-size: rem-calc(13);
136
- // $alert-font-color: #fff;
137
- // $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
138
-
139
- // We use this for close hover effect.
140
- // $alert-function-factor: -14%;
141
-
142
- // We use these to control border styles.
143
- // $alert-border-style: solid;
144
- // $alert-border-width: 1px;
145
- // $alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
146
- // $alert-bottom-margin: rem-calc(20);
147
-
148
- // We use these to style the close buttons
149
- // $alert-close-color: #333;
150
- // $alert-close-top: 50%;
151
- // $alert-close-position: rem-calc(5);
152
- // $alert-close-font-size: rem-calc(22);
153
- // $alert-close-opacity: 0.3;
154
- // $alert-close-opacity-hover: 0.5;
155
- // $alert-close-padding: 9px 6px 4px;
156
-
157
- // We use this to control border radius
158
- // $alert-radius: $global-radius;
159
-
160
- // Block Grid
161
-
162
- // $include-html-grid-classes: $include-html-classes;
163
-
164
- // We use this to control the maximum number of block grid elements per row
165
- // $block-grid-elements: 12;
166
- // $block-grid-default-spacing: rem-calc(20);
167
-
168
- // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
169
- // $block-grid-media-queries: true;
170
-
171
- // Breadcrumbs
172
-
173
- // $include-html-nav-classes: $include-html-classes;
174
-
175
- // We use this to set the background color for the breadcrumb container.
176
- // $crumb-bg: scale-color($secondary-color, $lightness: 55%);
177
-
178
- // We use these to set the padding around the breadcrumbs.
179
- // $crumb-padding: rem-calc(9 14 9);
180
- // $crumb-side-padding: rem-calc(12);
181
-
182
- // We use these to control border styles.
183
- // $crumb-function-factor: -10%;
184
- // $crumb-border-size: 1px;
185
- // $crumb-border-style: solid;
186
- // $crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor);
187
- // $crumb-radius: $global-radius;
188
-
189
- // We use these to set various text styles for breadcrumbs.
190
- // $crumb-font-size: rem-calc(11);
191
- // $crumb-font-color: $primary-color;
192
- // $crumb-font-color-current: #333;
193
- // $crumb-font-color-unavailable: #999;
194
- // $crumb-font-transform: uppercase;
195
- // $crumb-link-decor: underline;
196
-
197
- // We use these to control the slash between breadcrumbs
198
- // $crumb-slash-color: #aaa;
199
- // $crumb-slash: "/";
200
-
201
- //
202
- // BUTTONS
203
- //
204
-
205
- // $include-html-button-classes: $include-html-classes;
206
-
207
- // We use these to build padding for buttons.
208
- // $button-tny: rem-calc(10);
209
- // $button-sml: rem-calc(14);
210
- // $button-med: rem-calc(16);
211
- // $button-lrg: rem-calc(18);
212
-
213
- // We use this to control the display property.
214
- // $button-display: inline-block;
215
- // $button-margin-bottom: rem-calc(20);
216
-
217
- // We use these to control button text styles.
218
- // $button-font-family: $body-font-family;
219
- // $button-font-color: #fff;
220
- // $button-font-color-alt: #333;
221
- // $button-font-tny: rem-calc(11);
222
- // $button-font-sml: rem-calc(13);
223
- // $button-font-med: rem-calc(16);
224
- // $button-font-lrg: rem-calc(20);
225
- // $button-font-weight: normal;
226
- // $button-font-align: center;
227
-
228
- // We use these to control various hover effects.
229
- // $button-function-factor: 5%;
230
-
231
- // We use these to control button border styles.
232
- // $button-border-width: 1px;
233
- // $button-border-style: solid;
234
-
235
- // We use this to set the default radius used throughout the core.
236
- // $button-radius: $global-radius;
237
- // $button-round: $global-rounded;
238
-
239
- // We use this to set default opacity for disabled buttons.
240
- // $button-disabled-opacity: 0.7;
241
-
242
- // Button Groups
243
-
244
- // $include-html-button-classes: $include-html-classes;
245
-
246
- // Sets the margin for the right side by default, and the left margin if right-to-left direction is used
247
- // $button-bar-margin-opposite: rem-calc(10);
248
- // $button-group-border-width: 1px;
249
-
250
- // Clearing
251
-
252
- // $include-html-clearing-classes: $include-html-classes;
253
-
254
- // We use these to set the background colors for parts of Clearing.
255
- // $clearing-bg: #333;
256
- // $clearing-caption-bg: $clearing-bg;
257
- // $clearing-carousel-bg: rgba (51,51,51,0.8);
258
- // $clearing-img-bg: $clearing-bg;
259
-
260
- // We use these to style the close button
261
- // $clearing-close-color: #ccc;
262
- // $clearing-close-size: 30px;
263
-
264
- // We use these to style the arrows
265
- // $clearing-arrow-size: 12px;
266
- // $clearing-arrow-color: $clearing-close-color;
267
-
268
- // We use these to style captions
269
- // $clearing-caption-font-color: #ccc;
270
- // $clearing-caption-font-size: 0.875em;
271
- // $clearing-caption-padding: 10px 30px 20px;
272
-
273
- // We use these to make the image and carousel height and style
274
- // $clearing-active-img-height: 85%;
275
- // $clearing-carousel-height: 120px;
276
- // $clearing-carousel-thumb-width: 120px;
277
- // $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255);
278
-
279
- // Dropdown
280
-
281
- // $include-html-dropdown-classes: $include-html-classes;
282
-
283
- // We use these to controls height and width styles.
284
- // $f-dropdown-max-width: 200px;
285
- // $f-dropdown-height: auto;
286
- // $f-dropdown-max-height: none;
287
- // $f-dropdown-margin-top: 2px;
288
-
289
- // We use this to control the background color
290
- // $f-dropdown-bg: #fff;
291
-
292
- // We use this to set the border styles for dropdowns.
293
- // $f-dropdown-border-style: solid;
294
- // $f-dropdown-border-width: 1px;
295
- // $f-dropdown-border-color: scale-color(#fff, $lightness: -20%);
296
-
297
- // We use these to style the triangle pip.
298
- // $f-dropdown-triangle-size: 6px;
299
- // $f-dropdown-triangle-color: #fff;
300
- // $f-dropdown-triangle-side-offset: 10px;
301
-
302
- // We use these to control styles for the list elements.
303
- // $f-dropdown-list-style: none;
304
- // $f-dropdown-font-color: #555;
305
- // $f-dropdown-font-size: rem-calc(14);
306
- // $f-dropdown-list-padding: rem-calc(5, 10);
307
- // $f-dropdown-line-height: rem-calc(18);
308
- // $f-dropdown-list-hover-bg: #eeeeee ;
309
- // $dropdown-mobile-default-float: 0;
310
-
311
- // We use this to control the styles for when the dropdown has custom content.
312
- // $f-dropdown-content-padding: rem-calc(20);
313
-
314
- // Dropdown Buttons
315
-
316
- // $include-html-button-classes: $include-html-classes;
317
-
318
- // We use these to set the color of the pip in dropdown buttons
319
- // $dropdown-button-pip-color: #fff;
320
- // $dropdown-button-pip-color-alt: #333;
321
-
322
- // $button-pip-tny: rem-calc(6);
323
- // $button-pip-sml: rem-calc(7);
324
- // $button-pip-med: rem-calc(9);
325
- // $button-pip-lrg: rem-calc(11);
326
-
327
- // We use these to style tiny dropdown buttons
328
- // $dropdown-button-padding-tny: $button-pip-tny * 7;
329
- // $dropdown-button-pip-size-tny: $button-pip-tny;
330
- // $dropdown-button-pip-opposite-tny: $button-pip-tny * 3;
331
- // $dropdown-button-pip-top-tny: -$button-pip-tny / 2 + rem-calc(1);
332
-
333
- // We use these to style small dropdown buttons
334
- // $dropdown-button-padding-sml: $button-pip-sml * 7;
335
- // $dropdown-button-pip-size-sml: $button-pip-sml;
336
- // $dropdown-button-pip-opposite-sml: $button-pip-sml * 3;
337
- // $dropdown-button-pip-top-sml: -$button-pip-sml / 2 + rem-calc(1);
338
-
339
- // We use these to style medium dropdown buttons
340
- // $dropdown-button-padding-med: $button-pip-med * 6 + rem-calc(3);
341
- // $dropdown-button-pip-size-med: $button-pip-med - rem-calc(3);
342
- // $dropdown-button-pip-opposite-med: $button-pip-med * 2.5;
343
- // $dropdown-button-pip-top-med: -$button-pip-med / 2 + rem-calc(2);
344
-
345
- // We use these to style large dropdown buttons
346
- // $dropdown-button-padding-lrg: $button-pip-lrg * 5 + rem-calc(3);
347
- // $dropdown-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
348
- // $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5;
349
- // $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3);
350
-
351
- // Flex Video
352
-
353
- // $include-html-media-classes: $include-html-classes;
354
-
355
- // We use these to control video container padding and margins
356
- // $flex-video-padding-top: rem-calc(25);
357
- // $flex-video-padding-bottom: 67.5%;
358
- // $flex-video-margin-bottom: rem-calc(16);
359
-
360
- // We use this to control widescreen bottom padding
361
- // $flex-video-widescreen-padding-bottom: 57.25%;
362
-
363
- // Forms
364
-
365
- // $include-html-form-classes: $include-html-classes;
366
-
367
- // We use this to set the base for lots of form spacing and positioning styles
368
- // $form-spacing: rem-calc(16);
369
-
370
- // We use these to style the labels in different ways
371
- // $form-label-pointer: pointer;
372
- // $form-label-font-size: rem-calc(14);
373
- // $form-label-font-weight: normal;
374
- // $form-label-font-color: scale-color(#000, $lightness: 30%);
375
- // $form-label-bottom-margin: rem-calc(8);
376
- // $input-font-family: inherit;
377
- // $input-font-color: rgba(0,0,0,0.75);
378
- // $input-font-size: rem-calc(14);
379
- // $input-bg-color: #fff;
380
- // $input-focus-bg-color: scale-color(#fff, $lightness: -2%);
381
- // $input-border-color: scale-color(#fff, $lightness: -20%);
382
- // $input-focus-border-color: scale-color(#fff, $lightness: -40%);
383
- // $input-border-style: solid;
384
- // $input-border-width: 1px;
385
- // $input-disabled-bg: #ddd;
386
- // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
387
- // $input-include-glowing-effect: true;
388
-
389
- // We use these to style the fieldset border and spacing.
390
- // $fieldset-border-style: solid;
391
- // $fieldset-border-width: 1px;
392
- // $fieldset-border-color: #ddd;
393
- // $fieldset-padding: rem-calc(20);
394
- // $fieldset-margin: rem-calc(18 0);
395
-
396
- // We use these to style the legends when you use them
397
- // $legend-bg: #fff;
398
- // $legend-font-weight: bold;
399
- // $legend-padding: rem-calc(0 3);
400
-
401
- // We use these to style the prefix and postfix input elements
402
- // $input-prefix-bg: scale-color(#fff, $lightness: -5%);
403
- // $input-prefix-border-color: scale-color(#fff, $lightness: -20%);
404
- // $input-prefix-border-size: 1px;
405
- // $input-prefix-border-type: solid;
406
- // $input-prefix-overflow: hidden;
407
- // $input-prefix-font-color: #333;
408
- // $input-prefix-font-color-alt: #fff;
409
-
410
- // We use these to style the error states for inputs and labels
411
- // $input-error-message-padding: rem-calc(6 9 9);
412
- // $input-error-message-top: -1px;
413
- // $input-error-message-font-size: rem-calc(12);
414
- // $input-error-message-font-weight: normal;
415
- // $input-error-message-font-style: italic;
416
- // $input-error-message-font-color: #fff;
417
- // $input-error-message-font-color-alt: #333;
418
-
419
- // We use this to style the glowing effect of inputs when focused
420
- // $glowing-effect-fade-time: 0.45s;
421
- // $glowing-effect-color: $input-focus-border-color;
422
-
423
- // Select variables
424
- // $select-bg-color: #fafafa;
425
-
426
- // Inline Lists
427
-
428
- // $include-html-inline-list-classes: $include-html-classes;
429
-
430
- // We use this to control the margins and padding of the inline list.
431
- // $inline-list-top-margin: 0;
432
- // $inline-list-opposite-margin: 0;
433
- // $inline-list-bottom-margin: rem-calc(17);
434
- // $inline-list-default-float-margin: rem-calc(-22);
435
-
436
- // $inline-list-padding: 0;
437
-
438
- // We use this to control the overflow of the inline list.
439
- // $inline-list-overflow: hidden;
440
-
441
- // We use this to control the list items
442
- // $inline-list-display: block;
443
-
444
- // We use this to control any elments within list items
445
- // $inline-list-children-display: block;
446
-
447
- // Joyride
448
-
449
- // $include-html-joyride-classes: $include-html-classes;
450
-
451
- // Controlling default Joyride styles
452
- // $joyride-tip-bg: #333;
453
- // $joyride-tip-default-width: 300px;
454
- // $joyride-tip-padding: rem-calc(18 20 24);
455
- // $joyride-tip-border: solid 1px #555;
456
- // $joyride-tip-radius: 4px;
457
- // $joyride-tip-position-offset: 22px;
458
-
459
- // Here, we're setting the tip dont styles
460
- // $joyride-tip-font-color: #fff;
461
- // $joyride-tip-font-size: rem-calc(14);
462
- // $joyride-tip-header-weight: bold;
463
-
464
- // This changes the nub size
465
- // $joyride-tip-nub-size: 10px;
466
-
467
- // This adjusts the styles for the timer when its enabled
468
- // $joyride-tip-timer-width: 50px;
469
- // $joyride-tip-timer-height: 3px;
470
- // $joyride-tip-timer-color: #666;
471
-
472
- // This changes up the styles for the close button
473
- // $joyride-tip-close-color: #777;
474
- // $joyride-tip-close-size: 24px;
475
- // $joyride-tip-close-weight: normal;
476
-
477
- // When Joyride is filling the screen, we use this style for the bg
478
- // $joyride-screenfill: rgba(0,0,0,0.5);
479
-
480
- // Keystrokes
481
-
482
- // $include-html-type-classes: $include-html-classes;
483
-
484
- // We use these to control text styles.
485
- // $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
486
- // $keystroke-font-size: rem-calc(14);
487
- // $keystroke-font-color: #222;
488
- // $keystroke-font-color-alt: #fff;
489
- // $keystroke-function-factor: -7%;
490
-
491
- // We use this to control keystroke padding.
492
- // $keystroke-padding: rem-calc(2 4 0);
493
-
494
- // We use these to control background and border styles.
495
- // $keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor);
496
- // $keystroke-border-style: solid;
497
- // $keystroke-border-width: 1px;
498
- // $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
499
- // $keystroke-radius: $global-radius;
500
-
501
- // Labels
502
-
503
- // $include-html-label-classes: $include-html-classes;
504
-
505
- // We use these to style the labels
506
- // $label-padding: rem-calc(4 8 6);
507
- // $label-radius: $global-radius;
508
-
509
- // We use these to style the label text
510
- // $label-font-sizing: rem-calc(11);
511
- // $label-font-weight: normal;
512
- // $label-font-color: #333;
513
- // $label-font-color-alt: #fff;
514
- // $label-font-family: $body-font-family;
515
-
516
- // Magellan
517
-
518
- // $include-html-magellan-classes: $include-html-classes;
519
-
520
- // $magellan-bg: #fff;
521
- // $magellan-padding: 10px;
522
-
523
- // Off-canvas
524
-
525
- // $tabbar-bg: #333;
526
- // $tabbar-height: rem-calc(45);
527
- // $tabbar-line-height: $tabbar-height;
528
- // $tabbar-color: #FFF;
529
- // $tabbar-middle-padding: 0 rem-calc(10);
530
-
531
- // Off Canvas Divider Styles
532
- // $tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%);
533
- // $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
534
-
535
- // Off Canvas Tab Bar Headers
536
- // $tabbar-header-color: #FFF;
537
- // $tabbar-header-weight: bold;
538
- // $tabbar-header-line-height: $tabbar-height;
539
- // $tabbar-header-margin: 0;
540
-
541
- // Off Canvas Menu Variables
542
- // $off-canvas-width: 250px;
543
- // $off-canvas-bg: #333;
544
-
545
- // Off Canvas Menu List Variables
546
- // $off-canvas-label-padding: 0.3rem rem-calc(15);
547
- // $off-canvas-label-color: #999;
548
- // $off-canvas-label-text-transform: uppercase;
549
- // $off-canvas-label-font-weight: bold;
550
- // $off-canvas-label-bg: #444;
551
- // $off-canvas-label-border-top: 1px solid scale-color(#444, $lightness: 14%);
552
- // $off-canvas-label-border-bottom: none;
553
- // $off-canvas-label-margin:0;
554
- // $off-canvas-link-padding: rem-calc(10, 15);
555
- // $off-canvas-link-color: rgba(#FFF, 0.7);
556
- // $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
557
-
558
- // Off Canvas Menu Icon Variables
559
- // $tabbar-menu-icon-color: #FFF;
560
- // $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
561
-
562
- // $tabbar-menu-icon-text-indent: rem-calc(35);
563
- // $tabbar-menu-icon-width: $tabbar-height;
564
- // $tabbar-menu-icon-height: $tabbar-height;
565
- // $tabbar-menu-icon-line-height: rem-calc(33);
566
- // $tabbar-menu-icon-padding: 0;
567
-
568
- // $tabbar-hamburger-icon-width: rem-calc(16);
569
- // $tabbar-hamburger-icon-left: rem-calc(13);
570
- // $tabbar-hamburger-icon-top: rem-calc(5);
571
-
572
- // Off Canvas Back-Link Overlay
573
- // $off-canvas-overlay-transition: background 300ms ease;
574
- // $off-canvas-overlay-cursor: pointer;
575
- // $off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5);
576
- // $off-canvas-overlay-background: rgba(#FFF, 0.2);
577
- // $off-canvas-overlay-background-hover: rgba(#FFF, 0.05);
578
-
579
- // Transition Variables
580
- // $menu-slide: "transform 500ms ease";
581
-
582
- // Orbit
583
-
584
- // $include-html-orbit-classes: $include-html-classes;
585
-
586
- // We use these to control the caption styles
587
- // $orbit-container-bg: none;
588
- // $orbit-caption-bg: rgba(51,51,51, 0.8);
589
- // $orbit-caption-font-color: #fff;
590
- // $orbit-caption-font-size: rem-calc(14);
591
- // $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
592
- // $orbit-caption-padding: rem-calc(10 14);
593
- // $orbit-caption-height: auto;
594
-
595
- // We use these to control the left/right nav styles
596
- // $orbit-nav-bg: none;
597
- // $orbit-nav-bg-hover: rgba(0,0,0,0.3);
598
- // $orbit-nav-arrow-color: #fff;
599
- // $orbit-nav-arrow-color-hover: #fff;
600
-
601
- // We use these to control the timer styles
602
- // $orbit-timer-bg: rgba(255,255,255,0.3);
603
- // $orbit-timer-show-progress-bar: true;
604
-
605
- // We use these to control the bullet nav styles
606
- // $orbit-bullet-nav-color: #ccc;
607
- // $orbit-bullet-nav-color-active: #999;
608
- // $orbit-bullet-radius: rem-calc(9);
609
-
610
- // We use these to controls the style of slide numbers
611
- // $orbit-slide-number-bg: rgba(0,0,0,0);
612
- // $orbit-slide-number-font-color: #fff;
613
- // $orbit-slide-number-padding: rem-calc(5);
614
-
615
- // Graceful Loading Wrapper and preloader
616
- // $wrapper-class: "slideshow-wrapper";
617
- // $preloader-class: "preloader";
618
-
619
- // Pagination
620
-
621
- // $include-html-nav-classes: $include-html-classes;
622
-
623
- // We use these to control the pagination container
624
- // $pagination-height: rem-calc(24);
625
- // $pagination-margin: rem-calc(-5);
626
-
627
- // We use these to set the list-item properties
628
- // $pagination-li-float: $default-float;
629
- // $pagination-li-height: rem-calc(24);
630
- // $pagination-li-font-color: #222;
631
- // $pagination-li-font-size: rem-calc(14);
632
- // $pagination-li-margin: rem-calc(5);
633
-
634
- // We use these for the pagination anchor links
635
- // $pagination-link-pad: rem-calc(1 10 1);
636
- // $pagination-link-font-color: #999;
637
- // $pagination-link-active-bg: scale-color(#fff, $lightness: -10%);
638
-
639
- // We use these for disabled anchor links
640
- // $pagination-link-unavailable-cursor: default;
641
- // $pagination-link-unavailable-font-color: #999;
642
- // $pagination-link-unavailable-bg-active: transparent;
643
-
644
- // We use these for currently selected anchor links
645
- // $pagination-link-current-background: $primary-color;
646
- // $pagination-link-current-font-color: #fff;
647
- // $pagination-link-current-font-weight: bold;
648
- // $pagination-link-current-cursor: default;
649
- // $pagination-link-current-active-bg: $primary-color;
650
-
651
- // Panels
652
-
653
- // $include-html-panel-classes: $include-html-classes;
654
-
655
- // We use these to control the background and border styles
656
- // $panel-bg: scale-color(#fff, $lightness: -5%);
657
- // $panel-border-style: solid;
658
- // $panel-border-size: 1px;
659
-
660
- // We use this % to control how much we darken things on hover
661
- // $panel-function-factor: -11%;
662
- // $panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor);
663
-
664
- // We use these to set default inner padding and bottom margin
665
- // $panel-margin-bottom: rem-calc(20);
666
- // $panel-padding: rem-calc(20);
667
-
668
- // We use these to set default font colors
669
- // $panel-font-color: #333;
670
- // $panel-font-color-alt: #fff;
671
-
672
- // $panel-header-adjust: true;
673
- // $callout-panel-link-color: $primary-color;
674
-
675
- // Pricing Tables
676
-
677
- // $include-html-pricing-classes: $include-html-classes;
678
-
679
- // We use this to control the border color
680
- // $price-table-border: solid 1px #ddd;
681
-
682
- // We use this to control the bottom margin of the pricing table
683
- // $price-table-margin-bottom: rem-calc(20);
684
-
685
- // We use these to control the title styles
686
- // $price-title-bg: #333;
687
- // $price-title-padding: rem-calc(15 20);
688
- // $price-title-align: center;
689
- // $price-title-color: #eee;
690
- // $price-title-weight: normal;
691
- // $price-title-size: rem-calc(16);
692
- // $price-title-font-family: $body-font-family;
693
-
694
- // We use these to control the price styles
695
- // $price-money-bg: #f6f6f6 ;
696
- // $price-money-padding: rem-calc(15 20);
697
- // $price-money-align: center;
698
- // $price-money-color: #333;
699
- // $price-money-weight: normal;
700
- // $price-money-size: rem-calc(32);
701
- // $price-money-font-family: $body-font-family;
702
-
703
-
704
- // We use these to control the description styles
705
- // $price-bg: #fff;
706
- // $price-desc-color: #777;
707
- // $price-desc-padding: rem-calc(15);
708
- // $price-desc-align: center;
709
- // $price-desc-font-size: rem-calc(12);
710
- // $price-desc-weight: normal;
711
- // $price-desc-line-height: 1.4;
712
- // $price-desc-bottom-border: dotted 1px #ddd;
713
-
714
- // We use these to control the list item styles
715
- // $price-item-color: #333;
716
- // $price-item-padding: rem-calc(15);
717
- // $price-item-align: center;
718
- // $price-item-font-size: rem-calc(14);
719
- // $price-item-weight: normal;
720
- // $price-item-bottom-border: dotted 1px #ddd;
721
-
722
- // We use these to control the CTA area styles
723
- // $price-cta-bg: #fff;
724
- // $price-cta-align: center;
725
- // $price-cta-padding: rem-calc(20 20 0);
726
-
727
- // Progress Meters
728
-
729
- // $include-html-media-classes: $include-html-classes;
730
-
731
- // We use this to se the prog bar height
732
- // $progress-bar-height: rem-calc(25);
733
- // $progress-bar-color: #f6f6f6 ;
734
-
735
- // We use these to control the border styles
736
- // $progress-bar-border-color: scale-color(#fff, $lightness: -20%);
737
- // $progress-bar-border-size: 1px;
738
- // $progress-bar-border-style: solid;
739
- // $progress-bar-border-radius: $global-radius;
740
-
741
- // We use these to control the margin & padding
742
- // $progress-bar-pad: rem-calc(2);
743
- // $progress-bar-margin-bottom: rem-calc(10);
744
-
745
- // We use these to set the meter colors
746
- // $progress-meter-color: $primary-color;
747
- // $progress-meter-secondary-color: $secondary-color;
748
- // $progress-meter-success-color: $success-color;
749
- // $progress-meter-alert-color: $alert-color;
750
-
751
- // Reveal
752
-
753
- // $include-html-reveal-classes: $include-html-classes;
754
-
755
- // We use these to control the style of the reveal overlay.
756
- // $reveal-overlay-bg: rgba(#000, .45);
757
- // $reveal-overlay-bg-old: #000;
758
-
759
- // We use these to control the style of the modal itself.
760
- // $reveal-modal-bg: #fff;
761
- // $reveal-position-top: 50px;
762
- // $reveal-default-width: 80%;
763
- // $reveal-modal-padding: rem-calc(20);
764
- // $reveal-box-shadow: 0 0 10px rgba(#000,.4);
765
-
766
- // We use these to style the reveal close button
767
- // $reveal-close-font-size: rem-calc(22);
768
- // $reveal-close-top: rem-calc(8);
769
- // $reveal-close-side: rem-calc(11);
770
- // $reveal-close-color: #aaa;
771
- // $reveal-close-weight: bold;
772
-
773
- // We use these to control the modal border
774
- // $reveal-border-style: solid;
775
- // $reveal-border-width: 1px;
776
- // $reveal-border-color: #666;
777
-
778
- // $reveal-modal-class: "reveal-modal";
779
- // $close-reveal-modal-class: "close-reveal-modal";
780
-
781
- // Side Nav
782
-
783
- // $include-html-nav-classes: $include-html-classes;
784
-
785
- // We use this to control padding.
786
- // $side-nav-padding: rem-calc(14 0);
787
-
788
- // We use these to control list styles.
789
- // $side-nav-list-type: none;
790
- // $side-nav-list-position: inside;
791
- // $side-nav-list-margin: rem-calc(0 0 7 0);
792
-
793
- // We use these to control link styles.
794
- // $side-nav-link-color: $primary-color;
795
- // $side-nav-link-color-active: scale-color(#000, $lightness: 30%);
796
- // $side-nav-font-size: rem-calc(14);
797
- // $side-nav-font-weight: normal;
798
- // $side-nav-font-family: $body-font-family;
799
- // $side-nav-active-font-family: $side-nav-font-family;
800
-
801
-
802
-
803
- // We use these to control border styles
804
- // $side-nav-divider-size: 1px;
805
- // $side-nav-divider-style: solid;
806
- // $side-nav-divider-color: scale-color(#fff, $lightness: -10%);
807
-
808
- // Split Buttons
809
-
810
- // $include-html-button-classes: $include-html-classes;
811
-
812
- // We use these to control different shared styles for Split Buttons
813
- // $split-button-function-factor: 10%;
814
- // $split-button-pip-color: #fff;
815
- // $split-button-pip-color-alt: #333;
816
- // $split-button-active-bg-tint: rgba(0,0,0,0.1);
817
-
818
- // We use these to control tiny split buttons
819
- // $split-button-padding-tny: $button-pip-tny * 10;
820
- // $split-button-span-width-tny: $button-pip-tny * 6;
821
- // $split-button-pip-size-tny: $button-pip-tny;
822
- // $split-button-pip-top-tny: $button-pip-tny * 2;
823
- // $split-button-pip-default-float-tny: rem-calc(-6);
824
-
825
- // We use these to control small split buttons
826
- // $split-button-padding-sml: $button-pip-sml * 10;
827
- // $split-button-span-width-sml: $button-pip-sml * 6;
828
- // $split-button-pip-size-sml: $button-pip-sml;
829
- // $split-button-pip-top-sml: $button-pip-sml * 1.5;
830
- // $split-button-pip-default-float-sml: rem-calc(-6);
831
-
832
- // We use these to control medium split buttons
833
- // $split-button-padding-med: $button-pip-med * 9;
834
- // $split-button-span-width-med: $button-pip-med * 5.5;
835
- // $split-button-pip-size-med: $button-pip-med - rem-calc(3);
836
- // $split-button-pip-top-med: $button-pip-med * 1.5;
837
- // $split-button-pip-default-float-med: rem-calc(-6);
838
-
839
- // We use these to control large split buttons
840
- // $split-button-padding-lrg: $button-pip-lrg * 8;
841
- // $split-button-span-width-lrg: $button-pip-lrg * 5;
842
- // $split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
843
- // $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5);
844
- // $split-button-pip-default-float-lrg: rem-calc(-6);
845
-
846
- // Sub Nav
847
-
848
- // $include-html-nav-classes: $include-html-classes;
849
-
850
- // We use these to control margin and padding
851
- // $sub-nav-list-margin: rem-calc(-4 0 18);
852
- // $sub-nav-list-padding-top: rem-calc(4);
853
-
854
- // We use this to control the definition
855
- // $sub-nav-font-family: $body-font-family;
856
- // $sub-nav-font-size: rem-calc(14);
857
- // $sub-nav-font-color: #999;
858
- // $sub-nav-font-weight: normal;
859
- // $sub-nav-text-decoration: none;
860
- // $sub-nav-border-radius: 3px;
861
- // $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
862
-
863
-
864
- // We use these to control the active item styles
865
-
866
- // $sub-nav-active-font-weight: normal;
867
- // $sub-nav-active-bg: $primary-color;
868
- // $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
869
- // $sub-nav-active-color: #fff;
870
- // $sub-nav-active-padding: rem-calc(3 16);
871
- // $sub-nav-active-cursor: default;
872
-
873
- // $sub-nav-item-divider: "";
874
- // $sub-nav-item-divider-margin: rem-calc(12);
875
-
876
- //
877
- // SWITCH
878
- //
879
-
880
- // $include-html-form-classes: $include-html-classes;
881
-
882
- // Controlling border styles and background colors for the switch container
883
- // $switch-border-color: scale-color(#fff, $lightness: -20%);
884
- // $switch-border-style: solid;
885
- // $switch-border-width: 1px;
886
- // $switch-bg: #fff;
887
-
888
- // We use these to control the switch heights for our default classes
889
- // $switch-height-tny: 22px;
890
- // $switch-height-sml: 28px;
891
- // $switch-height-med: 36px;
892
- // $switch-height-lrg: 44px;
893
- // $switch-bottom-margin: rem-calc(20);
894
-
895
- // We use these to control default font sizes for our classes.
896
- // $switch-font-size-tny: 11px;
897
- // $switch-font-size-sml: 12px;
898
- // $switch-font-size-med: 14px;
899
- // $switch-font-size-lrg: 17px;
900
- // $switch-label-side-padding: 6px;
901
-
902
- // We use these to style the switch-paddle
903
- // $switch-paddle-bg: #fff;
904
- // $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
905
- // $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
906
- // $switch-paddle-border-width: 1px;
907
- // $switch-paddle-border-style: solid;
908
- // $switch-paddle-transition-speed: .1s;
909
- // $switch-paddle-transition-ease: ease-out;
910
- // $switch-positive-color: scale-color($success-color, $lightness: 94%);
911
- // $switch-negative-color: #f5f5f5;
912
-
913
- // Outline Style for tabbing through switches
914
- // $switch-label-outline: 1px dotted #888;
915
-
916
- // Tables
917
-
918
- // $include-html-table-classes: $include-html-classes;
919
-
920
- // These control the background color for the table and even rows
921
- // $table-bg: #fff;
922
- // $table-even-row-bg: #f9f9f9 ;
923
-
924
- // These control the table cell border style
925
- // $table-border-style: solid;
926
- // $table-border-size: 1px;
927
- // $table-border-color: #ddd;
928
-
929
- // These control the table head styles
930
- // $table-head-bg: #f5f5f5 ;
931
- // $table-head-font-size: rem-calc(14);
932
- // $table-head-font-color: #222;
933
- // $table-head-font-weight: bold;
934
- // $table-head-padding: rem-calc(8 10 10);
935
-
936
- // These control the row padding and font styles
937
- // $table-row-padding: rem-calc(9 10);
938
- // $table-row-font-size: rem-calc(14);
939
- // $table-row-font-color: #222;
940
- // $table-line-height: rem-calc(18);
941
-
942
- // These are for controlling the display and margin of tables
943
- // $table-display: table-cell;
944
- // $table-margin-bottom: rem-calc(20);
945
-
946
- //
947
- // TABS
948
- //
949
-
950
- // $include-html-tabs-classes: $include-html-classes;
951
-
952
- // $tabs-navigation-padding: rem-calc(16);
953
- // $tabs-navigation-bg-color: #efefef ;
954
- // $tabs-navigation-active-bg-color: #fff;
955
- // $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
956
- // $tabs-navigation-font-color: #222;
957
- // $tabs-navigation-font-size: rem-calc(16);
958
- // $tabs-navigation-font-family: $body-font-family;
959
-
960
- // $tabs-content-margin-bottom: rem-calc(24);
961
- // $tabs-content-padding: $column-gutter/2;
962
-
963
- // $tabs-vertical-navigation-margin-bottom: 1.25rem;
964
-
965
- //
966
- // THUMBNAILS
967
- //
968
-
969
- // $include-html-media-classes: $include-html-classes;
970
-
971
- // We use these to control border styles
972
- // $thumb-border-style: solid;
973
- // $thumb-border-width: 4px;
974
- // $thumb-border-color: #fff;
975
- // $thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
976
- // $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
977
-
978
- // Radius and transition speed for thumbs
979
- // $thumb-radius: $global-radius;
980
- // $thumb-transition-speed: 200ms;
981
-
982
- //
983
- // TOOLTIPS
984
- //
985
-
986
- // $include-html-tooltip-classes: $include-html-classes;
987
-
988
- // $has-tip-border-bottom: dotted 1px #ccc;
989
- // $has-tip-font-weight: bold;
990
- // $has-tip-font-color: #333;
991
- // $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
992
- // $has-tip-font-color-hover: $primary-color;
993
- // $has-tip-cursor-type: help;
994
-
995
- // $tooltip-padding: rem-calc(12);
996
- // $tooltip-bg: #333;
997
- // $tooltip-font-size: rem-calc(14);
998
- // $tooltip-font-weight: normal;
999
- // $tooltip-font-color: #fff;
1000
- // $tooltip-line-height: 1.3;
1001
- // $tooltip-close-font-size: rem-calc(10);
1002
- // $tooltip-close-font-weight: normal;
1003
- // $tooltip-close-font-color: #777;
1004
- // $tooltip-font-size-sml: rem-calc(14);
1005
- // $tooltip-radius: $global-radius;
1006
- // $tooltip-pip-size: 5px;
1007
-
1008
- //
1009
- // TOP BAR
1010
- //
1011
-
1012
- // $include-html-top-bar-classes: $include-html-classes;
1013
-
1014
- // Background color for the top bar
1015
- // $topbar-bg-color: #333;
1016
- // $topbar-bg: $topbar-bg-color;
1017
-
1018
- // Height and margin
1019
- // $topbar-height: 45px;
1020
- // $topbar-margin-bottom: 0;
1021
-
1022
- // Controlling the styles for the title in the top bar
1023
- // $topbar-title-weight: normal;
1024
- // $topbar-title-font-size: rem-calc(17);
1025
-
1026
- // Style the top bar dropdown elements
1027
- // $topbar-dropdown-bg: #333;
1028
- // $topbar-dropdown-link-color: #fff;
1029
- // $topbar-dropdown-link-bg: #333;
1030
- // $topbar-dropdown-link-weight: normal;
1031
- // $topbar-dropdown-toggle-size: 5px;
1032
- // $topbar-dropdown-toggle-color: #fff;
1033
- // $topbar-dropdown-toggle-alpha: 0.4;
1034
-
1035
- // Set the link colors and styles for top-level nav
1036
- // $topbar-link-color: #fff;
1037
- // $topbar-link-color-hover: #fff;
1038
- // $topbar-link-color-active: #fff;
1039
- // $topbar-link-weight: normal;
1040
- // $topbar-link-font-size: rem-calc(13);
1041
- // $topbar-link-hover-lightness: -10%; // Darken by 10%
1042
- // $topbar-link-bg-hover: #272727 ;
1043
- // $topbar-link-bg-active: $primary-color;
1044
- // $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
1045
- // $topbar-link-font-family: $body-font-family;
1046
-
1047
- // $topbar-button-font-size: 0.75rem;
1048
-
1049
- // $topbar-dropdown-label-color: #777;
1050
- // $topbar-dropdown-label-text-transform: uppercase;
1051
- // $topbar-dropdown-label-font-weight: bold;
1052
- // $topbar-dropdown-label-font-size: rem-calc(10);
1053
- // $topbar-dropdown-label-bg: #333;
1054
-
1055
- // Top menu icon styles
1056
- // $topbar-menu-link-transform: uppercase;
1057
- // $topbar-menu-link-font-size: rem-calc(13);
1058
- // $topbar-menu-link-weight: bold;
1059
- // $topbar-menu-link-color: #fff;
1060
- // $topbar-menu-icon-color: #fff;
1061
- // $topbar-menu-link-color-toggled: #888;
1062
- // $topbar-menu-icon-color-toggled: #888;
1063
-
1064
- // Transitions and breakpoint styles
1065
- // $topbar-transition-speed: 300ms;
1066
- // Using rem-calc for the below breakpoint causes issues with top bar
1067
- // $topbar-breakpoint: #{upper-bound($medium-range)}; // Change to 9999px for always mobile layout
1068
- // $topbar-media-query: "only screen and (min-width: #{upper-bound($medium-range)})";
1069
-
1070
- // Divider Styles
1071
- // $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
1072
- // $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%);
1073
-
1074
- // Sticky Class
1075
- // $topbar-sticky-class: ".sticky";
1076
- // $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
1077
-
1078
- //
1079
- // TYPOGRAPHY
1080
- //
1081
-
1082
- // $include-html-type-classes: $include-html-classes;
1083
- // $include-open-sans: true;
1084
-
1085
- // We use these to control header font styles
1086
- // $header-font-family: join("Open Sans", $body-font-family);
1087
- // $header-font-weight: 300;
1088
- // $header-font-style: normal;
1089
- // $header-font-color: #222;
1090
- // $header-line-height: 1.4;
1091
- // $header-top-margin: .2rem;
1092
- // $header-bottom-margin: .5rem;
1093
- // $header-text-rendering: optimizeLegibility;
1094
-
1095
- // We use these to control header font sizes
1096
- // $h1-font-size: rem-calc(44);
1097
- // $h2-font-size: rem-calc(37);
1098
- // $h3-font-size: rem-calc(27);
1099
- // $h4-font-size: rem-calc(23);
1100
- // $h5-font-size: rem-calc(18);
1101
- // $h6-font-size: 1rem;
1102
-
1103
- // These control how subheaders are styled.
1104
- // $subheader-line-height: 1.4;
1105
- // $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
1106
- // $subheader-font-weight: 300;
1107
- // $subheader-top-margin: .2rem;
1108
- // $subheader-bottom-margin: .5rem;
1109
-
1110
- // A general <small> styling
1111
- // $small-font-size: 60%;
1112
- // $small-font-color: scale-color($header-font-color, $lightness: 35%);
1113
-
1114
- // We use these to style paragraphs
1115
- // $paragraph-font-family: inherit;
1116
- // $paragraph-font-weight: normal;
1117
- // $paragraph-font-size: 1rem;
1118
- // $paragraph-line-height: 1.6;
1119
- // $paragraph-margin-bottom: rem-calc(20);
1120
- // $paragraph-aside-font-size: rem-calc(14);
1121
- // $paragraph-aside-line-height: 1.35;
1122
- // $paragraph-aside-font-style: italic;
1123
- // $paragraph-text-rendering: optimizeLegibility;
1124
-
1125
- // We use these to style <code> tags
1126
- // $code-color: scale-color($alert-color, $lightness: -27%);
1127
- // $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
1128
- // $code-font-weight: bold;
1129
-
1130
- // We use these to style anchors
1131
- // $anchor-text-decoration: none;
1132
- // $anchor-font-color: $primary-color;
1133
- // $anchor-font-color-hover: scale-color($primary-color, $lightness: -14%);
1134
-
1135
- // We use these to style the <hr> element
1136
- // $hr-border-width: 1px;
1137
- // $hr-border-style: solid;
1138
- // $hr-border-color: #ddd;
1139
- // $hr-margin: rem-calc(20);
1140
-
1141
- // We use these to style lists
1142
- // $list-style-position: outside;
1143
- // $list-side-margin: 1.1rem;
1144
- // $list-ordered-side-margin: 1.4rem;
1145
- // $list-side-margin-no-bullet: 0;
1146
- // $list-nested-margin: rem-calc(20);
1147
- // $definition-list-header-weight: bold;
1148
- // $definition-list-header-margin-bottom: .3rem;
1149
- // $definition-list-margin-bottom: rem-calc(12);
1150
-
1151
- // We use these to style blockquotes
1152
- // $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
1153
- // $blockquote-padding: rem-calc(9 20 0 19);
1154
- // $blockquote-border: 1px solid #ddd;
1155
- // $blockquote-cite-font-size: rem-calc(13);
1156
- // $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
1157
- // $blockquote-cite-link-color: $blockquote-cite-font-color;
1158
-
1159
- // Acronym styles
1160
- // $acronym-underline: 1px dotted #ddd;
1161
-
1162
- // We use these to control padding and margin
1163
- // $microformat-padding: rem-calc(10 12);
1164
- // $microformat-margin: rem-calc(0 0 20 0);
1165
-
1166
- // We use these to control the border styles
1167
- // $microformat-border-width: 1px;
1168
- // $microformat-border-style: solid;
1169
- // $microformat-border-color: #ddd;
1170
-
1171
- // We use these to control full name font styles
1172
- // $microformat-fullname-font-weight: bold;
1173
- // $microformat-fullname-font-size: rem-calc(15);
1174
-
1175
- // We use this to control the summary font styles
1176
- // $microformat-summary-font-weight: bold;
1177
-
1178
- // We use this to control abbr padding
1179
- // $microformat-abbr-padding: rem-calc(0 1);
1180
-
1181
- // We use this to control abbr font styles
1182
- // $microformat-abbr-font-weight: bold;
1183
- // $microformat-abbr-font-decoration: none;
1184
-
1185
- //
1186
- // VISIBILITY CLASSES
1187
- //
1188
-
1189
- // $include-html-visibility-classes: $include-html-classes;
1190
-
1191
- @import 'foundation';