@castlabs/ui 7.0.11 → 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.
- package/README.md +5 -21
- package/dist/castlabs-ui.common.js +3 -3
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.css +7 -7
- package/dist/castlabs-ui.umd.js +11 -11
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ClAlert/style.scss +2 -0
- package/src/components/ClBadge/style.scss +2 -1
- package/src/components/ClBadge/style.variables.scss +2 -1
- package/src/components/ClBlockquote/style.scss +13 -0
- package/src/components/ClBlockquote/style.variables.scss +15 -0
- package/src/components/ClButton/style.scss +4 -3
- package/src/components/ClCard/style.scss +2 -1
- package/src/components/ClCard/style.variables.scss +3 -2
- package/src/components/ClDropdown/style.scss +2 -0
- package/src/components/ClDropzone/style.scss +2 -0
- package/src/components/ClFooter/style.scss +2 -0
- package/src/components/ClHighlight/style.scss +2 -0
- package/src/components/ClIcon/style.scss +2 -6
- package/src/components/ClIconotron/style.scss +2 -0
- package/src/components/ClList/style.scss +7 -2
- package/src/components/ClList/style.variables.scss +23 -3
- package/src/components/ClListGroup/style.scss +3 -1
- package/src/components/ClPagination/style.scss +3 -1
- package/src/components/ClProgress/style.scss +7 -1
- package/src/components/ClScrollbar/style.scss +2 -1
- package/src/components/ClSpinner/style.scss +2 -0
- package/src/components/ClTabs/style.scss +2 -0
- package/src/components/ClToggle/style.scss +2 -0
- package/src/components/ClTooltip/style.scss +3 -1
- package/src/components/ClWizard/style.scss +2 -0
- package/src/components/form/ClField/style.scss +2 -0
- package/src/components/form/ClFieldCheck/style.scss +6 -2
- package/src/components/form/ClFieldFile/style.scss +2 -0
- package/src/components/form/ClFieldGroup/style.scss +2 -0
- package/src/components/form/ClFieldInput/style.scss +2 -0
- package/src/components/form/ClFieldSelect/style.scss +7 -3
- package/src/components/form/ClFieldSet/style.scss +2 -0
- package/src/components/form/ClForm/style.scss +2 -0
- package/src/components/modal/ClModal/style.scss +3 -0
- package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +1 -0
- package/src/components/navigation/ClNavSide/ClNavSideMenu/style.scss +2 -0
- package/src/components/navigation/ClNavSide/style.scss +1 -4
- package/src/components/navigation/ClNavTop/style.scss +6 -4
- package/src/components/section/ClSectionForm/style.scss +2 -0
- package/src/components/section/ClSectionHeadline/style.scss +2 -0
- package/src/components/section/ClSectionMainSide/style.scss +2 -0
- package/src/components/table/ClTable/style.scss +2 -1
- package/src/components/table/ClTable/style.variables.scss +3 -2
- package/src/components/table/ClTableCel/Actions/style.scss +3 -1
- package/src/components/table/ClTableCel/Audit/style.scss +4 -2
- package/src/components/table/ClTableCel/Boolean/style.scss +3 -1
- package/src/components/table/ClTableCel/Checkbox/style.scss +2 -0
- package/src/components/table/ClTableCel/Code/style.scss +4 -1
- package/src/components/table/ClTableCel/Currency/style.scss +3 -1
- package/src/components/table/ClTableCel/Date/style.scss +3 -1
- package/src/components/table/ClTableCel/ID/style.scss +4 -1
- package/src/components/table/ClTableCel/Links/style.scss +4 -2
- package/src/components/table/ClTableCel/style.scss +2 -1
- package/src/components/table/ClTableCel/style.variables.scss +3 -0
- package/src/components/table/ClTableFootChecked/style.scss +2 -0
- package/src/components/table/ClTableHead/style.scss +3 -1
- package/src/components/text/ClCopy/style.scss +2 -0
- package/src/components/text/ClHashtag/style.scss +3 -0
- package/src/components/text/ClLinkExternal/style.scss +2 -0
- package/src/components/text/ClOrg/style.scss +2 -0
- package/src/components/text/ClPlan/style.scss +3 -0
- package/src/components/text/ClRole/style.scss +3 -0
- package/src/components/widget/ClBackCancelOk/style.scss +2 -0
- package/src/components/widget/ClCookieBanner/style.scss +2 -0
- package/src/components/widget/ClPage/style.scss +2 -0
- package/src/fonts/DMMono/DMMono.scss +8 -6
- package/src/fonts/FontAwesome5/FontAwesome5.scss +5 -3
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +5 -3
- package/src/styles/_global.scss +12 -51
- package/src/styles/abstracts/app.scss +23 -0
- package/src/styles/{components/button.variables.scss → abstracts/button.scss} +6 -11
- package/src/styles/abstracts/color.scss +11 -0
- package/src/styles/{assets/fontawesome.variables.scss → abstracts/fontawesome.scss} +3 -0
- package/src/styles/{components/form.variables.scss → abstracts/form.scss} +6 -0
- package/src/styles/{layout/grid.variables.scss → abstracts/grid.scss} +8 -1
- package/src/styles/abstracts/responsive.scss +84 -0
- package/src/styles/abstracts/spacing.scss +51 -0
- package/src/styles/abstracts/tools.scss +6 -0
- package/src/styles/{layout/typography.variables.scss → abstracts/typography.scss} +21 -19
- package/src/styles/assets/fontawesome.scss +4 -2
- package/src/styles/assets/logo.scss +6 -2
- package/src/styles/layout/animation.scss +2 -0
- package/src/styles/layout/app.scss +2 -0
- package/src/styles/layout/color.scss +4 -0
- package/src/styles/layout/grid.scss +3 -4
- package/src/styles/layout/helper.scss +3 -0
- package/src/styles/layout/scrollbar.scss +13 -0
- package/src/styles/layout/section.scss +1 -9
- package/src/styles/layout/spacing.scss +3 -4
- package/src/styles/layout/typography.scss +15 -15
- package/src/styles/ui.scss +88 -76
- package/src/styles/vendors/bootstrap.scss +19 -19
- package/src/styles/abstracts/brand.scss +0 -9
- package/src/styles/abstracts/layer.scss +0 -10
- package/src/styles/vendors/castlabs.scss +0 -17
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
// Our global spacing values.
|
|
7
7
|
|
|
8
|
+
@use './responsive' as *;
|
|
9
|
+
@use './tools' as *;
|
|
10
|
+
|
|
8
11
|
$spacing-none: px(0);
|
|
9
12
|
$spacing-micro: px(4);
|
|
10
13
|
$spacing-tiny: px(8);
|
|
@@ -13,6 +16,8 @@ $spacing-medium: px(24);
|
|
|
13
16
|
$spacing-large: px(32);
|
|
14
17
|
$spacing-huge: px(48);
|
|
15
18
|
|
|
19
|
+
$spacing-indent: $spacing-large; // uniform indent for lists, blockquotes, ...
|
|
20
|
+
|
|
16
21
|
$header-nav-height: px(40);
|
|
17
22
|
|
|
18
23
|
@mixin spacing-before-auto($value) {
|
|
@@ -32,3 +37,49 @@ $header-nav-height: px(40);
|
|
|
32
37
|
margin-top: $margin-top;
|
|
33
38
|
}
|
|
34
39
|
}
|
|
40
|
+
|
|
41
|
+
%section-padding {
|
|
42
|
+
padding-left: $spacing-tiny;
|
|
43
|
+
padding-right: $spacing-tiny;
|
|
44
|
+
|
|
45
|
+
@include media-breakpoint-up(sm) {
|
|
46
|
+
padding-left: $spacing-medium;
|
|
47
|
+
padding-right: $spacing-medium;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
%cl-grid-flex-centered {
|
|
52
|
+
> * {
|
|
53
|
+
@include spacing-before(0);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// --- spacings ----------------------------------------------------------------
|
|
58
|
+
|
|
59
|
+
%spacing-huge {
|
|
60
|
+
margin-top: $spacing-huge;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
%spacing-large {
|
|
64
|
+
margin-top: $spacing-large;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
%spacing-medium {
|
|
68
|
+
margin-top: $spacing-medium;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
%spacing-small {
|
|
72
|
+
margin-top: $spacing-small;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
%spacing-tiny {
|
|
76
|
+
margin-top: $spacing-tiny;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
%spacing-micro {
|
|
80
|
+
margin-top: $spacing-micro;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
%spacing-none {
|
|
84
|
+
margin-top: 0;
|
|
85
|
+
}
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
@use 'sass:math';
|
|
7
7
|
|
|
8
|
+
$asset-img-huge: px(192);
|
|
9
|
+
$asset-img-large: px(128);
|
|
10
|
+
$asset-img-medium: px(96);
|
|
11
|
+
$asset-img-small: px(64);
|
|
12
|
+
$asset-img-tiny: px(32);
|
|
13
|
+
|
|
8
14
|
/// Convert a px-length to rems. Will stick with pixels
|
|
9
15
|
/// for small sizes. Based on 16px root font size.
|
|
10
16
|
///
|
|
@@ -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
|
|
@@ -37,14 +43,6 @@ $typography-monospace-line-height: 1.375;
|
|
|
37
43
|
|
|
38
44
|
// --- helpers -----------------------------------------------------------------
|
|
39
45
|
|
|
40
|
-
@function typography-sans-baselineshift($value, $base) {
|
|
41
|
-
@return $value;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@function typography-sans-baselineunshift($value, $base) {
|
|
45
|
-
@return $value;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
46
|
@mixin typography-font(
|
|
49
47
|
$font-family: $typography-sans-font-list,
|
|
50
48
|
$font-weight: 400,
|
|
@@ -192,7 +190,7 @@ $typography-responsive-scale: 0.8;
|
|
|
192
190
|
@include cl-btn-a(34);
|
|
193
191
|
}
|
|
194
192
|
|
|
195
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
193
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
196
194
|
// we might be used without bootstrap
|
|
197
195
|
@include media-breakpoint-only(xs) {
|
|
198
196
|
@include typography-font(
|
|
@@ -229,7 +227,7 @@ $typography-responsive-scale: 0.8;
|
|
|
229
227
|
@include cl-btn-a(34);
|
|
230
228
|
}
|
|
231
229
|
|
|
232
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
230
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
233
231
|
// we might be used without bootstrap
|
|
234
232
|
@include media-breakpoint-only(xs) {
|
|
235
233
|
@include typography-font(
|
|
@@ -266,7 +264,7 @@ $typography-responsive-scale: 0.8;
|
|
|
266
264
|
@include cl-btn-a(27);
|
|
267
265
|
}
|
|
268
266
|
|
|
269
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
267
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
270
268
|
// we might be used without bootstrap
|
|
271
269
|
@include media-breakpoint-only(xs) {
|
|
272
270
|
@include typography-font(
|
|
@@ -304,7 +302,7 @@ $typography-responsive-scale: 0.8;
|
|
|
304
302
|
@include cl-btn-a(21);
|
|
305
303
|
}
|
|
306
304
|
|
|
307
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
305
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
308
306
|
// we might be used without bootstrap
|
|
309
307
|
@include media-breakpoint-only(xs) {
|
|
310
308
|
@include typography-font(
|
|
@@ -331,7 +329,7 @@ $typography-responsive-scale: 0.8;
|
|
|
331
329
|
-0.1em
|
|
332
330
|
);
|
|
333
331
|
|
|
334
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
332
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
335
333
|
// we might be used without bootstrap
|
|
336
334
|
@include media-breakpoint-only(xs) {
|
|
337
335
|
@include typography-font(
|
|
@@ -358,7 +356,7 @@ $typography-responsive-scale: 0.8;
|
|
|
358
356
|
-0.1em
|
|
359
357
|
);
|
|
360
358
|
|
|
361
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
359
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
362
360
|
// we might be used without bootstrap
|
|
363
361
|
@include media-breakpoint-only(xs) {
|
|
364
362
|
@include typography-font(
|
|
@@ -385,7 +383,7 @@ $typography-responsive-scale: 0.8;
|
|
|
385
383
|
-0.1em
|
|
386
384
|
);
|
|
387
385
|
|
|
388
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
386
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
389
387
|
// we might be used without bootstrap
|
|
390
388
|
@include media-breakpoint-only(xs) {
|
|
391
389
|
@include typography-font(
|
|
@@ -412,7 +410,7 @@ $typography-responsive-scale: 0.8;
|
|
|
412
410
|
-0.1em
|
|
413
411
|
);
|
|
414
412
|
|
|
415
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
413
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
416
414
|
// we might be used without bootstrap
|
|
417
415
|
@include media-breakpoint-only(xs) {
|
|
418
416
|
@include typography-font(
|
|
@@ -439,8 +437,9 @@ $typography-responsive-scale: 0.8;
|
|
|
439
437
|
@extend %cl-p-medium;
|
|
440
438
|
|
|
441
439
|
font-size: px(16);
|
|
440
|
+
font-weight: 500;
|
|
442
441
|
|
|
443
|
-
@if mixin-exists('media-breakpoint-only') {
|
|
442
|
+
@if meta.mixin-exists('media-breakpoint-only') {
|
|
444
443
|
// we might be used without bootstrap
|
|
445
444
|
@include media-breakpoint-only(xs) {
|
|
446
445
|
font-size: px(16 * $typography-responsive-scale);
|
|
@@ -459,12 +458,15 @@ $typography-responsive-scale: 0.8;
|
|
|
459
458
|
|
|
460
459
|
%cl-p-pre-box {
|
|
461
460
|
@extend %cl-p-pre;
|
|
462
|
-
|
|
461
|
+
|
|
463
462
|
border: $brand-line-width solid var(--cl-color-text);
|
|
463
|
+
border-radius: $brand-border-radius;
|
|
464
|
+
clip-path: inset(0 round 20px);
|
|
464
465
|
font-size: px(16);
|
|
465
|
-
line-height: 1;
|
|
466
|
+
line-height: 1.4;
|
|
466
467
|
margin-top: $spacing-small;
|
|
467
468
|
padding: $spacing-small;
|
|
469
|
+
padding-bottom: 0.95rem; // fix for overlapping scrollbar/clip
|
|
468
470
|
}
|
|
469
471
|
|
|
470
472
|
%cl-p-tag {
|
|
@@ -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('#{$
|
|
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('#{$
|
|
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;
|
|
@@ -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
|
|
|
@@ -17,6 +19,7 @@
|
|
|
17
19
|
@extend %cl-color-night-outline;
|
|
18
20
|
}
|
|
19
21
|
|
|
22
|
+
.cl-color-primary,
|
|
20
23
|
.cl-color-red {
|
|
21
24
|
@extend %cl-color-red;
|
|
22
25
|
}
|
|
@@ -29,6 +32,7 @@
|
|
|
29
32
|
@extend %cl-color-sky;
|
|
30
33
|
}
|
|
31
34
|
|
|
35
|
+
.cl-color-secondary,
|
|
32
36
|
.cl-color-black,
|
|
33
37
|
.cl-color-text, // legacy name
|
|
34
38
|
.cl-color-dark, // legacy name
|
|
@@ -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
|
-
@
|
|
9
|
-
|
|
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,15 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
// This file defines how we structure pages with <section class="cl-section">s.
|
|
7
7
|
|
|
8
|
-
|
|
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
|
-
|
|
8
|
+
$cl-folder-prefix: '@' !default;
|
|
9
|
+
|
|
10
|
+
@use '../global' as *;
|
|
9
11
|
|
|
10
12
|
// conditionally import fonts so themes can omit them
|
|
11
|
-
@
|
|
12
|
-
|
|
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 --------------------------------------------------------------------
|
|
@@ -183,12 +189,10 @@ main {
|
|
|
183
189
|
|
|
184
190
|
// --- code & monospace --------------------------------------------------------
|
|
185
191
|
|
|
186
|
-
pre,
|
|
187
192
|
kbd,
|
|
188
193
|
code,
|
|
189
194
|
samp {
|
|
190
195
|
@extend %cl-p-pre;
|
|
191
|
-
@include cl-color-focus-outline;
|
|
192
196
|
|
|
193
197
|
color: var(--cl-color-text);
|
|
194
198
|
}
|
|
@@ -199,7 +203,8 @@ main {
|
|
|
199
203
|
}
|
|
200
204
|
|
|
201
205
|
pre {
|
|
202
|
-
|
|
206
|
+
@extend %cl-p-pre-box;
|
|
207
|
+
@include cl-color-focus-outline;
|
|
203
208
|
|
|
204
209
|
code {
|
|
205
210
|
padding: 0;
|
|
@@ -216,16 +221,11 @@ main {
|
|
|
216
221
|
|
|
217
222
|
// --- block quotes ----------------------------------------------------------
|
|
218
223
|
|
|
219
|
-
|
|
220
|
-
@include cl-accent;
|
|
221
|
-
|
|
222
|
-
border-left: $bar-ui-width solid var(--cl-color-accent);
|
|
223
|
-
padding-left: calc($list-indent - $bar-ui-width);
|
|
224
|
-
}
|
|
224
|
+
// see ClBlockquote
|
|
225
225
|
|
|
226
226
|
// --- lists -------------------------------------------------------------------
|
|
227
227
|
|
|
228
|
-
// see
|
|
228
|
+
// see ClList
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
// --- ruler -------------------------------------------------------------------
|
package/src/styles/ui.scss
CHANGED
|
@@ -4,89 +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
|
-
|
|
10
|
+
$castlabs-ui-asset-prefix: '.' !default;
|
|
9
11
|
|
|
10
|
-
@use '
|
|
12
|
+
@use 'vendors/bootstrap'; // must go first
|
|
11
13
|
|
|
12
|
-
|
|
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
|
-
@
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
@
|
|
18
|
-
|
|
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
|
-
@
|
|
21
|
-
@
|
|
22
|
-
@
|
|
23
|
-
@
|
|
24
|
-
@
|
|
25
|
-
@
|
|
26
|
-
@
|
|
27
|
-
@
|
|
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 *;
|
|
28
94
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@import '../components/ClButton/style';
|
|
33
|
-
@import '../components/ClCard/style';
|
|
34
|
-
@import '../components/ClDropdown/style';
|
|
35
|
-
@import '../components/ClDropzone/style';
|
|
36
|
-
@import '../components/ClFooter/style';
|
|
37
|
-
@import '../components/ClHighlight/style';
|
|
38
|
-
@import '../components/ClIcon/style';
|
|
39
|
-
@import '../components/ClIconotron/style';
|
|
40
|
-
@import '../components/ClList/style';
|
|
41
|
-
@import '../components/ClListGroup/style';
|
|
42
|
-
@import '../components/ClPagination/style';
|
|
43
|
-
@import '../components/ClProgress/style';
|
|
44
|
-
@import '../components/ClScrollbar/style';
|
|
45
|
-
@import '../components/ClSpinner/style';
|
|
46
|
-
@import '../components/ClTabs/style';
|
|
47
|
-
@import '../components/ClToggle/style';
|
|
48
|
-
@import '../components/ClTooltip/style';
|
|
49
|
-
@import '../components/ClWizard/style';
|
|
50
|
-
@import '../components/form/ClField/style';
|
|
51
|
-
@import '../components/form/ClFieldCheck/style';
|
|
52
|
-
@import '../components/form/ClFieldFile/style';
|
|
53
|
-
@import '../components/form/ClFieldGroup/style';
|
|
54
|
-
@import '../components/form/ClFieldInput/style';
|
|
55
|
-
@import '../components/form/ClFieldSelect/style';
|
|
56
|
-
@import '../components/form/ClFieldSet/style';
|
|
57
|
-
@import '../components/form/ClForm/style';
|
|
58
|
-
@import '../components/modal/ClModal/style';
|
|
59
|
-
@import '../components/navigation/ClNavSide/ClNavDrawer/style';
|
|
60
|
-
@import '../components/navigation/ClNavSide/ClNavSideMenu/style';
|
|
61
|
-
@import '../components/navigation/ClNavSide/style';
|
|
62
|
-
@import '../components/navigation/ClNavTop/style';
|
|
63
|
-
@import '../components/section/ClSectionForm/style';
|
|
64
|
-
@import '../components/section/ClSectionHeadline/style';
|
|
65
|
-
@import '../components/section/ClSectionMainSide/style';
|
|
66
|
-
@import '../components/table/ClTable/style';
|
|
67
|
-
@import '../components/table/ClTableCel/Actions/style';
|
|
68
|
-
@import '../components/table/ClTableCel/Audit/style';
|
|
69
|
-
@import '../components/table/ClTableCel/Boolean/style';
|
|
70
|
-
@import '../components/table/ClTableCel/Checkbox/style';
|
|
71
|
-
@import '../components/table/ClTableCel/Code/style';
|
|
72
|
-
@import '../components/table/ClTableCel/Currency/style';
|
|
73
|
-
@import '../components/table/ClTableCel/Date/style';
|
|
74
|
-
@import '../components/table/ClTableCel/ID/style';
|
|
75
|
-
@import '../components/table/ClTableCel/Links/style';
|
|
76
|
-
@import '../components/table/ClTableCel/style';
|
|
77
|
-
@import '../components/table/ClTableFootChecked/style';
|
|
78
|
-
@import '../components/table/ClTableHead/style';
|
|
79
|
-
@import '../components/text/ClCopy/style';
|
|
80
|
-
@import '../components/text/ClHashtag/style';
|
|
81
|
-
@import '../components/text/ClLinkExternal/style';
|
|
82
|
-
@import '../components/text/ClOrg/style';
|
|
83
|
-
@import '../components/text/ClPlan/style';
|
|
84
|
-
@import '../components/text/ClRole/style';
|
|
85
|
-
@import '../components/widget/ClBackCancelOk/style';
|
|
86
|
-
@import '../components/widget/ClCookieBanner/style';
|
|
87
|
-
@import '../components/widget/ClPage/style';
|
|
95
|
+
html {
|
|
96
|
+
font-size: 16px; // root font size
|
|
97
|
+
}
|
|
88
98
|
|
|
89
|
-
|
|
99
|
+
body {
|
|
100
|
+
font-size: 20px;
|
|
101
|
+
}
|
|
90
102
|
|
|
91
103
|
.cl-hidden {
|
|
92
104
|
visibility: hidden;
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
/// @access public
|
|
4
4
|
////
|
|
5
5
|
|
|
6
|
-
// This file
|
|
7
|
-
// to
|
|
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
|
-
|
|
9
|
+
// hint: see also abstracts/grid.scss for some bootstrap fallback code
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
$border-radius-sm: $border-radius;
|
|
13
|
-
$border-radius-lg: $border-radius;
|
|
11
|
+
@import 'bootstrap/scss/bootstrap-reboot';
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
p {
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
}
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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';
|