@sd-angular/core 19.0.0-beta.84 → 19.0.0-beta.85
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.
- package/README.md +716 -716
- package/assets/fonts/fonts.scss +115 -115
- package/assets/scss/bootstrap-4.6.2/_alert.scss +52 -52
- package/assets/scss/bootstrap-4.6.2/_badge.scss +54 -54
- package/assets/scss/bootstrap-4.6.2/_breadcrumb.scss +42 -42
- package/assets/scss/bootstrap-4.6.2/_button-group.scss +163 -163
- package/assets/scss/bootstrap-4.6.2/_buttons.scss +142 -142
- package/assets/scss/bootstrap-4.6.2/_card.scss +286 -286
- package/assets/scss/bootstrap-4.6.2/_carousel.scss +200 -200
- package/assets/scss/bootstrap-4.6.2/_close.scss +40 -40
- package/assets/scss/bootstrap-4.6.2/_code.scss +48 -48
- package/assets/scss/bootstrap-4.6.2/_custom-forms.scss +526 -526
- package/assets/scss/bootstrap-4.6.2/_dropdown.scss +192 -192
- package/assets/scss/bootstrap-4.6.2/_forms.scss +347 -347
- package/assets/scss/bootstrap-4.6.2/_functions.scss +190 -190
- package/assets/scss/bootstrap-4.6.2/_grid.scss +73 -73
- package/assets/scss/bootstrap-4.6.2/_images.scss +42 -42
- package/assets/scss/bootstrap-4.6.2/_input-group.scss +211 -211
- package/assets/scss/bootstrap-4.6.2/_jumbotron.scss +17 -17
- package/assets/scss/bootstrap-4.6.2/_list-group.scss +154 -154
- package/assets/scss/bootstrap-4.6.2/_media.scss +8 -8
- package/assets/scss/bootstrap-4.6.2/_mixins.scss +47 -47
- package/assets/scss/bootstrap-4.6.2/_modal.scss +240 -240
- package/assets/scss/bootstrap-4.6.2/_nav.scss +125 -125
- package/assets/scss/bootstrap-4.6.2/_navbar.scss +332 -332
- package/assets/scss/bootstrap-4.6.2/_pagination.scss +74 -74
- package/assets/scss/bootstrap-4.6.2/_popover.scss +170 -170
- package/assets/scss/bootstrap-4.6.2/_print.scss +132 -132
- package/assets/scss/bootstrap-4.6.2/_progress.scss +47 -47
- package/assets/scss/bootstrap-4.6.2/_reboot.scss +484 -484
- package/assets/scss/bootstrap-4.6.2/_root.scss +19 -19
- package/assets/scss/bootstrap-4.6.2/_spinners.scss +65 -65
- package/assets/scss/bootstrap-4.6.2/_tables.scss +185 -185
- package/assets/scss/bootstrap-4.6.2/_toasts.scss +46 -46
- package/assets/scss/bootstrap-4.6.2/_tooltip.scss +115 -115
- package/assets/scss/bootstrap-4.6.2/_transitions.scss +26 -26
- package/assets/scss/bootstrap-4.6.2/_type.scss +125 -125
- package/assets/scss/bootstrap-4.6.2/_utilities.scss +18 -18
- package/assets/scss/bootstrap-4.6.2/_variables.scss +1150 -1150
- package/assets/scss/bootstrap-4.6.2/bootstrap-grid.scss +30 -30
- package/assets/scss/bootstrap-4.6.2/bootstrap-reboot.scss +12 -12
- package/assets/scss/bootstrap-4.6.2/bootstrap.scss +44 -44
- package/assets/scss/bootstrap-4.6.2/mixins/_alert.scss +13 -13
- package/assets/scss/bootstrap-4.6.2/mixins/_background-variant.scss +23 -23
- package/assets/scss/bootstrap-4.6.2/mixins/_badge.scss +17 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_border-radius.scss +76 -76
- package/assets/scss/bootstrap-4.6.2/mixins/_box-shadow.scss +20 -20
- package/assets/scss/bootstrap-4.6.2/mixins/_breakpoints.scss +123 -123
- package/assets/scss/bootstrap-4.6.2/mixins/_buttons.scss +110 -110
- package/assets/scss/bootstrap-4.6.2/mixins/_caret.scss +62 -62
- package/assets/scss/bootstrap-4.6.2/mixins/_clearfix.scss +7 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_deprecate.scss +10 -10
- package/assets/scss/bootstrap-4.6.2/mixins/_float.scss +14 -14
- package/assets/scss/bootstrap-4.6.2/mixins/_forms.scss +195 -195
- package/assets/scss/bootstrap-4.6.2/mixins/_gradients.scss +45 -45
- package/assets/scss/bootstrap-4.6.2/mixins/_grid-framework.scss +80 -80
- package/assets/scss/bootstrap-4.6.2/mixins/_grid.scss +69 -69
- package/assets/scss/bootstrap-4.6.2/mixins/_hover.scss +37 -37
- package/assets/scss/bootstrap-4.6.2/mixins/_image.scss +36 -36
- package/assets/scss/bootstrap-4.6.2/mixins/_list-group.scss +21 -21
- package/assets/scss/bootstrap-4.6.2/mixins/_lists.scss +7 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_nav-divider.scss +11 -11
- package/assets/scss/bootstrap-4.6.2/mixins/_pagination.scss +22 -22
- package/assets/scss/bootstrap-4.6.2/mixins/_reset-text.scss +17 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_resize.scss +6 -6
- package/assets/scss/bootstrap-4.6.2/mixins/_screen-reader.scss +34 -34
- package/assets/scss/bootstrap-4.6.2/mixins/_size.scss +7 -7
- package/assets/scss/bootstrap-4.6.2/mixins/_table-row.scss +39 -39
- package/assets/scss/bootstrap-4.6.2/mixins/_text-emphasis.scss +17 -17
- package/assets/scss/bootstrap-4.6.2/mixins/_text-hide.scss +11 -11
- package/assets/scss/bootstrap-4.6.2/mixins/_text-truncate.scss +8 -8
- package/assets/scss/bootstrap-4.6.2/mixins/_transition.scss +26 -26
- package/assets/scss/bootstrap-4.6.2/mixins/_visibility.scss +8 -8
- package/assets/scss/bootstrap-4.6.2/utilities/_align.scss +8 -8
- package/assets/scss/bootstrap-4.6.2/utilities/_background.scss +19 -19
- package/assets/scss/bootstrap-4.6.2/utilities/_borders.scss +75 -75
- package/assets/scss/bootstrap-4.6.2/utilities/_clearfix.scss +3 -3
- package/assets/scss/bootstrap-4.6.2/utilities/_display.scss +26 -26
- package/assets/scss/bootstrap-4.6.2/utilities/_embed.scss +39 -39
- package/assets/scss/bootstrap-4.6.2/utilities/_flex.scss +51 -51
- package/assets/scss/bootstrap-4.6.2/utilities/_float.scss +11 -11
- package/assets/scss/bootstrap-4.6.2/utilities/_interactions.scss +5 -5
- package/assets/scss/bootstrap-4.6.2/utilities/_overflow.scss +5 -5
- package/assets/scss/bootstrap-4.6.2/utilities/_position.scss +32 -32
- package/assets/scss/bootstrap-4.6.2/utilities/_screenreaders.scss +11 -11
- package/assets/scss/bootstrap-4.6.2/utilities/_shadows.scss +6 -6
- package/assets/scss/bootstrap-4.6.2/utilities/_sizing.scss +20 -20
- package/assets/scss/bootstrap-4.6.2/utilities/_spacing.scss +73 -73
- package/assets/scss/bootstrap-4.6.2/utilities/_stretched-link.scss +19 -19
- package/assets/scss/bootstrap-4.6.2/utilities/_text.scss +72 -72
- package/assets/scss/bootstrap-4.6.2/utilities/_visibility.scss +13 -13
- package/assets/scss/bootstrap-4.6.2/vendor/_rfs.scss +228 -228
- package/assets/scss/core/print.scss +47 -47
- package/assets/scss/core/scrollbar.scss +30 -30
- package/assets/scss/core/typography.scss +121 -121
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs +4 -4
- package/fesm2022/sd-angular-core-components-anchor-v2.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-avatar.mjs +2 -2
- package/fesm2022/sd-angular-core-components-avatar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-chart.mjs +40 -40
- package/fesm2022/sd-angular-core-components-chart.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-quick-action.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-tab-router.mjs +4 -4
- package/fesm2022/sd-angular-core-components-tab-router.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +18 -14
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-upload-file.mjs +4 -4
- package/fesm2022/sd-angular-core-components-upload-file.mjs.map +1 -1
- package/fesm2022/sd-angular-core-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +2 -2
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-authom.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-layout.mjs +2 -2
- package/fesm2022/sd-angular-core-modules-layout.mjs.map +1 -1
- package/fesm2022/sd-angular-core-pipes.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-api.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-cache.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-firebase.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-license.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-storage.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-extensions.mjs.map +1 -1
- package/fesm2022/sd-angular-core-utilities-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core.mjs.map +1 -1
- package/package.json +66 -66
- package/sd-angular-core-19.0.0-beta.85.tgz +0 -0
- package/sd-angular-core-19.0.0-beta.84.tgz +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Bootstrap Grid v4.6.2 (https://getbootstrap.com/)
|
|
3
|
-
* Copyright 2011-2022 The Bootstrap Authors
|
|
4
|
-
* Copyright 2011-2022 Twitter, Inc.
|
|
5
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
html {
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
-ms-overflow-style: scrollbar;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
*,
|
|
14
|
-
*::before,
|
|
15
|
-
*::after {
|
|
16
|
-
box-sizing: inherit;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@import "functions";
|
|
20
|
-
@import "variables";
|
|
21
|
-
|
|
22
|
-
@import "mixins/deprecate";
|
|
23
|
-
@import "mixins/breakpoints";
|
|
24
|
-
@import "mixins/grid-framework";
|
|
25
|
-
@import "mixins/grid";
|
|
26
|
-
|
|
27
|
-
@import "grid";
|
|
28
|
-
@import "utilities/display";
|
|
29
|
-
@import "utilities/flex";
|
|
30
|
-
@import "utilities/spacing";
|
|
1
|
+
/*!
|
|
2
|
+
* Bootstrap Grid v4.6.2 (https://getbootstrap.com/)
|
|
3
|
+
* Copyright 2011-2022 The Bootstrap Authors
|
|
4
|
+
* Copyright 2011-2022 Twitter, Inc.
|
|
5
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
html {
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
-ms-overflow-style: scrollbar;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
*,
|
|
14
|
+
*::before,
|
|
15
|
+
*::after {
|
|
16
|
+
box-sizing: inherit;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@import "functions";
|
|
20
|
+
@import "variables";
|
|
21
|
+
|
|
22
|
+
@import "mixins/deprecate";
|
|
23
|
+
@import "mixins/breakpoints";
|
|
24
|
+
@import "mixins/grid-framework";
|
|
25
|
+
@import "mixins/grid";
|
|
26
|
+
|
|
27
|
+
@import "grid";
|
|
28
|
+
@import "utilities/display";
|
|
29
|
+
@import "utilities/flex";
|
|
30
|
+
@import "utilities/spacing";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Bootstrap Reboot v4.6.2 (https://getbootstrap.com/)
|
|
3
|
-
* Copyright 2011-2022 The Bootstrap Authors
|
|
4
|
-
* Copyright 2011-2022 Twitter, Inc.
|
|
5
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6
|
-
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
@import "functions";
|
|
10
|
-
@import "variables";
|
|
11
|
-
@import "mixins";
|
|
12
|
-
@import "reboot";
|
|
1
|
+
/*!
|
|
2
|
+
* Bootstrap Reboot v4.6.2 (https://getbootstrap.com/)
|
|
3
|
+
* Copyright 2011-2022 The Bootstrap Authors
|
|
4
|
+
* Copyright 2011-2022 Twitter, Inc.
|
|
5
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6
|
+
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
@import "functions";
|
|
10
|
+
@import "variables";
|
|
11
|
+
@import "mixins";
|
|
12
|
+
@import "reboot";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Bootstrap v4.6.2 (https://getbootstrap.com/)
|
|
3
|
-
* Copyright 2011-2022 The Bootstrap Authors
|
|
4
|
-
* Copyright 2011-2022 Twitter, Inc.
|
|
5
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
@import "functions";
|
|
9
|
-
@import "variables";
|
|
10
|
-
@import "mixins";
|
|
11
|
-
@import "root";
|
|
12
|
-
@import "reboot";
|
|
13
|
-
@import "type";
|
|
14
|
-
@import "images";
|
|
15
|
-
@import "code";
|
|
16
|
-
@import "grid";
|
|
17
|
-
@import "tables";
|
|
18
|
-
@import "forms";
|
|
19
|
-
@import "buttons";
|
|
20
|
-
@import "transitions";
|
|
21
|
-
@import "dropdown";
|
|
22
|
-
@import "button-group";
|
|
23
|
-
@import "input-group";
|
|
24
|
-
@import "custom-forms";
|
|
25
|
-
@import "nav";
|
|
26
|
-
@import "navbar";
|
|
27
|
-
@import "card";
|
|
28
|
-
@import "breadcrumb";
|
|
29
|
-
@import "pagination";
|
|
30
|
-
@import "badge";
|
|
31
|
-
@import "jumbotron";
|
|
32
|
-
@import "alert";
|
|
33
|
-
@import "progress";
|
|
34
|
-
@import "media";
|
|
35
|
-
@import "list-group";
|
|
36
|
-
@import "close";
|
|
37
|
-
@import "toasts";
|
|
38
|
-
@import "modal";
|
|
39
|
-
@import "tooltip";
|
|
40
|
-
@import "popover";
|
|
41
|
-
@import "carousel";
|
|
42
|
-
@import "spinners";
|
|
43
|
-
@import "utilities";
|
|
44
|
-
@import "print";
|
|
1
|
+
/*!
|
|
2
|
+
* Bootstrap v4.6.2 (https://getbootstrap.com/)
|
|
3
|
+
* Copyright 2011-2022 The Bootstrap Authors
|
|
4
|
+
* Copyright 2011-2022 Twitter, Inc.
|
|
5
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@import "functions";
|
|
9
|
+
@import "variables";
|
|
10
|
+
@import "mixins";
|
|
11
|
+
@import "root";
|
|
12
|
+
@import "reboot";
|
|
13
|
+
@import "type";
|
|
14
|
+
@import "images";
|
|
15
|
+
@import "code";
|
|
16
|
+
@import "grid";
|
|
17
|
+
@import "tables";
|
|
18
|
+
@import "forms";
|
|
19
|
+
@import "buttons";
|
|
20
|
+
@import "transitions";
|
|
21
|
+
@import "dropdown";
|
|
22
|
+
@import "button-group";
|
|
23
|
+
@import "input-group";
|
|
24
|
+
@import "custom-forms";
|
|
25
|
+
@import "nav";
|
|
26
|
+
@import "navbar";
|
|
27
|
+
@import "card";
|
|
28
|
+
@import "breadcrumb";
|
|
29
|
+
@import "pagination";
|
|
30
|
+
@import "badge";
|
|
31
|
+
@import "jumbotron";
|
|
32
|
+
@import "alert";
|
|
33
|
+
@import "progress";
|
|
34
|
+
@import "media";
|
|
35
|
+
@import "list-group";
|
|
36
|
+
@import "close";
|
|
37
|
+
@import "toasts";
|
|
38
|
+
@import "modal";
|
|
39
|
+
@import "tooltip";
|
|
40
|
+
@import "popover";
|
|
41
|
+
@import "carousel";
|
|
42
|
+
@import "spinners";
|
|
43
|
+
@import "utilities";
|
|
44
|
+
@import "print";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@mixin alert-variant($background, $border, $color) {
|
|
2
|
-
color: $color;
|
|
3
|
-
@include gradient-bg($background);
|
|
4
|
-
border-color: $border;
|
|
5
|
-
|
|
6
|
-
hr {
|
|
7
|
-
border-top-color: darken($border, 5%);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.alert-link {
|
|
11
|
-
color: darken($color, 10%);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
1
|
+
@mixin alert-variant($background, $border, $color) {
|
|
2
|
+
color: $color;
|
|
3
|
+
@include gradient-bg($background);
|
|
4
|
+
border-color: $border;
|
|
5
|
+
|
|
6
|
+
hr {
|
|
7
|
+
border-top-color: darken($border, 5%);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.alert-link {
|
|
11
|
+
color: darken($color, 10%);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
// stylelint-disable declaration-no-important
|
|
2
|
-
|
|
3
|
-
// Contextual backgrounds
|
|
4
|
-
|
|
5
|
-
@mixin bg-variant($parent, $color, $ignore-warning: false) {
|
|
6
|
-
#{$parent} {
|
|
7
|
-
background-color: $color !important;
|
|
8
|
-
}
|
|
9
|
-
a#{$parent},
|
|
10
|
-
button#{$parent} {
|
|
11
|
-
@include hover-focus() {
|
|
12
|
-
background-color: darken($color, 10%) !important;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
@include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin bg-gradient-variant($parent, $color, $ignore-warning: false) {
|
|
19
|
-
#{$parent} {
|
|
20
|
-
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
|
|
21
|
-
}
|
|
22
|
-
@include deprecate("The `bg-gradient-variant` mixin", "v4.5.0", "v5", $ignore-warning);
|
|
23
|
-
}
|
|
1
|
+
// stylelint-disable declaration-no-important
|
|
2
|
+
|
|
3
|
+
// Contextual backgrounds
|
|
4
|
+
|
|
5
|
+
@mixin bg-variant($parent, $color, $ignore-warning: false) {
|
|
6
|
+
#{$parent} {
|
|
7
|
+
background-color: $color !important;
|
|
8
|
+
}
|
|
9
|
+
a#{$parent},
|
|
10
|
+
button#{$parent} {
|
|
11
|
+
@include hover-focus() {
|
|
12
|
+
background-color: darken($color, 10%) !important;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin bg-gradient-variant($parent, $color, $ignore-warning: false) {
|
|
19
|
+
#{$parent} {
|
|
20
|
+
background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
|
|
21
|
+
}
|
|
22
|
+
@include deprecate("The `bg-gradient-variant` mixin", "v4.5.0", "v5", $ignore-warning);
|
|
23
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
@mixin badge-variant($bg) {
|
|
2
|
-
color: color-yiq($bg);
|
|
3
|
-
background-color: $bg;
|
|
4
|
-
|
|
5
|
-
@at-root a#{&} {
|
|
6
|
-
@include hover-focus() {
|
|
7
|
-
color: color-yiq($bg);
|
|
8
|
-
background-color: darken($bg, 10%);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&:focus,
|
|
12
|
-
&.focus {
|
|
13
|
-
outline: 0;
|
|
14
|
-
box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
@mixin badge-variant($bg) {
|
|
2
|
+
color: color-yiq($bg);
|
|
3
|
+
background-color: $bg;
|
|
4
|
+
|
|
5
|
+
@at-root a#{&} {
|
|
6
|
+
@include hover-focus() {
|
|
7
|
+
color: color-yiq($bg);
|
|
8
|
+
background-color: darken($bg, 10%);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:focus,
|
|
12
|
+
&.focus {
|
|
13
|
+
outline: 0;
|
|
14
|
+
box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
// stylelint-disable property-disallowed-list
|
|
2
|
-
// Single side border-radius
|
|
3
|
-
|
|
4
|
-
// Helper function to replace negative values with 0
|
|
5
|
-
@function valid-radius($radius) {
|
|
6
|
-
$return: ();
|
|
7
|
-
@each $value in $radius {
|
|
8
|
-
@if type-of($value) == number {
|
|
9
|
-
$return: append($return, max($value, 0));
|
|
10
|
-
} @else {
|
|
11
|
-
$return: append($return, $value);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
@return $return;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {
|
|
18
|
-
@if $enable-rounded {
|
|
19
|
-
border-radius: valid-radius($radius);
|
|
20
|
-
}
|
|
21
|
-
@else if $fallback-border-radius != false {
|
|
22
|
-
border-radius: $fallback-border-radius;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin border-top-radius($radius) {
|
|
27
|
-
@if $enable-rounded {
|
|
28
|
-
border-top-left-radius: valid-radius($radius);
|
|
29
|
-
border-top-right-radius: valid-radius($radius);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin border-right-radius($radius) {
|
|
34
|
-
@if $enable-rounded {
|
|
35
|
-
border-top-right-radius: valid-radius($radius);
|
|
36
|
-
border-bottom-right-radius: valid-radius($radius);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@mixin border-bottom-radius($radius) {
|
|
41
|
-
@if $enable-rounded {
|
|
42
|
-
border-bottom-right-radius: valid-radius($radius);
|
|
43
|
-
border-bottom-left-radius: valid-radius($radius);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@mixin border-left-radius($radius) {
|
|
48
|
-
@if $enable-rounded {
|
|
49
|
-
border-top-left-radius: valid-radius($radius);
|
|
50
|
-
border-bottom-left-radius: valid-radius($radius);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@mixin border-top-left-radius($radius) {
|
|
55
|
-
@if $enable-rounded {
|
|
56
|
-
border-top-left-radius: valid-radius($radius);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@mixin border-top-right-radius($radius) {
|
|
61
|
-
@if $enable-rounded {
|
|
62
|
-
border-top-right-radius: valid-radius($radius);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@mixin border-bottom-right-radius($radius) {
|
|
67
|
-
@if $enable-rounded {
|
|
68
|
-
border-bottom-right-radius: valid-radius($radius);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@mixin border-bottom-left-radius($radius) {
|
|
73
|
-
@if $enable-rounded {
|
|
74
|
-
border-bottom-left-radius: valid-radius($radius);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
// stylelint-disable property-disallowed-list
|
|
2
|
+
// Single side border-radius
|
|
3
|
+
|
|
4
|
+
// Helper function to replace negative values with 0
|
|
5
|
+
@function valid-radius($radius) {
|
|
6
|
+
$return: ();
|
|
7
|
+
@each $value in $radius {
|
|
8
|
+
@if type-of($value) == number {
|
|
9
|
+
$return: append($return, max($value, 0));
|
|
10
|
+
} @else {
|
|
11
|
+
$return: append($return, $value);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@return $return;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {
|
|
18
|
+
@if $enable-rounded {
|
|
19
|
+
border-radius: valid-radius($radius);
|
|
20
|
+
}
|
|
21
|
+
@else if $fallback-border-radius != false {
|
|
22
|
+
border-radius: $fallback-border-radius;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin border-top-radius($radius) {
|
|
27
|
+
@if $enable-rounded {
|
|
28
|
+
border-top-left-radius: valid-radius($radius);
|
|
29
|
+
border-top-right-radius: valid-radius($radius);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin border-right-radius($radius) {
|
|
34
|
+
@if $enable-rounded {
|
|
35
|
+
border-top-right-radius: valid-radius($radius);
|
|
36
|
+
border-bottom-right-radius: valid-radius($radius);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@mixin border-bottom-radius($radius) {
|
|
41
|
+
@if $enable-rounded {
|
|
42
|
+
border-bottom-right-radius: valid-radius($radius);
|
|
43
|
+
border-bottom-left-radius: valid-radius($radius);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin border-left-radius($radius) {
|
|
48
|
+
@if $enable-rounded {
|
|
49
|
+
border-top-left-radius: valid-radius($radius);
|
|
50
|
+
border-bottom-left-radius: valid-radius($radius);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@mixin border-top-left-radius($radius) {
|
|
55
|
+
@if $enable-rounded {
|
|
56
|
+
border-top-left-radius: valid-radius($radius);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@mixin border-top-right-radius($radius) {
|
|
61
|
+
@if $enable-rounded {
|
|
62
|
+
border-top-right-radius: valid-radius($radius);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@mixin border-bottom-right-radius($radius) {
|
|
67
|
+
@if $enable-rounded {
|
|
68
|
+
border-bottom-right-radius: valid-radius($radius);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@mixin border-bottom-left-radius($radius) {
|
|
73
|
+
@if $enable-rounded {
|
|
74
|
+
border-bottom-left-radius: valid-radius($radius);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@mixin box-shadow($shadow...) {
|
|
2
|
-
@if $enable-shadows {
|
|
3
|
-
$result: ();
|
|
4
|
-
|
|
5
|
-
@if (length($shadow) == 1) {
|
|
6
|
-
// We can pass `@include box-shadow(none);`
|
|
7
|
-
$result: $shadow;
|
|
8
|
-
} @else {
|
|
9
|
-
// Filter to avoid invalid properties for example `box-shadow: none, 1px 1px black;`
|
|
10
|
-
@for $i from 1 through length($shadow) {
|
|
11
|
-
@if nth($shadow, $i) != "none" {
|
|
12
|
-
$result: append($result, nth($shadow, $i), "comma");
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
@if (length($result) > 0) {
|
|
17
|
-
box-shadow: $result;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
@mixin box-shadow($shadow...) {
|
|
2
|
+
@if $enable-shadows {
|
|
3
|
+
$result: ();
|
|
4
|
+
|
|
5
|
+
@if (length($shadow) == 1) {
|
|
6
|
+
// We can pass `@include box-shadow(none);`
|
|
7
|
+
$result: $shadow;
|
|
8
|
+
} @else {
|
|
9
|
+
// Filter to avoid invalid properties for example `box-shadow: none, 1px 1px black;`
|
|
10
|
+
@for $i from 1 through length($shadow) {
|
|
11
|
+
@if nth($shadow, $i) != "none" {
|
|
12
|
+
$result: append($result, nth($shadow, $i), "comma");
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
@if (length($result) > 0) {
|
|
17
|
+
box-shadow: $result;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|