@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.
Files changed (188) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +40 -0
  3. package/basics.css +29 -0
  4. package/basics.scss +9 -0
  5. package/components/_index.scss +45 -0
  6. package/components/accordion.scss +94 -0
  7. package/components/alert.scss +214 -0
  8. package/components/badge.scss +85 -0
  9. package/components/base.scss +6 -0
  10. package/components/breadcrumb.scss +42 -0
  11. package/components/button-group.scss +69 -0
  12. package/components/button.scss +213 -0
  13. package/components/card.scss +211 -0
  14. package/components/carousel.scss +176 -0
  15. package/components/close.scss +33 -0
  16. package/components/datatable.scss +196 -0
  17. package/components/datepicker.scss +232 -0
  18. package/components/dropdown.scss +83 -0
  19. package/components/floating-label.scss +77 -0
  20. package/components/fonts.scss +27 -0
  21. package/components/form-check.scss +236 -0
  22. package/components/form-feedback.scss +32 -0
  23. package/components/form-range.scss +111 -0
  24. package/components/form-select.scss +31 -0
  25. package/components/forms.scss +54 -0
  26. package/components/grid.scss +100 -0
  27. package/components/icons.scss +60 -0
  28. package/components/intranet-header/_icon.scss +6 -0
  29. package/components/intranet-header/_language-chooser.scss +40 -0
  30. package/components/intranet-header/_logo.scss +54 -0
  31. package/components/intranet-header/_nav-overflow.scss +56 -0
  32. package/components/intranet-header/_scaffolding.scss +96 -0
  33. package/components/intranet-header/_searchbox.scss +32 -0
  34. package/components/intranet-header/_settings.scss +23 -0
  35. package/components/intranet-header/_sidebar.scss +118 -0
  36. package/components/intranet-header/_top-navigation.scss +109 -0
  37. package/components/intranet-header/index.scss +17 -0
  38. package/components/list-group.scss +166 -0
  39. package/components/modal.scss +62 -0
  40. package/components/offcanvas.scss +5 -0
  41. package/components/pagination.scss +79 -0
  42. package/components/popover.scss +21 -0
  43. package/components/product-card.scss +74 -0
  44. package/components/progress.scss +28 -0
  45. package/components/reboot.scss +10 -0
  46. package/components/root.scss +11 -0
  47. package/components/sizing.scss +101 -0
  48. package/components/spinner.scss +71 -0
  49. package/components/stepper.scss +193 -0
  50. package/components/subnavigation.scss +138 -0
  51. package/components/tables.scss +16 -0
  52. package/components/tabs.scss +212 -0
  53. package/components/timepicker.scss +123 -0
  54. package/components/toast.scss +187 -0
  55. package/components/tooltip.scss +23 -0
  56. package/components/topic-teaser.scss +186 -0
  57. package/components/transitions.scss +4 -0
  58. package/components/type.scss +131 -0
  59. package/components/utilities.scss +98 -0
  60. package/core.css +0 -0
  61. package/core.scss +5 -0
  62. package/functions/_color.scss +55 -0
  63. package/functions/_icons.scss +71 -0
  64. package/functions/_index.scss +5 -0
  65. package/functions/_list.scss +22 -0
  66. package/functions/_sizing.scss +103 -0
  67. package/functions/_utilities.scss +66 -0
  68. package/index.css +75 -0
  69. package/index.scss +8 -0
  70. package/intranet.css +75 -0
  71. package/intranet.scss +6 -0
  72. package/layouts/portal/_grid.scss +80 -0
  73. package/layouts/portal/_subnavigation.scss +5 -0
  74. package/layouts/portal/_type.scss +83 -0
  75. package/layouts/portal/_variables.scss +8 -0
  76. package/layouts/portal/index.scss +5 -0
  77. package/lic/_bootstrap-license.scss +29 -0
  78. package/mixins/_animation.scss +48 -0
  79. package/mixins/_badge.scss +22 -0
  80. package/mixins/_button.scss +57 -0
  81. package/mixins/_color.scss +15 -0
  82. package/mixins/_form-checks.scss +80 -0
  83. package/mixins/_forms.scss +110 -0
  84. package/mixins/_icons.scss +38 -0
  85. package/mixins/_index.scss +8 -0
  86. package/mixins/_scroll-shadows.scss +17 -0
  87. package/mixins/_size.scss +65 -0
  88. package/mixins/_type.scss +54 -0
  89. package/mixins/_utilities.scss +79 -0
  90. package/package.json +76 -0
  91. package/placeholders/_button.scss +25 -0
  92. package/placeholders/_color.scss +71 -0
  93. package/placeholders/_dropdown.scss +11 -0
  94. package/placeholders/_index.scss +3 -0
  95. package/placeholders/_notifications.scss +128 -0
  96. package/placeholders/_text.scss +158 -0
  97. package/placeholders/badge.scss +61 -0
  98. package/themes/bootstrap/_accordion.scss +2 -0
  99. package/themes/bootstrap/_alert.scss +2 -0
  100. package/themes/bootstrap/_badge.scss +2 -0
  101. package/themes/bootstrap/_breadcrumbs.scss +2 -0
  102. package/themes/bootstrap/_button-group.scss +2 -0
  103. package/themes/bootstrap/_buttons.scss +3 -0
  104. package/themes/bootstrap/_card.scss +2 -0
  105. package/themes/bootstrap/_carousel.scss +2 -0
  106. package/themes/bootstrap/_close.scss +2 -0
  107. package/themes/bootstrap/_containers.scss +2 -0
  108. package/themes/bootstrap/_dropdown.scss +2 -0
  109. package/themes/bootstrap/_forms.scss +9 -0
  110. package/themes/bootstrap/_grid.scss +2 -0
  111. package/themes/bootstrap/_images.scss +2 -0
  112. package/themes/bootstrap/_list-group.scss +2 -0
  113. package/themes/bootstrap/_modal.scss +2 -0
  114. package/themes/bootstrap/_nav.scss +2 -0
  115. package/themes/bootstrap/_navbar.scss +2 -0
  116. package/themes/bootstrap/_offcanvas.scss +2 -0
  117. package/themes/bootstrap/_overrides-color.scss +45 -0
  118. package/themes/bootstrap/_overrides-features.scss +18 -0
  119. package/themes/bootstrap/_overrides-variables.scss +40 -0
  120. package/themes/bootstrap/_overrides.scss +5 -0
  121. package/themes/bootstrap/_pagination.scss +2 -0
  122. package/themes/bootstrap/_popover.scss +2 -0
  123. package/themes/bootstrap/_progress.scss +2 -0
  124. package/themes/bootstrap/_reboot.scss +2 -0
  125. package/themes/bootstrap/_root.scss +2 -0
  126. package/themes/bootstrap/_spinners.scss +2 -0
  127. package/themes/bootstrap/_tables.scss +2 -0
  128. package/themes/bootstrap/_toasts.scss +2 -0
  129. package/themes/bootstrap/_tooltip.scss +2 -0
  130. package/themes/bootstrap/_transitions.scss +2 -0
  131. package/themes/bootstrap/_type.scss +6 -0
  132. package/themes/bootstrap/_utilities.scss +9 -0
  133. package/themes/bootstrap/forms/_floating-labels.scss +2 -0
  134. package/themes/bootstrap/forms/_form-check.scss +2 -0
  135. package/themes/bootstrap/forms/_form-control.scss +2 -0
  136. package/themes/bootstrap/forms/_form-range.scss +2 -0
  137. package/themes/bootstrap/forms/_form-select.scss +2 -0
  138. package/themes/bootstrap/forms/_form-text.scss +2 -0
  139. package/themes/bootstrap/forms/_input-group.scss +2 -0
  140. package/themes/bootstrap/forms/_labels.scss +2 -0
  141. package/themes/bootstrap/forms/_validation.scss +2 -0
  142. package/variables/_animation.scss +36 -0
  143. package/variables/_breakpoints.scss +9 -0
  144. package/variables/_color.scss +119 -0
  145. package/variables/_commons.scss +56 -0
  146. package/variables/_grid.scss +27 -0
  147. package/variables/_icons.scss +4600 -0
  148. package/variables/_index.scss +14 -0
  149. package/variables/_options.scss +5 -0
  150. package/variables/_spacing.scss +181 -0
  151. package/variables/_type.scss +204 -0
  152. package/variables/components/_accordion.scss +38 -0
  153. package/variables/components/_alert.scss +51 -0
  154. package/variables/components/_badge.scss +44 -0
  155. package/variables/components/_breadcrumbs.scss +21 -0
  156. package/variables/components/_button.scss +137 -0
  157. package/variables/components/_card.scss +30 -0
  158. package/variables/components/_carousel.scss +27 -0
  159. package/variables/components/_close.scss +19 -0
  160. package/variables/components/_code.scss +14 -0
  161. package/variables/components/_datatable.scss +53 -0
  162. package/variables/components/_datepicker.scss +22 -0
  163. package/variables/components/_detail-summary.scss +12 -0
  164. package/variables/components/_dropdowns.scss +30 -0
  165. package/variables/components/_figures.scss +6 -0
  166. package/variables/components/_form-check.scss +63 -0
  167. package/variables/components/_form-feedback.scss +25 -0
  168. package/variables/components/_form-select.scss +13 -0
  169. package/variables/components/_form-switch.scss +38 -0
  170. package/variables/components/_forms.scss +129 -0
  171. package/variables/components/_index.scss +30 -0
  172. package/variables/components/_intranet-header.scss +9 -0
  173. package/variables/components/_list-group.scss +29 -0
  174. package/variables/components/_modals.scss +68 -0
  175. package/variables/components/_nav.scss +55 -0
  176. package/variables/components/_navbar.scss +44 -0
  177. package/variables/components/_pagination.scss +42 -0
  178. package/variables/components/_paragraph.scss +6 -0
  179. package/variables/components/_popovers.scss +28 -0
  180. package/variables/components/_progress-bars.scss +16 -0
  181. package/variables/components/_spinners.scss +16 -0
  182. package/variables/components/_stepper.scss +36 -0
  183. package/variables/components/_subnavigation.scss +32 -0
  184. package/variables/components/_tables.scss +39 -0
  185. package/variables/components/_thumbnails.scss +11 -0
  186. package/variables/components/_toasts.scss +18 -0
  187. package/variables/components/_tooltips.scss +18 -0
  188. 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,6 @@
1
+ // Paragraphs
2
+ //
3
+ // Style p element.
4
+
5
+ $paragraph-margin-bottom: 0.8em !default;
6
+ $text-bottom-space: 0.8em !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
+ );