@baloise/ds-styles 17.3.0 → 17.4.0-snapshot.1609-d2bcc38d3
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/css/all.css +345 -448
- package/css/all.css.map +1 -1
- package/css/all.min.css +1 -1
- package/css/baloise-design-system.css +345 -448
- package/css/baloise-design-system.css.map +1 -1
- package/css/baloise-design-system.min.css +1 -1
- package/css/basic.css +68 -128
- package/css/basic.css.map +1 -1
- package/css/basic.min.css +1 -1
- package/css/core.css +68 -54
- package/css/core.css.map +1 -1
- package/css/core.min.css +1 -1
- package/css/structure.css.map +1 -1
- package/css/utilities/all.css +290 -0
- package/css/utilities/all.css.map +1 -1
- package/css/utilities/all.min.css +1 -1
- package/css/utilities/background.css.map +1 -1
- package/css/utilities/border.css.map +1 -1
- package/css/utilities/elevation.css +64 -0
- package/css/utilities/elevation.css.map +1 -1
- package/css/utilities/elevation.min.css +1 -1
- package/css/utilities/flex.css +130 -0
- package/css/utilities/flex.css.map +1 -1
- package/css/utilities/flex.min.css +1 -1
- package/css/utilities/grid.css.map +1 -1
- package/css/utilities/interaction.css.map +1 -1
- package/css/utilities/layout.css +96 -0
- package/css/utilities/layout.css.map +1 -1
- package/css/utilities/layout.min.css +1 -1
- package/css/utilities/sizing.css.map +1 -1
- package/css/utilities/spacing.css.map +1 -1
- package/css/utilities/typography.css.map +1 -1
- package/package.json +3 -3
- package/sass/all.sass +6 -6
- package/sass/baloise-design-system.sass +1 -1
- package/sass/basic.sass +5 -5
- package/sass/core.sass +3 -4
- package/sass/font.sass +1 -1
- package/sass/mixins.sass +1 -3
- package/sass/structure.sass +1 -1
- package/sass/utilities/all.sass +9 -9
- package/sass/utilities/background.sass +2 -2
- package/sass/utilities/border.sass +2 -2
- package/sass/utilities/elevation.sass +2 -2
- package/sass/utilities/flex.sass +2 -2
- package/sass/utilities/grid.sass +2 -2
- package/sass/utilities/interaction.sass +2 -2
- package/sass/utilities/layout.sass +2 -2
- package/sass/utilities/sizing.sass +2 -2
- package/sass/utilities/spacing.sass +2 -2
- package/sass/utilities/typography.sass +2 -2
- package/src/core/_all.sass +8 -8
- package/src/core/container.sass +2 -0
- package/src/core/form/_all.sass +6 -6
- package/src/core/form/button.sass +2 -0
- package/src/core/form/file.sass +3 -0
- package/src/core/form/input-textarea.sass +2 -0
- package/src/core/form/select.sass +3 -0
- package/src/core/form/shared.sass +2 -0
- package/src/core/form/tools.sass +3 -1
- package/src/core/grid.sass +1 -0
- package/src/core/link.sass +2 -0
- package/src/core/list.sass +7 -0
- package/src/core/table.sass +2 -0
- package/src/core/typography.sass +2 -0
- package/src/core/vars/_all.sass +7 -7
- package/src/generated/background.sass +3 -0
- package/src/generated/border.sass +3 -0
- package/src/generated/elevation.sass +63 -0
- package/src/generated/flex.sass +105 -0
- package/src/generated/interaction.sass +3 -0
- package/src/generated/layout.sass +93 -0
- package/src/generated/sizing.sass +3 -0
- package/src/generated/spacing.sass +3 -0
- package/src/generated/typography.sass +3 -0
- package/src/mixins/_all.sass +6 -6
- package/src/mixins/breakpoint.mixin.sass +2 -0
- package/src/mixins/extends.sass +2 -0
- package/src/mixins/general.mixin.sass +1 -0
package/css/core.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 06 Feb 2025 21:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root {
|
|
6
6
|
--bal-text-shadow-normal: 0px 0px 4px rgba(0, 0, 0, 0.15), 0px 4px 12px rgba(0, 0, 0, 0.25), 0px 0px 80px rgba(0, 0, 0, 0.5); /* Increases readability when used on a image background. */
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
--bal-opacity-0: 0;
|
|
14
14
|
--bal-font-family-text: BaloiseCreateText, Arial, sans-serif;
|
|
15
15
|
--bal-font-family-title: BaloiseCreateHeadline, Arial, sans-serif;
|
|
16
|
+
--bal-shadow-header: 0 4px 4px 0 rgba(0, 7, 57, 0.15); /* Shadow effect for a header bar */
|
|
16
17
|
--bal-shadow-large: 0 0 30px 0 rgba(0, 7, 57, 0.15); /* Large shadow are used for hover effects. */
|
|
17
18
|
--bal-shadow-normal: 0 0 10px 0 rgba(0, 7, 57, 0.15); /* Default shadow size to elevate an element. */
|
|
18
19
|
--bal-shadow-small: 0px 2px 5px 1px rgba(0, 7, 57, 0.12);
|
|
@@ -267,40 +268,7 @@
|
|
|
267
268
|
--bal-color-background-primary: var(--bal-color-primary-5); /* Blue is our accent color and it is present on every touchpoint. Our logo, text, buttons and links are blue. */
|
|
268
269
|
}
|
|
269
270
|
|
|
270
|
-
:
|
|
271
|
-
--bal-line-height-x-small: 1.125rem;
|
|
272
|
-
--bal-line-height-small: 1.25rem;
|
|
273
|
-
--bal-line-height-normal: 1.5rem;
|
|
274
|
-
--bal-line-height-medium: 1.5rem;
|
|
275
|
-
--bal-line-height-large: 1.5rem;
|
|
276
|
-
--bal-line-height-x-large: 2rem;
|
|
277
|
-
--bal-line-height-xx-large: 2rem;
|
|
278
|
-
--bal-line-height-xxx-large: 2rem;
|
|
279
|
-
--bal-line-height-xxxx-large: 2.5rem;
|
|
280
|
-
--bal-line-height-xxxxx-large: 3.5rem;
|
|
281
|
-
--bal-line-height-tablet-x-small: 1.125rem;
|
|
282
|
-
--bal-line-height-tablet-small: 1.25rem;
|
|
283
|
-
--bal-line-height-tablet-normal: 1.5rem;
|
|
284
|
-
--bal-line-height-tablet-medium: 1.625rem;
|
|
285
|
-
--bal-line-height-tablet-large: 2rem;
|
|
286
|
-
--bal-line-height-tablet-x-large: 2rem;
|
|
287
|
-
--bal-line-height-tablet-xx-large: 2.5rem;
|
|
288
|
-
--bal-line-height-tablet-xxx-large: 3rem;
|
|
289
|
-
--bal-line-height-tablet-xxxx-large: 3.5rem;
|
|
290
|
-
--bal-line-height-tablet-xxxxx-large: 6rem;
|
|
291
|
-
--bal-line-height-desktop-x-small: 1.125rem;
|
|
292
|
-
--bal-line-height-desktop-small: 1.25rem;
|
|
293
|
-
--bal-line-height-desktop-normal: 1.5rem;
|
|
294
|
-
--bal-line-height-desktop-medium: 1.625rem;
|
|
295
|
-
--bal-line-height-desktop-large: 2rem;
|
|
296
|
-
--bal-line-height-desktop-x-large: 2rem;
|
|
297
|
-
--bal-line-height-desktop-xx-large: 2.5rem;
|
|
298
|
-
--bal-line-height-desktop-xxx-large: 3rem;
|
|
299
|
-
--bal-line-height-desktop-xxxx-large: 3.5rem;
|
|
300
|
-
--bal-line-height-desktop-xxxxx-large: 6rem;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.table-container:not(:last-child), .table:not(:last-child) {
|
|
271
|
+
.table:not(:last-child), .table-container:not(:last-child) {
|
|
304
272
|
margin-bottom: 0.25rem;
|
|
305
273
|
}
|
|
306
274
|
|
|
@@ -312,9 +280,9 @@
|
|
|
312
280
|
}
|
|
313
281
|
|
|
314
282
|
@media (hover: hover) and (pointer: fine) {
|
|
315
|
-
a.link:not(.button).is-
|
|
316
|
-
a.is-link:not(.button).is-
|
|
317
|
-
a.is-link:not(.button).is-
|
|
283
|
+
a.link:not(.button).is-inverted:focus-visible,
|
|
284
|
+
a.is-link:not(.button).is-inverted:focus-visible, a.link:not(.button).is-light:focus-visible,
|
|
285
|
+
a.is-link:not(.button).is-light:focus-visible, .button.is-light:focus-visible:not(:active), .button.is-light.is-focused:not(:active), .button.is-inverted:focus-visible:not(:active), .button.is-inverted.is-focused:not(:active), .button.is-inverted.is-light:focus-visible:not(:active), .button.is-inverted.is-light.is-focused:not(:active) {
|
|
318
286
|
box-shadow: var(--bal-focus-shadow-inverted) !important;
|
|
319
287
|
}
|
|
320
288
|
}
|
|
@@ -869,7 +837,7 @@
|
|
|
869
837
|
--bal-table-striped-row-even-background-color-hover: var(--bal-color-grey-2);
|
|
870
838
|
}
|
|
871
839
|
|
|
872
|
-
.select select, .
|
|
840
|
+
.select select, .input, .textarea {
|
|
873
841
|
justify-content: flex-start;
|
|
874
842
|
background-color: var(--bal-form-field-control-background);
|
|
875
843
|
border-color: var(--bal-form-field-control-border-color);
|
|
@@ -877,48 +845,48 @@
|
|
|
877
845
|
border-radius: var(--bal-form-field-control-radius);
|
|
878
846
|
color: var(--bal-form-field-control-color);
|
|
879
847
|
}
|
|
880
|
-
.select select::-moz-placeholder, .
|
|
848
|
+
.select select::-moz-placeholder, .input::-moz-placeholder, .textarea::-moz-placeholder {
|
|
881
849
|
color: var(--bal-form-field-control-placeholder-color);
|
|
882
850
|
}
|
|
883
|
-
.select select::-webkit-input-placeholder, .
|
|
851
|
+
.select select::-webkit-input-placeholder, .input::-webkit-input-placeholder, .textarea::-webkit-input-placeholder {
|
|
884
852
|
color: var(--bal-form-field-control-placeholder-color);
|
|
885
853
|
}
|
|
886
|
-
.select select:-moz-placeholder, .
|
|
854
|
+
.select select:-moz-placeholder, .input:-moz-placeholder, .textarea:-moz-placeholder {
|
|
887
855
|
color: var(--bal-form-field-control-placeholder-color);
|
|
888
856
|
}
|
|
889
|
-
.select select:-ms-input-placeholder, .
|
|
857
|
+
.select select:-ms-input-placeholder, .input:-ms-input-placeholder, .textarea:-ms-input-placeholder {
|
|
890
858
|
color: var(--bal-form-field-control-placeholder-color);
|
|
891
859
|
}
|
|
892
860
|
@media (hover: hover) and (pointer: fine) {
|
|
893
|
-
.select select:hover, .
|
|
861
|
+
.select select:hover, .input:hover, .textarea:hover, .select select.is-hovered, .is-hovered.input, .is-hovered.textarea {
|
|
894
862
|
border-color: var(--bal-form-field-control-border-color-hover);
|
|
895
863
|
background-color: var(--bal-form-field-control-background-hover);
|
|
896
864
|
}
|
|
897
865
|
}
|
|
898
|
-
.select select.bal-focused, .bal-focused.
|
|
866
|
+
.select select.bal-focused, .bal-focused.input, .bal-focused.textarea, .select select:focus, .input:focus, .textarea:focus, .select select.is-focused, .is-focused.input, .is-focused.textarea, .select select:active, .input:active, .textarea:active, .select select.is-active, .is-active.input, .is-active.textarea {
|
|
899
867
|
border-color: var(--bal-form-field-control-border-color-active);
|
|
900
868
|
background-color: var(--bal-form-field-control-background-active);
|
|
901
869
|
}
|
|
902
|
-
.select select[disabled], [disabled].
|
|
870
|
+
.select select[disabled], [disabled].input, [disabled].textarea, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .input, fieldset[disabled] .textarea {
|
|
903
871
|
background-color: var(--bal-form-field-control-disabled-background);
|
|
904
872
|
border-color: var(--bal-form-field-control-disabled-border-color);
|
|
905
873
|
box-shadow: none;
|
|
906
874
|
color: var(--bal-form-field-control-disabled-color);
|
|
907
875
|
}
|
|
908
|
-
.select select[disabled]::-moz-placeholder, [disabled].
|
|
876
|
+
.select select[disabled]::-moz-placeholder, [disabled].input::-moz-placeholder, [disabled].textarea::-moz-placeholder, fieldset[disabled] .select select::-moz-placeholder, .select fieldset[disabled] select::-moz-placeholder, fieldset[disabled] .input::-moz-placeholder, fieldset[disabled] .textarea::-moz-placeholder {
|
|
909
877
|
color: var(--bal-form-field-control-disabled-color);
|
|
910
878
|
}
|
|
911
|
-
.select select[disabled]::-webkit-input-placeholder, [disabled].
|
|
879
|
+
.select select[disabled]::-webkit-input-placeholder, [disabled].input::-webkit-input-placeholder, [disabled].textarea::-webkit-input-placeholder, fieldset[disabled] .select select::-webkit-input-placeholder, .select fieldset[disabled] select::-webkit-input-placeholder, fieldset[disabled] .input::-webkit-input-placeholder, fieldset[disabled] .textarea::-webkit-input-placeholder {
|
|
912
880
|
color: var(--bal-form-field-control-disabled-color);
|
|
913
881
|
}
|
|
914
|
-
.select select[disabled]:-moz-placeholder, [disabled].
|
|
882
|
+
.select select[disabled]:-moz-placeholder, [disabled].input:-moz-placeholder, [disabled].textarea:-moz-placeholder, fieldset[disabled] .select select:-moz-placeholder, .select fieldset[disabled] select:-moz-placeholder, fieldset[disabled] .input:-moz-placeholder, fieldset[disabled] .textarea:-moz-placeholder {
|
|
915
883
|
color: var(--bal-form-field-control-disabled-color);
|
|
916
884
|
}
|
|
917
|
-
.select select[disabled]:-ms-input-placeholder, [disabled].
|
|
885
|
+
.select select[disabled]:-ms-input-placeholder, [disabled].input:-ms-input-placeholder, [disabled].textarea:-ms-input-placeholder, fieldset[disabled] .select select:-ms-input-placeholder, .select fieldset[disabled] select:-ms-input-placeholder, fieldset[disabled] .input:-ms-input-placeholder, fieldset[disabled] .textarea:-ms-input-placeholder {
|
|
918
886
|
color: var(--bal-form-field-control-disabled-color);
|
|
919
887
|
}
|
|
920
888
|
|
|
921
|
-
.file-cta, .select select, .
|
|
889
|
+
.file-cta, .select select, .input, .textarea {
|
|
922
890
|
-moz-appearance: none !important;
|
|
923
891
|
-webkit-appearance: none !important;
|
|
924
892
|
align-items: center;
|
|
@@ -936,10 +904,10 @@
|
|
|
936
904
|
position: relative;
|
|
937
905
|
vertical-align: top;
|
|
938
906
|
}
|
|
939
|
-
.file-cta:focus, .select select:focus, .
|
|
907
|
+
.file-cta:focus, .select select:focus, .input:focus, .textarea:focus, .is-focused.file-cta, .select select.is-focused, .is-focused.input, .is-focused.textarea, .file-cta:active, .select select:active, .input:active, .textarea:active, .is-active.file-cta, .select select.is-active, .is-active.input, .is-active.textarea {
|
|
940
908
|
outline: none;
|
|
941
909
|
}
|
|
942
|
-
[disabled].file-cta, .select select[disabled], [disabled].
|
|
910
|
+
[disabled].file-cta, .select select[disabled], [disabled].input, [disabled].textarea, fieldset[disabled] .file-cta, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .input, fieldset[disabled] .textarea {
|
|
943
911
|
cursor: default;
|
|
944
912
|
}
|
|
945
913
|
|
|
@@ -1352,7 +1320,7 @@ input.is-grouped {
|
|
|
1352
1320
|
}
|
|
1353
1321
|
|
|
1354
1322
|
.field:not(:last-child) {
|
|
1355
|
-
margin-bottom: 0.
|
|
1323
|
+
margin-bottom: 0.25rem;
|
|
1356
1324
|
}
|
|
1357
1325
|
.field.has-addons {
|
|
1358
1326
|
display: flex;
|
|
@@ -3981,6 +3949,19 @@ ul.is-list {
|
|
|
3981
3949
|
margin-bottom: 2rem;
|
|
3982
3950
|
}
|
|
3983
3951
|
}
|
|
3952
|
+
ol.list.is-inside,
|
|
3953
|
+
ul.list.is-inside,
|
|
3954
|
+
ol.is-list.is-inside,
|
|
3955
|
+
ul.is-list.is-inside {
|
|
3956
|
+
list-style-position: inside !important;
|
|
3957
|
+
margin-left: 0;
|
|
3958
|
+
}
|
|
3959
|
+
ol.list.is-inside li,
|
|
3960
|
+
ul.list.is-inside li,
|
|
3961
|
+
ol.is-list.is-inside li,
|
|
3962
|
+
ul.is-list.is-inside li {
|
|
3963
|
+
list-style-position: inside !important;
|
|
3964
|
+
}
|
|
3984
3965
|
ol.list li,
|
|
3985
3966
|
ul.list li,
|
|
3986
3967
|
ol.is-list li,
|
|
@@ -4498,4 +4479,37 @@ table.table td.has-buttons .buttons {
|
|
|
4498
4479
|
.has-sticky-footer footer.footer {
|
|
4499
4480
|
margin-top: auto;
|
|
4500
4481
|
}
|
|
4482
|
+
|
|
4483
|
+
:root {
|
|
4484
|
+
--bal-line-height-x-small: 1.125rem;
|
|
4485
|
+
--bal-line-height-small: 1.25rem;
|
|
4486
|
+
--bal-line-height-normal: 1.5rem;
|
|
4487
|
+
--bal-line-height-medium: 1.5rem;
|
|
4488
|
+
--bal-line-height-large: 1.5rem;
|
|
4489
|
+
--bal-line-height-x-large: 2rem;
|
|
4490
|
+
--bal-line-height-xx-large: 2rem;
|
|
4491
|
+
--bal-line-height-xxx-large: 2rem;
|
|
4492
|
+
--bal-line-height-xxxx-large: 2.5rem;
|
|
4493
|
+
--bal-line-height-xxxxx-large: 3.5rem;
|
|
4494
|
+
--bal-line-height-tablet-x-small: 1.125rem;
|
|
4495
|
+
--bal-line-height-tablet-small: 1.25rem;
|
|
4496
|
+
--bal-line-height-tablet-normal: 1.5rem;
|
|
4497
|
+
--bal-line-height-tablet-medium: 1.625rem;
|
|
4498
|
+
--bal-line-height-tablet-large: 2rem;
|
|
4499
|
+
--bal-line-height-tablet-x-large: 2rem;
|
|
4500
|
+
--bal-line-height-tablet-xx-large: 2.5rem;
|
|
4501
|
+
--bal-line-height-tablet-xxx-large: 3rem;
|
|
4502
|
+
--bal-line-height-tablet-xxxx-large: 3.5rem;
|
|
4503
|
+
--bal-line-height-tablet-xxxxx-large: 6rem;
|
|
4504
|
+
--bal-line-height-desktop-x-small: 1.125rem;
|
|
4505
|
+
--bal-line-height-desktop-small: 1.25rem;
|
|
4506
|
+
--bal-line-height-desktop-normal: 1.5rem;
|
|
4507
|
+
--bal-line-height-desktop-medium: 1.625rem;
|
|
4508
|
+
--bal-line-height-desktop-large: 2rem;
|
|
4509
|
+
--bal-line-height-desktop-x-large: 2rem;
|
|
4510
|
+
--bal-line-height-desktop-xx-large: 2.5rem;
|
|
4511
|
+
--bal-line-height-desktop-xxx-large: 3rem;
|
|
4512
|
+
--bal-line-height-desktop-xxxx-large: 3.5rem;
|
|
4513
|
+
--bal-line-height-desktop-xxxxx-large: 6rem;
|
|
4514
|
+
}
|
|
4501
4515
|
/*# sourceMappingURL=core.css.map */
|