auther 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +47 -9
- data/app/assets/javascripts/auther/application.js +5 -0
- data/app/assets/stylesheets/auther/application.scss +1 -0
- data/app/assets/stylesheets/auther/foundation_and_overrides.scss +1191 -0
- data/app/controllers/auther/base_controller.rb +79 -0
- data/app/controllers/auther/session_controller.rb +4 -52
- data/app/models/auther/account.rb +44 -3
- data/app/views/auther/session/new.html.slim +31 -20
- data/app/views/layouts/auther/auth.html.slim +12 -9
- data/lib/auther/engine.rb +12 -0
- data/lib/auther/gatekeeper.rb +27 -17
- data/lib/auther/version.rb +1 -1
- metadata +47 -4
- metadata.gz.sig +0 -0
- data/app/assets/stylesheets/auther/application.css.scss +0 -45
- data/app/controllers/auther/application_controller.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f17e327c4dabbffda8ee383dae1ef6bdeaf24133
|
4
|
+
data.tar.gz: 67bf753f588c0e086648e03797a5d2dfa8ada553
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6888f4b765335b231ac2209f9982a1e079eb0ba2ee5858c2818e4cffdba3020fed4795f777bd03a13db572163abab3080559a4f2115eb12a557ff7f29153773a
|
7
|
+
data.tar.gz: 3ae905d11cb2351d79ffc72412265f0d2f4daa9a59f8eda196d08ad7e431e25273e150d45400530cd996c5c20ce2cba248b56e0c53f9d9b30334e05cf52d6811
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -9,8 +9,11 @@ HTTP Basic Authentication and/or want to be compatible with password managers.
|
|
9
9
|
|
10
10
|
# Features
|
11
11
|
|
12
|
-
* Encrypted session account credentials.
|
13
12
|
* Form-based authentication compatible with password managers like [1Password](https://agilebits.com/onepassword).
|
13
|
+
|
14
|
+
[![Screenshot](https://github.com/bkuhlmann/auther/raw/master/screenshot.png)](https://github.com/bkuhlmann/auther)
|
15
|
+
|
16
|
+
* Encrypted session account credentials.
|
14
17
|
* Multiple account support with account specific blacklisted paths.
|
15
18
|
* Auto-redirection to requested path (once credentials have been verified).
|
16
19
|
* Customizable session view.
|
@@ -47,18 +50,20 @@ Edit your application.rb as follows:
|
|
47
50
|
|
48
51
|
module Example
|
49
52
|
class Application < Rails::Application
|
53
|
+
|
50
54
|
config.auther_settings = {
|
55
|
+
title: "Authorization",
|
56
|
+
label: "Authorization",
|
51
57
|
accounts: [
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
paths: ["/admin"]
|
57
|
-
}
|
58
|
+
name: "admin",
|
59
|
+
login: "N3JzR213WlBISDZsMjJQNkRXbEVmYVczbVdnMHRYVHRud29lOWRCekp6ST0tLWpFMkROekUvWDBkOHZ4ZngxZHV6clE9PQ==--cd863c39991fa4bb9a35de918aa16da54514e331",
|
60
|
+
password: "cHhFSStjRm9KbEYwK3ZJVlF2MmpTTWVVZU5acEdlejZsZEhjWFJoQWxKND0tLTE3cmpXZVBQdW5VUW1jK0ZSSDdLUnc9PQ==--f51171174fa77055540420f205e0dd9d499cfeb6",
|
61
|
+
paths: ["/admin"]
|
58
62
|
],
|
59
63
|
secret: "vuKrwD9XWoYuv@s99?tR(9VqryiL,KV{W7wFnejUa4QcVBP+D{2rD4JfuD(mXgA=$tNK4Pfn#NeGs3o3TZ3CqNc^Qb",
|
60
64
|
auth_url: "/login"
|
61
65
|
}
|
66
|
+
|
62
67
|
end
|
63
68
|
end
|
64
69
|
|
@@ -87,11 +92,44 @@ To encrypt/decrypt account credentials, launch a rails console and type the foll
|
|
87
92
|
|
88
93
|
# Customization
|
89
94
|
|
90
|
-
|
91
|
-
|
95
|
+
## Model
|
96
|
+
|
97
|
+
The [Auther::Account](app/models/auther/account.rb) is a plain old Ruby object that uses ActiveRecord validations
|
98
|
+
to aid in form/credential validation. This model could potentially be replaced with a database-backed object if
|
99
|
+
desired (would require controller customization)...but, if this neccessary, you might want to question if you have
|
100
|
+
outgrown the use of this gem and require a different solution altogether.
|
101
|
+
|
102
|
+
## Views
|
103
|
+
|
104
|
+
The view can be customized by creating the following file within your Rails application (assumes that the
|
105
|
+
default Auther::SessionController implementation is sufficient):
|
92
106
|
|
93
107
|
app/views/auther/session/new.html
|
94
108
|
|
109
|
+
## Controller
|
110
|
+
|
111
|
+
The [Auther::SessionController](app/controllers/auther/session_controller.rb) inherits from the
|
112
|
+
[Auther::BaseController](app/controllers/auther/base_controller.rb). To customize, it is recommended that
|
113
|
+
you add a controller to your app that inherit from the Auther::BaseController. Example:
|
114
|
+
|
115
|
+
# Example Path: app/controllers/session_controller.rb
|
116
|
+
class SessionController < Auther::BaseController
|
117
|
+
layout "example_site_layout"
|
118
|
+
end
|
119
|
+
|
120
|
+
This allows complete customization of session controller behavior to serve any special business needs. See the
|
121
|
+
Auther::BaseController for additional details or the Auther::SessionController for default implementation.
|
122
|
+
|
123
|
+
## Routes
|
124
|
+
|
125
|
+
As mentioned in the setup above, the routes can also be customized. Example:
|
126
|
+
|
127
|
+
Rails.application.routes.draw do
|
128
|
+
mount Auther::Engine => "/auther"
|
129
|
+
get "/login", to: "auther/session#new"
|
130
|
+
delete "/logout", to: "auther/session#destroy"
|
131
|
+
end
|
132
|
+
|
95
133
|
# Tests
|
96
134
|
|
97
135
|
To test, do the following:
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "foundation_and_overrides";
|
@@ -0,0 +1,1191 @@
|
|
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';
|