nice-elements 1.10.4 → 1.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/.vscode/settings.json +17 -17
  2. package/CHANGELOG.md +444 -433
  3. package/LICENSE.md +21 -21
  4. package/README.md +95 -95
  5. package/bower.json +10 -10
  6. package/dist/nice.js +8074 -8086
  7. package/dist/nice.min.js +1 -1
  8. package/dist/style.css +20 -9
  9. package/dist/style.css.map +1 -1
  10. package/dist/style.min.css +7 -7
  11. package/eslint.config.mjs +28 -0
  12. package/package.json +45 -42
  13. package/src/components/nice-button/nice-button.html +4 -4
  14. package/src/components/nice-button/nice-button.js +40 -40
  15. package/src/components/nice-button/nice-button.scss +16 -16
  16. package/src/components/nice-button-toggle/nice-button-toggle.html +9 -9
  17. package/src/components/nice-button-toggle/nice-button-toggle.js +23 -23
  18. package/src/components/nice-button-toggle/nice-button-toggle.scss +2 -2
  19. package/src/components/nice-calendar/nice-calendar.html +91 -91
  20. package/src/components/nice-calendar/nice-calendar.js +336 -335
  21. package/src/components/nice-calendar/nice-calendar.scss +285 -285
  22. package/src/components/nice-checkbox/nice-checkbox.html +5 -5
  23. package/src/components/nice-checkbox/nice-checkbox.js +34 -34
  24. package/src/components/nice-checkbox/nice-checkbox.scss +91 -91
  25. package/src/components/nice-choice/nice-choice.html +18 -18
  26. package/src/components/nice-choice/nice-choice.js +211 -211
  27. package/src/components/nice-choice/nice-choice.scss +110 -110
  28. package/src/components/nice-click-outside/nice-click-outside.js +105 -105
  29. package/src/components/nice-comment/nice-comment.html +10 -10
  30. package/src/components/nice-comment/nice-comment.js +71 -70
  31. package/src/components/nice-comment/nice-comment.scss +39 -39
  32. package/src/components/nice-date/nice-date.html +75 -74
  33. package/src/components/nice-date/nice-date.js +329 -328
  34. package/src/components/nice-date/nice-date.scss +302 -302
  35. package/src/components/nice-date-input/nice-date-input.html +41 -41
  36. package/src/components/nice-date-input/nice-date-input.js +111 -110
  37. package/src/components/nice-date-input/nice-date-input.scss +45 -45
  38. package/src/components/nice-date-range/nice-date-range.html +15 -15
  39. package/src/components/nice-date-range/nice-date-range.js +78 -77
  40. package/src/components/nice-date-range/nice-date-range.scss +390 -390
  41. package/src/components/nice-datetime-picker/nice-datetime-picker.html +29 -29
  42. package/src/components/nice-datetime-picker/nice-datetime-picker.js +89 -88
  43. package/src/components/nice-datetime-picker/nice-datetime-picker.scss +428 -428
  44. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +55 -55
  45. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +248 -247
  46. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.scss +73 -73
  47. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +44 -44
  48. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +174 -173
  49. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +127 -127
  50. package/src/components/nice-dropdown/nice-dropdown.html +61 -60
  51. package/src/components/nice-dropdown/nice-dropdown.js +496 -490
  52. package/src/components/nice-dropdown/nice-dropdown.scss +261 -249
  53. package/src/components/nice-dropdown-date/nice-dropdown-date.html +28 -28
  54. package/src/components/nice-dropdown-date/nice-dropdown-date.js +128 -127
  55. package/src/components/nice-dropdown-date/nice-dropdown-date.scss +82 -82
  56. package/src/components/nice-dropdown-old/nice-dropdown-old.html +44 -44
  57. package/src/components/nice-dropdown-old/nice-dropdown-old.js +331 -331
  58. package/src/components/nice-dropdown-old/nice-dropdown-old.scss +129 -129
  59. package/src/components/nice-dtp/nice-dtp.html +91 -91
  60. package/src/components/nice-dtp/nice-dtp.js +835 -834
  61. package/src/components/nice-help/nice-help.html +6 -6
  62. package/src/components/nice-help/nice-help.js +55 -55
  63. package/src/components/nice-help/nice-help.scss +78 -78
  64. package/src/components/nice-input/nice-input.html +48 -48
  65. package/src/components/nice-input/nice-input.js +245 -245
  66. package/src/components/nice-input/nice-input.scss +130 -130
  67. package/src/components/nice-label/nice-label.html +10 -10
  68. package/src/components/nice-label/nice-label.js +32 -31
  69. package/src/components/nice-loader/nice-loader.html +6 -6
  70. package/src/components/nice-loader/nice-loader.js +28 -28
  71. package/src/components/nice-loader/nice-loader.scss +47 -47
  72. package/src/components/nice-no-data/nice-no-data.html +3 -3
  73. package/src/components/nice-no-data/nice-no-data.js +27 -27
  74. package/src/components/nice-no-data/nice-no-data.scss +30 -30
  75. package/src/components/nice-notification/nice-notification.html +3 -3
  76. package/src/components/nice-notification/nice-notification.js +124 -124
  77. package/src/components/nice-notification/nice-notification.scss +66 -66
  78. package/src/components/nice-number/nice-number.html +40 -40
  79. package/src/components/nice-number/nice-number.js +170 -170
  80. package/src/components/nice-number/nice-number.scss +18 -18
  81. package/src/components/nice-percent/nice-percent.html +24 -24
  82. package/src/components/nice-percent/nice-percent.js +95 -95
  83. package/src/components/nice-pill/nice-pill.html +3 -3
  84. package/src/components/nice-pill/nice-pill.js +29 -29
  85. package/src/components/nice-pill/nice-pill.scss +25 -25
  86. package/src/components/nice-popup/nice-popup.html +6 -6
  87. package/src/components/nice-popup/nice-popup.js +122 -122
  88. package/src/components/nice-popup/nice-popup.scss +43 -43
  89. package/src/components/nice-progress-bar/nice-progress-bar.html +15 -15
  90. package/src/components/nice-progress-bar/nice-progress-bar.js +55 -55
  91. package/src/components/nice-progress-bar/nice-progress-bar.scss +47 -47
  92. package/src/components/nice-quantity/nice-quantity.html +22 -22
  93. package/src/components/nice-quantity/nice-quantity.js +57 -56
  94. package/src/components/nice-quantity/nice-quantity.scss +51 -51
  95. package/src/components/nice-search/nice-search.html +44 -44
  96. package/src/components/nice-search/nice-search.js +240 -240
  97. package/src/components/nice-search/nice-search.scss +90 -90
  98. package/src/components/nice-search2/nice-search2.html +32 -32
  99. package/src/components/nice-search2/nice-search2.js +265 -265
  100. package/src/components/nice-search2/nice-search2.scss +80 -80
  101. package/src/components/nice-slot/nice-slot.html +10 -10
  102. package/src/components/nice-slot/nice-slot.js +31 -30
  103. package/src/components/nice-steps/nice-steps.scss +81 -81
  104. package/src/components/nice-svgs/nice-svgs.html +1262 -1262
  105. package/src/components/nice-svgs/nice-svgs.js +16 -16
  106. package/src/components/nice-table/nice-table.html +38 -38
  107. package/src/components/nice-table/nice-table.js +60 -60
  108. package/src/components/nice-table/nice-table.scss +111 -111
  109. package/src/components/nice-time-picker/nice-time-picker.html +43 -43
  110. package/src/components/nice-time-picker/nice-time-picker.js +85 -84
  111. package/src/components/nice-time-picker/nice-time-picker.scss +37 -37
  112. package/src/components/nice-title/nice-title.html +3 -3
  113. package/src/components/nice-title/nice-title.js +21 -21
  114. package/src/components/nice-toast/nice-toast.html +2 -2
  115. package/src/components/nice-toast/nice-toast.js +56 -56
  116. package/src/components/nice-toast/nice-toast.scss +74 -74
  117. package/src/components/nice-toggle/nice-toggle.html +12 -12
  118. package/src/components/nice-toggle/nice-toggle.js +54 -53
  119. package/src/components/nice-toggle/nice-toggle.scss +131 -131
  120. package/src/components/nice-tooltip/_nice-tooltip.scss +71 -71
  121. package/src/components/nice-tooltip/nice-tooltip.js +23 -23
  122. package/src/components/nice-upload/nice-upload.html +22 -22
  123. package/src/components/nice-upload/nice-upload.js +159 -158
  124. package/src/components/nice-upload/nice-upload.scss +85 -85
  125. package/src/components/nice-wrapper/_nice-wrapper.scss +87 -87
  126. package/src/components/nice-wrapper/nice-wrapper.html +12 -12
  127. package/src/components/nice-wrapper/nice-wrapper.js +44 -44
  128. package/src/components/nice-yesno/nice-yesno.html +14 -14
  129. package/src/components/nice-yesno/nice-yesno.js +111 -110
  130. package/src/components/nice-yesno/nice-yesno.scss +95 -95
  131. package/src/filters/nice-date.js +17 -17
  132. package/src/filters/nice-highlight.js +16 -16
  133. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +30 -30
  134. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -67
  135. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +19 -19
  136. package/src/nice.js +2 -2
  137. package/src/services/nice-service.js +22 -19
  138. package/src/styles/_bootstrap-variables.scss +178 -178
  139. package/src/styles/_nice-buttons.scss +612 -612
  140. package/src/styles/_nice-common.scss +471 -471
  141. package/src/styles/_nice-ngdialog.scss +85 -85
  142. package/src/styles/_nice-spacing.scss +283 -283
  143. package/src/styles/_nice.scss +67 -67
  144. package/src/styles/_variables.scss +198 -198
@@ -1,31 +1,31 @@
1
- <div class="nice-multilangual-modal">
2
- <div class="dialog-title" ng-if="!model">
3
- <translate translate-context="Nice">Translations</translate>
4
- </div>
5
- <div class="dialog-title" ng-if="model">
6
- <div translate class="sub-title" translate-context="Nice">Translations for</div>
7
- <span class="title">{{ model }}</span>
8
- </div>
9
-
10
- <div class="dialog-body" ng-form="forma">
11
- <div class="nice-multilangual-languages">
12
- <div class="nice-multilangual-language" ng-repeat="(key, field) in fields">
13
- <!-- <nice-icon class="nice-multilangual-language-flag" icon="{{ 'flag-' + key }}"></nice-icon> -->
14
- <nice-input title="{{ languagesMap[key] }}" class="flex-grow" model="fields[key]" is-inline="false" no-margin="true" on-clear="removeLanguage(key)" class="flex-grow"></nice-input>
15
- <!-- <button type="button" class="btn btn-danger btn-icon" ng-click="removeLanguage(key)">
16
- <nice-icon icon="icon-trash-2"></nice-icon>
17
- </button> -->
18
- </div>
19
- </div>
20
-
21
- <nice-dropdown ng-if="!hide" title="{{ 'Add language' | translate:null:'Nice' }}" is-inline="false" model="selector.newLanguage" list="languages" add-button-function="addLanguage" filter-function="filterLanguages" no-margin="true"></nice-dropdown>
22
- <!-- <pre class="mb-0">{{ fields | json }}</pre> -->
23
- </div>
24
-
25
- <div class="dialog-footer">
26
- <div class="view-actions">
27
- <button type="button" class="btn btn-danger btn-navigation" ng-click="close()" translate-context="Nice" translate>Cancel</button>
28
- <button type="button" class="btn btn-success btn-navigation" ng-click="save()" translate-context="Nice" translate>Save</button>
29
- </div>
30
- </div>
1
+ <div class="nice-multilangual-modal">
2
+ <div class="dialog-title" ng-if="!model">
3
+ <translate translate-context="Nice">Translations</translate>
4
+ </div>
5
+ <div class="dialog-title" ng-if="model">
6
+ <div translate class="sub-title" translate-context="Nice">Translations for</div>
7
+ <span class="title">{{ model }}</span>
8
+ </div>
9
+
10
+ <div class="dialog-body" ng-form="forma">
11
+ <div class="nice-multilangual-languages">
12
+ <div class="nice-multilangual-language" ng-repeat="(key, field) in fields">
13
+ <!-- <nice-icon class="nice-multilangual-language-flag" icon="{{ 'flag-' + key }}"></nice-icon> -->
14
+ <nice-input title="{{ languagesMap[key] }}" class="flex-grow" model="fields[key]" is-inline="false" no-margin="true" on-clear="removeLanguage(key)" class="flex-grow"></nice-input>
15
+ <!-- <button type="button" class="btn btn-danger btn-icon" ng-click="removeLanguage(key)">
16
+ <nice-icon icon="icon-trash-2"></nice-icon>
17
+ </button> -->
18
+ </div>
19
+ </div>
20
+
21
+ <nice-dropdown ng-if="!hide" title="{{ 'Add language' | translate:null:'Nice' }}" is-inline="false" model="selector.newLanguage" list="languages" add-button-function="addLanguage" filter-function="filterLanguages" no-margin="true"></nice-dropdown>
22
+ <!-- <pre class="mb-0">{{ fields | json }}</pre> -->
23
+ </div>
24
+
25
+ <div class="dialog-footer">
26
+ <div class="view-actions">
27
+ <button type="button" class="btn btn-danger btn-navigation" ng-click="close()" translate-context="Nice" translate>Cancel</button>
28
+ <button type="button" class="btn btn-success btn-navigation" ng-click="save()" translate-context="Nice" translate>Save</button>
29
+ </div>
30
+ </div>
31
31
  </div>
@@ -1,67 +1,67 @@
1
- angular.module('niceElements')
2
- .directive('niceMultilangualModal', function () {
3
- return {
4
- templateUrl: 'src/modals/nice-multilangual-modal/nice-multilangual-modal.html',
5
- restrict: 'E',
6
- transclude: true,
7
- scope: {
8
- model: '=',
9
- callback: '=',
10
- dialog: '=',
11
- multilanguage: '=', // Multiple languages object
12
- multilanguageField: '@', // Multiple languages field name
13
- },
14
-
15
- controller: function ($scope, $timeout) {
16
- $scope.selector = {
17
- newLanguage: null
18
- };
19
-
20
- if (!$scope.multilanguage) $scope.multilanguage = {};
21
- if (!$scope.multilanguage[$scope.multilanguageField]) $scope.multilanguage[$scope.multilanguageField] = {};
22
- $scope.fields = angular.copy($scope.multilanguage[$scope.multilanguageField]);
23
-
24
- $scope.languages = [
25
- { id: 'sl', value: "Slovenščina" },
26
- { id: 'en', value: "English" },
27
- { id: 'de', value: "Deutsch" },
28
- { id: 'it', value: "Italiano" },
29
- { id: 'fr', value: "Français" },
30
- ];
31
- $scope.languagesMap = {};
32
- angular.forEach($scope.languages, function (l) { $scope.languagesMap[l.id] = l.value; })
33
-
34
-
35
- $scope.filterLanguages = function (list) {
36
- return _.filter(list, function (l) { return !Object.keys($scope.fields).includes(l.id); })
37
- };
38
-
39
- $scope.addLanguage = function () {
40
- if (!$scope.selector.newLanguage) return;
41
- $scope.fields[$scope.selector.newLanguage.id] = "";
42
- $scope.selector.newLanguage = null;
43
- $scope.hide = true;
44
- $timeout(function () {
45
- $scope.hide = false;
46
- })
47
- }
48
-
49
- $scope.removeLanguage = function (key) {
50
- delete $scope.fields[key];
51
- $scope.hide = true;
52
- $timeout(function () {
53
- $scope.hide = false;
54
- })
55
- }
56
-
57
- $scope.save = function () {
58
- $scope.callback($scope.fields);
59
- $scope.dialog.close();
60
- }
61
-
62
- $scope.close = function () {
63
- $scope.dialog.close();
64
- }
65
- }
66
- };
67
- });
1
+ angular.module('niceElements')
2
+ .directive('niceMultilangualModal', function () {
3
+ return {
4
+ templateUrl: 'src/modals/nice-multilangual-modal/nice-multilangual-modal.html',
5
+ restrict: 'E',
6
+ transclude: true,
7
+ scope: {
8
+ model: '=',
9
+ callback: '=',
10
+ dialog: '=',
11
+ multilanguage: '=', // Multiple languages object
12
+ multilanguageField: '@', // Multiple languages field name
13
+ },
14
+
15
+ controller: function ($scope, $timeout) {
16
+ $scope.selector = {
17
+ newLanguage: null
18
+ };
19
+
20
+ if (!$scope.multilanguage) $scope.multilanguage = {};
21
+ if (!$scope.multilanguage[$scope.multilanguageField]) $scope.multilanguage[$scope.multilanguageField] = {};
22
+ $scope.fields = angular.copy($scope.multilanguage[$scope.multilanguageField]);
23
+
24
+ $scope.languages = [
25
+ { id: 'sl', value: "Slovenščina" },
26
+ { id: 'en', value: "English" },
27
+ { id: 'de', value: "Deutsch" },
28
+ { id: 'it', value: "Italiano" },
29
+ { id: 'fr', value: "Français" },
30
+ ];
31
+ $scope.languagesMap = {};
32
+ angular.forEach($scope.languages, function (l) { $scope.languagesMap[l.id] = l.value; })
33
+
34
+
35
+ $scope.filterLanguages = function (list) {
36
+ return _.filter(list, function (l) { return !Object.keys($scope.fields).includes(l.id); })
37
+ };
38
+
39
+ $scope.addLanguage = function () {
40
+ if (!$scope.selector.newLanguage) return;
41
+ $scope.fields[$scope.selector.newLanguage.id] = "";
42
+ $scope.selector.newLanguage = null;
43
+ $scope.hide = true;
44
+ $timeout(function () {
45
+ $scope.hide = false;
46
+ })
47
+ }
48
+
49
+ $scope.removeLanguage = function (key) {
50
+ delete $scope.fields[key];
51
+ $scope.hide = true;
52
+ $timeout(function () {
53
+ $scope.hide = false;
54
+ })
55
+ }
56
+
57
+ $scope.save = function () {
58
+ $scope.callback($scope.fields);
59
+ $scope.dialog.close();
60
+ }
61
+
62
+ $scope.close = function () {
63
+ $scope.dialog.close();
64
+ }
65
+ }
66
+ };
67
+ });
@@ -1,20 +1,20 @@
1
- .nice-multilangual-modal {
2
- .nice-multilangual-languages {
3
- .nice-multilangual-language {
4
- margin-bottom: 1rem;
5
- display: flex;
6
- align-items: flex-end;
7
- gap: 1rem;
8
-
9
- .nice-multilangual-language-flag {
10
- width: 34px;
11
- height: 34px;
12
- }
13
- }
14
- }
15
-
16
- .add-language {
17
- width: 200px;
18
- display: block;
19
- }
1
+ .nice-multilangual-modal {
2
+ .nice-multilangual-languages {
3
+ .nice-multilangual-language {
4
+ margin-bottom: 1rem;
5
+ display: flex;
6
+ align-items: flex-end;
7
+ gap: 1rem;
8
+
9
+ .nice-multilangual-language-flag {
10
+ width: 34px;
11
+ height: 34px;
12
+ }
13
+ }
14
+ }
15
+
16
+ .add-language {
17
+ width: 200px;
18
+ display: block;
19
+ }
20
20
  }
package/src/nice.js CHANGED
@@ -1,3 +1,3 @@
1
- 'use strict';
2
-
1
+ 'use strict';
2
+
3
3
  angular.module('niceElements', []);
@@ -1,20 +1,23 @@
1
- /**
2
- * @ngdoc date
3
- * @name niceElements.service:NiceService
4
- * @function
5
- * @description
6
- * # NiceService
7
- * Service in the niceElements.
8
- */
9
- angular.module('niceElements')
10
- .service('NiceService', function () {
11
- var service = {
12
- name: "Nice elements",
13
- version: "1.10.4",
14
- getHeader: function () {
15
- return {};
16
- }
17
- };
18
-
19
- return service;
1
+ /**
2
+ * @ngdoc date
3
+ * @name niceElements.service:NiceService
4
+ * @function
5
+ * @description
6
+ * # NiceService
7
+ * Service in the niceElements.
8
+ */
9
+ angular.module('niceElements')
10
+ .service('NiceService', function ($rootScope) {
11
+ var service = {
12
+ name: "Nice elements",
13
+ version: "1.10.6",
14
+ getHeader: function () {
15
+ return {};
16
+ },
17
+ toast: function (message, type) {
18
+ $rootScope.$broadcast('toast', message, type);
19
+ }
20
+ };
21
+
22
+ return service;
20
23
  })
@@ -1,178 +1,178 @@
1
- $bootstrap-sass-asset-helper: false !default;
2
- //
3
- // Variables
4
- // --------------------------------------------------
5
-
6
-
7
- //== Colors
8
- //
9
- //## Gray and brand colors for use across Bootstrap.
10
-
11
- $gray-base: #000 !default;
12
- $gray-darker: lighten($gray-base, 13.5%) !default; // #222
13
- $gray-dark: lighten($gray-base, 20%) !default; // #333
14
- $gray: lighten($gray-base, 33.5%) !default; // #555
15
- $gray-light: lighten($gray-base, 46.7%) !default; // #777
16
- $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
17
-
18
- $brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
19
- $brand-success: #5cb85c !default;
20
- $brand-info: #5bc0de !default;
21
- $brand-warning: #f0ad4e !default;
22
- $brand-danger: #d9534f !default;
23
-
24
-
25
- //== Scaffolding
26
- //
27
- //## Settings for some of the most global styles.
28
-
29
- //** Background color for `<body>`.
30
- $body-bg: #fff !default;
31
- //** Global text color on `<body>`.
32
- $text-color: $gray-dark !default;
33
-
34
- //** Global textual link color.
35
- $link-color: $brand-primary !default;
36
- //** Link hover color set via `darken()` function.
37
- $link-hover-color: darken($link-color, 15%) !default;
38
- //** Link hover decoration.
39
- $link-hover-decoration: underline !default;
40
-
41
-
42
- //== Typography
43
- //
44
- //## Font, line-height, and color for body text, headings, and more.
45
-
46
- $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
47
- $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
48
- //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
49
- $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
50
- $font-family-base: $font-family-sans-serif !default;
51
-
52
- $font-size-base: 14px !default;
53
- $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
54
- $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
55
-
56
- $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
57
- $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
58
- $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
59
- $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
60
- $font-size-h5: $font-size-base !default;
61
- $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
62
-
63
- $border-radius-base: 4px !default;
64
- $border-radius-large: 6px !default;
65
- $border-radius-small: 3px !default;
66
-
67
-
68
- //== Buttons
69
- //
70
- //## For each of Bootstrap's buttons, define text, background and border color.
71
-
72
- $btn-font-weight: normal !default;
73
-
74
- $btn-default-color: #333 !default;
75
- $btn-default-bg: #fff !default;
76
- $btn-default-border: #ccc !default;
77
-
78
- $btn-primary-color: #fff !default;
79
- $btn-primary-bg: $brand-primary !default;
80
- $btn-primary-border: darken($btn-primary-bg, 5%) !default;
81
-
82
- $btn-success-color: #fff !default;
83
- $btn-success-bg: $brand-success !default;
84
- $btn-success-border: darken($btn-success-bg, 5%) !default;
85
-
86
- $btn-info-color: #fff !default;
87
- $btn-info-bg: $brand-info !default;
88
- $btn-info-border: darken($btn-info-bg, 5%) !default;
89
-
90
- $btn-warning-color: #fff !default;
91
- $btn-warning-bg: $brand-warning !default;
92
- $btn-warning-border: darken($btn-warning-bg, 5%) !default;
93
-
94
- $btn-danger-color: #fff !default;
95
- $btn-danger-bg: $brand-danger !default;
96
- $btn-danger-border: darken($btn-danger-bg, 5%) !default;
97
-
98
- $btn-link-disabled-color: $gray-light !default;
99
-
100
- // Allows for customizing button radius independently from global border radius
101
- $btn-border-radius-base: $border-radius-base !default;
102
- $btn-border-radius-large: $border-radius-large !default;
103
- $btn-border-radius-small: $border-radius-small !default;
104
-
105
-
106
-
107
- //== Media queries breakpoints
108
- //
109
- //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
110
-
111
- // Extra small screen / phone
112
- //** Deprecated `$screen-xs` as of v3.0.1
113
- $screen-xs: 480px !default;
114
- //** Deprecated `$screen-xs-min` as of v3.2.0
115
- $screen-xs-min: $screen-xs !default;
116
- //** Deprecated `$screen-phone` as of v3.0.1
117
- $screen-phone: $screen-xs-min !default;
118
-
119
- // Small screen / tablet
120
- //** Deprecated `$screen-sm` as of v3.0.1
121
- $screen-sm: 768px !default;
122
- $screen-sm-min: $screen-sm !default;
123
- //** Deprecated `$screen-tablet` as of v3.0.1
124
- $screen-tablet: $screen-sm-min !default;
125
-
126
- // Medium screen / desktop
127
- //** Deprecated `$screen-md` as of v3.0.1
128
- $screen-md: 992px !default;
129
- $screen-md-min: $screen-md !default;
130
- //** Deprecated `$screen-desktop` as of v3.0.1
131
- $screen-desktop: $screen-md-min !default;
132
-
133
- // Large screen / wide desktop
134
- //** Deprecated `$screen-lg` as of v3.0.1
135
- $screen-lg: 1200px !default;
136
- $screen-lg-min: $screen-lg !default;
137
- //** Deprecated `$screen-lg-desktop` as of v3.0.1
138
- $screen-lg-desktop: $screen-lg-min !default;
139
-
140
- // So media queries don't overlap when required, provide a maximum
141
- $screen-xs-max: ($screen-sm-min - 1) !default;
142
- $screen-sm-max: ($screen-md-min - 1) !default;
143
- $screen-md-max: ($screen-lg-min - 1) !default;
144
-
145
-
146
- //== Grid system
147
- //
148
- //## Define your custom responsive grid.
149
-
150
- //** Number of columns in the grid.
151
- $grid-columns: 12 !default;
152
- //** Padding between columns. Gets divided in half for the left and right.
153
- $grid-gutter-width: 30px !default;
154
- // Navbar collapse
155
- //** Point at which the navbar becomes uncollapsed.
156
- $grid-float-breakpoint: $screen-sm-min !default;
157
- //** Point at which the navbar begins collapsing.
158
- $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
159
-
160
-
161
- //== Container sizes
162
- //
163
- //## Define the maximum width of `.container` for different screen sizes.
164
-
165
- // Small screen / tablet
166
- $container-tablet: (720px + $grid-gutter-width) !default;
167
- //** For `$screen-sm-min` and up.
168
- $container-sm: $container-tablet !default;
169
-
170
- // Medium screen / desktop
171
- $container-desktop: (940px + $grid-gutter-width) !default;
172
- //** For `$screen-md-min` and up.
173
- $container-md: $container-desktop !default;
174
-
175
- // Large screen / wide desktop
176
- $container-large-desktop: (1140px + $grid-gutter-width) !default;
177
- //** For `$screen-lg-min` and up.
178
- $container-lg: $container-large-desktop !default;
1
+ $bootstrap-sass-asset-helper: false !default;
2
+ //
3
+ // Variables
4
+ // --------------------------------------------------
5
+
6
+
7
+ //== Colors
8
+ //
9
+ //## Gray and brand colors for use across Bootstrap.
10
+
11
+ $gray-base: #000 !default;
12
+ $gray-darker: lighten($gray-base, 13.5%) !default; // #222
13
+ $gray-dark: lighten($gray-base, 20%) !default; // #333
14
+ $gray: lighten($gray-base, 33.5%) !default; // #555
15
+ $gray-light: lighten($gray-base, 46.7%) !default; // #777
16
+ $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
17
+
18
+ $brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
19
+ $brand-success: #5cb85c !default;
20
+ $brand-info: #5bc0de !default;
21
+ $brand-warning: #f0ad4e !default;
22
+ $brand-danger: #d9534f !default;
23
+
24
+
25
+ //== Scaffolding
26
+ //
27
+ //## Settings for some of the most global styles.
28
+
29
+ //** Background color for `<body>`.
30
+ $body-bg: #fff !default;
31
+ //** Global text color on `<body>`.
32
+ $text-color: $gray-dark !default;
33
+
34
+ //** Global textual link color.
35
+ $link-color: $brand-primary !default;
36
+ //** Link hover color set via `darken()` function.
37
+ $link-hover-color: darken($link-color, 15%) !default;
38
+ //** Link hover decoration.
39
+ $link-hover-decoration: underline !default;
40
+
41
+
42
+ //== Typography
43
+ //
44
+ //## Font, line-height, and color for body text, headings, and more.
45
+
46
+ $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
47
+ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
48
+ //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
49
+ $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
50
+ $font-family-base: $font-family-sans-serif !default;
51
+
52
+ $font-size-base: 14px !default;
53
+ $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
54
+ $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
55
+
56
+ $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
57
+ $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
58
+ $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
59
+ $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
60
+ $font-size-h5: $font-size-base !default;
61
+ $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
62
+
63
+ $border-radius-base: 4px !default;
64
+ $border-radius-large: 6px !default;
65
+ $border-radius-small: 3px !default;
66
+
67
+
68
+ //== Buttons
69
+ //
70
+ //## For each of Bootstrap's buttons, define text, background and border color.
71
+
72
+ $btn-font-weight: normal !default;
73
+
74
+ $btn-default-color: #333 !default;
75
+ $btn-default-bg: #fff !default;
76
+ $btn-default-border: #ccc !default;
77
+
78
+ $btn-primary-color: #fff !default;
79
+ $btn-primary-bg: $brand-primary !default;
80
+ $btn-primary-border: darken($btn-primary-bg, 5%) !default;
81
+
82
+ $btn-success-color: #fff !default;
83
+ $btn-success-bg: $brand-success !default;
84
+ $btn-success-border: darken($btn-success-bg, 5%) !default;
85
+
86
+ $btn-info-color: #fff !default;
87
+ $btn-info-bg: $brand-info !default;
88
+ $btn-info-border: darken($btn-info-bg, 5%) !default;
89
+
90
+ $btn-warning-color: #fff !default;
91
+ $btn-warning-bg: $brand-warning !default;
92
+ $btn-warning-border: darken($btn-warning-bg, 5%) !default;
93
+
94
+ $btn-danger-color: #fff !default;
95
+ $btn-danger-bg: $brand-danger !default;
96
+ $btn-danger-border: darken($btn-danger-bg, 5%) !default;
97
+
98
+ $btn-link-disabled-color: $gray-light !default;
99
+
100
+ // Allows for customizing button radius independently from global border radius
101
+ $btn-border-radius-base: $border-radius-base !default;
102
+ $btn-border-radius-large: $border-radius-large !default;
103
+ $btn-border-radius-small: $border-radius-small !default;
104
+
105
+
106
+
107
+ //== Media queries breakpoints
108
+ //
109
+ //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
110
+
111
+ // Extra small screen / phone
112
+ //** Deprecated `$screen-xs` as of v3.0.1
113
+ $screen-xs: 480px !default;
114
+ //** Deprecated `$screen-xs-min` as of v3.2.0
115
+ $screen-xs-min: $screen-xs !default;
116
+ //** Deprecated `$screen-phone` as of v3.0.1
117
+ $screen-phone: $screen-xs-min !default;
118
+
119
+ // Small screen / tablet
120
+ //** Deprecated `$screen-sm` as of v3.0.1
121
+ $screen-sm: 768px !default;
122
+ $screen-sm-min: $screen-sm !default;
123
+ //** Deprecated `$screen-tablet` as of v3.0.1
124
+ $screen-tablet: $screen-sm-min !default;
125
+
126
+ // Medium screen / desktop
127
+ //** Deprecated `$screen-md` as of v3.0.1
128
+ $screen-md: 992px !default;
129
+ $screen-md-min: $screen-md !default;
130
+ //** Deprecated `$screen-desktop` as of v3.0.1
131
+ $screen-desktop: $screen-md-min !default;
132
+
133
+ // Large screen / wide desktop
134
+ //** Deprecated `$screen-lg` as of v3.0.1
135
+ $screen-lg: 1200px !default;
136
+ $screen-lg-min: $screen-lg !default;
137
+ //** Deprecated `$screen-lg-desktop` as of v3.0.1
138
+ $screen-lg-desktop: $screen-lg-min !default;
139
+
140
+ // So media queries don't overlap when required, provide a maximum
141
+ $screen-xs-max: ($screen-sm-min - 1) !default;
142
+ $screen-sm-max: ($screen-md-min - 1) !default;
143
+ $screen-md-max: ($screen-lg-min - 1) !default;
144
+
145
+
146
+ //== Grid system
147
+ //
148
+ //## Define your custom responsive grid.
149
+
150
+ //** Number of columns in the grid.
151
+ $grid-columns: 12 !default;
152
+ //** Padding between columns. Gets divided in half for the left and right.
153
+ $grid-gutter-width: 30px !default;
154
+ // Navbar collapse
155
+ //** Point at which the navbar becomes uncollapsed.
156
+ $grid-float-breakpoint: $screen-sm-min !default;
157
+ //** Point at which the navbar begins collapsing.
158
+ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
159
+
160
+
161
+ //== Container sizes
162
+ //
163
+ //## Define the maximum width of `.container` for different screen sizes.
164
+
165
+ // Small screen / tablet
166
+ $container-tablet: (720px + $grid-gutter-width) !default;
167
+ //** For `$screen-sm-min` and up.
168
+ $container-sm: $container-tablet !default;
169
+
170
+ // Medium screen / desktop
171
+ $container-desktop: (940px + $grid-gutter-width) !default;
172
+ //** For `$screen-md-min` and up.
173
+ $container-md: $container-desktop !default;
174
+
175
+ // Large screen / wide desktop
176
+ $container-large-desktop: (1140px + $grid-gutter-width) !default;
177
+ //** For `$screen-lg-min` and up.
178
+ $container-lg: $container-large-desktop !default;