@castlabs/ui 7.1.0 → 7.2.0

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 (102) hide show
  1. package/README.md +5 -21
  2. package/dist/castlabs-ui.common.js +1 -1
  3. package/dist/castlabs-ui.common.js.map +1 -1
  4. package/dist/castlabs-ui.css +7 -7
  5. package/dist/castlabs-ui.umd.js +11 -11
  6. package/dist/castlabs-ui.umd.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/components/ClAlert/style.scss +2 -0
  9. package/src/components/ClBadge/style.scss +2 -1
  10. package/src/components/ClBadge/style.variables.scss +2 -0
  11. package/src/components/ClBlockquote/style.scss +13 -0
  12. package/src/components/ClBlockquote/style.variables.scss +15 -0
  13. package/src/components/ClButton/style.scss +3 -1
  14. package/src/components/ClCard/style.scss +2 -1
  15. package/src/components/ClCard/style.variables.scss +2 -0
  16. package/src/components/ClDropdown/style.scss +2 -0
  17. package/src/components/ClDropzone/style.scss +2 -0
  18. package/src/components/ClFooter/style.scss +2 -0
  19. package/src/components/ClHighlight/style.scss +2 -0
  20. package/src/components/ClIcon/style.scss +2 -6
  21. package/src/components/ClIconotron/style.scss +2 -0
  22. package/src/components/ClList/style.scss +3 -2
  23. package/src/components/ClList/style.variables.scss +3 -3
  24. package/src/components/ClListGroup/style.scss +3 -1
  25. package/src/components/ClPagination/style.scss +3 -1
  26. package/src/components/ClProgress/style.scss +7 -1
  27. package/src/components/ClScrollbar/style.scss +2 -1
  28. package/src/components/ClSpinner/style.scss +2 -0
  29. package/src/components/ClTabs/style.scss +2 -0
  30. package/src/components/ClToggle/style.scss +2 -0
  31. package/src/components/ClTooltip/style.scss +3 -1
  32. package/src/components/ClWizard/style.scss +2 -0
  33. package/src/components/form/ClField/style.scss +2 -0
  34. package/src/components/form/ClFieldCheck/style.scss +6 -2
  35. package/src/components/form/ClFieldFile/style.scss +2 -0
  36. package/src/components/form/ClFieldGroup/style.scss +2 -0
  37. package/src/components/form/ClFieldInput/style.scss +2 -0
  38. package/src/components/form/ClFieldSelect/style.scss +7 -3
  39. package/src/components/form/ClFieldSet/style.scss +2 -0
  40. package/src/components/form/ClForm/style.scss +2 -0
  41. package/src/components/modal/ClModal/style.scss +3 -0
  42. package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +1 -0
  43. package/src/components/navigation/ClNavSide/ClNavSideMenu/style.scss +2 -0
  44. package/src/components/navigation/ClNavSide/style.scss +1 -4
  45. package/src/components/navigation/ClNavTop/style.scss +6 -4
  46. package/src/components/section/ClSectionForm/style.scss +2 -0
  47. package/src/components/section/ClSectionHeadline/style.scss +2 -0
  48. package/src/components/section/ClSectionMainSide/style.scss +2 -0
  49. package/src/components/table/ClTable/style.scss +2 -1
  50. package/src/components/table/ClTable/style.variables.scss +3 -2
  51. package/src/components/table/ClTableCel/Actions/style.scss +3 -1
  52. package/src/components/table/ClTableCel/Audit/style.scss +4 -2
  53. package/src/components/table/ClTableCel/Boolean/style.scss +3 -1
  54. package/src/components/table/ClTableCel/Checkbox/style.scss +2 -0
  55. package/src/components/table/ClTableCel/Code/style.scss +4 -1
  56. package/src/components/table/ClTableCel/Currency/style.scss +3 -1
  57. package/src/components/table/ClTableCel/Date/style.scss +3 -1
  58. package/src/components/table/ClTableCel/ID/style.scss +4 -1
  59. package/src/components/table/ClTableCel/Links/style.scss +4 -2
  60. package/src/components/table/ClTableCel/style.scss +2 -1
  61. package/src/components/table/ClTableCel/style.variables.scss +3 -0
  62. package/src/components/table/ClTableFootChecked/style.scss +2 -0
  63. package/src/components/table/ClTableHead/style.scss +3 -1
  64. package/src/components/text/ClCopy/style.scss +2 -0
  65. package/src/components/text/ClHashtag/style.scss +3 -0
  66. package/src/components/text/ClLinkExternal/style.scss +2 -0
  67. package/src/components/text/ClOrg/style.scss +2 -0
  68. package/src/components/text/ClPlan/style.scss +3 -0
  69. package/src/components/text/ClRole/style.scss +3 -0
  70. package/src/components/widget/ClBackCancelOk/style.scss +2 -0
  71. package/src/components/widget/ClCookieBanner/style.scss +2 -0
  72. package/src/components/widget/ClPage/style.scss +2 -0
  73. package/src/fonts/DMMono/DMMono.scss +8 -6
  74. package/src/fonts/FontAwesome5/FontAwesome5.scss +5 -3
  75. package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +5 -3
  76. package/src/styles/_global.scss +12 -51
  77. package/src/styles/abstracts/app.scss +23 -0
  78. package/src/styles/{components/button.variables.scss → abstracts/button.scss} +5 -9
  79. package/src/styles/abstracts/color.scss +11 -0
  80. package/src/styles/{assets/fontawesome.variables.scss → abstracts/fontawesome.scss} +3 -0
  81. package/src/styles/{components/form.variables.scss → abstracts/form.scss} +6 -0
  82. package/src/styles/{layout/grid.variables.scss → abstracts/grid.scss} +8 -1
  83. package/src/styles/abstracts/responsive.scss +84 -0
  84. package/src/styles/abstracts/spacing.scss +51 -0
  85. package/src/styles/abstracts/tools.scss +6 -0
  86. package/src/styles/{layout/typography.variables.scss → abstracts/typography.scss} +18 -11
  87. package/src/styles/assets/fontawesome.scss +4 -2
  88. package/src/styles/assets/logo.scss +6 -2
  89. package/src/styles/layout/animation.scss +2 -0
  90. package/src/styles/layout/app.scss +2 -0
  91. package/src/styles/layout/color.scss +2 -0
  92. package/src/styles/layout/grid.scss +3 -4
  93. package/src/styles/layout/helper.scss +3 -0
  94. package/src/styles/layout/scrollbar.scss +2 -0
  95. package/src/styles/layout/section.scss +1 -9
  96. package/src/styles/layout/spacing.scss +3 -4
  97. package/src/styles/layout/typography.scss +13 -12
  98. package/src/styles/ui.scss +88 -77
  99. package/src/styles/vendors/bootstrap.scss +19 -19
  100. package/src/styles/abstracts/brand.scss +0 -9
  101. package/src/styles/abstracts/layer.scss +0 -10
  102. package/src/styles/vendors/castlabs.scss +0 -17
@@ -5,6 +5,12 @@
5
5
 
6
6
  // This file defines our basic typography rules.
7
7
 
8
+ @use './app' as *;
9
+ @use './color' as *;
10
+ @use './spacing' as *;
11
+ @use './tools' as *;
12
+ @use 'sass:meta';
13
+
8
14
  // h1 (deco): 100
9
15
  // h2 48
10
16
  // h3 40
@@ -184,7 +190,7 @@ $typography-responsive-scale: 0.8;
184
190
  @include cl-btn-a(34);
185
191
  }
186
192
 
187
- @if mixin-exists('media-breakpoint-only') {
193
+ @if meta.mixin-exists('media-breakpoint-only') {
188
194
  // we might be used without bootstrap
189
195
  @include media-breakpoint-only(xs) {
190
196
  @include typography-font(
@@ -221,7 +227,7 @@ $typography-responsive-scale: 0.8;
221
227
  @include cl-btn-a(34);
222
228
  }
223
229
 
224
- @if mixin-exists('media-breakpoint-only') {
230
+ @if meta.mixin-exists('media-breakpoint-only') {
225
231
  // we might be used without bootstrap
226
232
  @include media-breakpoint-only(xs) {
227
233
  @include typography-font(
@@ -258,7 +264,7 @@ $typography-responsive-scale: 0.8;
258
264
  @include cl-btn-a(27);
259
265
  }
260
266
 
261
- @if mixin-exists('media-breakpoint-only') {
267
+ @if meta.mixin-exists('media-breakpoint-only') {
262
268
  // we might be used without bootstrap
263
269
  @include media-breakpoint-only(xs) {
264
270
  @include typography-font(
@@ -296,7 +302,7 @@ $typography-responsive-scale: 0.8;
296
302
  @include cl-btn-a(21);
297
303
  }
298
304
 
299
- @if mixin-exists('media-breakpoint-only') {
305
+ @if meta.mixin-exists('media-breakpoint-only') {
300
306
  // we might be used without bootstrap
301
307
  @include media-breakpoint-only(xs) {
302
308
  @include typography-font(
@@ -323,7 +329,7 @@ $typography-responsive-scale: 0.8;
323
329
  -0.1em
324
330
  );
325
331
 
326
- @if mixin-exists('media-breakpoint-only') {
332
+ @if meta.mixin-exists('media-breakpoint-only') {
327
333
  // we might be used without bootstrap
328
334
  @include media-breakpoint-only(xs) {
329
335
  @include typography-font(
@@ -350,7 +356,7 @@ $typography-responsive-scale: 0.8;
350
356
  -0.1em
351
357
  );
352
358
 
353
- @if mixin-exists('media-breakpoint-only') {
359
+ @if meta.mixin-exists('media-breakpoint-only') {
354
360
  // we might be used without bootstrap
355
361
  @include media-breakpoint-only(xs) {
356
362
  @include typography-font(
@@ -377,7 +383,7 @@ $typography-responsive-scale: 0.8;
377
383
  -0.1em
378
384
  );
379
385
 
380
- @if mixin-exists('media-breakpoint-only') {
386
+ @if meta.mixin-exists('media-breakpoint-only') {
381
387
  // we might be used without bootstrap
382
388
  @include media-breakpoint-only(xs) {
383
389
  @include typography-font(
@@ -404,7 +410,7 @@ $typography-responsive-scale: 0.8;
404
410
  -0.1em
405
411
  );
406
412
 
407
- @if mixin-exists('media-breakpoint-only') {
413
+ @if meta.mixin-exists('media-breakpoint-only') {
408
414
  // we might be used without bootstrap
409
415
  @include media-breakpoint-only(xs) {
410
416
  @include typography-font(
@@ -431,8 +437,9 @@ $typography-responsive-scale: 0.8;
431
437
  @extend %cl-p-medium;
432
438
 
433
439
  font-size: px(16);
440
+ font-weight: 500;
434
441
 
435
- @if mixin-exists('media-breakpoint-only') {
442
+ @if meta.mixin-exists('media-breakpoint-only') {
436
443
  // we might be used without bootstrap
437
444
  @include media-breakpoint-only(xs) {
438
445
  font-size: px(16 * $typography-responsive-scale);
@@ -454,12 +461,12 @@ $typography-responsive-scale: 0.8;
454
461
 
455
462
  border: $brand-line-width solid var(--cl-color-text);
456
463
  border-radius: $brand-border-radius;
457
- clip-path: inset(0 round 19px);
464
+ clip-path: inset(0 round 20px);
458
465
  font-size: px(16);
459
466
  line-height: 1.4;
460
467
  margin-top: $spacing-small;
461
468
  padding: $spacing-small;
462
- padding-bottom: 1.01rem; // fix for overlapping scrollbar
469
+ padding-bottom: 0.95rem; // fix for overlapping scrollbar/clip
463
470
  }
464
471
 
465
472
  %cl-p-tag {
@@ -1,2 +1,4 @@
1
- @import '../../fonts/FontAwesome5/FontAwesome5';
2
- @import './fontawesome.variables';
1
+ $cl-folder-prefix: '@' !default;
2
+ @use '../../fonts/FontAwesome5/FontAwesome5' with (
3
+ $cl-folder-prefix: $cl-folder-prefix
4
+ );
@@ -3,9 +3,13 @@
3
3
  /// @access public
4
4
  ////
5
5
 
6
+ @use '../global' as *;
7
+
8
+ $cl-folder-prefix: '@' !default;
9
+
6
10
  .cl-asset-logo,
7
11
  .cl-asset-logo-night {
8
- background-image: url('#{$castlabs-ui-asset-prefix}/assets/castlabs-logo.svg?no-inline');
12
+ background-image: url('#{$cl-folder-prefix}/assets/castlabs-logo.svg?no-inline');
9
13
  background-position: center;
10
14
  background-repeat: no-repeat;
11
15
  background-size: contain;
@@ -18,7 +22,7 @@
18
22
  }
19
23
 
20
24
  .cl-asset-logo-eggshell {
21
- background-image: url('#{$castlabs-ui-asset-prefix}/assets/castlabs-logo-eggshell.svg?no-inline');
25
+ background-image: url('#{$cl-folder-prefix}/assets/castlabs-logo-eggshell.svg?no-inline');
22
26
  background-position: center;
23
27
  background-repeat: no-repeat;
24
28
  background-size: contain;
@@ -3,6 +3,8 @@
3
3
  /// @access public
4
4
  ////
5
5
 
6
+ @use '../global' as *;
7
+
6
8
  // This file defines animations and transitions used in this app.
7
9
 
8
10
  // --- flash up text, e.g. after copy ------------------------------------------
@@ -5,6 +5,8 @@
5
5
 
6
6
  // This file defines classes most of our app will need for landing page handling
7
7
 
8
+ @use '../global' as *;
9
+
8
10
  .cl-app {
9
11
  height: 100%;
10
12
  }
@@ -5,6 +5,8 @@
5
5
 
6
6
  // Basic/generic color classes.
7
7
 
8
+ @use '../global' as *;
9
+
8
10
  // note: order of selectors in this file are important. do not move colors around or
9
11
  // .cl-color-* overrides might not work
10
12
 
@@ -5,8 +5,9 @@
5
5
 
6
6
  // This file defines our page grid. It is mostly based on bootstrap but with a few tweaks.
7
7
 
8
- @import 'bootstrap/scss/bootstrap-grid';
9
- @import 'grid.variables';
8
+ @use '../global' as *;
9
+
10
+ // hint: see also vendors/bootstrap.scss for the actual Bootstrap imports
10
11
 
11
12
  // bootstrap uses a narrow container for sm, but we prefer full-width instead
12
13
  @include media-breakpoint-only(sm) {
@@ -72,8 +73,6 @@
72
73
 
73
74
  // -----------------------------------------------------------------------------
74
75
 
75
- $grid-spacing: $spacing-small;
76
-
77
76
  section {
78
77
  padding-bottom: $spacing-small;
79
78
  padding-top: 0; // first element usually will add the rest.
@@ -5,6 +5,9 @@
5
5
 
6
6
  // This file defines various helper classes for easy css style access.
7
7
 
8
+ @use '../global' as *;
9
+ @use 'sass:math';
10
+
8
11
  .cl-nowrap {
9
12
  text-wrap: nowrap;
10
13
  }
@@ -5,6 +5,8 @@
5
5
 
6
6
  // This file defines tweaks scrollbars for rounded boxes and uses our CI colors.
7
7
 
8
+ @use '../global' as *;
9
+
8
10
  main,
9
11
  .cl-section {
10
12
  scrollbar-color: $color-ci-clay transparent;
@@ -5,15 +5,7 @@
5
5
 
6
6
  // This file defines how we structure pages with <section class="cl-section">s.
7
7
 
8
- %section-padding {
9
- padding-left: $spacing-tiny;
10
- padding-right: $spacing-tiny;
11
-
12
- @include media-breakpoint-up(sm) {
13
- padding-left: $spacing-medium;
14
- padding-right: $spacing-medium;
15
- }
16
- }
8
+ @use '../global' as *;
17
9
 
18
10
  .cl-section {
19
11
  @extend %section-padding;
@@ -5,6 +5,8 @@
5
5
 
6
6
  // This file contains spacing elements and helpers.
7
7
 
8
+ @use '../global' as *;
9
+
8
10
  // We move all margins to the top of entities. This makes it soo much easier
9
11
  // to use the + selector for fine-tuning situation specific spacings later on.
10
12
 
@@ -123,11 +125,8 @@ main {
123
125
  }
124
126
 
125
127
  // remove margins for divs in certain flexbox variants
126
- %cl-grid-flex-centered,
127
128
  .cl-grid-flex-centered {
128
- > * {
129
- @include spacing-before(0);
130
- }
129
+ @extend %cl-grid-flex-centered;
131
130
  }
132
131
 
133
132
  // -----------------------------------------------------------------------------
@@ -5,15 +5,21 @@
5
5
 
6
6
  // This file defines our basic typography rules.
7
7
 
8
- @import 'typography.variables';
8
+ $cl-folder-prefix: '@' !default;
9
+
10
+ @use '../global' as *;
9
11
 
10
12
  // conditionally import fonts so themes can omit them
11
- @import '../../fonts/DMMono/DMMono';
12
- @import '../../fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap';
13
+ @use '../../fonts/DMMono/DMMono' with (
14
+ $cl-folder-prefix: $cl-folder-prefix
15
+ );
16
+ @use '../../fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap' with (
17
+ $cl-folder-prefix: $cl-folder-prefix
18
+ );
13
19
  $castlabs-ui-fonts: true !default;
14
20
  @if $castlabs-ui-fonts {
15
- @include NonNaturalGroteskInktrap;
16
- @include DMMono;
21
+ @include NonNaturalGroteskInktrap.NonNaturalGroteskInktrap;
22
+ @include DMMono.DMMono;
17
23
  }
18
24
 
19
25
  // --- text --------------------------------------------------------------------
@@ -215,16 +221,11 @@ main {
215
221
 
216
222
  // --- block quotes ----------------------------------------------------------
217
223
 
218
- blockquote {
219
- @include cl-accent;
220
-
221
- border-left: $bar-ui-width solid var(--cl-color-accent);
222
- padding-left: calc($list-indent - $bar-ui-width);
223
- }
224
+ // see ClBlockquote
224
225
 
225
226
  // --- lists -------------------------------------------------------------------
226
227
 
227
- // see Lists.scss
228
+ // see ClList
228
229
  }
229
230
 
230
231
  // --- ruler -------------------------------------------------------------------
@@ -4,90 +4,101 @@
4
4
  ////
5
5
 
6
6
  // This file is the root for this lib's stylesheet and will include all others.
7
+ // It is not to be used in Vue.js projects, but any other web frameworks that
8
+ // want to pull in our styles via a .scss file.
7
9
 
8
- // Hint: Component-specific rules go into the vue components folders impored below.
10
+ $castlabs-ui-asset-prefix: '.' !default;
9
11
 
10
- @use 'sass:math';
12
+ @use 'vendors/bootstrap'; // must go first
11
13
 
12
- $castlabs-ui-asset-prefix: '..' !default;
14
+ @use 'layout/animation';
15
+ @use 'layout/app';
16
+ @use 'layout/color';
17
+ @use 'layout/grid';
18
+ @use 'layout/helper';
19
+ @use 'layout/scrollbar';
20
+ @use 'layout/section';
21
+ @use 'layout/spacing';
22
+ @use 'layout/typography' with (
23
+ $cl-folder-prefix: $castlabs-ui-asset-prefix
24
+ );
13
25
 
14
- @import 'bootstrap/scss/bootstrap-reboot';
15
- @import 'bootstrap/scss/helpers/ratio';
16
- @import 'assets/logo';
17
- @import 'assets/fontawesome';
18
- @import 'global';
26
+ @use 'assets/logo' with (
27
+ $cl-folder-prefix: $castlabs-ui-asset-prefix
28
+ );
29
+ @use 'assets/fontawesome' with (
30
+ $cl-folder-prefix: $castlabs-ui-asset-prefix
31
+ );
19
32
 
20
- @import 'layout/animation';
21
- @import 'layout/app';
22
- @import 'layout/color';
23
- @import 'layout/grid';
24
- @import 'layout/helper';
25
- @import 'layout/scrollbar';
26
- @import 'layout/section';
27
- @import 'layout/spacing';
28
- @import 'layout/typography';
33
+ @use '../components/ClAlert/style' as *;
34
+ @use '../components/ClBadge/style' as *;
35
+ @use '../components/ClBlockquote/style' as *;
36
+ @use '../components/ClButton/style' as *;
37
+ @use '../components/ClCard/style' as *;
38
+ @use '../components/ClDropdown/style' as *;
39
+ @use '../components/ClDropzone/style' as *;
40
+ @use '../components/ClFooter/style' as *;
41
+ @use '../components/ClHighlight/style' as *;
42
+ @use '../components/ClIcon/style' as *;
43
+ @use '../components/ClIconotron/style' as *;
44
+ @use '../components/ClList/style' as *;
45
+ @use '../components/ClListGroup/style' as *;
46
+ @use '../components/ClPagination/style' as *;
47
+ @use '../components/ClProgress/style' as *;
48
+ @use '../components/ClScrollbar/style' as *;
49
+ @use '../components/ClSpinner/style' as *;
50
+ @use '../components/ClTabs/style' as *;
51
+ @use '../components/ClToggle/style' as *;
52
+ @use '../components/ClTooltip/style' as *;
53
+ @use '../components/ClWizard/style' as *;
54
+ @use '../components/form/ClField/style' as *;
55
+ @use '../components/form/ClFieldCheck/style' as * with (
56
+ $cl-folder-prefix: $castlabs-ui-asset-prefix
57
+ );
58
+ @use '../components/form/ClFieldFile/style' as *;
59
+ @use '../components/form/ClFieldGroup/style' as *;
60
+ @use '../components/form/ClFieldInput/style' as *;
61
+ @use '../components/form/ClFieldSelect/style' as *;
62
+ @use '../components/form/ClFieldSet/style' as *;
63
+ @use '../components/form/ClForm/style' as *;
64
+ @use '../components/modal/ClModal/style' as *;
65
+ @use '../components/navigation/ClNavSide/ClNavDrawer/style' as *;
66
+ @use '../components/navigation/ClNavSide/ClNavSideMenu/style' as *;
67
+ @use '../components/navigation/ClNavSide/style' as *;
68
+ @use '../components/navigation/ClNavTop/style' as *;
69
+ @use '../components/section/ClSectionForm/style' as *;
70
+ @use '../components/section/ClSectionHeadline/style' as *;
71
+ @use '../components/section/ClSectionMainSide/style' as *;
72
+ @use '../components/table/ClTable/style' as *;
73
+ @use '../components/table/ClTableCel/Actions/style' as *;
74
+ @use '../components/table/ClTableCel/Audit/style' as *;
75
+ @use '../components/table/ClTableCel/Boolean/style' as *;
76
+ @use '../components/table/ClTableCel/Checkbox/style' as *;
77
+ @use '../components/table/ClTableCel/Code/style' as *;
78
+ @use '../components/table/ClTableCel/Currency/style' as *;
79
+ @use '../components/table/ClTableCel/Date/style' as *;
80
+ @use '../components/table/ClTableCel/ID/style' as *;
81
+ @use '../components/table/ClTableCel/Links/style' as *;
82
+ @use '../components/table/ClTableCel/style' as *;
83
+ @use '../components/table/ClTableFootChecked/style' as *;
84
+ @use '../components/table/ClTableHead/style' as *;
85
+ @use '../components/text/ClCopy/style' as *;
86
+ @use '../components/text/ClHashtag/style' as *;
87
+ @use '../components/text/ClLinkExternal/style' as *;
88
+ @use '../components/text/ClOrg/style' as *;
89
+ @use '../components/text/ClPlan/style' as *;
90
+ @use '../components/text/ClRole/style' as *;
91
+ @use '../components/widget/ClBackCancelOk/style' as *;
92
+ @use '../components/widget/ClCookieBanner/style' as *;
93
+ @use '../components/widget/ClPage/style' as *;
29
94
 
30
- // Vue components
31
- @import '../components/ClAlert/style';
32
- @import '../components/ClBadge/style';
33
- @import '../components/ClButton/style';
34
- @import '../components/ClCard/style';
35
- @import '../components/ClDropdown/style';
36
- @import '../components/ClDropzone/style';
37
- @import '../components/ClFooter/style';
38
- @import '../components/ClHighlight/style';
39
- @import '../components/ClIcon/style';
40
- @import '../components/ClIconotron/style';
41
- @import '../components/ClList/style';
42
- @import '../components/ClListGroup/style';
43
- @import '../components/ClPagination/style';
44
- @import '../components/ClProgress/style';
45
- @import '../components/ClScrollbar/style';
46
- @import '../components/ClSpinner/style';
47
- @import '../components/ClTabs/style';
48
- @import '../components/ClToggle/style';
49
- @import '../components/ClTooltip/style';
50
- @import '../components/ClWizard/style';
51
- @import '../components/form/ClField/style';
52
- @import '../components/form/ClFieldCheck/style';
53
- @import '../components/form/ClFieldFile/style';
54
- @import '../components/form/ClFieldGroup/style';
55
- @import '../components/form/ClFieldInput/style';
56
- @import '../components/form/ClFieldSelect/style';
57
- @import '../components/form/ClFieldSet/style';
58
- @import '../components/form/ClForm/style';
59
- @import '../components/modal/ClModal/style';
60
- @import '../components/navigation/ClNavSide/ClNavDrawer/style';
61
- @import '../components/navigation/ClNavSide/ClNavSideMenu/style';
62
- @import '../components/navigation/ClNavSide/style';
63
- @import '../components/navigation/ClNavTop/style';
64
- @import '../components/section/ClSectionForm/style';
65
- @import '../components/section/ClSectionHeadline/style';
66
- @import '../components/section/ClSectionMainSide/style';
67
- @import '../components/table/ClTable/style';
68
- @import '../components/table/ClTableCel/Actions/style';
69
- @import '../components/table/ClTableCel/Audit/style';
70
- @import '../components/table/ClTableCel/Boolean/style';
71
- @import '../components/table/ClTableCel/Checkbox/style';
72
- @import '../components/table/ClTableCel/Code/style';
73
- @import '../components/table/ClTableCel/Currency/style';
74
- @import '../components/table/ClTableCel/Date/style';
75
- @import '../components/table/ClTableCel/ID/style';
76
- @import '../components/table/ClTableCel/Links/style';
77
- @import '../components/table/ClTableCel/style';
78
- @import '../components/table/ClTableFootChecked/style';
79
- @import '../components/table/ClTableHead/style';
80
- @import '../components/text/ClCopy/style';
81
- @import '../components/text/ClHashtag/style';
82
- @import '../components/text/ClLinkExternal/style';
83
- @import '../components/text/ClOrg/style';
84
- @import '../components/text/ClPlan/style';
85
- @import '../components/text/ClRole/style';
86
- @import '../components/widget/ClBackCancelOk/style';
87
- @import '../components/widget/ClCookieBanner/style';
88
- @import '../components/widget/ClPage/style';
95
+ html {
96
+ font-size: 16px; // root font size
97
+ }
89
98
 
90
- // --- globals -----------------------------------------------------------------
99
+ body {
100
+ font-size: 20px;
101
+ }
91
102
 
92
103
  .cl-hidden {
93
104
  visibility: hidden;
@@ -3,26 +3,26 @@
3
3
  /// @access public
4
4
  ////
5
5
 
6
- // This file will define/override variables used by bootstrap to customize it
7
- // to our needs.
6
+ // This file includes our (partial) bootstrap & fixes.
7
+ // Boottrap 5.x isnt @use-ready yet, we have to fallback to imports:
8
8
 
9
- $primary: $color-ci-red;
9
+ // hint: see also abstracts/grid.scss for some bootstrap fallback code
10
10
 
11
- $border-radius: 3px;
12
- $border-radius-sm: $border-radius;
13
- $border-radius-lg: $border-radius;
11
+ @import 'bootstrap/scss/bootstrap-reboot';
14
12
 
15
- $btn-focus-width: px(2);
13
+ p {
14
+ margin-bottom: 0;
15
+ }
16
16
 
17
- $input-btn-focus-color: $color-ci-sky;
18
-
19
- $transition-base: all 0.1s ease-in-out;
20
-
21
- $grid-breakpoints: (
22
- xs: 0,
23
- sm: 576px,
24
- md: 768px,
25
- lg: 992px,
26
- xl: 1200px,
27
- xxl: 1400px
28
- );
17
+ @import 'bootstrap/scss/bootstrap-grid';
18
+ @import 'bootstrap/scss/buttons';
19
+ @import 'bootstrap/scss/dropdown';
20
+ @import 'bootstrap/scss/forms/form-check';
21
+ @import 'bootstrap/scss/forms/form-select';
22
+ @import 'bootstrap/scss/helpers/ratio';
23
+ @import 'bootstrap/scss/list-group';
24
+ @import 'bootstrap/scss/nav';
25
+ @import 'bootstrap/scss/navbar';
26
+ @import 'bootstrap/scss/pagination';
27
+ @import 'bootstrap/scss/tooltip';
28
+ @import 'bootstrap/scss/transitions';
@@ -1,9 +0,0 @@
1
- ////
2
- /// @group themes
3
- /// @access public
4
- ////
5
-
6
- // global brand settings/values
7
-
8
- $brand-border-radius: px(20);
9
- $brand-line-width: px(1);
@@ -1,10 +0,0 @@
1
- ////
2
- /// @group themes
3
- /// @access public
4
- ////
5
-
6
- // Layering / z-index of app
7
-
8
- $layer-z-modal: 2000;
9
- $layer-z-sidenav: 1000;
10
- $layer-z-content: 0;
@@ -1,17 +0,0 @@
1
- .cl-theme-v2 {
2
- .cl-section-primary.cl-section-tight {
3
- background-color: $color-ci-eggshell;
4
-
5
- h1 {
6
- color: $color-ci-night;
7
- }
8
- }
9
-
10
- .cl-nav-top {
11
- border-bottom: $brand-line-width solid $color-ci-red;
12
-
13
- .col-12 {
14
- height: calc(3rem - $brand-line-width) !important; // sass-lint:disable-line no-important
15
- }
16
- }
17
- }