@castlabs/ui 6.0.3 → 7.0.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 +1 -1
- package/dist/assets/castlabs-logo-eggshell.svg +31 -162
- package/dist/assets/castlabs-logo.svg +31 -162
- package/dist/castlabs-ui-editor.css +1 -1
- package/dist/castlabs-ui-editor.umd.js +30 -30
- package/dist/castlabs-ui.common.js +5 -5
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +28 -35
- package/dist/castlabs-ui.css +7 -7
- package/dist/castlabs-ui.module.js +28 -35
- package/dist/castlabs-ui.umd.js +13 -13
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +18 -18
- package/src/assets/castlabs-logo-eggshell.svg +31 -162
- package/src/assets/castlabs-logo.svg +31 -162
- package/src/components/ClAlert/style.scss +46 -43
- package/src/components/ClBadge/style.scss +13 -15
- package/src/components/ClBadge/style.variables.scss +39 -33
- package/src/components/ClButton/style.scss +47 -249
- package/src/components/ClCard/style.scss +20 -20
- package/src/components/ClCard/style.variables.scss +121 -106
- package/src/components/ClDropdown/style.scss +47 -150
- package/src/components/ClDropzone/style.scss +4 -4
- package/src/components/ClFooter/style.scss +6 -105
- package/src/components/ClIconotron/style.scss +3 -8
- package/src/components/ClList/style.scss +10 -13
- package/src/components/ClList/style.variables.scss +27 -22
- package/src/components/ClPagination/style.scss +48 -85
- package/src/components/ClProgress/style.scss +8 -23
- package/src/components/ClSpinner/style.scss +1 -1
- package/src/components/ClTabs/style.scss +9 -9
- package/src/components/ClToggle/style.scss +18 -59
- package/src/components/ClTooltip/style.scss +9 -24
- package/src/components/ClWizard/style.scss +14 -12
- package/src/components/form/ClField/style.scss +4 -4
- package/src/components/form/ClFieldCheck/style.scss +25 -20
- package/src/components/form/ClFieldFile/style.scss +11 -13
- package/src/components/form/ClFieldGroup/style.scss +38 -4
- package/src/components/form/ClFieldInput/style.scss +15 -11
- package/src/components/form/ClFieldSelect/style.scss +6 -5
- package/src/components/form/ClFieldSet/style.scss +2 -2
- package/src/components/form/ClForm/style.scss +6 -8
- package/src/components/modal/ClModal/style.scss +50 -35
- package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +112 -180
- package/src/components/navigation/ClNavSide/ClNavSideMenu/style.scss +0 -23
- package/src/components/navigation/ClNavSide/style.scss +11 -17
- package/src/components/navigation/ClNavTop/style.scss +39 -35
- package/src/components/section/ClSectionForm/style.scss +6 -3
- package/src/components/section/ClSectionHeadline/style.scss +23 -25
- package/src/components/table/ClTable/style.variables.scss +18 -69
- package/src/components/table/ClTableCel/Actions/style.scss +1 -1
- package/src/components/table/ClTableCel/Audit/style.scss +2 -4
- package/src/components/table/ClTableCel/Boolean/style.scss +1 -1
- package/src/components/table/ClTableCel/Checkbox/style.scss +2 -2
- package/src/components/table/ClTableCel/Code/style.scss +1 -1
- package/src/components/table/ClTableCel/Currency/style.scss +1 -1
- package/src/components/table/ClTableCel/Date/style.scss +1 -1
- package/src/components/table/ClTableCel/ID/style.scss +2 -2
- package/src/components/table/ClTableCel/Links/style.scss +10 -11
- package/src/components/table/ClTableCel/style.variables.scss +3 -3
- package/src/components/text/ClCopy/style.scss +4 -21
- package/src/components/text/ClHashtag/style.scss +7 -25
- package/src/components/text/ClLinkExternal/style.scss +21 -19
- package/src/components/text/ClOrg/style.scss +1 -19
- package/src/components/text/ClPlan/style.scss +7 -25
- package/src/components/text/ClRole/style.scss +7 -25
- package/src/components/widget/ClCookieBanner/style.scss +5 -1
- package/src/fonts/DMMono/DMMono.scss +36 -0
- package/src/fonts/DMMono/DM_Mono_300.woff2 +0 -0
- package/src/fonts/DMMono/DM_Mono_300italic.woff2 +0 -0
- package/src/fonts/DMMono/DM_Mono_400.woff2 +0 -0
- package/src/fonts/DMMono/DM_Mono_400italic.woff2 +0 -0
- package/src/fonts/DMMono/DM_Mono_500.woff2 +0 -0
- package/src/fonts/DMMono/DM_Mono_500italic.woff2 +0 -0
- package/src/fonts/FontAwesome5/FontAwesome5.scss +2 -2
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Bold.woff2 +0 -0
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Medium.woff2 +0 -0
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Regular.woff2 +0 -0
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +21 -0
- package/src/styles/_global.scss +2 -0
- package/src/styles/abstracts/brand.scss +9 -0
- package/src/styles/abstracts/color.scss +243 -98
- package/src/styles/abstracts/spacing.scss +2 -2
- package/src/styles/abstracts/tools.scss +0 -82
- package/src/styles/assets/fontawesome.scss +2 -0
- package/src/styles/assets/fontawesome.variables.scss +88 -0
- package/src/styles/assets/logo.scss +12 -6
- package/src/styles/components/button.variables.scss +79 -6
- package/src/styles/components/form.variables.scss +15 -16
- package/src/styles/layout/app.scss +29 -0
- package/src/styles/layout/color.scss +115 -0
- package/src/styles/layout/grid.scss +2 -1
- package/src/styles/layout/helper.scss +14 -2
- package/src/styles/layout/section.scss +46 -47
- package/src/styles/layout/spacing.scss +4 -4
- package/src/styles/layout/typography.scss +91 -112
- package/src/styles/layout/typography.variables.scss +281 -168
- package/src/styles/ui.scss +4 -5
- package/src/styles/vendors/bootstrap.scss +1 -1
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCCwR26eg.9f9ebd6f.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCFwR26eg.d7aed4ec.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCGwR0.860d704d.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCIwR26eg.196096f5.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCJwR26eg.60896ebf.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCKwR26eg.c5d717bd.woff2 +0 -0
- package/dist/fonts/BngRUXNETWXI6LwhGYvaxZikqbCLwR26eg.e6581016.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Udc1UAw.ed9c080e.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.65f5554a.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.ffa02f1c.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0Zdc0.157a9634.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0adc1UAw.ae9457b8.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0bdc1UAw.3c6000b1.woff2 +0 -0
- package/dist/fonts/mem6YaGs126MiZpBA-UFUK0ddc1UAw.1244aaff.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFUZ0bbck.32149fc9.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFV50bbck.16910b81.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFVZ0b.16652597.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFVp0bbck.e1ba37a1.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFW50bbck.b50868a3.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFWJ0bbck.1250c5ba.woff2 +0 -0
- package/dist/fonts/mem8YaGs126MiZpBA-UFWp0bbck.3ec09e79.woff2 +0 -0
- package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCCwR26eg.woff2 +0 -0
- package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCFwR26eg.woff2 +0 -0
- package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCGwR0.woff2 +0 -0
- package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCIwR26eg.woff2 +0 -0
- package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCJwR26eg.woff2 +0 -0
- package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCKwR26eg.woff2 +0 -0
- package/src/fonts/NotoSansMono/BngRUXNETWXI6LwhGYvaxZikqbCLwR26eg.woff2 +0 -0
- package/src/fonts/NotoSansMono/NotoSansMono.scss +0 -84
- package/src/fonts/OpenSansVariable/OpenSansVariable.scss +0 -187
- package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Udc1UAw.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Vdc1UAw.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Wdc1UAw.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Xdc1UAw.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0Zdc0.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0adc1UAw.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0bdc1UAw.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem6YaGs126MiZpBA-UFUK0ddc1UAw.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFUZ0bbck.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFV50bbck.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFVZ0b.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFVp0bbck.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFW50bbck.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFWJ0bbck.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFWZ0bbck.woff2 +0 -0
- package/src/fonts/OpenSansVariable/mem8YaGs126MiZpBA-UFWp0bbck.woff2 +0 -0
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
.cl-footer .cl-container-iconotron,
|
|
57
57
|
.cl-container-iconotron {
|
|
58
|
-
@extend %p-medium;
|
|
58
|
+
@extend %cl-p-medium;
|
|
59
59
|
// @extend %spacing-small;
|
|
60
60
|
|
|
61
61
|
h1,
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
h5,
|
|
66
66
|
h6 {
|
|
67
67
|
@extend %spacing-medium;
|
|
68
|
-
@extend %h3;
|
|
68
|
+
@extend %cl-h3;
|
|
69
69
|
|
|
70
70
|
letter-spacing: normal;
|
|
71
71
|
text-transform: none;
|
|
@@ -76,11 +76,6 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
a {
|
|
79
|
-
@include typography-
|
|
80
|
-
$color-text,
|
|
81
|
-
rgba($color-text, $color-hover-opacity),
|
|
82
|
-
2px,
|
|
83
|
-
$color-ci-red
|
|
84
|
-
);
|
|
79
|
+
@include typography-link($color-text, rgba($color-text, $color-hover-opacity));
|
|
85
80
|
}
|
|
86
81
|
}
|
|
@@ -42,17 +42,17 @@ main {
|
|
|
42
42
|
> li {
|
|
43
43
|
display: inline;
|
|
44
44
|
|
|
45
|
-
&:not(:
|
|
46
|
-
margin-
|
|
45
|
+
&:not(:last-of-type) {
|
|
46
|
+
margin-right: $spacing-large * 2;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&-alert {
|
|
52
|
-
@extend %p-medium;
|
|
52
|
+
@extend %cl-p-medium;
|
|
53
53
|
@extend %spacing-small;
|
|
54
54
|
|
|
55
|
-
$alert-indent: 1.333em; // ~ $spacing-medium on %p-medium;
|
|
55
|
+
$alert-indent: 1.333em; // ~ $spacing-medium on %cl-p-medium;
|
|
56
56
|
|
|
57
57
|
font-size: 0.8888em; // 18px -> 16px
|
|
58
58
|
margin-left: $alert-indent;
|
|
@@ -72,15 +72,12 @@ main {
|
|
|
72
72
|
&::before {
|
|
73
73
|
@include cl-fontawesome('\f0ad'); // wrench
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
top: 0.175em;
|
|
82
|
-
width: 1em;
|
|
83
|
-
}
|
|
75
|
+
display: inline-block;
|
|
76
|
+
margin-left: -$alert-indent;
|
|
77
|
+
position: absolute;
|
|
78
|
+
text-align: center;
|
|
79
|
+
top: 0.175em;
|
|
80
|
+
width: 1em;
|
|
84
81
|
}
|
|
85
82
|
}
|
|
86
83
|
}
|
|
@@ -5,26 +5,26 @@
|
|
|
5
5
|
|
|
6
6
|
// This file define our (bullet) lists. They use fontawesome icons as bullets.
|
|
7
7
|
|
|
8
|
-
$list-indent: $spacing-
|
|
8
|
+
$list-indent: $spacing-large;
|
|
9
9
|
|
|
10
10
|
%cl-list {
|
|
11
|
+
@include cl-accent;
|
|
12
|
+
|
|
11
13
|
position: relative;
|
|
12
14
|
|
|
13
15
|
li {
|
|
14
16
|
list-style-type: none;
|
|
17
|
+
margin-top: $spacing-small;
|
|
15
18
|
|
|
16
19
|
&::before {
|
|
17
20
|
@include cl-fontawesome('\f054'); // chevron
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
transform: translateY(0.2em);
|
|
26
|
-
width: $list-indent;
|
|
27
|
-
}
|
|
22
|
+
color: var(--cl-color-accent);
|
|
23
|
+
margin-left: -$list-indent;
|
|
24
|
+
margin-top: 0.175em;
|
|
25
|
+
position: absolute;
|
|
26
|
+
text-align: center;
|
|
27
|
+
width: $list-indent;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
> ul {
|
|
@@ -32,7 +32,7 @@ $list-indent: $spacing-small * 2.5;
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
&.cl-list-none {
|
|
36
36
|
margin-left: 0;
|
|
37
37
|
|
|
38
38
|
li {
|
|
@@ -40,46 +40,51 @@ $list-indent: $spacing-small * 2.5;
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
&.cl-list-none li::before,
|
|
44
44
|
li.cl-list-none::before {
|
|
45
45
|
display: none;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
&.cl-list-check li::before,
|
|
49
49
|
li.cl-list-check::before {
|
|
50
50
|
content: '\f00c';
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
&.cl-list-x li::before,
|
|
54
54
|
li.cl-list-x::before {
|
|
55
55
|
content: '\f00d';
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
&.cl-list-plus li::before,
|
|
59
59
|
li.cl-list-plus::before {
|
|
60
60
|
content: '\f067';
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
&.cl-list-minus li::before,
|
|
64
64
|
li.cl-list-minus::before {
|
|
65
65
|
content: '\f068';
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
&.cl-list-lock li::before,
|
|
69
69
|
li.cl-list-lock::before {
|
|
70
70
|
content: '\f023';
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
&.cl-list-bulb li::before,
|
|
74
74
|
li.cl-list-bulb::before {
|
|
75
75
|
content: '\f0eb';
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
&.cl-list-circle li::before,
|
|
79
|
+
li.cl-list-circle::before {
|
|
80
|
+
content: '\f111';
|
|
81
|
+
transform: scale(0.85);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.cl-list-spinner li::before,
|
|
79
85
|
li.cl-list-spinner::before {
|
|
80
86
|
animation: cl-spin 2s linear infinite;
|
|
81
87
|
content: '\f110';
|
|
82
|
-
margin-top: $spacing-micro;
|
|
83
88
|
}
|
|
84
89
|
}
|
|
85
90
|
|
|
@@ -89,7 +94,7 @@ $list-dt-width: 14rem;
|
|
|
89
94
|
|
|
90
95
|
%cl-dl {
|
|
91
96
|
dt {
|
|
92
|
-
@extend %p-form-label;
|
|
97
|
+
@extend %cl-p-form-label;
|
|
93
98
|
|
|
94
99
|
display: block;
|
|
95
100
|
}
|
|
@@ -122,7 +127,7 @@ $list-dt-width: 14rem;
|
|
|
122
127
|
}
|
|
123
128
|
}
|
|
124
129
|
|
|
125
|
-
&.cl-
|
|
130
|
+
&.cl-tight {
|
|
126
131
|
@include media-breakpoint-up(md) {
|
|
127
132
|
dt {
|
|
128
133
|
margin-top: $spacing-tiny;
|
|
@@ -7,117 +7,80 @@
|
|
|
7
7
|
|
|
8
8
|
@import 'bootstrap/scss/pagination';
|
|
9
9
|
|
|
10
|
-
$pagination-color-bg: $color-ci-cloud;
|
|
11
|
-
$pagination-color-text: $color-ci-dim;
|
|
12
|
-
$pagination-color-disabled: rgba($pagination-color-text, $button-disabled-opacity);
|
|
13
|
-
$pagination-color-hover: rgba($pagination-color-text, $button-hover-opacity);
|
|
14
|
-
|
|
15
10
|
.pagination {
|
|
16
|
-
@extend %p-nav;
|
|
11
|
+
@extend %cl-p-nav;
|
|
12
|
+
@extend %cl-color-night-outline;
|
|
17
13
|
|
|
18
|
-
font-
|
|
14
|
+
font-family: $typography-monospace-font-list;
|
|
15
|
+
justify-content: center;
|
|
19
16
|
margin: 0;
|
|
17
|
+
padding: 0;
|
|
20
18
|
|
|
21
19
|
li {
|
|
22
20
|
list-style: none;
|
|
23
21
|
margin: 0;
|
|
22
|
+
padding: 0;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
a:hover,
|
|
41
|
-
a.disabled:hover,
|
|
42
|
-
button:hover,
|
|
43
|
-
button.disabled:hover {
|
|
44
|
-
background-color: transparent;
|
|
45
|
-
background-image: none;
|
|
46
|
-
border-color: $pagination-color-bg;
|
|
47
|
-
color: $pagination-color-hover;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
a:focus,
|
|
51
|
-
button:focus {
|
|
52
|
-
background-color: inherit;
|
|
53
|
-
box-shadow: none;
|
|
54
|
-
color: inherit;
|
|
25
|
+
.page-link {
|
|
26
|
+
@include cl-button;
|
|
27
|
+
@include cl-button-color;
|
|
28
|
+
@include cl-button-focus-outline(var(--cl-color-text));
|
|
29
|
+
|
|
30
|
+
border-radius: $brand-border-radius !important; // overrule BS
|
|
31
|
+
font-size: px(14);
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
line-height: px(18);
|
|
34
|
+
min-width: 36px;
|
|
35
|
+
padding: $spacing-tiny;
|
|
55
36
|
}
|
|
56
37
|
|
|
57
38
|
.page-item {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
border-bottom-right-radius: px(3);
|
|
61
|
-
border-top-right-radius: px(3);
|
|
39
|
+
+ .page-item {
|
|
40
|
+
margin-left: $spacing-small;
|
|
62
41
|
}
|
|
63
42
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
border-bottom-left-radius: px(3);
|
|
67
|
-
border-top-left-radius: px(3);
|
|
68
|
-
}
|
|
43
|
+
&.active {
|
|
44
|
+
@extend %cl-color-red;
|
|
69
45
|
|
|
70
|
-
|
|
71
|
-
+ .page-item button {
|
|
72
|
-
border-left: 0;
|
|
46
|
+
pointer-events: none;
|
|
73
47
|
}
|
|
74
48
|
|
|
75
|
-
&.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
49
|
+
&.disabled {
|
|
50
|
+
@include cl-button;
|
|
51
|
+
@include cl-button-color;
|
|
52
|
+
@extend %cl-color-disabled;
|
|
80
53
|
|
|
81
|
-
|
|
82
|
-
background-color: transparent;
|
|
83
|
-
border-color: $pagination-color-bg;
|
|
84
|
-
color: $pagination-color-disabled;
|
|
54
|
+
border-radius: $brand-border-radius !important; // overrule BS
|
|
85
55
|
cursor: not-allowed;
|
|
56
|
+
min-width: 36px;
|
|
57
|
+
padding: $spacing-tiny;
|
|
58
|
+
pointer-events: none;
|
|
86
59
|
}
|
|
60
|
+
}
|
|
87
61
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
62
|
+
@include media-breakpoint-down(md) {
|
|
63
|
+
// show less bubbles on smaller devices
|
|
64
|
+
.page-item {
|
|
65
|
+
display: none;
|
|
91
66
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
&:first-child {
|
|
99
|
-
border-bottom-left-radius: px(3);
|
|
100
|
-
border-left: 2px solid $pagination-color-disabled;
|
|
101
|
-
border-top-left-radius: px(3);
|
|
67
|
+
&:first-of-type,
|
|
68
|
+
&:has(+ .active),
|
|
69
|
+
&.active,
|
|
70
|
+
&:last-of-type {
|
|
71
|
+
display: list-item;
|
|
102
72
|
}
|
|
73
|
+
}
|
|
103
74
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
border-top-right-radius: px(3);
|
|
108
|
-
}
|
|
75
|
+
.active + .page-item {
|
|
76
|
+
display: list-item;
|
|
77
|
+
}
|
|
109
78
|
|
|
110
|
-
|
|
111
|
-
|
|
79
|
+
@include media-breakpoint-down(sm) {
|
|
80
|
+
.page-item:has(+ .active):not(:first-of-type),
|
|
81
|
+
.active + .page-item:not(:last-of-type) {
|
|
82
|
+
display: none;
|
|
112
83
|
}
|
|
113
84
|
}
|
|
114
85
|
}
|
|
115
|
-
|
|
116
|
-
.text-center > & {
|
|
117
|
-
justify-content: center;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.text-end > & {
|
|
121
|
-
justify-content: flex-end;
|
|
122
|
-
}
|
|
123
86
|
}
|
|
@@ -8,33 +8,18 @@
|
|
|
8
8
|
@import 'bootstrap/scss/progress';
|
|
9
9
|
|
|
10
10
|
.progress {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
@extend %cl-color-sky;
|
|
12
|
+
|
|
13
|
+
background-color: $color-ci-clay;
|
|
14
|
+
border-radius: $brand-border-radius;
|
|
15
|
+
height: px(24);
|
|
14
16
|
margin-top: $spacing-small;
|
|
15
17
|
|
|
16
18
|
.progress-bar {
|
|
17
|
-
@extend %p-
|
|
18
|
-
|
|
19
|
-
background-color: $color-secondary;
|
|
20
|
-
color: $color-ci-white;
|
|
21
|
-
|
|
22
|
-
&.bg-primary {
|
|
23
|
-
background-color: $color-primary;
|
|
24
|
-
}
|
|
19
|
+
@extend %cl-p-label;
|
|
25
20
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
// &.bg-warning,
|
|
29
|
-
// &.bg-info,
|
|
30
|
-
// &.bg-light,
|
|
31
|
-
&.bg-secondary {
|
|
32
|
-
background-color: $color-secondary;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.bg-dark {
|
|
36
|
-
background-color: $color-ci-cloud;
|
|
37
|
-
}
|
|
21
|
+
background-color: var(--cl-color-background);
|
|
22
|
+
color: var(--cl-color-text);
|
|
38
23
|
}
|
|
39
24
|
|
|
40
25
|
.progress-bar-striped {
|
|
@@ -16,23 +16,23 @@
|
|
|
16
16
|
text-align: center;
|
|
17
17
|
|
|
18
18
|
li {
|
|
19
|
-
border-bottom:
|
|
19
|
+
border-bottom: $brand-line-width solid $color-line;
|
|
20
20
|
display: inline-block;
|
|
21
21
|
flex-grow: 1;
|
|
22
|
-
margin: 0
|
|
22
|
+
margin: 0 $spacing-micro;
|
|
23
23
|
|
|
24
24
|
&.active {
|
|
25
|
-
border-color: $color-
|
|
26
|
-
color: $color-
|
|
25
|
+
border-color: $color-selected;
|
|
26
|
+
color: $color-selected;
|
|
27
27
|
|
|
28
28
|
> * {
|
|
29
|
-
color: $color-
|
|
29
|
+
color: $color-selected;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
label {
|
|
35
|
-
@extend %p-form-label;
|
|
35
|
+
@extend %cl-p-form-label;
|
|
36
36
|
|
|
37
37
|
cursor: pointer;
|
|
38
38
|
margin: 0 $spacing-micro;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@include media-breakpoint-down(sm) {
|
|
48
|
-
@include typography-font($typography-font-list
|
|
48
|
+
@include typography-font($typography-sans-font-list, 600, px(12), 1.2em, 0.025em);
|
|
49
49
|
|
|
50
50
|
display: flex;
|
|
51
51
|
flex-direction: column-reverse;
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
@for $i from 1 through 16 {
|
|
76
76
|
.cl-tab-#{$i}:checked ~ ul {
|
|
77
77
|
.cl-tab-#{$i} {
|
|
78
|
-
border-color: $color-
|
|
78
|
+
border-color: $color-selected;
|
|
79
79
|
|
|
80
80
|
> * {
|
|
81
|
-
color: $color-
|
|
81
|
+
color: $color-selected;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -5,21 +5,26 @@
|
|
|
5
5
|
|
|
6
6
|
// This file defines castlabs toggle/checkboxes.
|
|
7
7
|
|
|
8
|
-
$toggle-color-regular: $color-dark;
|
|
9
|
-
|
|
10
8
|
.cl-toggle-checkbox {
|
|
9
|
+
@include cl-button-focus-outline(var(--cl-color-text));
|
|
10
|
+
|
|
11
11
|
// hide checkbox but keep it tab-able
|
|
12
12
|
display: inline-block;
|
|
13
13
|
opacity: 0;
|
|
14
14
|
position: absolute;
|
|
15
15
|
|
|
16
|
-
+ .badge {
|
|
16
|
+
+ .cl-badge {
|
|
17
17
|
cursor: pointer;
|
|
18
|
-
padding-
|
|
18
|
+
padding-left: 0.65em;
|
|
19
|
+
padding-right: 0.75em;
|
|
19
20
|
text-transform: none;
|
|
21
|
+
|
|
22
|
+
&:not([class*='cl-color-']) {
|
|
23
|
+
@extend %cl-color-night;
|
|
24
|
+
}
|
|
20
25
|
}
|
|
21
26
|
|
|
22
|
-
&:checked + .badge {
|
|
27
|
+
&:checked + .cl-badge {
|
|
23
28
|
i:nth-of-type(1) {
|
|
24
29
|
display: inline-block;
|
|
25
30
|
}
|
|
@@ -29,10 +34,9 @@ $toggle-color-regular: $color-dark;
|
|
|
29
34
|
}
|
|
30
35
|
}
|
|
31
36
|
|
|
32
|
-
&:not(:checked) + .badge {
|
|
33
|
-
background-color:
|
|
34
|
-
|
|
35
|
-
color: $toggle-color-regular;
|
|
37
|
+
&:not(:checked) + .cl-badge {
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
color: var(--cl-color-background);
|
|
36
40
|
|
|
37
41
|
i:nth-of-type(1) {
|
|
38
42
|
display: none;
|
|
@@ -41,57 +45,12 @@ $toggle-color-regular: $color-dark;
|
|
|
41
45
|
i:nth-of-type(2) {
|
|
42
46
|
display: inline-block;
|
|
43
47
|
}
|
|
44
|
-
|
|
45
|
-
&.cl-badge-primary {
|
|
46
|
-
box-shadow: 0 0 0 2px inset $color-primary;
|
|
47
|
-
color: $color-primary;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.cl-badge-secondary {
|
|
51
|
-
box-shadow: 0 0 0 2px inset $color-secondary;
|
|
52
|
-
color: $color-secondary;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&:disabled:not(:checked) + .badge {
|
|
57
|
-
background-color: $color-ci-white;
|
|
58
|
-
box-shadow: 0 0 0 2px inset $color-ci-silver;
|
|
59
|
-
color: $color-ci-silver;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&:disabled:checked + .badge {
|
|
63
|
-
background-color: $color-ci-silver;
|
|
64
|
-
color: $color-ci-white;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&:focus + .badge {
|
|
68
|
-
box-shadow: 0 0 0 $btn-focus-width rgba($toggle-color-regular, 0.5); // sass-lint:disable-line no-color-literals
|
|
69
|
-
outline: 0;
|
|
70
|
-
|
|
71
|
-
&.cl-badge-primary {
|
|
72
|
-
box-shadow: 0 0 0 $btn-focus-width rgba($color-primary, 0.5); // sass-lint:disable-line no-color-literals
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.cl-badge-secondary {
|
|
76
|
-
box-shadow: 0 0 0 $btn-focus-width rgba($color-secondary, 0.5); // sass-lint:disable-line no-color-literals
|
|
77
|
-
}
|
|
78
48
|
}
|
|
79
49
|
|
|
80
|
-
&:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
&.cl-badge-primary {
|
|
86
|
-
box-shadow:
|
|
87
|
-
0 0 0 2px inset $color-primary,
|
|
88
|
-
0 0 0 $btn-focus-width rgba($color-primary, 0.5); // sass-lint:disable-line no-color-literals
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&.cl-badge-secondary {
|
|
92
|
-
box-shadow:
|
|
93
|
-
0 0 0 2px inset $color-secondary,
|
|
94
|
-
0 0 0 $btn-focus-width rgba($color-secondary, 0.5); // sass-lint:disable-line no-color-literals
|
|
95
|
-
}
|
|
50
|
+
&:disabled + .cl-badge {
|
|
51
|
+
#{'--cl-color-background'}: $color-disabled;
|
|
52
|
+
#{'--cl-color-border'}: $color-disabled;
|
|
53
|
+
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
54
|
+
cursor: not-allowed;
|
|
96
55
|
}
|
|
97
56
|
}
|
|
@@ -8,39 +8,24 @@
|
|
|
8
8
|
@import 'bootstrap/scss/tooltip';
|
|
9
9
|
|
|
10
10
|
.cl-tooltip {
|
|
11
|
-
#{'--bs-tooltip-bg'}:
|
|
12
|
-
|
|
11
|
+
#{'--bs-tooltip-bg'}: var(--cl-color-background);
|
|
12
|
+
#{'--bs-tooltip-color'}: var(--cl-color-text);
|
|
13
|
+
#{'--cl-color-background'}: $color-ci-clay;
|
|
14
|
+
#{'--cl-color-text'}: $color-ci-night;
|
|
13
15
|
opacity: 1 !important; // sass-lint:disable-line no-important
|
|
14
16
|
z-index: $layer-z-modal + 1;
|
|
15
17
|
|
|
16
18
|
.tooltip-inner {
|
|
17
19
|
// Bootstrap class
|
|
18
|
-
|
|
20
|
+
border-radius: $brand-border-radius;
|
|
21
|
+
color: var(--cl-color-text);
|
|
19
22
|
max-width: none !important; // sass-lint:disable-line no-important
|
|
23
|
+
padding-left: $spacing-tiny;
|
|
24
|
+
padding-right: $spacing-tiny;
|
|
20
25
|
text-align: center;
|
|
21
26
|
|
|
22
27
|
code {
|
|
23
|
-
color:
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.cl-tooltip-primary {
|
|
28
|
-
#{'--bs-tooltip-bg'}: $color-primary;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.cl-tooltip-secondary {
|
|
32
|
-
#{'--bs-tooltip-bg'}: $color-secondary;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.cl-tooltip-dark {
|
|
36
|
-
#{'--bs-tooltip-bg'}: $color-dark;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.cl-tooltip-light {
|
|
40
|
-
#{'--bs-tooltip-bg'}: $color-ci-haze;
|
|
41
|
-
|
|
42
|
-
.tooltip-inner {
|
|
43
|
-
color: $color-ci-dim;
|
|
28
|
+
color: var(--cl-color-text);
|
|
44
29
|
}
|
|
45
30
|
}
|
|
46
31
|
}
|