beyond_canvas 0.15.1.pre → 0.16.2.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -6
  3. data/Rakefile +3 -3
  4. data/app/assets/javascripts/beyond_canvas/base.js +248 -99
  5. data/app/assets/stylesheets/beyond_canvas/settings/_breakpoints.scss +6 -6
  6. data/app/assets/stylesheets/beyond_canvas/settings/_variables.scss +13 -13
  7. data/app/controllers/beyond_canvas/authentications_controller.rb +62 -0
  8. data/app/controllers/concerns/beyond_canvas/authentication.rb +24 -0
  9. data/app/controllers/concerns/beyond_canvas/request_validation.rb +1 -1
  10. data/app/controllers/concerns/beyond_canvas/resource_management.rb +33 -0
  11. data/app/javascript/beyond_canvas/base.js +0 -2
  12. data/app/javascript/beyond_canvas/initializers/buttons.js +7 -40
  13. data/app/javascript/beyond_canvas/initializers/flash.js +5 -13
  14. data/app/javascript/beyond_canvas/initializers/functions.js +41 -0
  15. data/app/javascript/beyond_canvas/initializers/inputs.js +3 -7
  16. data/app/views/beyond_canvas/authentications/new.html.erb +18 -0
  17. data/app/views/layouts/beyond_canvas/public.html.erb +3 -1
  18. data/config/locales/en.yml +4 -0
  19. data/config/routes.rb +6 -0
  20. data/lib/beyond_canvas.rb +18 -2
  21. data/lib/beyond_canvas/configuration.rb +4 -1
  22. data/lib/beyond_canvas/engine.rb +4 -0
  23. data/lib/beyond_canvas/models/authentication.rb +66 -0
  24. data/lib/beyond_canvas/models/shop.rb +28 -0
  25. data/lib/beyond_canvas/models/utils.rb +55 -0
  26. data/lib/beyond_canvas/parameter_sanitizer.rb +43 -0
  27. data/lib/beyond_canvas/rails/routes.rb +21 -0
  28. data/lib/beyond_canvas/version.rb +1 -1
  29. data/lib/generators/beyond_canvas/auth_model/auth_model_generator.rb +50 -0
  30. data/lib/generators/beyond_canvas/auth_model/templates/migration.erb +20 -0
  31. data/lib/generators/beyond_canvas/auth_model/templates/model.erb +5 -0
  32. data/lib/generators/beyond_canvas/controller/controller_generator.rb +20 -0
  33. data/lib/generators/beyond_canvas/controller/templates/controller.erb +37 -0
  34. data/lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.scss +153 -0
  35. data/lib/generators/beyond_canvas/install/install_generator.rb +15 -5
  36. data/lib/generators/beyond_canvas/install/templates/beyond_canvas.rb.erb +11 -0
  37. data/lib/generators/beyond_canvas/views/views_generator.rb +19 -0
  38. metadata +50 -5
  39. data/lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.sass +0 -123
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef55151b505d03b5e940bbb09fa64b01bf267426fb5d2b20f25a74a0d4226534
4
- data.tar.gz: b2430821affb163c1ffda7cf4611bc924e310cb21cb02d7ef461b88de594385c
3
+ metadata.gz: 0a9c0a0bbb9fdb0af82711770d98bd04570b819e0b07c6b852bb54bf1ddf7cf1
4
+ data.tar.gz: e2a26c8ec82740147e053c9b673476da0eb888d140ac1232b785868a5e917ab6
5
5
  SHA512:
6
- metadata.gz: 6fcaa57a073215b62c451b5d325022384ad1a8c1a77ecefa50caf40481150ed1c43e18cc5e92478f19011b15929db3f5b665124c2438f2bcd78f7d48bda384aa
7
- data.tar.gz: d8ab25f70ae9821cb23fab3be6f419f00be764281b02632d4527f0023ae2e711b32e8bbb04d3a322ab6affafc992d3b11b2d0d4a37c1f1e404bcbeea9d623d34
6
+ metadata.gz: 28b094f776e12fe674f67c36d8279a8fbc307345fbcf08a9d4f4f297a3568a09284bd9b5440b475650ab9a06f73b03e19e1dad668b21c29f4e61a09e0517dd78
7
+ data.tar.gz: b531f83b2e0ea58260de71f9257d8e5839ca128d5b43059e3fda4080ce5d9c85c520277863a653b2c479a5ca1d37287089914b0b8075f6cb5991914e0bee17ba
data/README.md CHANGED
@@ -37,12 +37,6 @@
37
37
  //= require beyond_canvas
38
38
  ```
39
39
 
40
- 1. Mount the engine in your routes file:
41
-
42
- ```ruby
43
- mount BeyondCanvas::Engine => "/<your-mounting-path>"
44
- ```
45
-
46
40
  1. Run the generator:
47
41
 
48
42
  ```bash
data/Rakefile CHANGED
@@ -35,13 +35,13 @@ require 'colorize'
35
35
  namespace :release do
36
36
  desc 'Update beyond_canvas_custom_styles.sass generator template to latest version'
37
37
  task :custom_styles do |_task, _args|
38
- ORIG = 'app/assets/stylesheets/beyond_canvas/settings/_variables.sass'
39
- DEST = 'lib/generators/templates/beyond_canvas_custom_styles.sass'
38
+ ORIG = 'app/assets/stylesheets/beyond_canvas/settings/_variables.scss'
39
+ DEST = 'lib/generators/beyond_canvas/custom_styles/templates/beyond_canvas_custom_styles.scss'
40
40
 
41
41
  dest_file = File.open(DEST, 'w')
42
42
 
43
43
  File.open(ORIG, 'r').each do |line|
44
- next if line.include?('!global')
44
+ next if line.start_with?('$') && !line.include?('!default')
45
45
 
46
46
  line.start_with?('$') ? dest_file.print('// ' + line.gsub(' !default', '')) : dest_file.print(line)
47
47
  end
@@ -1,106 +1,255 @@
1
- /*
2
- * Warning: This file is auto-generated, do not modify. Instead, make your changes in 'app/javascript/beyond_canvas/' and run `yarn build`
1
+ /*!
2
+ *
3
+ * Warning: This file is auto-generated, do not modify. Instead, make your changes in 'app/javascript/beyond_canvas/' and run `yarn build`
4
+ *
5
+ * //= require jquery3
6
+ * //= require_self
7
+ *
3
8
  */
4
- //= require jquery3
5
- //= require_self
6
-
7
- (function(factory) {
8
- typeof define === "function" && define.amd ? define([ "jquery" ], factory) : factory();
9
- })(function() {
10
- "use strict";
11
- var SPINNER_ANIMATION_TIMEOUT = 125;
12
- (function($) {
13
- var onDOMReady = function onDOMReady() {
14
- var inputs = $("input, textarea, select").not(":input[type=button], :input[type=submit], :input[type=reset]");
15
- inputs.each(function() {
16
- var input = $(this);
17
- input.bind("invalid", function(e) {
18
- if ($(input).is(":hidden")) {
19
- e.preventDefault();
20
- }
21
- $('button[class^="button"]').each(function() {
22
- hideSpinner($(this));
23
- });
24
- enableActionElements();
25
- });
26
- });
27
- $('button[class^="button"]').each(function() {
28
- var button = $(this);
29
- button.width(button.width());
30
- button.data("oldWidth", button.width());
31
- button.prepend('\n <div class="spinner">\n <div class="bounce1"></div>\n <div class="bounce2"></div>\n <div class="bounce3"></div>\n </div>');
32
- button.closest("form").on("ajax:success", function() {
33
- hideSpinner(button);
34
- enableActionElements();
35
- }).on("ajax:error", function() {
36
- hideSpinner(button);
37
- enableActionElements();
38
- });
39
- });
40
- };
41
- $(document).on("click", '[class^="button"]', function() {
42
- disableActionElements();
43
- showSpinner($(this));
44
- });
45
- $(document).on("ready page:load turbolinks:load", onDOMReady);
46
- })(jQuery);
47
- function showSpinner(button) {
48
- button.width(button.width() + $(".spinner").outerWidth(true));
49
- setTimeout(function() {
50
- button.find(".spinner").css("display", "flex");
51
- }, SPINNER_ANIMATION_TIMEOUT);
52
- }
53
- function hideSpinner(button) {
54
- setTimeout(function() {
55
- button.find(".spinner").hide();
56
- button.width(button.data("oldWidth"));
9
+ (function(e, a) { for(var i in a) e[i] = a[i]; }(window, /******/ (function(modules) { // webpackBootstrap
10
+ /******/ // The module cache
11
+ /******/ var installedModules = {};
12
+ /******/
13
+ /******/ // The require function
14
+ /******/ function __webpack_require__(moduleId) {
15
+ /******/
16
+ /******/ // Check if module is in cache
17
+ /******/ if(installedModules[moduleId]) {
18
+ /******/ return installedModules[moduleId].exports;
19
+ /******/ }
20
+ /******/ // Create a new module (and put it into the cache)
21
+ /******/ var module = installedModules[moduleId] = {
22
+ /******/ i: moduleId,
23
+ /******/ l: false,
24
+ /******/ exports: {}
25
+ /******/ };
26
+ /******/
27
+ /******/ // Execute the module function
28
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
29
+ /******/
30
+ /******/ // Flag the module as loaded
31
+ /******/ module.l = true;
32
+ /******/
33
+ /******/ // Return the exports of the module
34
+ /******/ return module.exports;
35
+ /******/ }
36
+ /******/
37
+ /******/
38
+ /******/ // expose the modules object (__webpack_modules__)
39
+ /******/ __webpack_require__.m = modules;
40
+ /******/
41
+ /******/ // expose the module cache
42
+ /******/ __webpack_require__.c = installedModules;
43
+ /******/
44
+ /******/ // define getter function for harmony exports
45
+ /******/ __webpack_require__.d = function(exports, name, getter) {
46
+ /******/ if(!__webpack_require__.o(exports, name)) {
47
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
48
+ /******/ }
49
+ /******/ };
50
+ /******/
51
+ /******/ // define __esModule on exports
52
+ /******/ __webpack_require__.r = function(exports) {
53
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
54
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
55
+ /******/ }
56
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
57
+ /******/ };
58
+ /******/
59
+ /******/ // create a fake namespace object
60
+ /******/ // mode & 1: value is a module id, require it
61
+ /******/ // mode & 2: merge all properties of value into the ns
62
+ /******/ // mode & 4: return value when already ns object
63
+ /******/ // mode & 8|1: behave like require
64
+ /******/ __webpack_require__.t = function(value, mode) {
65
+ /******/ if(mode & 1) value = __webpack_require__(value);
66
+ /******/ if(mode & 8) return value;
67
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
68
+ /******/ var ns = Object.create(null);
69
+ /******/ __webpack_require__.r(ns);
70
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
71
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
72
+ /******/ return ns;
73
+ /******/ };
74
+ /******/
75
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
76
+ /******/ __webpack_require__.n = function(module) {
77
+ /******/ var getter = module && module.__esModule ?
78
+ /******/ function getDefault() { return module['default']; } :
79
+ /******/ function getModuleExports() { return module; };
80
+ /******/ __webpack_require__.d(getter, 'a', getter);
81
+ /******/ return getter;
82
+ /******/ };
83
+ /******/
84
+ /******/ // Object.prototype.hasOwnProperty.call
85
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
86
+ /******/
87
+ /******/ // __webpack_public_path__
88
+ /******/ __webpack_require__.p = "";
89
+ /******/
90
+ /******/
91
+ /******/ // Load entry module and return exports
92
+ /******/ return __webpack_require__(__webpack_require__.s = 1);
93
+ /******/ })
94
+ /************************************************************************/
95
+ /******/ ([
96
+ /* 0 */
97
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
98
+
99
+ "use strict";
100
+ __webpack_require__.r(__webpack_exports__);
101
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "showSpinner", function() { return showSpinner; });
102
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "hideSpinner", function() { return hideSpinner; });
103
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "disableActionElements", function() { return disableActionElements; });
104
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "enableActionElements", function() { return enableActionElements; });
105
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "closeAlert", function() { return closeAlert; });
106
+ var SPINNER_ANIMATION_TIMEOUT = 125;
107
+ function showSpinner(button) {
108
+ // Adjust the width of the button
109
+ button.width(button.width() + $('.spinner').outerWidth(true)); // Show the spinner
110
+
111
+ setTimeout(function () {
112
+ button.find('.spinner').css('display', 'flex');
113
+ }, SPINNER_ANIMATION_TIMEOUT);
114
+ }
115
+ function hideSpinner() {
116
+ $('button[class^="button"]').each(function (_, button) {
117
+ setTimeout(function () {
118
+ // Hide the spinner
119
+ $(button).find('.spinner').hide(); // Adjust the width of the button
120
+
121
+ $(button).width($(button).data('oldWidth'));
57
122
  }, SPINNER_ANIMATION_TIMEOUT);
58
- }
59
- function disableActionElements() {
60
- $('a, input[type="submit"], input[type="button"], input[type="reset"], button').each(function() {
61
- $(this).addClass("actions--disabled");
123
+ });
124
+ }
125
+ function disableActionElements() {
126
+ $('a, input[type="submit"], input[type="button"], input[type="reset"], button').each(function (_, button) {
127
+ $(button).addClass('actions--disabled');
128
+ });
129
+ }
130
+ function enableActionElements() {
131
+ $('a, input[type="submit"], input[type="button"], input[type="reset"], button').each(function (_, button) {
132
+ $(button).removeClass('actions--disabled');
133
+ });
134
+ }
135
+ function closeAlert() {
136
+ $('.flash').removeClass('flash--shown').delay(700).queue(function () {
137
+ $(this).remove();
138
+ });
139
+ }
140
+
141
+ /***/ }),
142
+ /* 1 */
143
+ /***/ (function(module, exports, __webpack_require__) {
144
+
145
+ __webpack_require__(3);
146
+ module.exports = __webpack_require__(0);
147
+
148
+
149
+ /***/ }),
150
+ /* 2 */
151
+ /***/ (function(module, exports) {
152
+
153
+ (function ($) {
154
+ var onDOMReady = function onDOMReady() {
155
+ $('input[type="file"]').each(function () {
156
+ var $input = $(this),
157
+ $label = $(".input__file__text." + $input.attr('id')),
158
+ labelVal = $label.html();
159
+ $input.on('change', function (e) {
160
+ var fileName = '';
161
+ if (this.files && this.files.length > 1) fileName = (this.getAttribute('data-multiple-caption') || '').replace('{count}', this.files.length);else if (e.target.value) fileName = e.target.value.split('\\').pop();
162
+ if (fileName) $label.html("<svg class=\"input__file__icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M15 2v5h5v15h-16v-20h11zm1-2h-14v24h20v-18l-6-6z\"/></svg>" + fileName);else $label.html(labelVal);
163
+ }); // Firefox bug fix
164
+
165
+ $input.on('focus', function () {
166
+ $input.addClass('has-focus');
167
+ }).on('blur', function () {
168
+ $input.removeClass('has-focus');
169
+ });
62
170
  });
63
- }
64
- function enableActionElements() {
65
- $('a, input[type="submit"], input[type="button"], input[type="reset"], button').each(function() {
66
- $(this).removeClass("actions--disabled");
171
+ };
172
+
173
+ $(document).on('ready page:load turbolinks:load', onDOMReady);
174
+ })(jQuery);
175
+
176
+ /***/ }),
177
+ /* 3 */
178
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
179
+
180
+ "use strict";
181
+ // ESM COMPAT FLAG
182
+ __webpack_require__.r(__webpack_exports__);
183
+
184
+ // EXTERNAL MODULE: ./app/javascript/beyond_canvas/initializers/functions.js
185
+ var functions = __webpack_require__(0);
186
+
187
+ // CONCATENATED MODULE: ./app/javascript/beyond_canvas/initializers/buttons.js
188
+
189
+
190
+ (function ($) {
191
+ var onDOMReady = function onDOMReady() {
192
+ var inputs = $('input, textarea, select').not(':input[type=button], :input[type=submit], :input[type=reset]');
193
+ inputs.each(function () {
194
+ var input = $(this);
195
+ input.bind('invalid', function (e) {
196
+ if ($(input).is(':hidden')) {
197
+ e.preventDefault();
198
+ }
199
+
200
+ Object(functions["hideSpinner"])();
201
+ Object(functions["enableActionElements"])();
202
+ });
67
203
  });
68
- }
69
- (function($) {
70
- var onDOMReady = function onDOMReady() {
71
- $(".flash").each(function() {
72
- $(this).css("right", -$(this).width() + "px");
204
+ $('button[class^="button"]').each(function () {
205
+ var button = $(this); // Add width attribute and save old width
206
+
207
+ button.width(button.width());
208
+ button.data('oldWidth', button.width()); // Add the spinner
209
+
210
+ button.prepend("\n <div class=\"spinner\">\n <div class=\"bounce1\"></div>\n <div class=\"bounce2\"></div>\n <div class=\"bounce3\"></div>\n </div>"); // Bind ajax:success and ajax:error to the form the button belongs to
211
+
212
+ button.closest('form').on('ajax:success', function () {
213
+ Object(functions["hideSpinner"])();
214
+ Object(functions["enableActionElements"])();
215
+ }).on('ajax:error', function () {
216
+ Object(functions["hideSpinner"])();
217
+ Object(functions["enableActionElements"])();
73
218
  });
74
- setTimeout(function() {
75
- $(".flash").addClass("flash--shown");
76
- }, 100);
77
- };
78
- $(document).on("click", ".flash", function() {
79
- closeAlert();
80
219
  });
81
- $(document).on("ready page:load turbolinks:load", onDOMReady);
82
- })(jQuery);
83
- function closeAlert() {
84
- $(".flash").removeClass("flash--shown").delay(700).queue(function() {
85
- $(this).remove();
220
+ };
221
+
222
+ $(document).on('click', '[class^="button"]', function () {
223
+ Object(functions["disableActionElements"])();
224
+ Object(functions["showSpinner"])($(this));
225
+ });
226
+ $(document).on('ready page:load turbolinks:load', onDOMReady);
227
+ })(jQuery);
228
+ // CONCATENATED MODULE: ./app/javascript/beyond_canvas/initializers/flash.js
229
+
230
+
231
+ (function ($) {
232
+ var onDOMReady = function onDOMReady() {
233
+ $('.flash').each(function () {
234
+ $(this).css('right', -$(this).width() + 'px');
86
235
  });
87
- }
88
- (function($) {
89
- var onDOMReady = function onDOMReady() {
90
- $('input[type="file"]').each(function() {
91
- var $input = $(this), $label = $(".input__file__text." + $input.attr("id")), labelVal = $label.html();
92
- $input.on("change", function(e) {
93
- var fileName = "";
94
- if (this.files && this.files.length > 1) fileName = (this.getAttribute("data-multiple-caption") || "").replace("{count}", this.files.length); else if (e.target.value) fileName = e.target.value.split("\\").pop();
95
- if (fileName) $label.html('<svg class="input__file__icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 2v5h5v15h-16v-20h11zm1-2h-14v24h20v-18l-6-6z"/></svg>' + fileName); else $label.html(labelVal);
96
- });
97
- $input.on("focus", function() {
98
- $input.addClass("has-focus");
99
- }).on("blur", function() {
100
- $input.removeClass("has-focus");
101
- });
102
- });
103
- };
104
- $(document).on("ready page:load turbolinks:load", onDOMReady);
105
- })(jQuery);
106
- });
236
+ setTimeout(function () {
237
+ $('.flash').addClass('flash--shown');
238
+ }, 100);
239
+ };
240
+
241
+ $(document).on('click', '.flash', function () {
242
+ Object(functions["closeAlert"])();
243
+ });
244
+ $(document).on('ready page:load turbolinks:load', onDOMReady);
245
+ })(jQuery);
246
+ // EXTERNAL MODULE: ./app/javascript/beyond_canvas/initializers/inputs.js
247
+ var initializers_inputs = __webpack_require__(2);
248
+
249
+ // CONCATENATED MODULE: ./app/javascript/beyond_canvas/base.js
250
+
251
+
252
+
253
+
254
+ /***/ })
255
+ /******/ ])));
@@ -1,6 +1,6 @@
1
- $mobile-s: 321px !global;
2
- $mobile-m: 376px !global;
3
- $mobile-l: 426px !global;
4
- $tablet: 769px !global;
5
- $laptop: 1025px !global;
6
- $laptop-l: 1441px !global;
1
+ $mobile-s: 321px;
2
+ $mobile-m: 376px;
3
+ $mobile-l: 426px;
4
+ $tablet: 769px;
5
+ $laptop: 1025px;
6
+ $laptop-l: 1441px;
@@ -2,8 +2,8 @@
2
2
  // Colors
3
3
  // ************************************************************
4
4
 
5
- $white: rgb(255, 255, 255) !global;
6
- $black: rgb(0, 0, 0) !global;
5
+ $white: rgb(255, 255, 255);
6
+ $black: rgb(0, 0, 0);
7
7
  $palette-primary: rgb(78, 183, 168) !default;
8
8
  $palette-secondary: rgb(28, 53, 69) !default;
9
9
  $palette-cancel: rgb(153, 153, 153) !default;
@@ -14,23 +14,23 @@ $palette-danger: rgb(218, 60, 60) !default;
14
14
  // ************************************************************
15
15
 
16
16
  $main-background: rgb(233, 232, 220) !default;
17
- $main-transition: 0.125s ease-in !global;
17
+ $main-transition: 0.125s ease-in;
18
18
 
19
19
  // ************************************************************
20
20
  // Typography
21
21
  // ************************************************************
22
22
 
23
- $main-font-family: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif' !global;
23
+ $main-font-family: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif';
24
24
  $main-color: rgb(62, 62, 62) !default;
25
- $main-line-height: 1.5 !global;
26
- $main-font-size: 14px !global;
25
+ $main-line-height: 1.5;
26
+ $main-font-size: 14px;
27
27
 
28
28
  // ************************************************************
29
29
  // Headlines
30
30
  // ************************************************************
31
31
 
32
32
  $headline-color: rgb(122, 118, 76) !default;
33
- $headline-line-height: 1 !global;
33
+ $headline-line-height: 1;
34
34
 
35
35
  // ************************************************************
36
36
  // Links
@@ -55,8 +55,8 @@ $button-danger-color: $white !default;
55
55
 
56
56
  $button-border-radius: 3px !default;
57
57
  $button-box-shadow: true !default;
58
- $button-font-weight: 700 !global;
59
- $button-padding: 6px 12px 7px !global;
58
+ $button-font-weight: 700;
59
+ $button-padding: 6px 12px 7px;
60
60
 
61
61
  // ************************************************************
62
62
  // Cards
@@ -64,17 +64,17 @@ $button-padding: 6px 12px 7px !global;
64
64
 
65
65
  $card-border-radius: 3px !default;
66
66
  $card-box-shadow: 0 2px 7px rgba($black, 0.2) !default;
67
- $card-padding: 40px !global;
68
- $card-margin: 30px !global;
67
+ $card-padding: 40px;
68
+ $card-margin: 30px;
69
69
  $card-separator-color: rgb(222, 222, 222) !default;
70
- $card-separator-spacing: 50px !global;
70
+ $card-separator-spacing: 50px;
71
71
  $card-title-color: rgb(247, 133, 96) !default;
72
72
 
73
73
  // ************************************************************
74
74
  // Containers
75
75
  // ************************************************************
76
76
 
77
- $container-spacing: 30px !global;
77
+ $container-spacing: 30px;
78
78
 
79
79
  // ************************************************************
80
80
  // Labels