@swisspost/design-system-styles 5.0.0-alpha.7
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/LICENSE +202 -0
- package/README.md +40 -0
- package/basics.css +29 -0
- package/basics.scss +9 -0
- package/components/_index.scss +45 -0
- package/components/accordion.scss +94 -0
- package/components/alert.scss +214 -0
- package/components/badge.scss +85 -0
- package/components/base.scss +6 -0
- package/components/breadcrumb.scss +42 -0
- package/components/button-group.scss +69 -0
- package/components/button.scss +213 -0
- package/components/card.scss +211 -0
- package/components/carousel.scss +176 -0
- package/components/close.scss +33 -0
- package/components/datatable.scss +196 -0
- package/components/datepicker.scss +232 -0
- package/components/dropdown.scss +83 -0
- package/components/floating-label.scss +77 -0
- package/components/fonts.scss +27 -0
- package/components/form-check.scss +236 -0
- package/components/form-feedback.scss +32 -0
- package/components/form-range.scss +111 -0
- package/components/form-select.scss +31 -0
- package/components/forms.scss +54 -0
- package/components/grid.scss +100 -0
- package/components/icons.scss +60 -0
- package/components/intranet-header/_icon.scss +6 -0
- package/components/intranet-header/_language-chooser.scss +40 -0
- package/components/intranet-header/_logo.scss +54 -0
- package/components/intranet-header/_nav-overflow.scss +56 -0
- package/components/intranet-header/_scaffolding.scss +96 -0
- package/components/intranet-header/_searchbox.scss +32 -0
- package/components/intranet-header/_settings.scss +23 -0
- package/components/intranet-header/_sidebar.scss +118 -0
- package/components/intranet-header/_top-navigation.scss +109 -0
- package/components/intranet-header/index.scss +17 -0
- package/components/list-group.scss +166 -0
- package/components/modal.scss +62 -0
- package/components/offcanvas.scss +5 -0
- package/components/pagination.scss +79 -0
- package/components/popover.scss +21 -0
- package/components/product-card.scss +74 -0
- package/components/progress.scss +28 -0
- package/components/reboot.scss +10 -0
- package/components/root.scss +11 -0
- package/components/sizing.scss +101 -0
- package/components/spinner.scss +71 -0
- package/components/stepper.scss +193 -0
- package/components/subnavigation.scss +138 -0
- package/components/tables.scss +16 -0
- package/components/tabs.scss +212 -0
- package/components/timepicker.scss +123 -0
- package/components/toast.scss +187 -0
- package/components/tooltip.scss +23 -0
- package/components/topic-teaser.scss +186 -0
- package/components/transitions.scss +4 -0
- package/components/type.scss +131 -0
- package/components/utilities.scss +98 -0
- package/core.css +0 -0
- package/core.scss +5 -0
- package/functions/_color.scss +55 -0
- package/functions/_icons.scss +71 -0
- package/functions/_index.scss +5 -0
- package/functions/_list.scss +22 -0
- package/functions/_sizing.scss +103 -0
- package/functions/_utilities.scss +66 -0
- package/index.css +75 -0
- package/index.scss +8 -0
- package/intranet.css +75 -0
- package/intranet.scss +6 -0
- package/layouts/portal/_grid.scss +80 -0
- package/layouts/portal/_subnavigation.scss +5 -0
- package/layouts/portal/_type.scss +83 -0
- package/layouts/portal/_variables.scss +8 -0
- package/layouts/portal/index.scss +5 -0
- package/lic/_bootstrap-license.scss +29 -0
- package/mixins/_animation.scss +48 -0
- package/mixins/_badge.scss +22 -0
- package/mixins/_button.scss +57 -0
- package/mixins/_color.scss +15 -0
- package/mixins/_form-checks.scss +80 -0
- package/mixins/_forms.scss +110 -0
- package/mixins/_icons.scss +38 -0
- package/mixins/_index.scss +8 -0
- package/mixins/_scroll-shadows.scss +17 -0
- package/mixins/_size.scss +65 -0
- package/mixins/_type.scss +54 -0
- package/mixins/_utilities.scss +79 -0
- package/package.json +76 -0
- package/placeholders/_button.scss +25 -0
- package/placeholders/_color.scss +71 -0
- package/placeholders/_dropdown.scss +11 -0
- package/placeholders/_index.scss +3 -0
- package/placeholders/_notifications.scss +128 -0
- package/placeholders/_text.scss +158 -0
- package/placeholders/badge.scss +61 -0
- package/themes/bootstrap/_accordion.scss +2 -0
- package/themes/bootstrap/_alert.scss +2 -0
- package/themes/bootstrap/_badge.scss +2 -0
- package/themes/bootstrap/_breadcrumbs.scss +2 -0
- package/themes/bootstrap/_button-group.scss +2 -0
- package/themes/bootstrap/_buttons.scss +3 -0
- package/themes/bootstrap/_card.scss +2 -0
- package/themes/bootstrap/_carousel.scss +2 -0
- package/themes/bootstrap/_close.scss +2 -0
- package/themes/bootstrap/_containers.scss +2 -0
- package/themes/bootstrap/_dropdown.scss +2 -0
- package/themes/bootstrap/_forms.scss +9 -0
- package/themes/bootstrap/_grid.scss +2 -0
- package/themes/bootstrap/_images.scss +2 -0
- package/themes/bootstrap/_list-group.scss +2 -0
- package/themes/bootstrap/_modal.scss +2 -0
- package/themes/bootstrap/_nav.scss +2 -0
- package/themes/bootstrap/_navbar.scss +2 -0
- package/themes/bootstrap/_offcanvas.scss +2 -0
- package/themes/bootstrap/_overrides-color.scss +45 -0
- package/themes/bootstrap/_overrides-features.scss +18 -0
- package/themes/bootstrap/_overrides-variables.scss +40 -0
- package/themes/bootstrap/_overrides.scss +5 -0
- package/themes/bootstrap/_pagination.scss +2 -0
- package/themes/bootstrap/_popover.scss +2 -0
- package/themes/bootstrap/_progress.scss +2 -0
- package/themes/bootstrap/_reboot.scss +2 -0
- package/themes/bootstrap/_root.scss +2 -0
- package/themes/bootstrap/_spinners.scss +2 -0
- package/themes/bootstrap/_tables.scss +2 -0
- package/themes/bootstrap/_toasts.scss +2 -0
- package/themes/bootstrap/_tooltip.scss +2 -0
- package/themes/bootstrap/_transitions.scss +2 -0
- package/themes/bootstrap/_type.scss +6 -0
- package/themes/bootstrap/_utilities.scss +9 -0
- package/themes/bootstrap/forms/_floating-labels.scss +2 -0
- package/themes/bootstrap/forms/_form-check.scss +2 -0
- package/themes/bootstrap/forms/_form-control.scss +2 -0
- package/themes/bootstrap/forms/_form-range.scss +2 -0
- package/themes/bootstrap/forms/_form-select.scss +2 -0
- package/themes/bootstrap/forms/_form-text.scss +2 -0
- package/themes/bootstrap/forms/_input-group.scss +2 -0
- package/themes/bootstrap/forms/_labels.scss +2 -0
- package/themes/bootstrap/forms/_validation.scss +2 -0
- package/variables/_animation.scss +36 -0
- package/variables/_breakpoints.scss +9 -0
- package/variables/_color.scss +119 -0
- package/variables/_commons.scss +56 -0
- package/variables/_grid.scss +27 -0
- package/variables/_icons.scss +4600 -0
- package/variables/_index.scss +14 -0
- package/variables/_options.scss +5 -0
- package/variables/_spacing.scss +181 -0
- package/variables/_type.scss +204 -0
- package/variables/components/_accordion.scss +38 -0
- package/variables/components/_alert.scss +51 -0
- package/variables/components/_badge.scss +44 -0
- package/variables/components/_breadcrumbs.scss +21 -0
- package/variables/components/_button.scss +137 -0
- package/variables/components/_card.scss +30 -0
- package/variables/components/_carousel.scss +27 -0
- package/variables/components/_close.scss +19 -0
- package/variables/components/_code.scss +14 -0
- package/variables/components/_datatable.scss +53 -0
- package/variables/components/_datepicker.scss +22 -0
- package/variables/components/_detail-summary.scss +12 -0
- package/variables/components/_dropdowns.scss +30 -0
- package/variables/components/_figures.scss +6 -0
- package/variables/components/_form-check.scss +63 -0
- package/variables/components/_form-feedback.scss +25 -0
- package/variables/components/_form-select.scss +13 -0
- package/variables/components/_form-switch.scss +38 -0
- package/variables/components/_forms.scss +129 -0
- package/variables/components/_index.scss +30 -0
- package/variables/components/_intranet-header.scss +9 -0
- package/variables/components/_list-group.scss +29 -0
- package/variables/components/_modals.scss +68 -0
- package/variables/components/_nav.scss +55 -0
- package/variables/components/_navbar.scss +44 -0
- package/variables/components/_pagination.scss +42 -0
- package/variables/components/_paragraph.scss +6 -0
- package/variables/components/_popovers.scss +28 -0
- package/variables/components/_progress-bars.scss +16 -0
- package/variables/components/_spinners.scss +16 -0
- package/variables/components/_stepper.scss +36 -0
- package/variables/components/_subnavigation.scss +32 -0
- package/variables/components/_tables.scss +39 -0
- package/variables/components/_thumbnails.scss +11 -0
- package/variables/components/_toasts.scss +18 -0
- package/variables/components/_tooltips.scss +18 -0
- package/variables/components/_topic-teaser.scss +27 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use '../color';
|
|
2
|
+
@use '../commons';
|
|
3
|
+
@use '../type';
|
|
4
|
+
@use '../spacing';
|
|
5
|
+
|
|
6
|
+
// Bootstrap variables
|
|
7
|
+
$nav-link-padding-y: spacing.$spacer !default;
|
|
8
|
+
$nav-link-padding-x: 1rem !default;
|
|
9
|
+
$nav-link-font-size: null !default;
|
|
10
|
+
$nav-link-font-weight: null !default;
|
|
11
|
+
$nav-link-color: color.$gray-60 !default;
|
|
12
|
+
$nav-link-hover-color: color.$black !default;
|
|
13
|
+
$nav-link-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
|
|
14
|
+
border-color 0.15s ease-in-out !default;
|
|
15
|
+
$nav-link-disabled-color: color.$gray-20 !default;
|
|
16
|
+
|
|
17
|
+
$nav-tabs-border-color: color.$gray-20 !default;
|
|
18
|
+
$nav-tabs-border-width: 4px !default;
|
|
19
|
+
$nav-tabs-border-radius: 0 !default;
|
|
20
|
+
$nav-tabs-link-hover-border-color: color.$gray-40 !default;
|
|
21
|
+
$nav-tabs-link-active-color: color.$black !default;
|
|
22
|
+
$nav-tabs-link-active-bg: color.$white !default;
|
|
23
|
+
$nav-tabs-link-active-border-color: color.$yellow !default;
|
|
24
|
+
|
|
25
|
+
$nav-pills-border-radius: commons.$border-radius !default;
|
|
26
|
+
$nav-pills-link-active-color: color.$white !default;
|
|
27
|
+
$nav-pills-link-active-bg: color.$gray-80 !default;
|
|
28
|
+
|
|
29
|
+
// Design System custom variables
|
|
30
|
+
$nav-link-padding: spacing.$spacer !default;
|
|
31
|
+
|
|
32
|
+
$nav-tabs-link-hover-bg: lighten(color.$gray-10, 5%) !default;
|
|
33
|
+
$nav-tabs-link-text-color: color.$gray-60 !default;
|
|
34
|
+
$nav-tabs-link-active-font-weight: bold !default;
|
|
35
|
+
|
|
36
|
+
$nav-tabs-focus-box-shadow: 0 0 0 1px color.$white, 0 0 0 2px color.$gray-80 !default;
|
|
37
|
+
$nav-tabs-focus-box-shadow-width: 2px !default;
|
|
38
|
+
|
|
39
|
+
$nav-tabs-i-border-color: rgba(var(--post-contrast-color-inverted-rgb), 0.4) !default;
|
|
40
|
+
$nav-tabs-i-link-hover-bg: rgba(var(--post-contrast-color-rgb), 0.1) !default;
|
|
41
|
+
$nav-tabs-i-link-hover-border-color: rgba(var(--post-contrast-color-inverted-rgb), 0.8) !default;
|
|
42
|
+
$nav-tabs-i-link-text-color: color.$white !default;
|
|
43
|
+
$nav-tabs-i-link-active-color: color.$white !default;
|
|
44
|
+
|
|
45
|
+
$nav-tabs-alternate-link-hover-bg: color.$white !default;
|
|
46
|
+
|
|
47
|
+
$nav-pills-outline-border-width: commons.$border-width !default;
|
|
48
|
+
|
|
49
|
+
$nav-divider-color: color.$gray-20 !default;
|
|
50
|
+
$nav-divider-margin-y: (spacing.$spacer * 0.5) !default;
|
|
51
|
+
|
|
52
|
+
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
|
53
|
+
$nav-link-height: (
|
|
54
|
+
type.$font-size-base * type.$line-height-base + $nav-link-padding-y * 2
|
|
55
|
+
) !default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@use '../color';
|
|
2
|
+
@use '../spacing';
|
|
3
|
+
@use '../type';
|
|
4
|
+
@use '../components/button';
|
|
5
|
+
@use '../components/nav';
|
|
6
|
+
@use '../../functions/utilities';
|
|
7
|
+
|
|
8
|
+
// Bootstrap variables
|
|
9
|
+
$navbar-padding-y: (spacing.$spacer * 0.5) !default;
|
|
10
|
+
$navbar-padding-x: spacing.$spacer !default;
|
|
11
|
+
|
|
12
|
+
$navbar-nav-link-padding-x: spacing.$size-small-huge !default;
|
|
13
|
+
|
|
14
|
+
$navbar-brand-font-size: type.$font-size-bigger-regular !default;
|
|
15
|
+
$navbar-brand-height: $navbar-brand-font-size * type.$line-height-base !default;
|
|
16
|
+
$navbar-brand-padding-y: (nav.$nav-link-height - $navbar-brand-height) * 0.5 !default;
|
|
17
|
+
|
|
18
|
+
$navbar-toggler-padding-y: 0.25rem !default;
|
|
19
|
+
$navbar-toggler-padding-x: 0.75rem !default;
|
|
20
|
+
$navbar-toggler-font-size: type.$font-size-bigger-regular !default;
|
|
21
|
+
$navbar-toggler-border-radius: button.$btn-border-radius !default;
|
|
22
|
+
|
|
23
|
+
$navbar-dark-color: rgba(color.$white, 0.5) !default;
|
|
24
|
+
$navbar-dark-hover-color: rgba(color.$white, 0.75) !default;
|
|
25
|
+
$navbar-dark-active-color: color.$white !default;
|
|
26
|
+
$navbar-dark-disabled-color: rgba(color.$white, 0.25) !default;
|
|
27
|
+
|
|
28
|
+
$navbar-dark-toggler-icon-bg: utilities.replace(
|
|
29
|
+
url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"),
|
|
30
|
+
'#',
|
|
31
|
+
'%23'
|
|
32
|
+
) !default;
|
|
33
|
+
$navbar-dark-toggler-border-color: rgba(color.$white, 0.1) !default;
|
|
34
|
+
|
|
35
|
+
$navbar-light-color: rgba(color.$black, 0.5) !default;
|
|
36
|
+
$navbar-light-hover-color: rgba(color.$black, 0.7) !default;
|
|
37
|
+
$navbar-light-active-color: rgba(color.$black, 0.9) !default;
|
|
38
|
+
$navbar-light-disabled-color: rgba(color.$black, 0.3) !default;
|
|
39
|
+
$navbar-light-toggler-icon-bg: utilities.replace(
|
|
40
|
+
url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"),
|
|
41
|
+
'#',
|
|
42
|
+
'%23'
|
|
43
|
+
) !default;
|
|
44
|
+
$navbar-light-toggler-border-color: rgba(color.$black, 0.1) !default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@use '../color';
|
|
2
|
+
@use '../spacing';
|
|
3
|
+
@use '../type';
|
|
4
|
+
@use '../commons';
|
|
5
|
+
@use './button';
|
|
6
|
+
|
|
7
|
+
// Pagination
|
|
8
|
+
|
|
9
|
+
$pagination-padding-y: spacing.$size-mini !default;
|
|
10
|
+
$pagination-padding-x: 0 !default;
|
|
11
|
+
$pagination-padding-y-sm: spacing.$size-micro !default;
|
|
12
|
+
$pagination-padding-x-sm: 0 !default;
|
|
13
|
+
$pagination-padding-y-lg: spacing.$size-small-regular !default;
|
|
14
|
+
$pagination-padding-x-lg: 0 !default;
|
|
15
|
+
$pagination-line-height: 1.25 !default;
|
|
16
|
+
|
|
17
|
+
$pagination-color: color.$gray-60 !default;
|
|
18
|
+
$pagination-bg: color.$white !default;
|
|
19
|
+
$pagination-border-width: 2px !default;
|
|
20
|
+
$pagination-border-color: color.$gray-10 !default;
|
|
21
|
+
|
|
22
|
+
$pagination-focus-box-shadow: button.$input-btn-focus-box-shadow !default;
|
|
23
|
+
$pagination-focus-outline: 0 !default;
|
|
24
|
+
|
|
25
|
+
$pagination-hover-color: color.$black !default;
|
|
26
|
+
$pagination-hover-bg: color.$gray-background-light !default;
|
|
27
|
+
$pagination-hover-border-color: color.$gray-10 !default;
|
|
28
|
+
|
|
29
|
+
$pagination-active-color: color.$black !default;
|
|
30
|
+
$pagination-active-bg: color.$yellow !default;
|
|
31
|
+
$pagination-active-border-color: color.$yellow !default;
|
|
32
|
+
|
|
33
|
+
$pagination-disabled-color: color.$gray-40 !default;
|
|
34
|
+
$pagination-disabled-bg: color.$gray-background-light !default;
|
|
35
|
+
$pagination-disabled-border-color: color.$gray-10 !default;
|
|
36
|
+
|
|
37
|
+
$pagination-height-border: $pagination-border-width * 2 !default;
|
|
38
|
+
$pagination-height-inner: (type.$font-size-base * $pagination-line-height) +
|
|
39
|
+
($pagination-padding-y * 2) !default;
|
|
40
|
+
$pagination-height: calc(#{$pagination-height-inner} + #{$pagination-height-border}) !default;
|
|
41
|
+
|
|
42
|
+
$pagination-width: $pagination-height !default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use '../type';
|
|
2
|
+
@use '../color';
|
|
3
|
+
@use '../commons';
|
|
4
|
+
|
|
5
|
+
// Popovers
|
|
6
|
+
|
|
7
|
+
$popover-font-size: type.$font-size-tiny !default;
|
|
8
|
+
$popover-bg: color.$yellow !default;
|
|
9
|
+
$popover-max-width: 310px !default;
|
|
10
|
+
$popover-border-width: commons.$border-width !default;
|
|
11
|
+
$popover-border-color: $popover-bg !default;
|
|
12
|
+
$popover-border-radius: commons.$border-radius-lg !default;
|
|
13
|
+
$popover-box-shadow: none !default;
|
|
14
|
+
|
|
15
|
+
$popover-header-bg: $popover-bg !default;
|
|
16
|
+
$popover-header-color: type.$headings-color !default;
|
|
17
|
+
$popover-header-padding-y: 0.5rem !default;
|
|
18
|
+
$popover-header-padding-x: 0.5rem !default;
|
|
19
|
+
|
|
20
|
+
$popover-body-color: color.$black !default;
|
|
21
|
+
$popover-body-padding-y: $popover-header-padding-y !default;
|
|
22
|
+
$popover-body-padding-x: $popover-header-padding-x !default;
|
|
23
|
+
|
|
24
|
+
$popover-arrow-width: 1rem !default;
|
|
25
|
+
$popover-arrow-height: 0.5rem !default;
|
|
26
|
+
$popover-arrow-color: $popover-bg !default;
|
|
27
|
+
|
|
28
|
+
$popover-arrow-outer-color: $popover-bg !default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../color';
|
|
3
|
+
@use '../type';
|
|
4
|
+
@use '../commons';
|
|
5
|
+
|
|
6
|
+
// Progress bars
|
|
7
|
+
|
|
8
|
+
$progress-height: 1rem !default;
|
|
9
|
+
$progress-font-size: type.$font-size-base * 0.75 !default;
|
|
10
|
+
$progress-bg: color.$gray-20 !default;
|
|
11
|
+
$progress-border-radius: commons.$border-radius !default;
|
|
12
|
+
$progress-box-shadow: inset 0 0.1rem 0.1rem rgba(color.$black, 0.1) !default;
|
|
13
|
+
$progress-bar-color: color.$white !default;
|
|
14
|
+
$progress-bar-bg: map.get(color.$background-colors, 'primary') !default;
|
|
15
|
+
$progress-bar-animation-timing: 1s linear infinite !default;
|
|
16
|
+
$progress-bar-transition: width 0.6s ease !default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use '../color';
|
|
2
|
+
@use '../spacing';
|
|
3
|
+
|
|
4
|
+
// Spinners
|
|
5
|
+
|
|
6
|
+
$spinner-color-primary: color.$yellow !default;
|
|
7
|
+
$spinner-color-secondary: color.$gray-10 !default;
|
|
8
|
+
|
|
9
|
+
$spinner-size: spacing.$size-huge !default;
|
|
10
|
+
$spinner-border-width: 6px !default;
|
|
11
|
+
|
|
12
|
+
$spinner-size-sm: spacing.$size-big !default;
|
|
13
|
+
$spinner-border-width-sm: spacing.$size-micro !default;
|
|
14
|
+
|
|
15
|
+
$spinner-size-xs: spacing.$size-small-regular !default;
|
|
16
|
+
$spinner-border-width-xs: spacing.$size-line !default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use './forms';
|
|
2
|
+
@use '../type';
|
|
3
|
+
@use '../color';
|
|
4
|
+
@use '../spacing';
|
|
5
|
+
|
|
6
|
+
@use '../../functions/icons' as icon-fn;
|
|
7
|
+
|
|
8
|
+
$stepper-bar-height: spacing.$size-micro;
|
|
9
|
+
|
|
10
|
+
$stepper-indicator-height: spacing.$size-bigger-big;
|
|
11
|
+
$stepper-indicator-border-width: spacing.$size-micro;
|
|
12
|
+
$stepper-indicator-border-color: color.$white;
|
|
13
|
+
$stepper-indicator-font-size: type.$font-size-bigger-regular;
|
|
14
|
+
$stepper-indicator-font-weight: type.$font-weight-bold;
|
|
15
|
+
$stepper-indicator-bg: color.$yellow;
|
|
16
|
+
$stepper-indicator-color: color.$black;
|
|
17
|
+
$_stepper-indicator-check-icon: icon-fn.get-colored-svg-url('2105', $stepper-indicator-color);
|
|
18
|
+
$stepper-indicator-check-icon: url($_stepper-indicator-check-icon);
|
|
19
|
+
$stepper-indicator-hover-color: color.$white;
|
|
20
|
+
$stepper-indicator-hover-bg: color.$black;
|
|
21
|
+
$stepper-indicator-hover-outline: forms.$input-focus-outline-thickness solid
|
|
22
|
+
var(--post-contrast-color);
|
|
23
|
+
$_stepper-indicator-hover-check-icon: icon-fn.get-colored-svg-url(
|
|
24
|
+
'2105',
|
|
25
|
+
$stepper-indicator-hover-color
|
|
26
|
+
);
|
|
27
|
+
$stepper-indicator-hover-check-icon: url($_stepper-indicator-hover-check-icon);
|
|
28
|
+
$stepper-indicator-future-bg: color.$gray-60;
|
|
29
|
+
$stepper-indicator-future-color: color.$white;
|
|
30
|
+
|
|
31
|
+
$stepper-link-gap: spacing.$size-mini;
|
|
32
|
+
$stepper-link-color: color.$gray-60;
|
|
33
|
+
$stepper-link-hover-color: color.$black;
|
|
34
|
+
$stepper-link-current-color: color.$black;
|
|
35
|
+
$stepper-link-current-font-size: type.$font-size-bigger-regular;
|
|
36
|
+
$stepper-link-current-font-weight: type.$font-weight-bold;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../color';
|
|
3
|
+
@use '../commons';
|
|
4
|
+
@use '../spacing';
|
|
5
|
+
@use '../../functions/sizing';
|
|
6
|
+
|
|
7
|
+
// Subnavigation
|
|
8
|
+
|
|
9
|
+
$subnavigation-background-color: color.$white;
|
|
10
|
+
$subnavigation-background-color-alternate: color.$gray-background-light;
|
|
11
|
+
|
|
12
|
+
$subnavigation-border-bottom-width: commons.$border-width;
|
|
13
|
+
$subnavigation-border-bottom-color: color.$gray-10;
|
|
14
|
+
|
|
15
|
+
// These heights have to be synchronous to main navigation heights
|
|
16
|
+
$subnavigation-height-xs: sizing.px-to-rem(56);
|
|
17
|
+
$subnavigation-height-lg: sizing.px-to-rem(64);
|
|
18
|
+
$subnavigation-height-xl: sizing.px-to-rem(72);
|
|
19
|
+
|
|
20
|
+
$subnavigation-link-color: rgba(var(--post-contrast-color-rgb), 0.6);
|
|
21
|
+
$subnavigation-link-color-hover: var(--post-contrast-color);
|
|
22
|
+
|
|
23
|
+
$subnavigation-link-underscore-height: map.get(spacing.$post-sizes, 'micro');
|
|
24
|
+
$subnavigation-link-underscore-color-active: color.$yellow;
|
|
25
|
+
$subnavigation-link-underscore-color-hover: rgba(var(--post-contrast-color-rgb), 0.4);
|
|
26
|
+
|
|
27
|
+
$subnavigation-link-padding-xs: map.get(spacing.$post-sizes, 'regular')
|
|
28
|
+
map.get(spacing.$post-sizes, 'small-regular');
|
|
29
|
+
$subnavigation-link-padding-lg: map.get(spacing.$post-sizes, 'small-large')
|
|
30
|
+
map.get(spacing.$post-sizes, 'regular');
|
|
31
|
+
|
|
32
|
+
$subnavigation-result-margin-left: map.get(spacing.$post-sizes, 'mini');
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use '../color';
|
|
2
|
+
@use '../commons';
|
|
3
|
+
@use '../spacing';
|
|
4
|
+
@use '../type';
|
|
5
|
+
|
|
6
|
+
$table-cell-padding-y: spacing.$size-small-regular !default;
|
|
7
|
+
$table-cell-padding-x: $table-cell-padding-y !default;
|
|
8
|
+
$table-cell-padding: $table-cell-padding-y $table-cell-padding-x !default;
|
|
9
|
+
|
|
10
|
+
$table-cell-padding-y-sm: spacing.$size-micro !default;
|
|
11
|
+
$table-cell-padding-x-sm: $table-cell-padding-y-sm !default;
|
|
12
|
+
$table-cell-padding-sm: $table-cell-padding-y-sm $table-cell-padding-x-sm !default;
|
|
13
|
+
|
|
14
|
+
$table-border-width: spacing.$size-line !default;
|
|
15
|
+
|
|
16
|
+
// Tables
|
|
17
|
+
//
|
|
18
|
+
// Customizes the `.table` component with basic values, each used across all table variations.
|
|
19
|
+
|
|
20
|
+
$table-bg: transparent !default;
|
|
21
|
+
$table-accent-bg: transparent !default;
|
|
22
|
+
$table-hover-bg: rgba(color.$black, 0.075) !default;
|
|
23
|
+
$table-active-bg: $table-hover-bg !default;
|
|
24
|
+
|
|
25
|
+
$table-border-width: commons.$border-width !default;
|
|
26
|
+
$table-border-color: rgba(var(--post-contrast-color-inverted-rgb), 0.4) !default;
|
|
27
|
+
|
|
28
|
+
$table-head-bg: rgba(var(--post-contrast-color-inverted-rgb), 0.6) !default;
|
|
29
|
+
$table-head-color: color.$gray-40 !default;
|
|
30
|
+
|
|
31
|
+
$table-dark-bg: color.$gray-80 !default;
|
|
32
|
+
$table-dark-accent-bg: rgba(color.$white, 0.05) !default;
|
|
33
|
+
$table-dark-hover-bg: rgba(color.$white, 0.075) !default;
|
|
34
|
+
$table-dark-border-color: lighten(color.$gray-80, 7.5%) !default;
|
|
35
|
+
$table-dark-color: color.$black !default;
|
|
36
|
+
|
|
37
|
+
$table-striped-order: odd !default;
|
|
38
|
+
|
|
39
|
+
$table-caption-color: type.$text-muted !default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@use '../color';
|
|
2
|
+
@use '../commons';
|
|
3
|
+
|
|
4
|
+
// Image thumbnails
|
|
5
|
+
|
|
6
|
+
$thumbnail-padding: 0.25rem !default;
|
|
7
|
+
$thumbnail-bg: color.$black !default;
|
|
8
|
+
$thumbnail-border-width: commons.$border-width !default;
|
|
9
|
+
$thumbnail-border-color: color.$gray-20 !default;
|
|
10
|
+
$thumbnail-border-radius: commons.$border-radius !default;
|
|
11
|
+
$thumbnail-box-shadow: 0 1px 2px rgba(color.$black, 0.075) !default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use '../color';
|
|
2
|
+
|
|
3
|
+
// Toasts
|
|
4
|
+
|
|
5
|
+
$toast-max-width: 350px !default;
|
|
6
|
+
$toast-padding-x: 0.75rem !default;
|
|
7
|
+
$toast-padding-y: 0.25rem !default;
|
|
8
|
+
$toast-font-size: 0.875rem !default;
|
|
9
|
+
$toast-color: null !default;
|
|
10
|
+
$toast-background-color: rgba(color.$white, 0.85) !default;
|
|
11
|
+
$toast-border-width: 1px !default;
|
|
12
|
+
$toast-border-color: rgba(color.$black, 0.1) !default;
|
|
13
|
+
$toast-border-radius: 0.25rem !default;
|
|
14
|
+
$toast-box-shadow: 0 0.25rem 0.75rem rgba(color.$black, 0.1) !default;
|
|
15
|
+
|
|
16
|
+
$toast-header-color: color.$gray-60 !default;
|
|
17
|
+
$toast-header-background-color: rgba(color.$white, 0.85) !default;
|
|
18
|
+
$toast-header-border-color: rgba(color.$black, 0.05) !default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use '../type';
|
|
2
|
+
@use '../color';
|
|
3
|
+
|
|
4
|
+
// Tooltips
|
|
5
|
+
|
|
6
|
+
$tooltip-font-size: type.$font-size-regular !default;
|
|
7
|
+
$tooltip-max-width: 310px !default;
|
|
8
|
+
$tooltip-color: color.$black !default;
|
|
9
|
+
$tooltip-bg: color.$yellow !default;
|
|
10
|
+
$tooltip-border-radius: 0 !default;
|
|
11
|
+
$tooltip-opacity: 0.9 !default;
|
|
12
|
+
$tooltip-padding-y: 0.25rem !default;
|
|
13
|
+
$tooltip-padding-x: 0.5rem !default;
|
|
14
|
+
$tooltip-margin: 0 !default;
|
|
15
|
+
|
|
16
|
+
$tooltip-arrow-width: 0.8rem !default;
|
|
17
|
+
$tooltip-arrow-height: 0.4rem !default;
|
|
18
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
|
|
3
|
+
$grid-breakpoints-lower: (xs, sm, rg, md);
|
|
4
|
+
$grid-breakpoints-upper: (lg, xl, xxl);
|
|
5
|
+
|
|
6
|
+
$content-cols: (
|
|
7
|
+
xs: 12,
|
|
8
|
+
lg: 8,
|
|
9
|
+
xl: 7,
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
$image-cols: (
|
|
13
|
+
xs: 10,
|
|
14
|
+
rg: 8,
|
|
15
|
+
lg: 4,
|
|
16
|
+
xl: 5,
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
$image-aspectratio: (
|
|
20
|
+
xs: list.slash(1, 0.7),
|
|
21
|
+
sm: list.slash(1, 0.7),
|
|
22
|
+
rg: list.slash(1, 0.7),
|
|
23
|
+
md: list.slash(1, 0.7),
|
|
24
|
+
lg: list.slash(0.66, 1),
|
|
25
|
+
xl: list.slash(0.9, 1),
|
|
26
|
+
xxl: list.slash(0.9, 1),
|
|
27
|
+
);
|