@castlabs/ui 6.0.2 → 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 +30 -9
- 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
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
.cl-wizard-steps {
|
|
9
9
|
$wizard-li-spacing: $spacing-small;
|
|
10
10
|
$wizard-offset-indicator: -1em;
|
|
11
|
-
$wizard-color-done: $color-ci-
|
|
12
|
-
$wizard-color-
|
|
11
|
+
$wizard-color-done: $color-ci-night;
|
|
12
|
+
$wizard-color-active: $color-ci-red;
|
|
13
|
+
$wizard-color-todo: $color-ci-night;
|
|
13
14
|
|
|
14
15
|
display: flex;
|
|
15
16
|
flex-direction: row;
|
|
@@ -21,11 +22,11 @@
|
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
li {
|
|
24
|
-
@extend %p-small;
|
|
25
|
+
@extend %cl-p-small;
|
|
25
26
|
|
|
26
27
|
color: $color-text;
|
|
27
28
|
display: inline-block;
|
|
28
|
-
font-weight:
|
|
29
|
+
font-weight: 700;
|
|
29
30
|
margin: 0 $wizard-li-spacing;
|
|
30
31
|
position: relative;
|
|
31
32
|
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
background: linear-gradient(90deg, $wizard-color-done 50%, $wizard-color-done 50%);
|
|
37
38
|
content: '';
|
|
38
39
|
display: inline-block;
|
|
39
|
-
height: $
|
|
40
|
+
height: $brand-line-width;
|
|
40
41
|
left: -$wizard-li-spacing;
|
|
41
42
|
position: absolute;
|
|
42
43
|
top: $wizard-offset-indicator;
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
&::after {
|
|
59
60
|
// dot
|
|
60
61
|
background-color: $wizard-color-done;
|
|
61
|
-
border: $
|
|
62
|
+
border: $brand-line-width solid $wizard-color-done;
|
|
62
63
|
border-radius: 100%;
|
|
63
64
|
content: '';
|
|
64
65
|
display: inline-block;
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
&.active {
|
|
73
|
-
color: $wizard-color-
|
|
74
|
+
color: $wizard-color-active;
|
|
74
75
|
|
|
75
76
|
&::before {
|
|
76
77
|
background: linear-gradient(90deg, $wizard-color-done 50%, $wizard-color-todo 50%);
|
|
@@ -87,7 +88,8 @@
|
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
&::after {
|
|
90
|
-
background-color: $color-
|
|
91
|
+
background-color: $wizard-color-active;
|
|
92
|
+
border-color: $wizard-color-active;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
+ *,
|
|
@@ -107,7 +109,7 @@
|
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
&::after {
|
|
110
|
-
background-color: $color-ci-
|
|
112
|
+
background-color: $color-ci-eggshell;
|
|
111
113
|
border-color: $wizard-color-todo;
|
|
112
114
|
}
|
|
113
115
|
}
|
|
@@ -129,7 +131,7 @@
|
|
|
129
131
|
height: calc(100% + $spacing-tiny * 2);
|
|
130
132
|
left: -1.3em;
|
|
131
133
|
top: unset;
|
|
132
|
-
width: $
|
|
134
|
+
width: $brand-line-width;
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
&:first-child::before {
|
|
@@ -137,7 +139,7 @@
|
|
|
137
139
|
height: calc(50% + $spacing-tiny);
|
|
138
140
|
left: -1.3em;
|
|
139
141
|
top: unset;
|
|
140
|
-
width: $
|
|
142
|
+
width: $brand-line-width;
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
&:last-child::before {
|
|
@@ -145,7 +147,7 @@
|
|
|
145
147
|
height: calc(50% + $spacing-tiny);
|
|
146
148
|
left: -1.3em;
|
|
147
149
|
top: unset;
|
|
148
|
-
width: $
|
|
150
|
+
width: $brand-line-width;
|
|
149
151
|
}
|
|
150
152
|
|
|
151
153
|
&::after {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
[invalid],
|
|
10
10
|
.invalid {
|
|
11
|
-
border-color: $color-
|
|
12
|
-
color: $color-
|
|
11
|
+
border-color: $color-attention;
|
|
12
|
+
// color: $color-attention;
|
|
13
13
|
|
|
14
14
|
+ * + .invalid-feedback,
|
|
15
15
|
+ .invalid-feedback {
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
|
|
27
27
|
.form-label.disabled,
|
|
28
28
|
.valid-feedback.disabled {
|
|
29
|
-
color: $color-
|
|
29
|
+
color: $color-disabled;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
textarea[disabled],
|
|
33
33
|
input[disabled],
|
|
34
34
|
select[disabled] {
|
|
35
|
-
color: $
|
|
35
|
+
color: $color-disabled;
|
|
36
36
|
cursor: not-allowed;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
@import 'bootstrap/scss/forms/form-check';
|
|
9
9
|
|
|
10
|
+
$form-check-background: $color-ci-eggshell;
|
|
11
|
+
|
|
10
12
|
.form-check {
|
|
11
13
|
margin-top: $spacing-small;
|
|
12
14
|
padding-left: $spacing-medium;
|
|
@@ -15,6 +17,10 @@
|
|
|
15
17
|
margin-top: $spacing-tiny + $spacing-micro;
|
|
16
18
|
}
|
|
17
19
|
|
|
20
|
+
.form-check-label {
|
|
21
|
+
padding-top: px(1);
|
|
22
|
+
}
|
|
23
|
+
|
|
18
24
|
.form-check-input {
|
|
19
25
|
margin-left: -$spacing-medium;
|
|
20
26
|
margin-right: $spacing-micro;
|
|
@@ -22,27 +28,24 @@
|
|
|
22
28
|
|
|
23
29
|
&[type='checkbox'] {
|
|
24
30
|
border: $form-field-border;
|
|
25
|
-
border-radius:
|
|
31
|
+
border-radius: px(4);
|
|
26
32
|
|
|
27
33
|
&:checked {
|
|
28
|
-
background-color: $color-
|
|
34
|
+
background-color: $color-selected;
|
|
29
35
|
border: 0;
|
|
30
36
|
}
|
|
31
37
|
|
|
32
38
|
&:indeterminate {
|
|
33
|
-
background-color:
|
|
39
|
+
background-color: $color-selected;
|
|
34
40
|
background-image: none;
|
|
35
|
-
border-color: $color-
|
|
36
|
-
box-shadow:
|
|
37
|
-
0 0 0 0.15em $color-white-100 inset,
|
|
38
|
-
0 0 0 1em $color-ci-dim inset;
|
|
41
|
+
border-color: $color-selected;
|
|
42
|
+
box-shadow: 0 0 0 px(2) $form-check-background inset !important;
|
|
39
43
|
|
|
40
44
|
&:disabled,
|
|
41
45
|
&.disabled {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
0 0 0 1em $form-field-border-color inset;
|
|
46
|
+
background-color: $color-disabled;
|
|
47
|
+
border-color: $color-disabled;
|
|
48
|
+
box-shadow: 0 0 0 px(2) $form-check-background inset !important;
|
|
46
49
|
}
|
|
47
50
|
}
|
|
48
51
|
}
|
|
@@ -51,38 +54,40 @@
|
|
|
51
54
|
border: $form-field-border;
|
|
52
55
|
|
|
53
56
|
&:checked {
|
|
54
|
-
background-color: $color-
|
|
55
|
-
|
|
57
|
+
background-color: $color-selected;
|
|
58
|
+
background-image: none; // remove BS dot
|
|
59
|
+
border-color: $color-selected;
|
|
56
60
|
|
|
57
61
|
&.disabled,
|
|
58
62
|
&:disabled {
|
|
59
|
-
border-color: $color-
|
|
63
|
+
border-color: $color-disabled;
|
|
60
64
|
}
|
|
61
65
|
}
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
&:focus {
|
|
65
|
-
@include focus-
|
|
69
|
+
@include cl-color-focus-outline($color-selected, 2px);
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
&.disabled,
|
|
69
73
|
&:disabled {
|
|
70
|
-
background-color: $
|
|
74
|
+
background-color: $form-check-background;
|
|
75
|
+
border-color: $color-disabled;
|
|
71
76
|
opacity: 1;
|
|
72
77
|
|
|
73
78
|
&:checked {
|
|
74
|
-
background-color: $
|
|
79
|
+
background-color: $color-disabled;
|
|
75
80
|
}
|
|
76
81
|
|
|
77
82
|
~ .form-check-label {
|
|
78
|
-
color: $
|
|
83
|
+
color: $color-disabled;
|
|
79
84
|
opacity: 1;
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
}
|
|
83
88
|
|
|
84
89
|
label {
|
|
85
|
-
@extend %p-medium; // looks like regular text
|
|
90
|
+
@extend %cl-p-medium; // looks like regular text
|
|
86
91
|
|
|
87
92
|
letter-spacing: 0;
|
|
88
93
|
margin-top: 0;
|
|
@@ -90,7 +95,7 @@
|
|
|
90
95
|
}
|
|
91
96
|
|
|
92
97
|
.form-label + & {
|
|
93
|
-
margin-top: $spacing-
|
|
98
|
+
margin-top: $form-spacing-label-input;
|
|
94
99
|
}
|
|
95
100
|
|
|
96
101
|
+ .form-check {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
.cl-form {
|
|
9
9
|
[type='file'] {
|
|
10
10
|
@extend %form-field-box;
|
|
11
|
-
@extend %form-field-typography;
|
|
11
|
+
@extend %form-field-typography-sans;
|
|
12
12
|
|
|
13
|
-
@include form-focus
|
|
13
|
+
@include form-focus;
|
|
14
14
|
|
|
15
15
|
&.cl-file {
|
|
16
16
|
border: 0;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&:focus + .cl-file-companion {
|
|
25
|
-
@include form-focus-
|
|
25
|
+
@include form-focus-embed();
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&[invalid]:focus + .cl-file-companion,
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.form-label + & {
|
|
34
|
-
|
|
34
|
+
margin-top: $form-spacing-label-input;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&[invalid] + .cl-file-companion,
|
|
38
38
|
&.invalid + .cl-file-companion {
|
|
39
|
-
border-color: $color-
|
|
40
|
-
color: $color-
|
|
39
|
+
border-color: $color-attention;
|
|
40
|
+
color: $color-attention;
|
|
41
41
|
|
|
42
42
|
+ * + .invalid-feedback,
|
|
43
43
|
+ .invalid-feedback {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&[disabled] + .cl-file-companion {
|
|
54
|
-
color: $
|
|
54
|
+
color: $color-disabled;
|
|
55
55
|
cursor: not-allowed;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -59,13 +59,11 @@
|
|
|
59
59
|
.cl-file-companion {
|
|
60
60
|
@extend %spacing-micro;
|
|
61
61
|
@extend %form-field-box;
|
|
62
|
-
@extend %form-field-typography;
|
|
62
|
+
@extend %form-field-typography-sans;
|
|
63
63
|
|
|
64
|
-
@include form-focus
|
|
64
|
+
@include form-focus;
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
text-transform: none;
|
|
69
|
-
}
|
|
66
|
+
letter-spacing: 0;
|
|
67
|
+
text-transform: none;
|
|
70
68
|
}
|
|
71
69
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
> .btn + :not(.btn) {
|
|
22
|
-
border-left-width: $
|
|
22
|
+
border-left-width: $brand-line-width !important; // sass-lint:disable-line no-important
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
> * {
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
|
|
38
38
|
&:focus,
|
|
39
39
|
&.invalid:focus {
|
|
40
|
-
box-shadow: -$
|
|
40
|
+
box-shadow: -$brand-line-width 0 0 $color-focus !important; // sass-lint:disable-line no-important
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&.invalid {
|
|
45
|
-
box-shadow: -$
|
|
45
|
+
box-shadow: -$brand-line-width 0 0 $color-attention !important; // sass-lint:disable-line no-important
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -56,10 +56,44 @@
|
|
|
56
56
|
@extend %form-field-box;
|
|
57
57
|
@extend %form-field-typography-monospace;
|
|
58
58
|
|
|
59
|
-
background-color: $color-ci-
|
|
59
|
+
background-color: $color-ci-clay;
|
|
60
60
|
height: 100%;
|
|
61
61
|
white-space: nowrap;
|
|
62
62
|
width: auto;
|
|
63
63
|
}
|
|
64
|
+
|
|
65
|
+
// --- un-round left sides ------------------------------------------------------
|
|
66
|
+
.input-group-text .form-control {
|
|
67
|
+
border-bottom-left-radius: $brand-border-radius;
|
|
68
|
+
border-top-left-radius: $brand-border-radius;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.input-group-text + .form-control,
|
|
72
|
+
.form-control + .form-control,
|
|
73
|
+
.form-control + p + .form-control,
|
|
74
|
+
.form-control + p + p + .form-control {
|
|
75
|
+
border-bottom-left-radius: 0;
|
|
76
|
+
border-top-left-radius: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// --- un-round right sides ------------------------------------------------------
|
|
80
|
+
.input-group-text:first-child,
|
|
81
|
+
.form-control:first-child {
|
|
82
|
+
border-bottom-right-radius: 0;
|
|
83
|
+
border-top-right-radius: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.form-control + .form-control,
|
|
87
|
+
.form-control + p + .form-control,
|
|
88
|
+
.form-control + p + p + .form-control {
|
|
89
|
+
border-bottom-right-radius: 0;
|
|
90
|
+
border-top-right-radius: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
> .cl-last-child,
|
|
94
|
+
> :last-child {
|
|
95
|
+
border-bottom-right-radius: $brand-border-radius !important;
|
|
96
|
+
border-top-right-radius: $brand-border-radius !important;
|
|
97
|
+
}
|
|
64
98
|
}
|
|
65
99
|
}
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
display: inline-block;
|
|
12
12
|
|
|
13
13
|
.form-label + & {
|
|
14
|
-
margin-top: $spacing-
|
|
14
|
+
margin-top: $form-spacing-label-input;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&.cl-field-sans {
|
|
18
|
-
@extend %form-field-typography;
|
|
18
|
+
@extend %form-field-typography-sans;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&.cl-field-monospace {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
[type='time'],
|
|
35
35
|
[type='datetime-local'] {
|
|
36
36
|
@extend %form-field-box;
|
|
37
|
-
@extend %form-field-typography;
|
|
37
|
+
@extend %form-field-typography-monospace;
|
|
38
38
|
|
|
39
|
-
@include form-focus
|
|
39
|
+
@include form-focus;
|
|
40
40
|
|
|
41
41
|
&.form-control-plaintext {
|
|
42
42
|
background-color: transparent;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
&.cl-field-sans {
|
|
47
|
-
@extend %form-field-typography;
|
|
47
|
+
@extend %form-field-typography-sans;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&.cl-field-monospace {
|
|
@@ -52,11 +52,15 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&::placeholder {
|
|
55
|
-
color: $color-ci-
|
|
55
|
+
color: $color-ci-clay;
|
|
56
56
|
opacity: 1;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
textarea {
|
|
61
|
+
border-bottom-right-radius: px(5);
|
|
62
|
+
}
|
|
63
|
+
|
|
60
64
|
[type='number'] {
|
|
61
65
|
appearance: textfield;
|
|
62
66
|
|
|
@@ -74,14 +78,14 @@
|
|
|
74
78
|
}
|
|
75
79
|
|
|
76
80
|
[type='range'] {
|
|
77
|
-
$color-bullet: $color-ci-
|
|
78
|
-
$color-bullet-focus: $color-ci-
|
|
81
|
+
$color-bullet: $color-ci-night;
|
|
82
|
+
$color-bullet-focus: $color-ci-berry;
|
|
79
83
|
|
|
80
84
|
appearance: none;
|
|
81
|
-
background: $color-ci-
|
|
82
|
-
border-radius: $border-
|
|
85
|
+
background: $color-ci-clay;
|
|
86
|
+
border-radius: $brand-border-radius;
|
|
83
87
|
height: $spacing-tiny;
|
|
84
|
-
outline:
|
|
88
|
+
outline: 0;
|
|
85
89
|
position: relative;
|
|
86
90
|
top: px(-2);
|
|
87
91
|
width: 100%;
|
|
@@ -14,13 +14,14 @@
|
|
|
14
14
|
|
|
15
15
|
.form-select {
|
|
16
16
|
@extend %form-field-box;
|
|
17
|
-
@extend %form-field-typography;
|
|
17
|
+
@extend %form-field-typography-monospace;
|
|
18
18
|
|
|
19
|
-
@include form-focus
|
|
19
|
+
@include form-focus;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
display: block;
|
|
22
|
+
|
|
23
|
+
&.cl-field-sans {
|
|
24
|
+
@extend %form-field-typography-sans;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
&.cl-field-monospace {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
padding-bottom: $spacing-micro;
|
|
11
11
|
|
|
12
12
|
legend {
|
|
13
|
-
@extend %p-form-label;
|
|
13
|
+
@extend %cl-p-form-label;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&:disabled,
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
textarea,
|
|
31
31
|
select {
|
|
32
32
|
@extend %form-field-box;
|
|
33
|
-
@extend %form-field-typography;
|
|
33
|
+
@extend %form-field-typography-sans;
|
|
34
34
|
|
|
35
35
|
cursor: not-allowed;
|
|
36
36
|
}
|
|
@@ -34,16 +34,14 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.form-label {
|
|
37
|
-
@extend %p-form-label;
|
|
37
|
+
@extend %cl-p-form-label;
|
|
38
38
|
|
|
39
39
|
.required {
|
|
40
|
-
color: $color-attention;
|
|
41
|
-
font-weight: 800;
|
|
42
40
|
margin-left: $spacing-micro;
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
+ * {
|
|
46
|
-
margin-top: $spacing-
|
|
44
|
+
margin-top: $form-spacing-label-input;
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
|
|
@@ -53,7 +51,7 @@
|
|
|
53
51
|
|
|
54
52
|
.valid-feedback,
|
|
55
53
|
.invalid-feedback {
|
|
56
|
-
@extend %p-small;
|
|
54
|
+
@extend %cl-p-small;
|
|
57
55
|
|
|
58
56
|
margin-left: $form-info-indent;
|
|
59
57
|
margin-top: $spacing-micro;
|
|
@@ -70,17 +68,17 @@
|
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
.invalid-feedback {
|
|
73
|
-
color: $color-
|
|
71
|
+
// color: $color-attention;
|
|
74
72
|
display: none;
|
|
75
73
|
|
|
76
74
|
&::before {
|
|
77
|
-
color: $color-
|
|
75
|
+
color: $color-attention;
|
|
78
76
|
content: '\f057';
|
|
79
77
|
}
|
|
80
78
|
}
|
|
81
79
|
|
|
82
80
|
.valid-feedback.valid-feedback-none {
|
|
83
|
-
min-height: 1.5em; // line-height of %p-small
|
|
81
|
+
min-height: 1.5em; // line-height of %cl-p-small
|
|
84
82
|
|
|
85
83
|
&::before {
|
|
86
84
|
display: none;
|
|
@@ -6,18 +6,23 @@
|
|
|
6
6
|
// This file adds & customizes bootstrap's modals.
|
|
7
7
|
|
|
8
8
|
.modal {
|
|
9
|
+
@extend %cl-color-eggshell;
|
|
9
10
|
@include spacing-before(0);
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
background-color: $color-ci-backdrop;
|
|
13
|
+
display: none;
|
|
14
|
+
height: 100vh;
|
|
15
|
+
left: 0;
|
|
16
|
+
padding: 2rem 0;
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
z-index: $layer-z-modal;
|
|
21
|
+
|
|
22
|
+
a {
|
|
23
|
+
@include typography-link(var(--cl-color-link), $color-ci-ash);
|
|
24
|
+
|
|
25
|
+
display: inline-block;
|
|
21
26
|
}
|
|
22
27
|
|
|
23
28
|
&.shown {
|
|
@@ -61,25 +66,38 @@
|
|
|
61
66
|
}
|
|
62
67
|
|
|
63
68
|
&-content {
|
|
64
|
-
|
|
69
|
+
background-color: var(--cl-color-background);
|
|
70
|
+
border: 0;
|
|
71
|
+
border-radius: $brand-border-radius;
|
|
65
72
|
box-shadow: 0 0 4rem $color-black-50a;
|
|
73
|
+
color: var(--cl-color-text);
|
|
66
74
|
display: flex;
|
|
67
75
|
flex-direction: column;
|
|
68
76
|
justify-content: space-between;
|
|
69
77
|
max-height: calc(100vh - 4rem);
|
|
78
|
+
position: relative;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&-header,
|
|
82
|
+
&-body,
|
|
83
|
+
&-footer {
|
|
84
|
+
padding: $card-spacing;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&-header + &-body,
|
|
88
|
+
&-header + &-footer,
|
|
89
|
+
&-body + &-body,
|
|
90
|
+
&-body + &-footer {
|
|
91
|
+
border-top: 0;
|
|
92
|
+
padding-top: 0;
|
|
70
93
|
}
|
|
71
94
|
|
|
72
95
|
&-header {
|
|
73
|
-
@extend %h3;
|
|
96
|
+
@extend %cl-h3;
|
|
74
97
|
|
|
75
98
|
align-items: center;
|
|
76
|
-
background-color: $color-ci-blue;
|
|
77
|
-
border-top-left-radius: $border-radius;
|
|
78
|
-
border-top-right-radius: $border-radius;
|
|
79
|
-
color: $color-ci-white;
|
|
80
99
|
display: flex;
|
|
81
100
|
justify-content: space-between;
|
|
82
|
-
padding: $spacing-small * 0.75 $spacing-medium;
|
|
83
101
|
|
|
84
102
|
h1,
|
|
85
103
|
.cl-h1,
|
|
@@ -90,11 +108,18 @@
|
|
|
90
108
|
color: inherit;
|
|
91
109
|
}
|
|
92
110
|
|
|
93
|
-
.modal-help
|
|
94
|
-
|
|
111
|
+
.modal-help,
|
|
112
|
+
.cl-modal-help {
|
|
113
|
+
@include typography-link(var(--cl-color-text), $color-ci-ash);
|
|
114
|
+
|
|
115
|
+
display: inline-block;
|
|
116
|
+
line-height: 1;
|
|
117
|
+
position: absolute;
|
|
118
|
+
right: $card-spacing;
|
|
119
|
+
top: $spacing-medium;
|
|
95
120
|
|
|
96
|
-
|
|
97
|
-
|
|
121
|
+
> * {
|
|
122
|
+
margin-left: $spacing-tiny;
|
|
98
123
|
}
|
|
99
124
|
}
|
|
100
125
|
}
|
|
@@ -102,11 +127,7 @@
|
|
|
102
127
|
&-body {
|
|
103
128
|
@include spacing-before(0);
|
|
104
129
|
|
|
105
|
-
|
|
106
|
-
background-color: $color-ci-haze;
|
|
107
|
-
overflow-y: auto;
|
|
108
|
-
padding: $spacing-small $spacing-medium;
|
|
109
|
-
}
|
|
130
|
+
overflow-y: auto;
|
|
110
131
|
|
|
111
132
|
> *:first-child {
|
|
112
133
|
margin-top: 0;
|
|
@@ -116,15 +137,9 @@
|
|
|
116
137
|
&-footer {
|
|
117
138
|
@include spacing-before(0);
|
|
118
139
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
border-bottom-right-radius: $border-radius;
|
|
123
|
-
flex-direction: row;
|
|
124
|
-
justify-content: space-between;
|
|
125
|
-
padding: $spacing-small $spacing-medium $spacing-medium;
|
|
126
|
-
text-align: center;
|
|
127
|
-
}
|
|
140
|
+
flex-direction: row;
|
|
141
|
+
justify-content: space-between;
|
|
142
|
+
text-align: center;
|
|
128
143
|
|
|
129
144
|
@include media-breakpoint-up(sm) {
|
|
130
145
|
// buttons below each other on phones
|