faalis 0.24.0 → 0.24.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/faalis/dashboard/modules/auth/#group.js# +155 -0
  3. data/app/assets/stylesheets/faalis/dashboard/dashboard.css.scss +1 -1
  4. data/app/assets/stylesheets/faalis/dashboard/ltr/application.css +1 -0
  5. data/app/assets/stylesheets/faalis/dashboard/ltr/base.css.scss.erb +6 -1
  6. data/app/assets/stylesheets/faalis/dashboard/ltr/buttons.css.scss.erb +3 -3
  7. data/app/assets/stylesheets/faalis/dashboard/ltr/foundation_and_overrides.css.scss +755 -508
  8. data/app/assets/stylesheets/faalis/dashboard/rtl/base.css.scss.erb +5 -1
  9. data/app/assets/stylesheets/faalis/dashboard/rtl/buttons.css.scss.erb +3 -3
  10. data/app/assets/stylesheets/faalis/dashboard/rtl/foundation_and_overrides.css.scss +758 -508
  11. data/app/assets/stylesheets/faalis/ltr/buttons.css.scss.erb +4 -7
  12. data/app/assets/stylesheets/faalis/ltr/foundation_and_overrides.scss +1254 -0
  13. data/app/assets/stylesheets/faalis/rtl/buttons.css.scss.erb +4 -7
  14. data/app/assets/stylesheets/faalis/rtl/foundation_and_overrides.css.scss +1264 -0
  15. data/app/controllers/faalis/#api_controller.rb# +51 -0
  16. data/lib/faalis/generators/fields/#relation.rb# +61 -0
  17. data/lib/faalis/version.rb +1 -1
  18. data/lib/generators/faalis/install_generator.rb +1 -1
  19. metadata +26 -34
  20. data/app/assets/javascripts/faalis/dashboard/gen-doc.sh~ +0 -3
  21. data/app/assets/stylesheets/faalis/dashboard/ltr/time.css_flymake.scss +0 -58
  22. data/app/assets/stylesheets/faalis/dashboard/rtl/base.css_flymake.scss +0 -25
  23. data/app/assets/stylesheets/faalis/ltr/foundation_and_overrides.scss.erb +0 -1012
  24. data/app/controllers/faalis/#1.sh# +0 -0
  25. data/spec/dummy/log/development.log +0 -0
  26. data/spec/dummy/log/test.log +0 -15
  27. data/spec/dummy/tmp/ember-rails/ember-data.js +0 -10204
  28. data/spec/dummy/tmp/ember-rails/ember.js +0 -36991
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7d3bb0fdba2d895f1cd67581646ec7d7e514c7b
4
- data.tar.gz: b89748c70348e974d464b913e24ab30736df77d2
3
+ metadata.gz: 2b6b6be23ac3c30760c9be86be09b2fa58c75be3
4
+ data.tar.gz: a522ea23d5e9bb7ec08f8afad638fa357979a301
5
5
  SHA512:
6
- metadata.gz: 77b4804983d000754b174e9af61596def605d98324b41a0bf4c41d44944dc7ccf6cb5e4a5dcd6f25210bf20704eaab621aaf2f4d3094188ea351aa8a8327ba2f
7
- data.tar.gz: df429b636e2ba6d925f303177d1b9a5c6420e12ce4d6abfd308978a389dab04effb84ec51627a256edd91db9666809bbc3fa58fe6201fe222a814dd8f120c116
6
+ metadata.gz: 8f1dd54f3dda485264118d70b1310dd36aa8adb87c0ff3dfbe451da52cc7b6c5559676db0c2c4a71c70825896aa1852b0bc25f35fbf858a54a6372d95eaa5aaf
7
+ data.tar.gz: 490c0b41a3b852952126a04f2252e9b76cf6ae74db63e455204b18b103d270c512428cecfcda6049061e7f15eb081473d9a675f7f7a85a02555b4bac98bb6e23
@@ -0,0 +1,155 @@
1
+ var Group = angular.module("Group", ["ListView", "Errors"]);
2
+
3
+ Group.config(["$routeProvider", function($routeProvider){
4
+ $routeProvider.
5
+ when("/auth/groups",{
6
+ templateUrl: template("auth/groups/index"),
7
+ controller: "GroupsController"
8
+ }).
9
+ when("/auth/groups/new",{
10
+ templateUrl: template("auth/groups/new"),
11
+ controller: "AddGroupController"
12
+ }).
13
+ when("/auth/groups/:id/edit",{
14
+ templateUrl: template("auth/groups/new"),
15
+ controller: "AddGroupController"
16
+ });
17
+
18
+ }]);
19
+
20
+ Group.controller("GroupsController", ["$scope", "gettext", "Restangular", "catch_error", function($scope, gettext, API, catch_error){
21
+ $scope.details_template = template("auth/groups/details");
22
+
23
+ $scope.buttons = [
24
+ {
25
+ title: gettext("new"),
26
+ icon: "fa fa-plus",
27
+ classes: "btn tiny green",
28
+ route: "#/auth/groups/new"
29
+
30
+ }
31
+ ];
32
+
33
+ $scope.on_delete = function(groups){
34
+
35
+ var query = [];
36
+ groups.forEach(function(group){
37
+ query.push(group.id);
38
+ });
39
+
40
+ API.all("groups").customDELETE(query.join(","))
41
+ .then(function(data) {
42
+
43
+ $scope.groups = _.filter($scope.groups, function(x){
44
+ return !(query.indexOf(x.id) != -1);
45
+ });
46
+ success_message(data.msg);
47
+ })
48
+ .catch(catch_error);
49
+
50
+ };
51
+
52
+
53
+ API.all("groups").getList()
54
+ .then(function(data){
55
+ $scope.groups = data;
56
+ })
57
+ .catch(catch_error);
58
+
59
+ }]);
60
+
61
+ Group.controller("AddGroupController", ["Restangular", "$scope", "$location", "$routeParams", "gettext", "catch_error", function(API, $scope, $location, $routeParams, gettext, catch_error){
62
+
63
+ $scope.selected_perms = [];
64
+ $scope.permissions = [];
65
+ $scope.editing = false;
66
+
67
+ $scope.$on("update_perms", function(event) {
68
+ var sel_perms = [];
69
+ event.targetScope.selected_perms.forEach(function(perm){
70
+
71
+ var tmpobj = _.find(event.targetScope.permissions, function(x) {
72
+ return perm.name == x.name;
73
+ });
74
+
75
+ if ( tmpobj ) {
76
+ event.targetScope.select_permission(tmpobj);
77
+ }
78
+ });
79
+
80
+ });
81
+
82
+ $scope.obj_id = null;
83
+
84
+ if("id" in $routeParams){
85
+ $scope.obj_id = $routeParams.id;
86
+ $scope.editing = true;
87
+ var obj = API.one("groups", $scope.obj_id).get()
88
+ .then(function(data) {
89
+ $scope.new_name = data.name;
90
+ $scope.selected_perms = data.permissions;
91
+ $scope.$emit("update_perms");
92
+ })
93
+ .catch(catch_error);
94
+ }
95
+
96
+
97
+ var permissions = API.all('permissions').getList()
98
+ .then(function(data){
99
+ $scope.permissions = data;
100
+ $scope.$emit("update_perms");
101
+ })
102
+ .catch(catch_error);
103
+
104
+
105
+ $scope.select_permission = function(perm){
106
+ if( "is_selected" in perm ){
107
+ perm.is_selected = ! perm.is_selected;
108
+ return;
109
+ }
110
+ perm.is_selected = true;
111
+ };
112
+
113
+ $scope.is_selected = function(perm){
114
+ if( "is_selected" in perm ){
115
+ return perm.is_selected;
116
+ }
117
+ return false;
118
+ };
119
+
120
+ $scope.cancel = function(){
121
+ $(".form input").val("");
122
+ for(var i = 0; i < $scope.permissions.length;i++) {
123
+ $scope.permissions[i].is_selected = false;
124
+ }
125
+ };
126
+
127
+ $scope.save = function(){
128
+ var permissions = [];
129
+
130
+ for(var i = 0; i < $scope.permissions.length;i++) {
131
+ if ($scope.permissions[i].is_selected){
132
+ permissions.push($scope.permissions[i].name);
133
+ }
134
+ }
135
+
136
+ var group = {name: $scope.new_name,
137
+ permissions: permissions};
138
+ if ($scope.obj_id) {
139
+ API.one("groups", $scope.obj_id).patch(group)
140
+ .then(function(){
141
+ success_message(gettext("Group updated successfully."));
142
+ $location.path("/auth/groups");
143
+ })
144
+ .catch(catch_error);
145
+ }
146
+ else {
147
+ API.all("groups").post(group).then(function(){
148
+ success_message(gettext("Group created successfully."));
149
+ $location.path("/auth/groups");
150
+
151
+ }).catch(catch_error);
152
+ }
153
+
154
+ };
155
+ }]);
@@ -1,6 +1,7 @@
1
1
  @import "faalis/variables";
2
2
  @import "faalis/mixins";
3
3
 
4
+
4
5
  .row {
5
6
  width: 100% !important;
6
7
  max-width: 100%;
@@ -91,7 +92,6 @@ header {
91
92
 
92
93
 
93
94
  ul{
94
- margin-bottom:0px !important;
95
95
  margin-bottom:0;
96
96
  }
97
97
 
@@ -13,6 +13,7 @@
13
13
  *= require faalis/variables
14
14
  *= require font-awesome
15
15
  *= require faalis/base
16
+
16
17
  *= require ./base
17
18
  *= require ./buttons
18
19
  *= require_self
@@ -6,7 +6,7 @@
6
6
  src: url(<%= asset_path("OpenSans-Regular.ttf") %>) format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
7
7
  }
8
8
 
9
- * {
9
+ html {
10
10
  font-family: 'Open Sans', serif;
11
11
  }
12
12
 
@@ -25,4 +25,9 @@ textarea {
25
25
  }
26
26
  .subnav {
27
27
  right: 10px;
28
+ }
29
+
30
+ ul {
31
+ /*FIXME: We should not use !important here */
32
+ margin-left: 0 !important;
28
33
  }
@@ -36,15 +36,15 @@
36
36
  }
37
37
 
38
38
  .tiny {
39
- @include button-size($button-tny, false, false);
39
+ @include button-size($button-tny, false);
40
40
  }
41
41
 
42
42
  .small {
43
- @include button-size($button-sml, false, false);
43
+ @include button-size($button-sml, false);
44
44
  }
45
45
 
46
46
  .medium {
47
- @include button-size($button-med, false, false);
47
+ @include button-size($button-med, false);
48
48
  }
49
49
 
50
50
 
@@ -1,19 +1,44 @@
1
- // Required global settings and mixins for Foundation
2
- @import "foundation/foundation-global";
3
1
  @import "faalis/variables";
4
-
5
- // Settings file to override Foundation variables
6
-
7
- // You can find the variables for each component at the bottom of their
8
- // doc page. We tried to name them to where they'd make sense just by reading them.
9
- // Go to http://foundation.zurb.com/docs/ to find what you need.
2
+ // Foundation by ZURB
3
+ // foundation.zurb.com
4
+ // Licensed under MIT Open Source
10
5
 
11
6
  //
12
- // Foundation Global Variables
7
+ // FOUNDATION SETTINGS
13
8
  //
14
9
 
15
- // This is the default html and body font-size for the base em value.
16
- // $em-base: 16px;
10
+ // This is the default html and body font-size for the base rem value.
11
+ // $rem-base: 16px;
12
+
13
+ // Allows the use of rem-calc() or lower-bound() in your settings
14
+ @import "foundation/functions";
15
+
16
+ // $experimental: true;
17
+
18
+ // The default font-size is set to 100% of the browser style sheet (usually 16px)
19
+ // for compatibility with browser-based text zoom or user-set defaults.
20
+
21
+ // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
22
+ // If you want your base font-size to be different and not have it affect the grid breakpoints,
23
+ // set $rem-base to $base-font-size and make sure $base-font-size is a px value.
24
+ // $base-font-size: 100%;
25
+
26
+ // The $base-line-height is 100% while $base-font-size is 150%
27
+ // $base-line-height: 150%;
28
+
29
+ // We use this to control whether or not CSS classes come through in the gem files.
30
+ // $include-html-classes: true;
31
+ // $include-print-styles: true;
32
+ // $include-html-global-classes: $include-html-classes;
33
+
34
+ // Grid
35
+
36
+ // $include-html-grid-classes: $include-html-classes;
37
+ // $include-xl-html-grid-classes: false;
38
+
39
+ // $row-width: rem-calc(1000);
40
+ // $column-gutter: rem-calc(30);
41
+ // $total-columns: 12;
17
42
 
18
43
  // We use these to control various global styles
19
44
  // $body-bg: #fff;
@@ -26,14 +51,17 @@
26
51
  // $font-smoothing: antialiased;
27
52
 
28
53
  // We use these to control text direction settings
29
-
30
- $text-direction: ltr;
54
+ // $text-direction: ltr;
55
+ // $opposite-direction: right;
56
+ // $default-float: left;
31
57
 
32
58
  // We use these as default colors throughout
33
- // $primary-color: #2ba6cb;
34
- // $secondary-color: #e9e9e9;
35
- $alert-color: $alizarin;
36
- $success-color: $emerald;
59
+ // $primary-color: #008CBA;
60
+ // $secondary-color: #e7e7e7;
61
+ // $alert-color: #f04124;
62
+ // $success-color: #43AC6A;
63
+ // $warning-color: #f08a24;
64
+ // $info-color: #a0d3e8;
37
65
 
38
66
  // We use these to make sure border radius matches unless we want it different.
39
67
  // $global-radius: 3px;
@@ -44,124 +72,131 @@ $success-color: $emerald;
44
72
  // $shiny-edge-color: rgba(#fff, .5);
45
73
  // $shiny-edge-active-color: rgba(#000, .2);
46
74
 
47
- // We use this to control whether or not CSS classes come through in the gem files.
48
- $include-html-classes: true;
49
- // $include-print-styles: true;
75
+ // Media Query Ranges
76
+ // $small-range: (0em, 40em);
77
+ // $medium-range: (40.063em, 64em);
78
+ // $large-range: (64.063em, 90em);
79
+ // $xlarge-range: (90.063em, 120em);
80
+ // $xxlarge-range: (120.063em);
50
81
 
51
- // Modular html classes
52
- // $include-html-grid-classes: $include-html-classes;
53
- // $include-html-visibility-classes: $include-html-classes;
54
- // $include-html-button-classes: $include-html-classes;
55
- // $include-html-form-classes: $include-html-classes;
56
- // $include-html-media-classes: $include-html-classes;
57
- // $include-html-section-classes: $include-html-classes;
58
- // $include-html-reveal-classes: $include-html-classes;
59
- // $include-html-alert-classes: $include-html-classes;
60
- // $include-html-nav-classes: $include-html-classes;
61
- // $include-html-label-classes: $include-html-classes;
62
- // $include-html-panel-classes: $include-html-classes;
63
- // $include-html-pricing-classes: $include-html-classes;
64
- // $include-html-progress-classes: $include-html-classes;
82
+ // $screen: "only screen";
65
83
 
66
- //
67
- // Grid Variables
68
- //
84
+ // $landscape: "#{$screen} and (orientation: landscape)";
85
+ // $portrait: "#{$screen} and (orientation: portrait)";
69
86
 
70
- //$row-width: 100%;
71
- // $column-gutter: 1.875em;
72
- // $total-columns: 12;
87
+ // $small-up: $screen;
88
+ // $small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})";
73
89
 
74
- //
75
- // Block Grid Variables
76
- //
90
+ // $medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})";
91
+ // $medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})";
77
92
 
78
- // We use this to control the maximum number of block grid elements per row
79
- // $block-grid-elements: 12;
80
- // $block-grid-default-spacing: 10px;
93
+ // $large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})";
94
+ // $large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})";
81
95
 
82
- // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
83
- // $block-grid-media-queries: true;
96
+ // $xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})";
97
+ // $xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})";
98
+
99
+ // $xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})";
100
+ // $xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})";
101
+
102
+ // Legacy
103
+ // $small: $medium-up;
104
+ // $medium: $medium-up;
105
+ // $large: $large-up;
106
+
107
+ //We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
108
+ // $cursor-crosshair-value: crosshair;
109
+ // $cursor-default-value: default;
110
+ // $cursor-pointer-value: pointer;
111
+ // $cursor-help-value: help;
112
+ // $cursor-text-value: text;
84
113
 
85
114
  //
86
- // Typography Variables
115
+ // TYPOGRAPHY
87
116
  //
88
117
 
118
+ // $include-html-type-classes: $include-html-classes;
119
+
89
120
  // We use these to control header font styles
90
- // $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
91
- // $header-font-weight: bold;
121
+ // $header-font-family: $body-font-family;
122
+ // $header-font-weight: normal;
92
123
  // $header-font-style: normal;
93
124
  // $header-font-color: #222;
94
125
  // $header-line-height: 1.4;
95
- // $header-top-margin: .2em;
96
- // $header-bottom-margin: .5em;
126
+ // $header-top-margin: .2rem;
127
+ // $header-bottom-margin: .5rem;
97
128
  // $header-text-rendering: optimizeLegibility;
98
129
 
99
130
  // We use these to control header font sizes
100
- // $h1-font-size: emCalc(44px);
101
- // $h2-font-size: emCalc(37px);
102
- // $h3-font-size: emCalc(27px);
103
- // $h4-font-size: emCalc(23px);
104
- // $h5-font-size: emCalc(18px);
105
- // $h6-font-size: 1em;
131
+ // $h1-font-size: rem-calc(44);
132
+ // $h2-font-size: rem-calc(37);
133
+ // $h3-font-size: rem-calc(27);
134
+ // $h4-font-size: rem-calc(23);
135
+ // $h5-font-size: rem-calc(18);
136
+ // $h6-font-size: 1rem;
106
137
 
107
138
  // These control how subheaders are styled.
108
139
  // $subheader-line-height: 1.4;
109
- // $subheader-font-color: lighten($header-font-color, 30%);
140
+ // $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
110
141
  // $subheader-font-weight: 300;
111
- // $subheader-top-margin: .2em;
112
- // $subheader-bottom-margin: .5em;
142
+ // $subheader-top-margin: .2rem;
143
+ // $subheader-bottom-margin: .5rem;
113
144
 
114
145
  // A general <small> styling
115
146
  // $small-font-size: 60%;
116
- // $small-font-color: lighten($header-font-color, 30%);
147
+ // $small-font-color: scale-color($header-font-color, $lightness: 35%);
117
148
 
118
149
  // We use these to style paragraphs
119
150
  // $paragraph-font-family: inherit;
120
151
  // $paragraph-font-weight: normal;
121
- // $paragraph-font-size: 1em;
152
+ // $paragraph-font-size: 1rem;
122
153
  // $paragraph-line-height: 1.6;
123
- // $paragraph-margin-bottom: emCalc(20px);
124
- // $paragraph-aside-font-size: emCalc(14px);
154
+ // $paragraph-margin-bottom: rem-calc(20);
155
+ // $paragraph-aside-font-size: rem-calc(14);
125
156
  // $paragraph-aside-line-height: 1.35;
126
157
  // $paragraph-aside-font-style: italic;
158
+ // $paragraph-text-rendering: optimizeLegibility;
127
159
 
128
160
  // We use these to style <code> tags
129
- // $code-color: darken($alert-color, 15%);
161
+ // $code-color: scale-color($alert-color, $lightness: -27%);
130
162
  // $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
131
163
  // $code-font-weight: bold;
132
164
 
133
165
  // We use these to style anchors
134
166
  // $anchor-text-decoration: none;
135
167
  // $anchor-font-color: $primary-color;
136
- // $anchor-font-color-hover: darken($primary-color, 5%);
168
+ // $anchor-font-color-hover: scale-color($primary-color, $lightness: -14%);
137
169
 
138
170
  // We use these to style the <hr> element
139
171
  // $hr-border-width: 1px;
140
172
  // $hr-border-style: solid;
141
173
  // $hr-border-color: #ddd;
142
- // $hr-margin: emCalc(20px);
174
+ // $hr-margin: rem-calc(20);
143
175
 
144
176
  // We use these to style lists
145
177
  // $list-style-position: outside;
146
- // $list-side-margin: emCalc(18px);
178
+ // $list-side-margin: 1.1rem;
179
+ // $list-ordered-side-margin: 1.4rem;
180
+ // $list-side-margin-no-bullet: 0;
181
+ // $list-nested-margin: rem-calc(20);
147
182
  // $definition-list-header-weight: bold;
148
- // $definition-list-header-margin-bottom: .3em;
149
- // $definition-list-margin-bottom: emCalc(12px);
183
+ // $definition-list-header-margin-bottom: .3rem;
184
+ // $definition-list-margin-bottom: rem-calc(12);
150
185
 
151
186
  // We use these to style blockquotes
152
- // $blockquote-font-color: lighten($header-font-color, 30%);
153
- // $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
187
+ // $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
188
+ // $blockquote-padding: rem-calc(9 20 0 19);
154
189
  // $blockquote-border: 1px solid #ddd;
155
- // $blockquote-cite-font-size: emCalc(13px);
156
- // $blockquote-cite-font-color: lighten($header-font-color, 20%);
190
+ // $blockquote-cite-font-size: rem-calc(13);
191
+ // $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
157
192
  // $blockquote-cite-link-color: $blockquote-cite-font-color;
158
193
 
159
194
  // Acronym styles
160
195
  // $acronym-underline: 1px dotted #ddd;
161
196
 
162
197
  // We use these to control padding and margin
163
- // $microformat-padding: emCalc(12px) emCalc(14px);
164
- // $microformat-margin: 0 0 emCalc(20px) 0;
198
+ // $microformat-padding: rem-calc(10 12);
199
+ // $microformat-margin: rem-calc(0 0 20 0);
165
200
 
166
201
  // We use these to control the border styles
167
202
  // $microformat-border-width: 1px;
@@ -170,233 +205,102 @@ $include-html-classes: true;
170
205
 
171
206
  // We use these to control full name font styles
172
207
  // $microformat-fullname-font-weight: bold;
173
- // $microformat-fullname-font-size: emCalc(15px);
208
+ // $microformat-fullname-font-size: rem-calc(15);
174
209
 
175
210
  // We use this to control the summary font styles
176
211
  // $microformat-summary-font-weight: bold;
177
212
 
178
213
  // We use this to control abbr padding
179
- // $microformat-abbr-padding: 0 emCalc(1px);
214
+ // $microformat-abbr-padding: rem-calc(0 1);
180
215
 
181
216
  // We use this to control abbr font styles
182
217
  // $microformat-abbr-font-weight: bold;
183
218
  // $microformat-abbr-font-decoration: none;
184
219
 
185
- //
186
- // Form Variables
187
- //
220
+ // Accordion
188
221
 
189
- // We use this to set the base for lots of form spacing and positioning styles
190
- // $form-spacing: emCalc(16px);
222
+ // $include-html-accordion-classes: $include-html-classes;
191
223
 
192
- // We use these to style the labels in different ways
193
- // $label-pointer: pointer;
194
- // $label-font-size: emCalc(14px);
195
- // $label-font-weight: 500;
196
- // $label-font-color: lighten(#000, 30%);
197
- // $label-bottom-margin: emCalc(3px);
198
- // $input-font-family: inherit;
199
- $input-font-color: $darkgray;
200
- // $input-font-size: emCalc(14px);
201
- // $input-bg-color: #fff;
202
- // $input-focus-bg-color: darken(#fff, 2%);
203
- // $input-border-color: darken(#fff, 20%);
204
- // $input-focus-border-color: darken(#fff, 40%);
205
- // $input-border-style: solid;
206
- // $input-border-width: 1px;
207
- // $input-disabled-bg: #ddd;
208
- // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
224
+ // $accordion-navigation-padding: rem-calc(16);
225
+ // $accordion-navigation-bg-color: #efefef ;
226
+ // $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
227
+ // $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
228
+ // $accordion-navigation-font-color: #222;
229
+ // $accordion-navigation-font-size: rem-calc(16);
230
+ // $accordion-navigation-font-family: $body-font-family;
209
231
 
210
- // We use these to style the fieldset border and spacing.
211
- // $fieldset-border-style: solid;
212
- // $fieldset-border-width: 1px;
213
- $fieldset-border-color: #dedede;
214
- $fieldset-padding: emCalc(20px) emCalc(30px) emCalc(20px);
215
- $fieldset-margin: emCalc(18px) 0;
232
+ // $accordion-content-padding: $column-gutter/2;
233
+ // $accordion-content-active-bg-color: #fff;
216
234
 
217
- // We use these to style the legends when you use them
218
- $legend-bg: none;
219
- // $legend-font-weight: bold;
220
- // $legend-padding: 0 emCalc(3px);
235
+ // Alert Boxes
221
236
 
222
- // We use these to style the prefix and postfix input elements
223
- // $input-prefix-bg: darken(#fff, 5%);
224
- // $input-prefix-border-color: darken(#fff, 20%);
225
- // $input-prefix-border-size: 1px;
226
- // $input-prefix-border-type: solid;
227
- // $input-prefix-overflow: hidden;
228
- // $input-prefix-font-color: #333;
229
- // $input-prefix-font-color-alt: #fff;
230
-
231
- // We use these to style the error states for inputs and labels
232
- // $input-error-message-padding: emCalc(6px) emCalc(4px);
233
- // $input-error-message-top: -($form-spacing) - emCalc(5px);
234
- // $input-error-message-font-size: emCalc(12px);
235
- // $input-error-message-font-weight: bold;
236
- // $input-error-message-font-color: #fff;
237
- // $input-error-message-font-color-alt: #333;
238
-
239
- // We use these to build padding for buttons.
240
- // $button-med: emCalc(12px);
241
- // $button-tny: emCalc(7px);
242
- // $button-sml: emCalc(9px);
243
- // $button-lrg: emCalc(16px);
244
-
245
- // We use this to control the display property.
246
- // $button-display: inline-block;
247
- // $button-margin-bottom: emCalc(20px);
248
-
249
- // We use these to control button text styles.
250
- // $button-font-family: inherit;
251
- // $button-font-color: #fff;
252
- // $button-font-color-alt: #333;
253
- // $button-font-med: emCalc(16px);
254
- // $button-font-tny: emCalc(11px);
255
- // $button-font-sml: emCalc(13px);
256
- // $button-font-lrg: emCalc(20px);
257
- // $button-font-weight: bold;
258
- // $button-font-align: center;
259
-
260
- // We use these to control various hover effects.
261
- // $button-function-factor: 10%;
262
-
263
- // We use these to control button border styles.
264
- // $button-border-width: 1px;
265
- // $button-border-style: solid;
266
- // $button-border-color: darken($primary-color, $button-function-factor);
267
-
268
- // We use this to set the default radius used throughout the core.
269
- // $button-radius: $global-radius;
270
-
271
- // We use this to set default opacity for disabled buttons.
272
- // $button-disabled-opacity: 0.6;
273
-
274
- //
275
- // Dropdown Button Variables
276
- //
277
-
278
- // We use these to set the color of the pip in dropdown buttons
279
- // $dropdown-button-pip-color: #fff;
280
- // $dropdown-button-pip-color-alt: #333;
281
-
282
- // We use these to style tiny dropdown buttons
283
- // $dropdown-button-padding-tny: $button-tny * 5;
284
- // $dropdown-button-pip-size-tny: $button-tny;
285
- // $dropdown-button-pip-right-tny: $button-tny * 2;
286
- // $dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
287
-
288
- // We use these to style small dropdown buttons
289
- // $dropdown-button-padding-sml: $button-sml * 5;
290
- // $dropdown-button-pip-size-sml: $button-sml;
291
- // $dropdown-button-pip-right-sml: $button-sml * 2;
292
- // $dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
293
-
294
- // We use these to style medium dropdown buttons
295
- // $dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
296
- // $dropdown-button-pip-size-med: $button-med - emCalc(3px);
297
- // $dropdown-button-pip-right-med: $button-med * 2;
298
- // $dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
299
-
300
- // We use these to style large dropdown buttons
301
- // $dropdown-button-padding-lrg: $button-lrg * 4;
302
- // $dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
303
- // $dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
304
- // $dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px);
305
-
306
- //
307
- // Split Button Variables
308
- //
309
-
310
- // We use these to control different shared styles for Split Buttons
311
- // $split-button-function-factor: 15%;
312
- // $split-button-pip-color: #fff;
313
- // $split-button-pip-color-alt: #333;
314
- // $split-button-active-bg-tint: rgba(0,0,0,0.1);
315
-
316
- // We use these to control tiny split buttons
317
- // $split-button-padding-tny: $button-tny * 9;
318
- // $split-button-span-width-tny: $button-tny * 6.5;
319
- // $split-button-pip-size-tny: $button-tny;
320
- // $split-button-pip-top-tny: $button-tny * 2;
321
- // $split-button-pip-left-tny: emCalc(-5px);
322
-
323
- // We use these to control small split buttons
324
- // $split-button-padding-sml: $button-sml * 7;
325
- // $split-button-span-width-sml: $button-sml * 5;
326
- // $split-button-pip-size-sml: $button-sml;
327
- // $split-button-pip-top-sml: $button-sml * 1.5;
328
- // $split-button-pip-left-sml: emCalc(-9px);
329
-
330
- // We use these to control medium split buttons
331
- // $split-button-padding-med: $button-med * 6.4;
332
- // $split-button-span-width-med: $button-med * 4;
333
- // $split-button-pip-size-med: $button-med - emCalc(3px);
334
- // $split-button-pip-top-med: $button-med * 1.5;
335
- // $split-button-pip-left-med: emCalc(-9px);
336
-
337
- // We use these to control large split buttons
338
- // $split-button-padding-lrg: $button-lrg * 6;
339
- // $split-button-span-width-lrg: $button-lrg * 3.75;
340
- // $split-button-pip-size-lrg: $button-lrg - emCalc(6px);
341
- // $split-button-pip-top-lrg: $button-lrg + emCalc(5px);
342
- // $split-button-pip-left-lrg: emCalc(-9px);
343
-
344
- //
345
- // Alert Variables
346
- //
237
+ // $include-html-alert-classes: $include-html-classes;
347
238
 
348
239
  // We use this to control alert padding.
349
- // $alert-padding-top: emCalc(11px);
350
- // $alert-padding-left: $alert-padding-top;
351
- // $alert-padding-right: $alert-padding-top + emCalc(10px);
352
- // $alert-padding-bottom: $alert-padding-top + emCalc(1px);
240
+ // $alert-padding-top: rem-calc(14);
241
+ // $alert-padding-default-float: $alert-padding-top;
242
+ // $alert-padding-opposite-direction: $alert-padding-top + rem-calc(10);
243
+ // $alert-padding-bottom: $alert-padding-top;
353
244
 
354
245
  // We use these to control text style.
355
- // $alert-font-weight: bold;
356
- // $alert-font-size: emCalc(14px);
246
+ // $alert-font-weight: normal;
247
+ // $alert-font-size: rem-calc(13);
357
248
  // $alert-font-color: #fff;
358
- // $alert-font-color-alt: darken($secondary-color, 60%);
249
+ // $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
359
250
 
360
251
  // We use this for close hover effect.
361
- // $alert-function-factor: 10%;
252
+ // $alert-function-factor: -14%;
362
253
 
363
254
  // We use these to control border styles.
364
255
  // $alert-border-style: solid;
365
256
  // $alert-border-width: 1px;
366
- // $alert-border-color: darken($primary-color, $alert-function-factor);
367
- // $alert-bottom-margin: emCalc(20px);
257
+ // $alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
258
+ // $alert-bottom-margin: rem-calc(20);
368
259
 
369
260
  // We use these to style the close buttons
370
- $alert-close-color: #fff;
371
- $alert-close-position: emCalc(12px);
372
- // $alert-close-font-size: emCalc(22px);
261
+ // $alert-close-color: #333;
262
+ // $alert-close-top: 50%;
263
+ // $alert-close-position: rem-calc(5);
264
+ // $alert-close-font-size: rem-calc(22);
373
265
  // $alert-close-opacity: 0.3;
374
266
  // $alert-close-opacity-hover: 0.5;
375
- // $alert-close-padding: 5px 4px 4px;
267
+ // $alert-close-padding: 9px 6px 4px;
376
268
 
377
269
  // We use this to control border radius
378
270
  // $alert-radius: $global-radius;
379
271
 
380
- //
381
- // Breadcrumb Variables
382
- //
272
+ // Block Grid
273
+
274
+ // $include-html-grid-classes: $include-html-classes;
275
+
276
+ // We use this to control the maximum number of block grid elements per row
277
+ // $block-grid-elements: 12;
278
+ // $block-grid-default-spacing: rem-calc(20);
279
+ // $align-block-grid-to-grid: true;
280
+
281
+ // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
282
+ // $block-grid-media-queries: true;
283
+
284
+ // Breadcrumbs
285
+
286
+ // $include-html-nav-classes: $include-html-classes;
383
287
 
384
288
  // We use this to set the background color for the breadcrumb container.
385
- // $crumb-bg: lighten($secondary-color, 5%);
289
+ // $crumb-bg: scale-color($secondary-color, $lightness: 55%);
386
290
 
387
291
  // We use these to set the padding around the breadcrumbs.
388
- // $crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
389
- // $crumb-side-padding: emCalc(12px);
292
+ // $crumb-padding: rem-calc(9 14 9);
293
+ // $crumb-side-padding: rem-calc(12);
390
294
 
391
295
  // We use these to control border styles.
392
- // $crumb-function-factor: 10%;
296
+ // $crumb-function-factor: -10%;
393
297
  // $crumb-border-size: 1px;
394
298
  // $crumb-border-style: solid;
395
- // $crumb-border-color: darken($crumb-bg, $crumb-function-factor);
299
+ // $crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor);
396
300
  // $crumb-radius: $global-radius;
397
301
 
398
302
  // We use these to set various text styles for breadcrumbs.
399
- // $crumb-font-size: emCalc(11px);
303
+ // $crumb-font-size: rem-calc(11);
400
304
  // $crumb-font-color: $primary-color;
401
305
  // $crumb-font-color-current: #333;
402
306
  // $crumb-font-color-unavailable: #999;
@@ -408,74 +312,86 @@ $alert-close-position: emCalc(12px);
408
312
  // $crumb-slash: "/";
409
313
 
410
314
  //
411
- // Clearing Variables
315
+ // BUTTONS
412
316
  //
413
317
 
318
+ // $include-html-button-classes: $include-html-classes;
319
+
320
+ // We use these to build padding for buttons.
321
+ // $button-tny: rem-calc(10);
322
+ // $button-sml: rem-calc(14);
323
+ // $button-med: rem-calc(16);
324
+ // $button-lrg: rem-calc(18);
325
+
326
+ // We use this to control the display property.
327
+ // $button-display: inline-block;
328
+ // $button-margin-bottom: rem-calc(20);
329
+
330
+ // We use these to control button text styles.
331
+ // $button-font-family: $body-font-family;
332
+ // $button-font-color: #fff;
333
+ // $button-font-color-alt: #333;
334
+ // $button-font-tny: rem-calc(11);
335
+ // $button-font-sml: rem-calc(13);
336
+ // $button-font-med: rem-calc(16);
337
+ // $button-font-lrg: rem-calc(20);
338
+ // $button-font-weight: normal;
339
+ // $button-font-align: center;
340
+
341
+ // We use these to control various hover effects.
342
+ // $button-function-factor: 5%;
343
+
344
+ // We use these to control button border styles.
345
+ // $button-border-width: 1px;
346
+ // $button-border-style: solid;
347
+
348
+ // We use this to set the default radius used throughout the core.
349
+ // $button-radius: $global-radius;
350
+ // $button-round: $global-rounded;
351
+
352
+ // We use this to set default opacity for disabled buttons.
353
+ // $button-disabled-opacity: 0.7;
354
+
355
+ // Button Groups
356
+
357
+ // $include-html-button-classes: $include-html-classes;
358
+
359
+ // Sets the margin for the right side by default, and the left margin if right-to-left direction is used
360
+ // $button-bar-margin-opposite: rem-calc(10);
361
+ // $button-group-border-width: 1px;
362
+
363
+ // Clearing
364
+
365
+ // $include-html-clearing-classes: $include-html-classes;
366
+
414
367
  // We use these to set the background colors for parts of Clearing.
415
- // $clearing-bg: #111;
368
+ // $clearing-bg: #333;
416
369
  // $clearing-caption-bg: $clearing-bg;
417
- // $clearing-carousel-bg: #111;
370
+ // $clearing-carousel-bg: rgba (51,51,51,0.8);
418
371
  // $clearing-img-bg: $clearing-bg;
419
372
 
420
373
  // We use these to style the close button
421
- // $clearing-close-color: #fff;
422
- // $clearing-close-size: 40px;
374
+ // $clearing-close-color: #ccc;
375
+ // $clearing-close-size: 30px;
423
376
 
424
377
  // We use these to style the arrows
425
- // $clearing-arrow-size: 16px;
378
+ // $clearing-arrow-size: 12px;
426
379
  // $clearing-arrow-color: $clearing-close-color;
427
380
 
428
381
  // We use these to style captions
429
- // $clearing-caption-font-color: #fff;
430
- // $clearing-caption-padding: 10px 30px;
382
+ // $clearing-caption-font-color: #ccc;
383
+ // $clearing-caption-font-size: 0.875em;
384
+ // $clearing-caption-padding: 10px 30px 20px;
431
385
 
432
386
  // We use these to make the image and carousel height and style
433
- // $clearing-active-img-height: 75%;
434
- // $clearing-carousel-height: 150px;
435
- // $clearing-carousel-thumb-width: 175px;
436
- // $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255);
387
+ // $clearing-active-img-height: 85%;
388
+ // $clearing-carousel-height: 120px;
389
+ // $clearing-carousel-thumb-width: 120px;
390
+ // $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255);
437
391
 
438
- //
439
- // Custom Form Variables
440
- //
441
-
442
- // We use these to control the basic form styles input styles
443
- // $custom-form-border-color: #ccc;
444
- // $custom-form-bg: #fff;
445
- // $custom-form-bg-disabled: #ddd;
446
- // $custom-form-check-color: #222;
447
-
448
- // We use these to style the custom select form element.
449
- // $custom-select-bg: #fff;
450
- // $custom-select-fade-to-color: #f3f3f3;
451
- // $custom-select-border-color: #ddd;
452
- // $custom-select-triangle-color: #aaa;
453
- // $custom-select-triangle-color-open: #222;
454
- // $custom-select-height: emCalc(13px) + ($form-spacing * 1.5);
455
- // $custom-select-margin-bottom: emCalc(20px);
456
- // $custom-select-font-color-selected: #141414;
457
- // $custom-select-disabled-color: #888;
458
-
459
- // We use these to control the style of the custom select dropdown element.
460
- // $custom-dropdown-height: 200px;
461
- // $custom-dropdown-bg: #fff;
462
- // $custom-dropdown-border-color: darken(#fff, 20%);
463
- // $custom-dropdown-border-width: 1px;
464
- // $custom-dropdown-border-style: solid;
465
- // $custom-dropdown-font-color: #555;
466
- // $custom-dropdown-font-size: emCalc(14px);
467
- // $custom-dropdown-color-selected: #eeeeee;
468
- // $custom-dropdown-font-color-selected: #000;
469
- // $custom-dropdown-shadow: 0 2px 2px 0px rgba(0,0,0,0.1);
470
- // $custom-dropdown-offset-top: none;
471
- // $custom-dropdown-list-padding: emCalc(4px);
472
- // $custom-dropdown-left-padding: emCalc(6px);
473
- // $custom-dropdown-right-padding: emCalc(38px);
474
- // $custom-dropdown-list-item-min-height: emCalc(24px);
392
+ // Dropdown
475
393
 
476
- //
477
- // Dropdown Variables
478
- //
394
+ // $include-html-dropdown-classes: $include-html-classes;
479
395
 
480
396
  // We use these to controls height and width styles.
481
397
  // $f-dropdown-max-width: 200px;
@@ -489,7 +405,7 @@ $alert-close-position: emCalc(12px);
489
405
  // We use this to set the border styles for dropdowns.
490
406
  // $f-dropdown-border-style: solid;
491
407
  // $f-dropdown-border-width: 1px;
492
- // $f-dropdown-border-color: darken(#fff, 20%);
408
+ // $f-dropdown-border-color: scale-color(#fff, $lightness: -20%);
493
409
 
494
410
  // We use these to style the triangle pip.
495
411
  // $f-dropdown-triangle-size: 6px;
@@ -499,34 +415,139 @@ $alert-close-position: emCalc(12px);
499
415
  // We use these to control styles for the list elements.
500
416
  // $f-dropdown-list-style: none;
501
417
  // $f-dropdown-font-color: #555;
502
- // $f-dropdown-font-size: emCalc(14px);
503
- // $f-dropdown-list-padding: emCalc(5px) emCalc(10px);
504
- // $f-dropdown-line-height: emCalc(18px);
505
- // $f-dropdown-list-hover-bg: #eeeeee;
506
- // $dropdown-mobile-left: 0;
418
+ // $f-dropdown-font-size: rem-calc(14);
419
+ // $f-dropdown-list-padding: rem-calc(5, 10);
420
+ // $f-dropdown-line-height: rem-calc(18);
421
+ // $f-dropdown-list-hover-bg: #eeeeee ;
422
+ // $dropdown-mobile-default-float: 0;
507
423
 
508
424
  // We use this to control the styles for when the dropdown has custom content.
509
- // $f-dropdown-content-padding: emCalc(20px);
425
+ // $f-dropdown-content-padding: rem-calc(20);
510
426
 
511
- //
512
- // Flex Video Variables
513
- //
427
+ // Dropdown Buttons
428
+
429
+ // $include-html-button-classes: $include-html-classes;
430
+
431
+ // We use these to set the color of the pip in dropdown buttons
432
+ // $dropdown-button-pip-color: #fff;
433
+ // $dropdown-button-pip-color-alt: #333;
434
+
435
+ // $button-pip-tny: rem-calc(6);
436
+ // $button-pip-sml: rem-calc(7);
437
+ // $button-pip-med: rem-calc(9);
438
+ // $button-pip-lrg: rem-calc(11);
439
+
440
+ // We use these to style tiny dropdown buttons
441
+ // $dropdown-button-padding-tny: $button-pip-tny * 7;
442
+ // $dropdown-button-pip-size-tny: $button-pip-tny;
443
+ // $dropdown-button-pip-opposite-tny: $button-pip-tny * 3;
444
+ // $dropdown-button-pip-top-tny: -$button-pip-tny / 2 + rem-calc(1);
445
+
446
+ // We use these to style small dropdown buttons
447
+ // $dropdown-button-padding-sml: $button-pip-sml * 7;
448
+ // $dropdown-button-pip-size-sml: $button-pip-sml;
449
+ // $dropdown-button-pip-opposite-sml: $button-pip-sml * 3;
450
+ // $dropdown-button-pip-top-sml: -$button-pip-sml / 2 + rem-calc(1);
451
+
452
+ // We use these to style medium dropdown buttons
453
+ // $dropdown-button-padding-med: $button-pip-med * 6 + rem-calc(3);
454
+ // $dropdown-button-pip-size-med: $button-pip-med - rem-calc(3);
455
+ // $dropdown-button-pip-opposite-med: $button-pip-med * 2.5;
456
+ // $dropdown-button-pip-top-med: -$button-pip-med / 2 + rem-calc(2);
457
+
458
+ // We use these to style large dropdown buttons
459
+ // $dropdown-button-padding-lrg: $button-pip-lrg * 5 + rem-calc(3);
460
+ // $dropdown-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
461
+ // $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5;
462
+ // $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3);
463
+
464
+ // Flex Video
465
+
466
+ // $include-html-media-classes: $include-html-classes;
514
467
 
515
468
  // We use these to control video container padding and margins
516
- // $flex-video-padding-top: emCalc(25px);
469
+ // $flex-video-padding-top: rem-calc(25);
517
470
  // $flex-video-padding-bottom: 67.5%;
518
- // $flex-video-margin-bottom: emCalc(16px);
471
+ // $flex-video-margin-bottom: rem-calc(16);
519
472
 
520
473
  // We use this to control widescreen bottom padding
521
474
  // $flex-video-widescreen-padding-bottom: 57.25%;
522
475
 
523
- //
524
- // Inline List Variables
525
- //
476
+ // Forms
477
+
478
+ // $include-html-form-classes: $include-html-classes;
479
+
480
+ // We use this to set the base for lots of form spacing and positioning styles
481
+ // $form-spacing: rem-calc(16);
482
+
483
+ // We use these to style the labels in different ways
484
+ // $form-label-pointer: pointer;
485
+ // $form-label-font-size: rem-calc(14);
486
+ // $form-label-font-weight: normal;
487
+ // $form-label-line-height: 1.5;
488
+ // $form-label-font-color: scale-color(#000, $lightness: 30%);
489
+ // $form-label-bottom-margin: 0;
490
+ // $input-font-family: inherit;
491
+ // $input-font-color: rgba(0,0,0,0.75);
492
+ // $input-font-size: rem-calc(14);
493
+ // $input-bg-color: #fff;
494
+ // $input-focus-bg-color: scale-color(#fff, $lightness: -2%);
495
+ // $input-border-color: scale-color(#fff, $lightness: -20%);
496
+ // $input-focus-border-color: scale-color(#fff, $lightness: -40%);
497
+ // $input-border-style: solid;
498
+ // $input-border-width: 1px;
499
+ // $input-border-radius: $global-radius;
500
+ // $input-disabled-bg: #ddd;
501
+ // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
502
+ // $input-include-glowing-effect: true;
503
+
504
+ // We use these to style the fieldset border and spacing.
505
+ // $fieldset-border-style: solid;
506
+ // $fieldset-border-width: 1px;
507
+ // $fieldset-border-color: #ddd;
508
+ // $fieldset-padding: rem-calc(20);
509
+ // $fieldset-margin: rem-calc(18 0);
510
+
511
+ // We use these to style the legends when you use them
512
+ // $legend-bg: #fff;
513
+ // $legend-font-weight: bold;
514
+ // $legend-padding: rem-calc(0 3);
515
+
516
+ // We use these to style the prefix and postfix input elements
517
+ // $input-prefix-bg: scale-color(#fff, $lightness: -5%);
518
+ // $input-prefix-border-color: scale-color(#fff, $lightness: -20%);
519
+ // $input-prefix-border-size: 1px;
520
+ // $input-prefix-border-type: solid;
521
+ // $input-prefix-overflow: hidden;
522
+ // $input-prefix-font-color: #333;
523
+ // $input-prefix-font-color-alt: #fff;
524
+
525
+ // We use these to style the error states for inputs and labels
526
+ // $input-error-message-padding: rem-calc(6 9 9);
527
+ // $input-error-message-top: -1px;
528
+ // $input-error-message-font-size: rem-calc(12);
529
+ // $input-error-message-font-weight: normal;
530
+ // $input-error-message-font-style: italic;
531
+ // $input-error-message-font-color: #fff;
532
+ // $input-error-message-font-color-alt: #333;
533
+
534
+ // We use this to style the glowing effect of inputs when focused
535
+ // $glowing-effect-fade-time: 0.45s;
536
+ // $glowing-effect-color: $input-focus-border-color;
537
+
538
+ // Select variables
539
+ // $select-bg-color: #fafafa;
540
+
541
+ // Inline Lists
542
+
543
+ // $include-html-inline-list-classes: $include-html-classes;
526
544
 
527
545
  // We use this to control the margins and padding of the inline list.
528
- // $inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
529
- // $inline-list-margin: 0 0;
546
+ // $inline-list-top-margin: 0;
547
+ // $inline-list-opposite-margin: 0;
548
+ // $inline-list-bottom-margin: rem-calc(17);
549
+ // $inline-list-default-float-margin: rem-calc(-22);
550
+
530
551
  // $inline-list-padding: 0;
531
552
 
532
553
  // We use this to control the overflow of the inline list.
@@ -538,25 +559,25 @@ $alert-close-position: emCalc(12px);
538
559
  // We use this to control any elments within list items
539
560
  // $inline-list-children-display: block;
540
561
 
541
- //
542
- // Joyride Variables
543
- //
562
+ // Joyride
563
+
564
+ // $include-html-joyride-classes: $include-html-classes;
544
565
 
545
566
  // Controlling default Joyride styles
546
- // $joyride-tip-bg: rgb(0,0,0);
567
+ // $joyride-tip-bg: #333;
547
568
  // $joyride-tip-default-width: 300px;
548
- // $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
569
+ // $joyride-tip-padding: rem-calc(18 20 24);
549
570
  // $joyride-tip-border: solid 1px #555;
550
571
  // $joyride-tip-radius: 4px;
551
572
  // $joyride-tip-position-offset: 22px;
552
573
 
553
574
  // Here, we're setting the tip dont styles
554
575
  // $joyride-tip-font-color: #fff;
555
- // $joyride-tip-font-size: emCalc(14px);
576
+ // $joyride-tip-font-size: rem-calc(14);
556
577
  // $joyride-tip-header-weight: bold;
557
578
 
558
579
  // This changes the nub size
559
- // $joyride-tip-nub-size: 14px;
580
+ // $joyride-tip-nub-size: 10px;
560
581
 
561
582
  // This adjusts the styles for the timer when its enabled
562
583
  // $joyride-tip-timer-width: 50px;
@@ -565,95 +586,172 @@ $alert-close-position: emCalc(12px);
565
586
 
566
587
  // This changes up the styles for the close button
567
588
  // $joyride-tip-close-color: #777;
568
- // $joyride-tip-close-size: 30px;
589
+ // $joyride-tip-close-size: 24px;
569
590
  // $joyride-tip-close-weight: normal;
570
591
 
571
592
  // When Joyride is filling the screen, we use this style for the bg
572
593
  // $joyride-screenfill: rgba(0,0,0,0.5);
573
594
 
574
- //
575
- // Keystroke Variables
576
- //
595
+ // Keystrokes
596
+
597
+ // $include-html-keystroke-classes: $include-html-classes;
577
598
 
578
599
  // We use these to control text styles.
579
600
  // $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
580
- // $keystroke-font-size: emCalc(15px);
601
+ // $keystroke-font-size: rem-calc(14);
581
602
  // $keystroke-font-color: #222;
582
603
  // $keystroke-font-color-alt: #fff;
583
- // $keystroke-function-factor: 7%;
604
+ // $keystroke-function-factor: -7%;
584
605
 
585
606
  // We use this to control keystroke padding.
586
- // $keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
607
+ // $keystroke-padding: rem-calc(2 4 0);
587
608
 
588
609
  // We use these to control background and border styles.
589
- // $keystroke-bg: darken(#fff, $keystroke-function-factor);
610
+ // $keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor);
590
611
  // $keystroke-border-style: solid;
591
612
  // $keystroke-border-width: 1px;
592
- // $keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
613
+ // $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
593
614
  // $keystroke-radius: $global-radius;
594
615
 
595
- //
596
- // Label Variables
597
- //
616
+ // Labels
617
+
618
+ // $include-html-label-classes: $include-html-classes;
598
619
 
599
620
  // We use these to style the labels
600
- // $label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
621
+ // $label-padding: rem-calc(4 8 6);
601
622
  // $label-radius: $global-radius;
602
623
 
603
624
  // We use these to style the label text
604
- // $label-font-sizing: emCalc(14px);
605
- // $label-font-weight: bold;
606
-
607
- //
608
- // Orbit Settings
609
- //
625
+ // $label-font-sizing: rem-calc(11);
626
+ // $label-font-weight: normal;
627
+ // $label-font-color: #333;
628
+ // $label-font-color-alt: #fff;
629
+ // $label-font-family: $body-font-family;
630
+
631
+ // Magellan
632
+
633
+ // $include-html-magellan-classes: $include-html-classes;
634
+
635
+ // $magellan-bg: #fff;
636
+ // $magellan-padding: 10px;
637
+
638
+ // Off-canvas
639
+
640
+ // $tabbar-bg: #333;
641
+ // $tabbar-height: rem-calc(45);
642
+ // $tabbar-line-height: $tabbar-height;
643
+ // $tabbar-color: #FFF;
644
+ // $tabbar-middle-padding: 0 rem-calc(10);
645
+
646
+ // Off Canvas Divider Styles
647
+ // $tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%);
648
+ // $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
649
+
650
+ // Off Canvas Tab Bar Headers
651
+ // $tabbar-header-color: #FFF;
652
+ // $tabbar-header-weight: bold;
653
+ // $tabbar-header-line-height: $tabbar-height;
654
+ // $tabbar-header-margin: 0;
655
+
656
+ // Off Canvas Menu Variables
657
+ // $off-canvas-width: 250px;
658
+ // $off-canvas-bg: #333;
659
+
660
+ // Off Canvas Menu List Variables
661
+ // $off-canvas-label-padding: 0.3rem rem-calc(15);
662
+ // $off-canvas-label-color: #999;
663
+ // $off-canvas-label-text-transform: uppercase;
664
+ // $off-canvas-label-font-weight: bold;
665
+ // $off-canvas-label-bg: #444;
666
+ // $off-canvas-label-border-top: 1px solid scale-color(#444, $lightness: 14%);
667
+ // $off-canvas-label-border-bottom: none;
668
+ // $off-canvas-label-margin:0;
669
+ // $off-canvas-link-padding: rem-calc(10, 15);
670
+ // $off-canvas-link-color: rgba(#FFF, 0.7);
671
+ // $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
672
+
673
+ // Off Canvas Menu Icon Variables
674
+ // $tabbar-menu-icon-color: #FFF;
675
+ // $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
676
+
677
+ // $tabbar-menu-icon-text-indent: rem-calc(35);
678
+ // $tabbar-menu-icon-width: $tabbar-height;
679
+ // $tabbar-menu-icon-height: $tabbar-height;
680
+ // $tabbar-menu-icon-line-height: rem-calc(33);
681
+ // $tabbar-menu-icon-padding: 0;
682
+
683
+ // $tabbar-hamburger-icon-width: rem-calc(16);
684
+ // $tabbar-hamburger-icon-left: false;
685
+ // $tabbar-hamburger-icon-top: false;
686
+ // $tapbar-hamburger-icon-thickness: 1px;
687
+ // $tapbar-hamburger-icon-gap: 6px;
688
+
689
+ // Off Canvas Back-Link Overlay
690
+ // $off-canvas-overlay-transition: background 300ms ease;
691
+ // $off-canvas-overlay-cursor: pointer;
692
+ // $off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5);
693
+ // $off-canvas-overlay-background: rgba(#FFF, 0.2);
694
+ // $off-canvas-overlay-background-hover: rgba(#FFF, 0.05);
695
+
696
+ // Transition Variables
697
+ // $menu-slide: "transform 500ms ease";
698
+
699
+ // Orbit
700
+
701
+ // $include-html-orbit-classes: $include-html-classes;
610
702
 
611
703
  // We use these to control the caption styles
612
- // $orbit-container-bg: #f5f5f5;
613
- // $orbit-caption-bg-old-browser: #000;
614
- // $orbit-caption-bg-old: rgb(0,0,0);
615
- // $orbit-caption-bg: rgba(0,0,0,0.6);
704
+ // $orbit-container-bg: none;
705
+ // $orbit-caption-bg: rgba(51,51,51, 0.8);
616
706
  // $orbit-caption-font-color: #fff;
707
+ // $orbit-caption-font-size: rem-calc(14);
708
+ // $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
709
+ // $orbit-caption-padding: rem-calc(10 14);
710
+ // $orbit-caption-height: auto;
617
711
 
618
712
  // We use these to control the left/right nav styles
619
- // $orbit-nav-bg-old: rgb(0,0,0);
620
- // $orbit-nav-bg: rgba(0,0,0,0.6);
713
+ // $orbit-nav-bg: none;
714
+ // $orbit-nav-bg-hover: rgba(0,0,0,0.3);
715
+ // $orbit-nav-arrow-color: #fff;
716
+ // $orbit-nav-arrow-color-hover: #fff;
621
717
 
622
718
  // We use these to control the timer styles
623
- // $orbit-timer-bg-old: rgb(0,0,0);
624
- // $orbit-timer-bg: rgba(0,0,0,0.6);
719
+ // $orbit-timer-bg: rgba(255,255,255,0.3);
720
+ // $orbit-timer-show-progress-bar: true;
625
721
 
626
722
  // We use these to control the bullet nav styles
627
- // $orbit-bullet-nav-color: #999;
628
- // $orbit-bullet-nav-color-active: #222;
723
+ // $orbit-bullet-nav-color: #ccc;
724
+ // $orbit-bullet-nav-color-active: #999;
725
+ // $orbit-bullet-radius: rem-calc(9);
629
726
 
630
- // We use thes to controls the style of slide numbers
631
- // $orbit-slide-number-bg: rgb(0,0,0);
727
+ // We use these to controls the style of slide numbers
728
+ // $orbit-slide-number-bg: rgba(0,0,0,0);
632
729
  // $orbit-slide-number-font-color: #fff;
633
- // $orbit-slide-number-padding: emCalc(5px);
730
+ // $orbit-slide-number-padding: rem-calc(5);
634
731
 
635
- // Margin for when Orbit is stacked on small screens
636
- // $stack-on-small-margin-bottom: emCalc(20px); // Doesn't quite work yet
732
+ // Graceful Loading Wrapper and preloader
733
+ // $wrapper-class: "slideshow-wrapper";
734
+ // $preloader-class: "preloader";
637
735
 
638
- //
639
- // Pagination Variables
640
- //
736
+ // Pagination
737
+
738
+ // $include-html-nav-classes: $include-html-classes;
641
739
 
642
740
  // We use these to control the pagination container
643
- // $pagination-height: emCalc(24px);
644
- // $pagination-margin: emCalc(-5px);
741
+ // $pagination-height: rem-calc(24);
742
+ // $pagination-margin: rem-calc(-5);
645
743
 
646
744
  // We use these to set the list-item properties
647
745
  // $pagination-li-float: $default-float;
648
- // $pagination-li-height: emCalc(24px);
746
+ // $pagination-li-height: rem-calc(24);
649
747
  // $pagination-li-font-color: #222;
650
- // $pagination-li-font-size: emCalc(14px);
651
- // $pagination-li-margin: emCalc(5px);
748
+ // $pagination-li-font-size: rem-calc(14);
749
+ // $pagination-li-margin: rem-calc(5);
652
750
 
653
751
  // We use these for the pagination anchor links
654
- // $pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
752
+ // $pagination-link-pad: rem-calc(1 10 1);
655
753
  // $pagination-link-font-color: #999;
656
- // $pagination-link-active-bg: darken(#fff, 10%);
754
+ // $pagination-link-active-bg: scale-color(#fff, $lightness: -10%);
657
755
 
658
756
  // We use these for disabled anchor links
659
757
  // $pagination-link-unavailable-cursor: default;
@@ -667,93 +765,99 @@ $alert-close-position: emCalc(12px);
667
765
  // $pagination-link-current-cursor: default;
668
766
  // $pagination-link-current-active-bg: $primary-color;
669
767
 
670
- //
671
- // Panel Variables
672
- //
768
+ // Panels
769
+
770
+ // $include-html-panel-classes: $include-html-classes;
673
771
 
674
772
  // We use these to control the background and border styles
675
- // $panel-bg: darken(#fff, 5%);
773
+ // $panel-bg: scale-color(#fff, $lightness: -5%);
676
774
  // $panel-border-style: solid;
677
775
  // $panel-border-size: 1px;
678
776
 
679
777
  // We use this % to control how much we darken things on hover
680
- // $panel-function-factor: 10%;
681
- // $panel-border-color: darken($panel-bg, $panel-function-factor);
778
+ // $panel-function-factor: -11%;
779
+ // $panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor);
682
780
 
683
781
  // We use these to set default inner padding and bottom margin
684
- // $panel-margin-bottom: emCalc(20px);
685
- // $panel-padding: emCalc(20px);
782
+ // $panel-margin-bottom: rem-calc(20);
783
+ // $panel-padding: rem-calc(20);
686
784
 
687
785
  // We use these to set default font colors
688
786
  // $panel-font-color: #333;
689
787
  // $panel-font-color-alt: #fff;
690
788
 
691
- //
692
- // Pricing Table Variables
693
- //
789
+ // $panel-header-adjust: true;
790
+ // $callout-panel-link-color: $primary-color;
791
+
792
+ // Pricing Tables
793
+
794
+ // $include-html-pricing-classes: $include-html-classes;
694
795
 
695
796
  // We use this to control the border color
696
797
  // $price-table-border: solid 1px #ddd;
697
798
 
698
799
  // We use this to control the bottom margin of the pricing table
699
- // $price-table-margin-bottom: emCalc(20px);
800
+ // $price-table-margin-bottom: rem-calc(20);
700
801
 
701
802
  // We use these to control the title styles
702
- // $price-title-bg: #ddd;
703
- // $price-title-padding: emCalc(15px) emCalc(20px);
803
+ // $price-title-bg: #333;
804
+ // $price-title-padding: rem-calc(15 20);
704
805
  // $price-title-align: center;
705
- // $price-title-color: #333;
706
- // $price-title-weight: bold;
707
- // $price-title-size: emCalc(16px);
806
+ // $price-title-color: #eee;
807
+ // $price-title-weight: normal;
808
+ // $price-title-size: rem-calc(16);
809
+ // $price-title-font-family: $body-font-family;
708
810
 
709
811
  // We use these to control the price styles
710
- // $price-money-bg: #eee;
711
- // $price-money-padding: emCalc(15px) emCalc(20px);
812
+ // $price-money-bg: #f6f6f6 ;
813
+ // $price-money-padding: rem-calc(15 20);
712
814
  // $price-money-align: center;
713
815
  // $price-money-color: #333;
714
816
  // $price-money-weight: normal;
715
- // $price-money-size: emCalc(20px);
817
+ // $price-money-size: rem-calc(32);
818
+ // $price-money-font-family: $body-font-family;
819
+
716
820
 
717
821
  // We use these to control the description styles
718
822
  // $price-bg: #fff;
719
823
  // $price-desc-color: #777;
720
- // $price-desc-padding: emCalc(15px);
824
+ // $price-desc-padding: rem-calc(15);
721
825
  // $price-desc-align: center;
722
- // $price-desc-font-size: emCalc(12px);
826
+ // $price-desc-font-size: rem-calc(12);
723
827
  // $price-desc-weight: normal;
724
828
  // $price-desc-line-height: 1.4;
725
829
  // $price-desc-bottom-border: dotted 1px #ddd;
726
830
 
727
831
  // We use these to control the list item styles
728
832
  // $price-item-color: #333;
729
- // $price-item-padding: emCalc(15px);
833
+ // $price-item-padding: rem-calc(15);
730
834
  // $price-item-align: center;
731
- // $price-item-font-size: emCalc(14px);
835
+ // $price-item-font-size: rem-calc(14);
732
836
  // $price-item-weight: normal;
733
837
  // $price-item-bottom-border: dotted 1px #ddd;
734
838
 
735
839
  // We use these to control the CTA area styles
736
- // $price-cta-bg: #f5f5f5;
840
+ // $price-cta-bg: #fff;
737
841
  // $price-cta-align: center;
738
- // $price-cta-padding: emCalc(20px) emCalc(20px) 0;
842
+ // $price-cta-padding: rem-calc(20 20 0);
739
843
 
740
- //
741
- // Progress Bar Variables
742
- //
844
+ // Progress Meters
845
+
846
+ // $include-html-media-classes: $include-html-classes;
743
847
 
744
848
  // We use this to se the prog bar height
745
- // $progress-bar-height: emCalc(25px);
746
- // $progress-bar-color: transparent;
849
+ // $progress-bar-height: rem-calc(25);
850
+ // $progress-bar-color: #f6f6f6 ;
747
851
 
748
852
  // We use these to control the border styles
749
- // $progress-bar-border-color: darken(#fff, 20%);
853
+ // $progress-bar-border-color: scale-color(#fff, $lightness: -20%);
750
854
  // $progress-bar-border-size: 1px;
751
855
  // $progress-bar-border-style: solid;
752
856
  // $progress-bar-border-radius: $global-radius;
753
857
 
754
858
  // We use these to control the margin & padding
755
- // $progress-bar-pad: emCalc(2px);
756
- // $progress-bar-margin-bottom: emCalc(10px);
859
+ // $progress-bar-pad: rem-calc(2);
860
+ // $progress-bar-margin-bottom: rem-calc(10);
757
861
 
758
862
  // We use these to set the meter colors
759
863
  // $progress-meter-color: $primary-color;
@@ -761,11 +865,9 @@ $alert-close-position: emCalc(12px);
761
865
  // $progress-meter-success-color: $success-color;
762
866
  // $progress-meter-alert-color: $alert-color;
763
867
 
764
- // NEED TO FINISH THE LOGIC HERE
868
+ // Reveal
765
869
 
766
- //
767
- // Reveal Variables
768
- //
870
+ // $include-html-reveal-classes: $include-html-classes;
769
871
 
770
872
  // We use these to control the style of the reveal overlay.
771
873
  // $reveal-overlay-bg: rgba(#000, .45);
@@ -775,13 +877,13 @@ $alert-close-position: emCalc(12px);
775
877
  // $reveal-modal-bg: #fff;
776
878
  // $reveal-position-top: 50px;
777
879
  // $reveal-default-width: 80%;
778
- // $reveal-modal-padding: emCalc(20px);
880
+ // $reveal-modal-padding: rem-calc(20);
779
881
  // $reveal-box-shadow: 0 0 10px rgba(#000,.4);
780
882
 
781
883
  // We use these to style the reveal close button
782
- // $reveal-close-font-size: emCalc(22px);
783
- // $reveal-close-top: emCalc(8px);
784
- // $reveal-close-side: emCalc(11px);
884
+ // $reveal-close-font-size: rem-calc(22);
885
+ // $reveal-close-top: rem-calc(8);
886
+ // $reveal-close-side: rem-calc(11);
785
887
  // $reveal-close-color: #aaa;
786
888
  // $reveal-close-weight: bold;
787
889
 
@@ -790,81 +892,113 @@ $alert-close-position: emCalc(12px);
790
892
  // $reveal-border-width: 1px;
791
893
  // $reveal-border-color: #666;
792
894
 
793
- //
794
- // Section Variables
795
- //
796
-
797
- // We use these to set padding and hover factor
798
- // $section-padding: emCalc(15px);
799
- $section-function-factor: 5%;
800
-
801
- // These style the titles
802
- // $section-title-color: #333;
803
- $section-title-bg: #f5f5f5;
804
- // $section-title-bg-active: darken($section-title-bg, $section-function-factor);
805
- // $section-title-bg-active-tabs: #fff;
895
+ // $reveal-modal-class: "reveal-modal";
896
+ // $close-reveal-modal-class: "close-reveal-modal";
806
897
 
807
- // Want to control border size, here ya go!
808
- // $section-border-size: 1px;
809
- // $section-border-style: solid;
810
- $section-border-color: #dfdfdf;
811
-
812
- // Control the color of the background and some size options
813
- // $section-content-bg: #fff;
814
- // $section-vertical-nav-min-width: emCalc(200px);
815
- // $section-bottom-margin: emCalc(20px);
898
+ // Side Nav
816
899
 
817
- //
818
- // Side Nav Variables
819
- //
900
+ // $include-html-nav-classes: $include-html-classes;
820
901
 
821
902
  // We use this to control padding.
822
- // $side-nav-padding: emCalc(14px) 0;
903
+ // $side-nav-padding: rem-calc(14 0);
823
904
 
824
905
  // We use these to control list styles.
825
906
  // $side-nav-list-type: none;
826
907
  // $side-nav-list-position: inside;
827
- // $side-nav-list-margin: 0 0 emCalc(7px) 0;
908
+ // $side-nav-list-margin: rem-calc(0 0 7 0);
828
909
 
829
910
  // We use these to control link styles.
830
911
  // $side-nav-link-color: $primary-color;
831
- // $side-nav-link-color-active: lighten(#000, 30%);
832
- // $side-nav-font-size: emCalc(14px);
833
- // $side-nav-font-weight: bold;
912
+ // $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%);
913
+ // $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
914
+ // $side-nav-font-size: rem-calc(14);
915
+ // $side-nav-font-weight: normal;
916
+ // $side-nav-font-family: $body-font-family;
917
+ // $side-nav-active-font-family: $side-nav-font-family;
918
+
919
+
834
920
 
835
921
  // We use these to control border styles
836
922
  // $side-nav-divider-size: 1px;
837
923
  // $side-nav-divider-style: solid;
838
- // $side-nav-divider-color: darken(#fff, 10%);
924
+ // $side-nav-divider-color: scale-color(#fff, $lightness: -10%);
839
925
 
840
- //
841
- // Sub Nav Variables
842
- //
926
+ // Split Buttons
927
+
928
+ // $include-html-button-classes: $include-html-classes;
929
+
930
+ // We use these to control different shared styles for Split Buttons
931
+ // $split-button-function-factor: 10%;
932
+ // $split-button-pip-color: #fff;
933
+ // $split-button-pip-color-alt: #333;
934
+ // $split-button-active-bg-tint: rgba(0,0,0,0.1);
935
+
936
+ // We use these to control tiny split buttons
937
+ // $split-button-padding-tny: $button-pip-tny * 10;
938
+ // $split-button-span-width-tny: $button-pip-tny * 6;
939
+ // $split-button-pip-size-tny: $button-pip-tny;
940
+ // $split-button-pip-top-tny: $button-pip-tny * 2;
941
+ // $split-button-pip-default-float-tny: rem-calc(-6);
942
+
943
+ // We use these to control small split buttons
944
+ // $split-button-padding-sml: $button-pip-sml * 10;
945
+ // $split-button-span-width-sml: $button-pip-sml * 6;
946
+ // $split-button-pip-size-sml: $button-pip-sml;
947
+ // $split-button-pip-top-sml: $button-pip-sml * 1.5;
948
+ // $split-button-pip-default-float-sml: rem-calc(-6);
949
+
950
+ // We use these to control medium split buttons
951
+ // $split-button-padding-med: $button-pip-med * 9;
952
+ // $split-button-span-width-med: $button-pip-med * 5.5;
953
+ // $split-button-pip-size-med: $button-pip-med - rem-calc(3);
954
+ // $split-button-pip-top-med: $button-pip-med * 1.5;
955
+ // $split-button-pip-default-float-med: rem-calc(-6);
956
+
957
+ // We use these to control large split buttons
958
+ // $split-button-padding-lrg: $button-pip-lrg * 8;
959
+ // $split-button-span-width-lrg: $button-pip-lrg * 5;
960
+ // $split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
961
+ // $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5);
962
+ // $split-button-pip-default-float-lrg: rem-calc(-6);
963
+
964
+ // Sub Nav
965
+
966
+ // $include-html-nav-classes: $include-html-classes;
843
967
 
844
968
  // We use these to control margin and padding
845
- // $sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
846
- // $sub-nav-list-padding-top: emCalc(4px);
969
+ // $sub-nav-list-margin: rem-calc(-4 0 18);
970
+ // $sub-nav-list-padding-top: rem-calc(4);
847
971
 
848
972
  // We use this to control the definition
849
- // $sub-nav-font-size: emCalc(14px);
973
+ // $sub-nav-font-family: $body-font-family;
974
+ // $sub-nav-font-size: rem-calc(14);
850
975
  // $sub-nav-font-color: #999;
851
976
  // $sub-nav-font-weight: normal;
852
977
  // $sub-nav-text-decoration: none;
853
- // $sub-nav-border-radius: 1000px;
978
+ // $sub-nav-border-radius: 3px;
979
+ // $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
980
+
854
981
 
855
982
  // We use these to control the active item styles
856
- // $sub-nav-active-font-weight: bold;
983
+
984
+ // $sub-nav-active-font-weight: normal;
857
985
  // $sub-nav-active-bg: $primary-color;
986
+ // $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
858
987
  // $sub-nav-active-color: #fff;
859
- // $sub-nav-active-padding: emCalc(3px) emCalc(9px);
988
+ // $sub-nav-active-padding: rem-calc(3 16);
860
989
  // $sub-nav-active-cursor: default;
861
990
 
991
+ // $sub-nav-item-divider: "";
992
+ // $sub-nav-item-divider-margin: rem-calc(12);
993
+
862
994
  //
863
- // Switch Variables
995
+ // SWITCH
864
996
  //
865
997
 
998
+ // $include-html-form-classes: $include-html-classes;
999
+
866
1000
  // Controlling border styles and background colors for the switch container
867
- // $switch-border-color: darken(#fff, 20%);
1001
+ // $switch-border-color: scale-color(#fff, $lightness: -20%);
868
1002
  // $switch-border-style: solid;
869
1003
  // $switch-border-width: 1px;
870
1004
  // $switch-bg: #fff;
@@ -874,7 +1008,7 @@ $section-border-color: #dfdfdf;
874
1008
  // $switch-height-sml: 28px;
875
1009
  // $switch-height-med: 36px;
876
1010
  // $switch-height-lrg: 44px;
877
- // $switch-bottom-margin: emCalc(20px);
1011
+ // $switch-bottom-margin: rem-calc(20);
878
1012
 
879
1013
  // We use these to control default font sizes for our classes.
880
1014
  // $switch-font-size-tny: 11px;
@@ -885,25 +1019,25 @@ $section-border-color: #dfdfdf;
885
1019
 
886
1020
  // We use these to style the switch-paddle
887
1021
  // $switch-paddle-bg: #fff;
888
- // $switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
889
- // $switch-paddle-border-color: darken($switch-paddle-bg, 35%);
1022
+ // $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
1023
+ // $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
890
1024
  // $switch-paddle-border-width: 1px;
891
1025
  // $switch-paddle-border-style: solid;
892
1026
  // $switch-paddle-transition-speed: .1s;
893
1027
  // $switch-paddle-transition-ease: ease-out;
894
- // $switch-positive-color: lighten($success-color, 50%);
1028
+ // $switch-positive-color: scale-color($success-color, $lightness: 94%);
895
1029
  // $switch-negative-color: #f5f5f5;
896
1030
 
897
1031
  // Outline Style for tabbing through switches
898
1032
  // $switch-label-outline: 1px dotted #888;
899
1033
 
900
- //
901
- // Table Variables
902
- //
1034
+ // Tables
1035
+
1036
+ // $include-html-table-classes: $include-html-classes;
903
1037
 
904
1038
  // These control the background color for the table and even rows
905
1039
  // $table-bg: #fff;
906
- // $table-even-row-bg: #f9f9f9;
1040
+ // $table-even-row-bg: #f9f9f9 ;
907
1041
 
908
1042
  // These control the table cell border style
909
1043
  // $table-border-style: solid;
@@ -911,26 +1045,47 @@ $section-border-color: #dfdfdf;
911
1045
  // $table-border-color: #ddd;
912
1046
 
913
1047
  // These control the table head styles
914
- // $table-head-bg: #f5f5f5;
915
- // $table-head-font-size: emCalc(14px);
1048
+ // $table-head-bg: #f5f5f5 ;
1049
+ // $table-head-font-size: rem-calc(14);
916
1050
  // $table-head-font-color: #222;
917
1051
  // $table-head-font-weight: bold;
918
- // $table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
1052
+ // $table-head-padding: rem-calc(8 10 10);
919
1053
 
920
1054
  // These control the row padding and font styles
921
- // $table-row-padding: emCalc(9px) emCalc(10px);
922
- // $table-row-font-size: emCalc(14px);
1055
+ // $table-row-padding: rem-calc(9 10);
1056
+ // $table-row-font-size: rem-calc(14);
923
1057
  // $table-row-font-color: #222;
924
- // $table-line-height: emCalc(18px);
1058
+ // $table-line-height: rem-calc(18);
925
1059
 
926
1060
  // These are for controlling the display and margin of tables
927
1061
  // $table-display: table-cell;
928
- // $table-margin-bottom: emCalc(20px);
1062
+ // $table-margin-bottom: rem-calc(20);
1063
+
1064
+ //
1065
+ // TABS
1066
+ //
1067
+
1068
+ // $include-html-tabs-classes: $include-html-classes;
1069
+
1070
+ // $tabs-navigation-padding: rem-calc(16);
1071
+ // $tabs-navigation-bg-color: #efefef ;
1072
+ // $tabs-navigation-active-bg-color: #fff;
1073
+ // $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
1074
+ // $tabs-navigation-font-color: #222;
1075
+ // $tabs-navigation-font-size: rem-calc(16);
1076
+ // $tabs-navigation-font-family: $body-font-family;
1077
+
1078
+ // $tabs-content-margin-bottom: rem-calc(24);
1079
+ // $tabs-content-padding: $column-gutter/2;
1080
+
1081
+ // $tabs-vertical-navigation-margin-bottom: 1.25rem;
929
1082
 
930
1083
  //
931
- // Image Thumbnail Variables
1084
+ // THUMBNAILS
932
1085
  //
933
1086
 
1087
+ // $include-html-media-classes: $include-html-classes;
1088
+
934
1089
  // We use these to control border styles
935
1090
  // $thumb-border-style: solid;
936
1091
  // $thumb-border-width: 4px;
@@ -943,62 +1098,86 @@ $section-border-color: #dfdfdf;
943
1098
  // $thumb-transition-speed: 200ms;
944
1099
 
945
1100
  //
946
- // Tooltip Variables
1101
+ // TOOLTIPS
947
1102
  //
1103
+
1104
+ // $include-html-tooltip-classes: $include-html-classes;
1105
+
948
1106
  // $has-tip-border-bottom: dotted 1px #ccc;
949
1107
  // $has-tip-font-weight: bold;
950
1108
  // $has-tip-font-color: #333;
951
- // $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
1109
+ // $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
952
1110
  // $has-tip-font-color-hover: $primary-color;
953
1111
  // $has-tip-cursor-type: help;
954
1112
 
955
- // $tooltip-padding: emCalc(8px);
956
- // $tooltip-bg: #000;
957
- // $tooltip-font-size: emCalc(15px);
958
- // $tooltip-font-weight: bold;
1113
+ // $tooltip-padding: rem-calc(12);
1114
+ // $tooltip-bg: #333;
1115
+ // $tooltip-font-size: rem-calc(14);
1116
+ // $tooltip-font-weight: normal;
959
1117
  // $tooltip-font-color: #fff;
960
1118
  // $tooltip-line-height: 1.3;
961
- // $tooltip-close-font-size: emCalc(10px);
1119
+ // $tooltip-close-font-size: rem-calc(10);
962
1120
  // $tooltip-close-font-weight: normal;
963
- // $tooltip-close-font-color: #888;
964
- // $tooltip-font-size-sml: emCalc(14px);
1121
+ // $tooltip-close-font-color: #777;
1122
+ // $tooltip-font-size-sml: rem-calc(14);
965
1123
  // $tooltip-radius: $global-radius;
1124
+ // $tooltip-rounded: $global-rounded;
966
1125
  // $tooltip-pip-size: 5px;
967
1126
 
968
1127
  //
969
- // Top Bar Variables
1128
+ // TOP BAR
970
1129
  //
971
1130
 
1131
+ // $include-html-top-bar-classes: $include-html-classes;
1132
+
972
1133
  // Background color for the top bar
973
- $topbar-bg: $dashboard-nav-background;
1134
+ // $topbar-bg-color: #333;
1135
+ // $topbar-bg: $topbar-bg-color;
974
1136
 
975
1137
  // Height and margin
976
- //$topbar-height: emCalc(60px);
977
- //$topbar-margin-bottom: emCalc(20px);
978
-
979
- // Control Input height for top bar
980
- $topbar-input-height: emCalc(60px);
1138
+ // $topbar-height: 45px;
1139
+ // $topbar-margin-bottom: 0;
981
1140
 
982
1141
  // Controlling the styles for the title in the top bar
983
- // $topbar-title-weight: bold;
984
- // $topbar-title-font-size: emCalc(17px);
985
-
986
- // Set the link colors and styles for top-level nav
987
- // $topbar-link-color: #fff;
988
- // $topbar-link-weight: bold;
989
- // $topbar-link-font-size: emCalc(13px);
1142
+ // $topbar-title-weight: normal;
1143
+ // $topbar-title-font-size: rem-calc(17);
990
1144
 
991
1145
  // Style the top bar dropdown elements
992
1146
  // $topbar-dropdown-bg: #333;
993
1147
  // $topbar-dropdown-link-color: #fff;
1148
+ // $topbar-dropdown-link-bg: #333;
1149
+ // $topbar-dropdown-link-weight: normal;
994
1150
  // $topbar-dropdown-toggle-size: 5px;
995
1151
  // $topbar-dropdown-toggle-color: #fff;
996
- // $topbar-dropdown-toggle-alpha: 0.5;
997
- // $dropdown-label-color: #555;
1152
+ // $topbar-dropdown-toggle-alpha: 0.4;
1153
+
1154
+ // Set the link colors and styles for top-level nav
1155
+ // $topbar-link-color: #fff;
1156
+ // $topbar-link-color-hover: #fff;
1157
+ // $topbar-link-color-active: #fff;
1158
+ // $topbar-link-color-active-hover: #fff;
1159
+ // $topbar-link-weight: normal;
1160
+ // $topbar-link-font-size: rem-calc(13);
1161
+ // $topbar-link-hover-lightness: -10%; // Darken by 10%
1162
+ // $topbar-link-bg-hover: #272727;
1163
+ // $topbar-link-bg-active: $primary-color;
1164
+ // $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
1165
+ // $topbar-link-font-family: $body-font-family;
1166
+ // $topbar-link-text-transform: none;
1167
+ // $topbar-link-padding: $topbar-height / 3;
1168
+
1169
+ // $topbar-button-font-size: 0.75rem;
1170
+ // $topbar-button-top: 7px;
1171
+
1172
+ // $topbar-dropdown-label-color: #777;
1173
+ // $topbar-dropdown-label-text-transform: uppercase;
1174
+ // $topbar-dropdown-label-font-weight: bold;
1175
+ // $topbar-dropdown-label-font-size: rem-calc(10);
1176
+ // $topbar-dropdown-label-bg: #333;
998
1177
 
999
1178
  // Top menu icon styles
1000
1179
  // $topbar-menu-link-transform: uppercase;
1001
- // $topbar-menu-link-font-size: emCalc(13px);
1180
+ // $topbar-menu-link-font-size: rem-calc(13);
1002
1181
  // $topbar-menu-link-weight: bold;
1003
1182
  // $topbar-menu-link-color: #fff;
1004
1183
  // $topbar-menu-icon-color: #fff;
@@ -1006,9 +1185,77 @@ $topbar-input-height: emCalc(60px);
1006
1185
  // $topbar-menu-icon-color-toggled: #888;
1007
1186
 
1008
1187
  // Transitions and breakpoint styles
1188
+ // $topbar-transition-speed: 300ms;
1189
+ // Using rem-calc for the below breakpoint causes issues with top bar
1190
+ // $topbar-breakpoint: #{upper-bound($medium-range)}; // Change to 9999px for always mobile layout
1191
+ // $topbar-media-query: "only screen and (min-width: #{upper-bound($medium-range)})";
1192
+
1193
+ // Divider Styles
1194
+ // $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
1195
+ // $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%);
1196
+
1197
+ // Sticky Class
1198
+ // $topbar-sticky-class: ".sticky";
1199
+ // $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
1200
+
1201
+ //
1202
+ // VISIBILITY CLASSES
1203
+ //
1204
+
1205
+ // $include-html-visibility-classes: $include-html-classes;
1206
+ // $include-table-visibility-classes: true;
1207
+ // $include-legacy-visibility-classes: true;
1208
+
1209
+ //
1210
+ // RANGE SLIDER
1211
+ //
1212
+
1213
+ // $include-html-range-slider-classes: $include-html-classes;
1214
+
1215
+ // These variabels define the slider bar styles
1216
+ // $range-slider-bar-width: 100%;
1217
+ // $range-slider-bar-height: rem-calc(16);
1218
+
1219
+ // $range-slider-bar-border-width: 1px;
1220
+ // $range-slider-bar-border-style: solid;
1221
+ // $range-slider-bar-border-color: #ddd;
1222
+ // $range-slider-radius: $global-radius;
1223
+ // $range-slider-round: $global-rounded;
1224
+ // $range-slider-bar-bg-color: #fafafa;
1225
+
1226
+ // Vertical bar styles
1227
+ // $range-slider-vertical-bar-width: rem-calc(16);
1228
+ // $range-slider-vertical-bar-height: rem-calc(200);
1229
+
1230
+ // These variabels define the slider handle styles
1231
+ // $range-slider-handle-width: rem-calc(32);
1232
+ // $range-slider-handle-height: rem-calc(22);
1233
+ // $range-slider-handle-position-top: rem-calc(-5);
1234
+ // $range-slider-handle-bg-color: $primary-color;
1235
+ // $range-slider-handle-border-width: 1px;
1236
+ // $range-slider-handle-border-style: solid;
1237
+ // $range-slider-handle-border-color: none;
1238
+ // $range-slider-handle-radius: $global-radius;
1239
+ // $range-slider-handle-round: $global-rounded;
1240
+ // $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
1241
+ // $range-slider-handle-cursor: pointer;
1242
+ $text-direction: ltr;
1243
+ $alert-color: $alizarin;
1244
+ $success-color: $emerald;
1245
+ $include-html-classes: true;
1246
+ $input-font-color: $darkgray;
1247
+ $fieldset-border-color: #dedede;
1248
+ $fieldset-padding: emCalc(20px) emCalc(30px) emCalc(20px);
1249
+ $fieldset-margin: emCalc(18px) 0;
1250
+ $legend-bg: none;
1251
+ $alert-close-color: #fff;
1252
+ $alert-close-position: emCalc(12px);
1253
+ $section-function-factor: 5%;
1254
+ $section-title-bg: #f5f5f5;
1255
+ $section-border-color: #dfdfdf;
1256
+ $topbar-bg: $dashboard-nav-background;
1257
+ $topbar-input-height: emCalc(60px);
1009
1258
  $topbar-transition-speed: 300ms;
1010
1259
  $topbar-breakpoint: emCalc(768px); // Change to 9999px for always mobile layout
1011
- //$topbar-media-query: "only screen and (min-width "#{$topbar-breakpoint}")";
1012
-
1013
1260
 
1014
1261
  @import 'foundation';