@design-factory/styles 21.0.0-next.0 → 21.0.0-next.1
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/bundle.css +1 -1
- package/package.json +2 -2
- package/scss/_common.mixins.scss +10 -10
- package/scss/_common.root.scss +0 -31
- package/scss/_common.scss +14 -10
- package/scss/_common.variables.scss +13 -59
- package/scss/_variables.scss +12 -8
- package/scss/bootstrap/_functions.scss +55 -0
- package/scss/bootstrap/_mixins-override.scss +8 -52
- package/scss/bootstrap/_variables.scss +235 -355
- package/scss/bundle.scss +5 -6
- package/scss/components/accordion/_accordion.variables.scss +1 -1
- package/scss/components/alert/_alert.scss +1 -1
- package/scss/components/badge/_badge.scss +1 -1
- package/scss/components/brand-color/_brand-color.mixins.scss +0 -2
- package/scss/components/brand-color/_brand-color.scss +0 -7
- package/scss/components/button/_button.mixins.scss +1 -1
- package/scss/components/button/_button.namespace.scss +42 -0
- package/scss/components/button/_button.scss +12 -12
- package/scss/components/button/_button.variables.scss +11 -4
- package/scss/components/card/_card.variables.scss +1 -1
- package/scss/components/carousel/_carousel.namespace.scss +8 -0
- package/scss/components/checkbox/_checkbox.scss +14 -16
- package/scss/components/checkbox/_checkbox.variables.scss +2 -1
- package/scss/components/collapse/_collapse.scss +1 -1
- package/scss/components/datepicker/_datepicker.scss +16 -2
- package/scss/components/dropdown/_dropdown.scss +1 -1
- package/scss/components/dropdown/_dropdown.variables.scss +1 -1
- package/scss/components/form/_form.scss +13 -5
- package/scss/components/form/_form.variables.scss +9 -3
- package/scss/components/icon/_amadeus-icon.scss +1 -1
- package/scss/components/inputs/_inputs.mixin.scss +0 -13
- package/scss/components/inputs/_inputs.scss +6 -39
- package/scss/components/inputs/_inputs.variables.scss +7 -0
- package/scss/components/link/_link.scss +1 -1
- package/scss/components/list-group/_list-group.scss +5 -5
- package/scss/components/media/_media.scss +1 -1
- package/scss/components/modal/_modal.namespace.scss +13 -0
- package/scss/components/modal/_modal.scss +1 -1
- package/scss/components/navbar/_navbar.scss +3 -2
- package/scss/components/pagination/_pagination.namespace.scss +15 -0
- package/scss/components/pagination/_pagination.scss +35 -34
- package/scss/components/pagination/_pagination.variables.scss +2 -2
- package/scss/components/popover/_popover.scss +2 -2
- package/scss/components/popover/_popover.variables.scss +1 -1
- package/scss/components/radio/_radio.scss +12 -12
- package/scss/components/rating/_rating.scss +1 -1
- package/scss/components/scrollspy/_scrollspy.scss +22 -1
- package/scss/components/select/_select.namespace.scss +10 -0
- package/scss/components/select/_select.scss +8 -10
- package/scss/components/select/_select.variables.scss +1 -1
- package/scss/components/sidenav/_sidenav-deprecated.scss +1 -1
- package/scss/components/sidenav/_sidenav.scss +18 -0
- package/scss/components/slider/_slider.scss +7 -7
- package/scss/components/speechbubble/_speechbubble.scss +6 -10
- package/scss/components/stepper/_stepper.scss +2 -2
- package/scss/components/table/_advancedtables.scss +8 -3
- package/scss/components/tabs/_tabs.scss +6 -1
- package/scss/components/toast/_toast.variables.scss +2 -1
- package/scss/components/toggle/_toggle.scss +2 -2
- package/scss/namespace.scss +54 -33
- package/scss/utilities.scss +0 -1
- package/scss/_new-brand-common.variables.scss +0 -7
- package/scss/bootstrap/_variables-dark.scss +0 -86
- package/scss/components/brand-color/_brand-color.variables.scss +0 -146
- package/scss/components/brand-color/_brand-color_container.scss +0 -23
- package/scss/components/button/_button_container.scss +0 -47
- package/scss/components/pagination/_pagination_container.scss +0 -17
- package/scss/components/popover/_popover_container.scss +0 -214
- package/scss/components/spinner/_spinner_container.scss +0 -43
- package/scss/components/tooltip/_tooltip_container.scss +0 -116
- package/scss/themes/brand2023/_variables.scss +0 -315
- package/scss/utilities/_common.utilities.scss +0 -98
- package/scss/utilities/_form.mixins.scss +0 -26
- package/scss/utilities/_rgb.scss +0 -10
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
// stylelint-disable scss/dollar-variable-pattern
|
|
2
|
-
// Dark color mode variables
|
|
3
|
-
//
|
|
4
|
-
// Custom variables for the `[data-bs-theme="dark"]` theme. Use this as a starting point for your own custom color modes by creating a new theme-specific file like `_variables-dark.scss` and adding the variables you need.
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
// Global colors
|
|
8
|
-
//
|
|
9
|
-
|
|
10
|
-
// scss-docs-start sass-dark-mode-vars
|
|
11
|
-
// scss-docs-start theme-text-dark-variables
|
|
12
|
-
// $primary-text-emphasis-dark: tint-color($primary, 40%) !default;
|
|
13
|
-
// $secondary-text-emphasis-dark: tint-color($secondary, 40%) !default;
|
|
14
|
-
// $success-text-emphasis-dark: tint-color($success, 40%) !default;
|
|
15
|
-
// $info-text-emphasis-dark: tint-color($info, 40%) !default;
|
|
16
|
-
// $warning-text-emphasis-dark: tint-color($warning, 40%) !default;
|
|
17
|
-
// $danger-text-emphasis-dark: tint-color($danger, 40%) !default;
|
|
18
|
-
// $light-text-emphasis-dark: $gray-100 !default;
|
|
19
|
-
// $dark-text-emphasis-dark: $gray-300 !default;
|
|
20
|
-
// scss-docs-end theme-text-dark-variables
|
|
21
|
-
|
|
22
|
-
// scss-docs-start theme-bg-subtle-dark-variables
|
|
23
|
-
// $primary-bg-subtle-dark: shade-color($primary, 80%) !default;
|
|
24
|
-
// $secondary-bg-subtle-dark: shade-color($secondary, 80%) !default;
|
|
25
|
-
// $success-bg-subtle-dark: shade-color($success, 80%) !default;
|
|
26
|
-
// $info-bg-subtle-dark: shade-color($info, 80%) !default;
|
|
27
|
-
// $warning-bg-subtle-dark: shade-color($warning, 80%) !default;
|
|
28
|
-
// $danger-bg-subtle-dark: shade-color($danger, 80%) !default;
|
|
29
|
-
// $light-bg-subtle-dark: $gray-800 !default;
|
|
30
|
-
// $dark-bg-subtle-dark: mix($gray-800, $black) !default;
|
|
31
|
-
// scss-docs-end theme-bg-subtle-dark-variables
|
|
32
|
-
|
|
33
|
-
// scss-docs-start theme-border-subtle-dark-variables
|
|
34
|
-
// $primary-border-subtle-dark: shade-color($primary, 40%) !default;
|
|
35
|
-
// $secondary-border-subtle-dark: shade-color($secondary, 40%) !default;
|
|
36
|
-
// $success-border-subtle-dark: shade-color($success, 40%) !default;
|
|
37
|
-
// $info-border-subtle-dark: shade-color($info, 40%) !default;
|
|
38
|
-
// $warning-border-subtle-dark: shade-color($warning, 40%) !default;
|
|
39
|
-
// $danger-border-subtle-dark: shade-color($danger, 40%) !default;
|
|
40
|
-
// $light-border-subtle-dark: $gray-700 !default;
|
|
41
|
-
// $dark-border-subtle-dark: $gray-800 !default;
|
|
42
|
-
// scss-docs-end theme-border-subtle-dark-variables
|
|
43
|
-
|
|
44
|
-
// $body-color-dark: $gray-300 !default;
|
|
45
|
-
// $body-bg-dark: $gray-900 !default;
|
|
46
|
-
// $body-secondary-color-dark: rgba($body-color-dark, .75) !default;
|
|
47
|
-
// $body-secondary-bg-dark: $gray-800 !default;
|
|
48
|
-
// $body-tertiary-color-dark: rgba($body-color-dark, .5) !default;
|
|
49
|
-
// $body-tertiary-bg-dark: mix($gray-800, $gray-900, 50%) !default;
|
|
50
|
-
// $body-emphasis-color-dark: $white !default;
|
|
51
|
-
// $border-color-dark: $gray-700 !default;
|
|
52
|
-
// $border-color-translucent-dark: rgba($white, .15) !default;
|
|
53
|
-
// $headings-color-dark: inherit !default;
|
|
54
|
-
// $link-color-dark: tint-color($primary, 40%) !default;
|
|
55
|
-
// $link-hover-color-dark: shift-color($link-color-dark, -$link-shade-percentage) !default;
|
|
56
|
-
$code-color-dark: tint-color($pink, 40%) !default;
|
|
57
|
-
// $mark-color-dark: $body-color-dark !default;
|
|
58
|
-
// $mark-bg-dark: $yellow-800 !default;
|
|
59
|
-
|
|
60
|
-
//
|
|
61
|
-
// Forms
|
|
62
|
-
//
|
|
63
|
-
|
|
64
|
-
// $form-select-indicator-color-dark: $body-color-dark !default;
|
|
65
|
-
// $form-select-indicator-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color-dark}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>") !default;
|
|
66
|
-
|
|
67
|
-
// $form-switch-color-dark: rgba($white, .25) !default;
|
|
68
|
-
// $form-switch-bg-image-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color-dark}'/></svg>") !default;
|
|
69
|
-
|
|
70
|
-
// scss-docs-start form-validation-colors-dark
|
|
71
|
-
// $form-valid-color-dark: $green-300 !default;
|
|
72
|
-
// $form-valid-border-color-dark: $green-300 !default;
|
|
73
|
-
// $form-invalid-color-dark: $red-300 !default;
|
|
74
|
-
// $form-invalid-border-color-dark: $red-300 !default;
|
|
75
|
-
// scss-docs-end form-validation-colors-dark
|
|
76
|
-
|
|
77
|
-
//
|
|
78
|
-
// Accordion
|
|
79
|
-
//
|
|
80
|
-
|
|
81
|
-
// $accordion-icon-color-dark: $primary-text-emphasis-dark !default;
|
|
82
|
-
// $accordion-icon-active-color-dark: $primary-text-emphasis-dark !default;
|
|
83
|
-
|
|
84
|
-
// $accordion-button-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
|
85
|
-
// $accordion-button-active-icon-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color-dark}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
|
86
|
-
// scss-docs-end sass-dark-mode-vars
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:meta';
|
|
3
|
-
|
|
4
|
-
@function df-format-transform-name($color, $action, $params) {
|
|
5
|
-
$name: $action;
|
|
6
|
-
@each $param in $params {
|
|
7
|
-
$name: $name + '-' + $param;
|
|
8
|
-
}
|
|
9
|
-
$name: $name + '-' + $color;
|
|
10
|
-
@return $name;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@function df-transform-loop($arrayIn, $arrayOut, $action, $params...) {
|
|
14
|
-
@each $color, $value in $arrayIn {
|
|
15
|
-
$arrayOut: map.merge(
|
|
16
|
-
(
|
|
17
|
-
df-format-transform-name($color, $action, $params): meta.call(meta.get-function($action), $value, $params...)
|
|
18
|
-
),
|
|
19
|
-
$arrayOut
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
@return $arrayOut;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Hover color
|
|
26
|
-
$df-colors-transformed: () !default;
|
|
27
|
-
$df-hover-transform: 'darken' !default;
|
|
28
|
-
$df-hover-transform-param: 5% !default;
|
|
29
|
-
|
|
30
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
31
|
-
$df-colors-transformed: df-transform-loop(
|
|
32
|
-
$colors,
|
|
33
|
-
$df-colors-transformed,
|
|
34
|
-
$df-hover-transform,
|
|
35
|
-
$df-hover-transform-param
|
|
36
|
-
);
|
|
37
|
-
|
|
38
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
39
|
-
$df-colors-transformed: df-transform-loop(
|
|
40
|
-
$theme-colors,
|
|
41
|
-
$df-colors-transformed,
|
|
42
|
-
$df-hover-transform,
|
|
43
|
-
$df-hover-transform-param
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
$df-active-transform: 'darken' !default;
|
|
47
|
-
$df-active-transform-param: 10% !default;
|
|
48
|
-
|
|
49
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
50
|
-
$df-colors-transformed: df-transform-loop(
|
|
51
|
-
$colors,
|
|
52
|
-
$df-colors-transformed,
|
|
53
|
-
$df-active-transform,
|
|
54
|
-
$df-active-transform-param
|
|
55
|
-
);
|
|
56
|
-
|
|
57
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
58
|
-
$df-colors-transformed: df-transform-loop(
|
|
59
|
-
$theme-colors,
|
|
60
|
-
$df-colors-transformed,
|
|
61
|
-
$df-active-transform,
|
|
62
|
-
$df-active-transform-param
|
|
63
|
-
);
|
|
64
|
-
|
|
65
|
-
// stylelint-disable-next-line scss/dollar-variable-pattern
|
|
66
|
-
$df-bg-active-transform: 'mix' !default;
|
|
67
|
-
$df-bg-active-transform-param1: $white !default;
|
|
68
|
-
$df-bg-active-transform-param2: 15% !default;
|
|
69
|
-
|
|
70
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
71
|
-
$df-colors-transformed: df-transform-loop(
|
|
72
|
-
$colors,
|
|
73
|
-
$df-colors-transformed,
|
|
74
|
-
$df-bg-active-transform,
|
|
75
|
-
$df-bg-active-transform-param1,
|
|
76
|
-
$df-bg-active-transform-param2
|
|
77
|
-
);
|
|
78
|
-
|
|
79
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
80
|
-
$df-colors-transformed: df-transform-loop(
|
|
81
|
-
$theme-colors,
|
|
82
|
-
$df-colors-transformed,
|
|
83
|
-
$df-bg-active-transform,
|
|
84
|
-
$df-bg-active-transform-param1,
|
|
85
|
-
$df-bg-active-transform-param2
|
|
86
|
-
);
|
|
87
|
-
|
|
88
|
-
$df-bg-hover-transform: 'mix' !default;
|
|
89
|
-
$df-bg-hover-transform-param1: $white !default;
|
|
90
|
-
$df-bg-hover-transform-param2: 10% !default;
|
|
91
|
-
|
|
92
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
93
|
-
$df-colors-transformed: df-transform-loop(
|
|
94
|
-
$colors,
|
|
95
|
-
$df-colors-transformed,
|
|
96
|
-
$df-bg-hover-transform,
|
|
97
|
-
$df-bg-hover-transform-param1,
|
|
98
|
-
$df-bg-hover-transform-param2
|
|
99
|
-
);
|
|
100
|
-
|
|
101
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
102
|
-
$df-colors-transformed: df-transform-loop(
|
|
103
|
-
$theme-colors,
|
|
104
|
-
$df-colors-transformed,
|
|
105
|
-
$df-bg-hover-transform,
|
|
106
|
-
$df-bg-hover-transform-param1,
|
|
107
|
-
$df-bg-hover-transform-param2
|
|
108
|
-
);
|
|
109
|
-
|
|
110
|
-
$df-bg-transform: 'mix' !default;
|
|
111
|
-
$df-bg-transform-param1: $white !default;
|
|
112
|
-
$df-bg-transform-param2: 5% !default;
|
|
113
|
-
|
|
114
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
115
|
-
$df-colors-transformed: df-transform-loop(
|
|
116
|
-
$colors,
|
|
117
|
-
$df-colors-transformed,
|
|
118
|
-
$df-bg-transform,
|
|
119
|
-
$df-bg-transform-param1,
|
|
120
|
-
$df-bg-transform-param2
|
|
121
|
-
);
|
|
122
|
-
|
|
123
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
124
|
-
$df-colors-transformed: df-transform-loop(
|
|
125
|
-
$theme-colors,
|
|
126
|
-
$df-colors-transformed,
|
|
127
|
-
$df-bg-transform,
|
|
128
|
-
$df-bg-transform-param1,
|
|
129
|
-
$df-bg-transform-param2
|
|
130
|
-
);
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Gradients
|
|
134
|
-
*/
|
|
135
|
-
// stylelint-disable-next-line scss/dollar-variable-pattern
|
|
136
|
-
$gradients: () !default;
|
|
137
|
-
// stylelint-disable-next-line
|
|
138
|
-
$gradients: map.merge(
|
|
139
|
-
(
|
|
140
|
-
'gradient-blue': (
|
|
141
|
-
'from': $blue,
|
|
142
|
-
'to': $cyan
|
|
143
|
-
)
|
|
144
|
-
),
|
|
145
|
-
$gradients
|
|
146
|
-
);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
#{$df-css-namespace-selector} {
|
|
2
|
-
--#{$prefix}dark-primary: #{$dark-primary};
|
|
3
|
-
--#{$prefix}yellow-rgb: #{to-rgb($yellow)};
|
|
4
|
-
--#{$prefix}dark-primary-rgb: #{to-rgb($dark-primary)};
|
|
5
|
-
--#{$prefix}white-color: #{color-contrast($white)};
|
|
6
|
-
--#{$prefix}black-color: #{color-contrast($black)};
|
|
7
|
-
|
|
8
|
-
@each $color, $value in $shade-colors {
|
|
9
|
-
--#{$prefix}#{$color}: #{$value};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@each $color, $value in $shade-colors-rgb {
|
|
13
|
-
--#{$prefix}#{$color}-rgb: #{$value};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@each $color, $value in $shade-colors-text {
|
|
17
|
-
--#{$prefix}#{$color}-color: #{$value};
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@each $color, $value in $shade-colors-text-rgb {
|
|
21
|
-
--#{$prefix}#{$color}-color-rgb: #{$value};
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@use 'sass:color';
|
|
2
|
-
|
|
3
|
-
@each $state, $value in $theme-colors {
|
|
4
|
-
$colorbtn: color-contrast($value);
|
|
5
|
-
$hover-background: if(
|
|
6
|
-
$colorbtn == $color-contrast-light,
|
|
7
|
-
shade-color($value, $btn-hover-bg-shade-amount),
|
|
8
|
-
tint-color($value, $btn-hover-bg-tint-amount)
|
|
9
|
-
);
|
|
10
|
-
$hover-border: if(
|
|
11
|
-
$colorbtn == $color-contrast-light,
|
|
12
|
-
shade-color($value, $btn-hover-border-shade-amount),
|
|
13
|
-
tint-color($value, $btn-hover-border-tint-amount)
|
|
14
|
-
);
|
|
15
|
-
$hover-color: color-contrast($hover-background);
|
|
16
|
-
$active-background: if(
|
|
17
|
-
$colorbtn == $color-contrast-light,
|
|
18
|
-
shade-color($value, $btn-active-bg-shade-amount),
|
|
19
|
-
tint-color($value, $btn-active-bg-tint-amount)
|
|
20
|
-
);
|
|
21
|
-
$active-color: color-contrast($active-background);
|
|
22
|
-
$active-border: if(
|
|
23
|
-
$colorbtn == $color-contrast-light,
|
|
24
|
-
shade-color($value, $btn-active-border-shade-amount),
|
|
25
|
-
tint-color($value, $btn-active-border-tint-amount)
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
$active-background-outline: $value;
|
|
29
|
-
$active-border-outline: $value;
|
|
30
|
-
$active-color-outline: color-contrast($active-background-outline);
|
|
31
|
-
|
|
32
|
-
// this code is because
|
|
33
|
-
// .btn-check:focus + &
|
|
34
|
-
// from the file _buttons.scss is not working with the wrapper
|
|
35
|
-
#{$df-css-namespace-selector} {
|
|
36
|
-
.btn-check:checked,
|
|
37
|
-
.btn-check:active {
|
|
38
|
-
& + .btn-#{$state},
|
|
39
|
-
& + .btn-outline-#{$state} {
|
|
40
|
-
color: var(--#{$prefix}btn-active-color);
|
|
41
|
-
background-color: var(--#{$prefix}btn-active-bg);
|
|
42
|
-
border-color: var(--#{$prefix}btn-active-border-color);
|
|
43
|
-
background-image: if($enable-gradients, none, null);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#{$df-css-namespace-selector} {
|
|
2
|
-
.active > .page-link {
|
|
3
|
-
z-index: 3;
|
|
4
|
-
color: var(--#{$prefix}pagination-active-color);
|
|
5
|
-
@include gradient-bg(var(--#{$prefix}pagination-active-bg));
|
|
6
|
-
border-color: var(--#{$prefix}pagination-active-border-color);
|
|
7
|
-
&:hover {
|
|
8
|
-
background-color: var(--#{$prefix}pagination-hover-bg);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
.disabled > .page-link {
|
|
12
|
-
color: var(--#{$prefix}pagination-disabled-color);
|
|
13
|
-
pointer-events: none;
|
|
14
|
-
background-color: var(--#{$prefix}pagination-disabled-bg);
|
|
15
|
-
border-color: var(--#{$prefix}pagination-disabled-border-color);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
@import 'popover.mixin';
|
|
2
|
-
|
|
3
|
-
// TODO update this file with the new file from bootstrap
|
|
4
|
-
// Ref file is popover.scss in BS folder.
|
|
5
|
-
// Attention I backport the fix from the override in popover.scss in this file too
|
|
6
|
-
#{$df-css-namespace-selector} {
|
|
7
|
-
&.popover {
|
|
8
|
-
@extend .popover;
|
|
9
|
-
|
|
10
|
-
// scss-docs-start popover-css-vars
|
|
11
|
-
--#{$prefix}popover-zindex: #{$zindex-popover};
|
|
12
|
-
--#{$prefix}popover-max-width: #{$popover-max-width};
|
|
13
|
-
@include rfs($popover-font-size, --#{$prefix}popover-font-size);
|
|
14
|
-
--#{$prefix}popover-bg: #{$popover-bg};
|
|
15
|
-
--#{$prefix}popover-border-width: #{$popover-border-width};
|
|
16
|
-
--#{$prefix}popover-border-color: #{$popover-border-color};
|
|
17
|
-
--#{$prefix}popover-border-radius: #{$popover-border-radius};
|
|
18
|
-
--#{$prefix}popover-inner-border-radius: #{$popover-inner-border-radius};
|
|
19
|
-
--#{$prefix}popover-box-shadow: #{$popover-box-shadow};
|
|
20
|
-
--#{$prefix}popover-header-padding-x: #{$popover-header-padding-x};
|
|
21
|
-
--#{$prefix}popover-header-padding-y: #{$popover-header-padding-y};
|
|
22
|
-
@include rfs($popover-header-font-size, --#{$prefix}popover-header-font-size);
|
|
23
|
-
--#{$prefix}popover-header-color: #{$popover-header-color};
|
|
24
|
-
--#{$prefix}popover-header-bg: #{$popover-header-bg};
|
|
25
|
-
--#{$prefix}popover-body-padding-x: #{$popover-body-padding-x};
|
|
26
|
-
--#{$prefix}popover-body-padding-y: #{$popover-body-padding-y};
|
|
27
|
-
--#{$prefix}popover-body-color: #{$popover-body-color};
|
|
28
|
-
--#{$prefix}popover-arrow-width: #{$popover-arrow-width};
|
|
29
|
-
--#{$prefix}popover-arrow-height: #{$popover-arrow-height};
|
|
30
|
-
--#{$prefix}popover-arrow-border: var(--#{$prefix}popover-border-color);
|
|
31
|
-
|
|
32
|
-
--#{$prefix}popover-padding: #{$df-popover-padding};
|
|
33
|
-
--#{$prefix}popover-header-line-height: #{$df-popover-header-line-height};
|
|
34
|
-
--#{$prefix}popover-header-margin: #{$df-popover-header-default-margin};
|
|
35
|
-
--#{$prefix}popover-body-margin: #{$df-popover-body-default-margin};
|
|
36
|
-
--#{$prefix}popover-header-font-size: #{$h3-font-size};
|
|
37
|
-
--#{$prefix}popover-body-font-size: #{$font-size-base};
|
|
38
|
-
// scss-docs-end popover-css-vars
|
|
39
|
-
|
|
40
|
-
z-index: var(--#{$prefix}popover-zindex);
|
|
41
|
-
display: block;
|
|
42
|
-
max-width: var(--#{$prefix}popover-max-width);
|
|
43
|
-
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
|
44
|
-
// So reset our font and text properties to avoid inheriting weird values.
|
|
45
|
-
@include reset-text();
|
|
46
|
-
@include font-size(var(--#{$prefix}popover-font-size));
|
|
47
|
-
// Allow breaking very long words so they don't overflow the popover's bounds
|
|
48
|
-
word-wrap: break-word;
|
|
49
|
-
background-color: var(--#{$prefix}popover-bg);
|
|
50
|
-
background-clip: padding-box;
|
|
51
|
-
border: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
|
|
52
|
-
@include border-radius(var(--#{$prefix}popover-border-radius));
|
|
53
|
-
@include box-shadow(var(--#{$prefix}popover-box-shadow));
|
|
54
|
-
|
|
55
|
-
&.popover-arrow {
|
|
56
|
-
display: block;
|
|
57
|
-
width: var(--#{$prefix}popover-arrow-width);
|
|
58
|
-
height: var(--#{$prefix}popover-arrow-height);
|
|
59
|
-
|
|
60
|
-
&::before,
|
|
61
|
-
&::after {
|
|
62
|
-
position: absolute;
|
|
63
|
-
display: block;
|
|
64
|
-
content: '';
|
|
65
|
-
border-color: transparent;
|
|
66
|
-
border-style: solid;
|
|
67
|
-
border-width: 0;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.bs-popover-top {
|
|
73
|
-
> .popover-arrow {
|
|
74
|
-
bottom: calc((var(--#{$prefix}popover-arrow-height) * -1)); // stylelint-disable-line function-disallowed-list
|
|
75
|
-
|
|
76
|
-
&::before,
|
|
77
|
-
&::after {
|
|
78
|
-
border-width: var(--#{$prefix}popover-arrow-height) calc(var(--#{$prefix}popover-arrow-width) * 0.5) 0; // stylelint-disable-line function-disallowed-list
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&::before {
|
|
82
|
-
bottom: 0;
|
|
83
|
-
border-top-color: var(--#{$prefix}popover-arrow-border);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&::after {
|
|
87
|
-
bottom: var(--#{$prefix}popover-border-width);
|
|
88
|
-
border-top-color: var(--#{$prefix}popover-bg);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* rtl:begin:ignore */
|
|
94
|
-
&.bs-popover-end {
|
|
95
|
-
> .popover-arrow {
|
|
96
|
-
left: calc((var(--#{$prefix}popover-arrow-height) * -1)); // stylelint-disable-line function-disallowed-list
|
|
97
|
-
width: var(--#{$prefix}popover-arrow-height);
|
|
98
|
-
height: var(--#{$prefix}popover-arrow-width);
|
|
99
|
-
|
|
100
|
-
&::before,
|
|
101
|
-
&::after {
|
|
102
|
-
border-width: calc(var(--#{$prefix}popover-arrow-width) * 0.5) var(--#{$prefix}popover-arrow-height)
|
|
103
|
-
calc(var(--#{$prefix}popover-arrow-width) * 0.5) 0; // stylelint-disable-line function-disallowed-list
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&::before {
|
|
107
|
-
left: 0;
|
|
108
|
-
border-right-color: var(--#{$prefix}popover-arrow-border);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&::after {
|
|
112
|
-
left: var(--#{$prefix}popover-border-width);
|
|
113
|
-
border-right-color: var(--#{$prefix}popover-bg);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/* rtl:end:ignore */
|
|
119
|
-
|
|
120
|
-
&.bs-popover-bottom {
|
|
121
|
-
> .popover-arrow {
|
|
122
|
-
top: calc((var(--#{$prefix}popover-arrow-height) * -1)); // stylelint-disable-line function-disallowed-list
|
|
123
|
-
|
|
124
|
-
&::before,
|
|
125
|
-
&::after {
|
|
126
|
-
border-width: 0 calc(var(--#{$prefix}popover-arrow-width) * 0.5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&::before {
|
|
130
|
-
top: 0;
|
|
131
|
-
border-bottom-color: var(--#{$prefix}popover-arrow-border);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
&::after {
|
|
135
|
-
top: var(--#{$prefix}popover-border-width);
|
|
136
|
-
border-bottom-color: var(--#{$prefix}popover-bg);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// This will remove the popover-header's border just below the arrow
|
|
141
|
-
.popover-header::before {
|
|
142
|
-
position: absolute;
|
|
143
|
-
top: 0;
|
|
144
|
-
left: 50%;
|
|
145
|
-
display: block;
|
|
146
|
-
width: var(--#{$prefix}popover-arrow-width);
|
|
147
|
-
margin-left: calc(var(--#{$prefix}popover-arrow-width) * -0.5); // stylelint-disable-line function-disallowed-list
|
|
148
|
-
content: '';
|
|
149
|
-
border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-header-bg);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/* rtl:begin:ignore */
|
|
154
|
-
&.bs-popover-start {
|
|
155
|
-
> .popover-arrow {
|
|
156
|
-
right: calc((var(--#{$prefix}popover-arrow-height) * -1)); // stylelint-disable-line function-disallowed-list
|
|
157
|
-
width: var(--#{$prefix}popover-arrow-height);
|
|
158
|
-
height: var(--#{$prefix}popover-arrow-width);
|
|
159
|
-
|
|
160
|
-
&::before,
|
|
161
|
-
&::after {
|
|
162
|
-
border-width: calc(var(--#{$prefix}popover-arrow-width) * 0.5) 0
|
|
163
|
-
calc(var(--#{$prefix}popover-arrow-width) * 0.5) var(--#{$prefix}popover-arrow-height); // stylelint-disable-line function-disallowed-list
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&::before {
|
|
167
|
-
right: 0;
|
|
168
|
-
border-left-color: var(--#{$prefix}popover-arrow-border);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&::after {
|
|
172
|
-
right: var(--#{$prefix}popover-border-width);
|
|
173
|
-
border-left-color: var(--#{$prefix}popover-bg);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/* rtl:end:ignore */
|
|
179
|
-
|
|
180
|
-
&.bs-popover-auto {
|
|
181
|
-
&[data-popper-placement^='top'] {
|
|
182
|
-
@extend .bs-popover-top;
|
|
183
|
-
}
|
|
184
|
-
&[data-popper-placement^='right'] {
|
|
185
|
-
@extend .bs-popover-end;
|
|
186
|
-
}
|
|
187
|
-
&[data-popper-placement^='bottom'] {
|
|
188
|
-
@extend .bs-popover-bottom;
|
|
189
|
-
}
|
|
190
|
-
&[data-popper-placement^='left'] {
|
|
191
|
-
@extend .bs-popover-start;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
// Offset the popover to account for the popover arrow
|
|
196
|
-
&.popover-header {
|
|
197
|
-
padding: var(--#{$prefix}popover-header-padding-y) var(--#{$prefix}popover-header-padding-x);
|
|
198
|
-
margin-bottom: 0; // Reset the default from Reboot
|
|
199
|
-
@include font-size(var(--#{$prefix}popover-header-font-size));
|
|
200
|
-
color: var(--#{$prefix}popover-header-color);
|
|
201
|
-
background-color: var(--#{$prefix}popover-header-bg);
|
|
202
|
-
border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-border-color);
|
|
203
|
-
@include border-top-radius(var(--#{$prefix}popover-inner-border-radius));
|
|
204
|
-
|
|
205
|
-
&:empty {
|
|
206
|
-
display: none;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
&.popover-body {
|
|
211
|
-
padding: var(--#{$prefix}popover-body-padding-y) var(--#{$prefix}popover-body-padding-x);
|
|
212
|
-
color: var(--#{$prefix}popover-body-color);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
body.df-progressindicator-open {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
#{$df-css-namespace-selector} {
|
|
6
|
-
&.df-progressindicator-backdrop,
|
|
7
|
-
&.df-progressindicator-container {
|
|
8
|
-
position: fixed;
|
|
9
|
-
top: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
right: 0;
|
|
12
|
-
bottom: 0;
|
|
13
|
-
z-index: $df-progressindicator-container-zindex;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&.df-progressindicator-backdrop {
|
|
17
|
-
&.df-progressindicator-backdrop-global {
|
|
18
|
-
background-color: $df-progressindicator-backdrop-global-bg-color;
|
|
19
|
-
opacity: $df-progressindicator-backdrop-global-opacity;
|
|
20
|
-
}
|
|
21
|
-
&.df-progressindicator-backdrop-contextual {
|
|
22
|
-
background-color: $df-progressindicator-backdrop-contextual-bg-color;
|
|
23
|
-
opacity: $df-progressindicator-backdrop-contextual-opacity;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.df-progressindicator-container {
|
|
28
|
-
display: flex;
|
|
29
|
-
background-color: transparent;
|
|
30
|
-
&.df-progressindicator-centered {
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
}
|
|
34
|
-
&.df-progressindicator-top {
|
|
35
|
-
align-items: flex-start;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
}
|
|
38
|
-
&.df-progressindicator-bottom {
|
|
39
|
-
align-items: flex-end;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|