@baloise/ds-styles 0.0.5-nightly.20240301
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/LICENSE +201 -0
- package/README.md +40 -0
- package/bin/index.mjs +1333 -0
- package/css/all.css +18468 -0
- package/css/all.css.map +1 -0
- package/css/all.min.css +1 -0
- package/css/baloise-design-system.css +18468 -0
- package/css/baloise-design-system.css.map +1 -0
- package/css/baloise-design-system.min.css +1 -0
- package/css/core.css +4423 -0
- package/css/core.css.map +1 -0
- package/css/core.min.css +1 -0
- package/css/font.css +29 -0
- package/css/font.css.map +1 -0
- package/css/font.min.css +1 -0
- package/css/mixins.css +2 -0
- package/css/mixins.css.map +1 -0
- package/css/mixins.min.css +0 -0
- package/css/normalize.css +351 -0
- package/css/normalize.css.map +1 -0
- package/css/normalize.min.css +1 -0
- package/css/structure.css +147 -0
- package/css/structure.css.map +1 -0
- package/css/structure.min.css +1 -0
- package/css/themes/compact.css +30 -0
- package/css/themes/compact.css.map +1 -0
- package/css/themes/compact.min.css +1 -0
- package/css/utilities/all.css +13112 -0
- package/css/utilities/all.css.map +1 -0
- package/css/utilities/all.min.css +1 -0
- package/css/utilities/background.css +1460 -0
- package/css/utilities/background.css.map +1 -0
- package/css/utilities/background.min.css +1 -0
- package/css/utilities/border.css +4697 -0
- package/css/utilities/border.css.map +1 -0
- package/css/utilities/border.min.css +1 -0
- package/css/utilities/elevation.css +317 -0
- package/css/utilities/elevation.css.map +1 -0
- package/css/utilities/elevation.min.css +1 -0
- package/css/utilities/flex.css +969 -0
- package/css/utilities/flex.css.map +1 -0
- package/css/utilities/flex.min.css +1 -0
- package/css/utilities/grid.css +1209 -0
- package/css/utilities/grid.css.map +1 -0
- package/css/utilities/grid.min.css +1 -0
- package/css/utilities/interaction.css +44 -0
- package/css/utilities/interaction.css.map +1 -0
- package/css/utilities/interaction.min.css +1 -0
- package/css/utilities/layout.css +1055 -0
- package/css/utilities/layout.css.map +1 -0
- package/css/utilities/layout.min.css +1 -0
- package/css/utilities/sizing.css +1931 -0
- package/css/utilities/sizing.css.map +1 -0
- package/css/utilities/sizing.min.css +1 -0
- package/css/utilities/spacing.css +1881 -0
- package/css/utilities/spacing.css.map +1 -0
- package/css/utilities/spacing.min.css +1 -0
- package/css/utilities/typography.css +763 -0
- package/css/utilities/typography.css.map +1 -0
- package/css/utilities/typography.min.css +1 -0
- package/package.json +36 -0
- package/sass/all.sass +6 -0
- package/sass/baloise-design-system.sass +1 -0
- package/sass/core.sass +37 -0
- package/sass/font.sass +1 -0
- package/sass/mixins.sass +3 -0
- package/sass/normalize.sass +359 -0
- package/sass/structure.sass +113 -0
- package/sass/themes/compact.sass +28 -0
- package/sass/utilities/all.sass +9 -0
- package/sass/utilities/background.sass +5 -0
- package/sass/utilities/border.sass +2 -0
- package/sass/utilities/elevation.sass +2 -0
- package/sass/utilities/flex.sass +2 -0
- package/sass/utilities/grid.sass +2 -0
- package/sass/utilities/interaction.sass +2 -0
- package/sass/utilities/layout.sass +12 -0
- package/sass/utilities/sizing.sass +2 -0
- package/sass/utilities/spacing.sass +2 -0
- package/sass/utilities/typography.sass +127 -0
- package/src/core/_all.sass +18 -0
- package/src/core/container.sass +23 -0
- package/src/core/form/_all.sass +6 -0
- package/src/core/form/button.sass +532 -0
- package/src/core/form/file.sass +139 -0
- package/src/core/form/input-textarea.sass +80 -0
- package/src/core/form/select.sass +111 -0
- package/src/core/form/shared.sass +69 -0
- package/src/core/form/tools.sass +209 -0
- package/src/core/grid.sass +477 -0
- package/src/core/link.sass +64 -0
- package/src/core/list.sass +85 -0
- package/src/core/table.sass +134 -0
- package/src/core/typography.sass +33 -0
- package/src/core/vars/_all.sass +7 -0
- package/src/core/vars/button.vars.sass +282 -0
- package/src/core/vars/form.vars.sass +137 -0
- package/src/core/vars/link.vars.sass +36 -0
- package/src/core/vars/list.vars.sass +20 -0
- package/src/core/vars/structure.vars.sass +47 -0
- package/src/core/vars/table.vars.sass +55 -0
- package/src/core/vars/typography.vars.sass +12 -0
- package/src/generated/background.sass +1091 -0
- package/src/generated/border.sass +3943 -0
- package/src/generated/elevation.sass +283 -0
- package/src/generated/flex.sass +831 -0
- package/src/generated/interaction.sass +26 -0
- package/src/generated/layout.sass +948 -0
- package/src/generated/sizing.sass +1703 -0
- package/src/generated/spacing.sass +1683 -0
- package/src/generated/typography.sass +453 -0
- package/src/mixins/_all.sass +7 -0
- package/src/mixins/bem.mixin.sass +39 -0
- package/src/mixins/breakpoint.mixin.sass +67 -0
- package/src/mixins/extends.sass +32 -0
- package/src/mixins/general.mixin.sass +95 -0
- package/src/mixins/svg.mixin.sass +6 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["file:///home/runner/work/ds-playground/ds-playground/packages/styles/src/generated/typography.sass","file:///home/runner/work/ds-playground/ds-playground/packages/styles/src/mixins/breakpoint.mixin.sass","file:///home/runner/work/ds-playground/ds-playground/packages/styles/sass/utilities/typography.sass"],"names":[],"mappings":"AAAA;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;ACrPA;EDwPA;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;;ACxQF;ED2QA;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;;AAEJ;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;ACnUA;EDsUA;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;;AC5UF;ED+UA;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;;AC7UF;EDgVA;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;;AClUF;EDqUA;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;;;AAEJ;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AC3ZA;ED8ZA;IACE;;EAEF;IACE;;;AC9ZF;EDiaA;IACE;;EAEF;IACE;;;ACzZF;ED4ZA;IACE;;EAEF;IACE;;;ACxYF;ED2YA;IACE;;EAEF;IACE;;;AEjcJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;AACJ;EACE;;AACA;EACE;;;ADzBF;EC4BA;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;;ADvDJ;EC0DA;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE;;EACJ;IACE;;EACA;IACE","sourcesContent":[".text-primary\n color: var(--bal-color-text-primary) !important\n\n.text-primary-light\n color: var(--bal-color-text-primary-light) !important\n\n.text-white\n color: var(--bal-color-text-white) !important\n\n.text-grey-light\n color: var(--bal-color-text-grey-light) !important\n\n.text-grey\n color: var(--bal-color-text-grey) !important\n\n.text-grey-dark\n color: var(--bal-color-text-grey-dark) !important\n\n.text-info\n color: var(--bal-color-text-info) !important\n\n.text-warning\n color: var(--bal-color-text-warning) !important\n\n.text-success\n color: var(--bal-color-text-success) !important\n\n.text-danger\n color: var(--bal-color-text-danger) !important\n\n.text-black\n color: var(--bal-color-text-black) !important\n\n.text-primary-hovered\n color: var(--bal-color-text-primary-hovered) !important\n\n.text-primary-pressed\n color: var(--bal-color-text-primary-pressed) !important\n\n.text-danger-hovered\n color: var(--bal-color-text-danger-hovered) !important\n\n.text-danger-pressed\n color: var(--bal-color-text-danger-pressed) !important\n\n.text-inverted\n color: var(--bal-color-text-inverted) !important\n\n.text-inverted-disabled\n color: var(--bal-color-text-inverted-disabled) !important\n\n.text-inverted-hovered\n color: var(--bal-color-text-inverted-hovered) !important\n\n.text-inverted-pressed\n color: var(--bal-color-text-inverted-pressed) !important\n\n.focus\\:text-primary:focus\n color: var(--bal-color-text-primary) !important\n\n.hover\\:text-primary:hover\n color: var(--bal-color-text-primary) !important\n\n.active\\:text-primary:active\n color: var(--bal-color-text-primary) !important\n\n.focus\\:text-primary-light:focus\n color: var(--bal-color-text-primary-light) !important\n\n.hover\\:text-primary-light:hover\n color: var(--bal-color-text-primary-light) !important\n\n.active\\:text-primary-light:active\n color: var(--bal-color-text-primary-light) !important\n\n.focus\\:text-white:focus\n color: var(--bal-color-text-white) !important\n\n.hover\\:text-white:hover\n color: var(--bal-color-text-white) !important\n\n.active\\:text-white:active\n color: var(--bal-color-text-white) !important\n\n.focus\\:text-grey-light:focus\n color: var(--bal-color-text-grey-light) !important\n\n.hover\\:text-grey-light:hover\n color: var(--bal-color-text-grey-light) !important\n\n.active\\:text-grey-light:active\n color: var(--bal-color-text-grey-light) !important\n\n.focus\\:text-grey:focus\n color: var(--bal-color-text-grey) !important\n\n.hover\\:text-grey:hover\n color: var(--bal-color-text-grey) !important\n\n.active\\:text-grey:active\n color: var(--bal-color-text-grey) !important\n\n.focus\\:text-grey-dark:focus\n color: var(--bal-color-text-grey-dark) !important\n\n.hover\\:text-grey-dark:hover\n color: var(--bal-color-text-grey-dark) !important\n\n.active\\:text-grey-dark:active\n color: var(--bal-color-text-grey-dark) !important\n\n.focus\\:text-info:focus\n color: var(--bal-color-text-info) !important\n\n.hover\\:text-info:hover\n color: var(--bal-color-text-info) !important\n\n.active\\:text-info:active\n color: var(--bal-color-text-info) !important\n\n.focus\\:text-warning:focus\n color: var(--bal-color-text-warning) !important\n\n.hover\\:text-warning:hover\n color: var(--bal-color-text-warning) !important\n\n.active\\:text-warning:active\n color: var(--bal-color-text-warning) !important\n\n.focus\\:text-success:focus\n color: var(--bal-color-text-success) !important\n\n.hover\\:text-success:hover\n color: var(--bal-color-text-success) !important\n\n.active\\:text-success:active\n color: var(--bal-color-text-success) !important\n\n.focus\\:text-danger:focus\n color: var(--bal-color-text-danger) !important\n\n.hover\\:text-danger:hover\n color: var(--bal-color-text-danger) !important\n\n.active\\:text-danger:active\n color: var(--bal-color-text-danger) !important\n\n.focus\\:text-black:focus\n color: var(--bal-color-text-black) !important\n\n.hover\\:text-black:hover\n color: var(--bal-color-text-black) !important\n\n.active\\:text-black:active\n color: var(--bal-color-text-black) !important\n\n.focus\\:text-primary-hovered:focus\n color: var(--bal-color-text-primary-hovered) !important\n\n.hover\\:text-primary-hovered:hover\n color: var(--bal-color-text-primary-hovered) !important\n\n.active\\:text-primary-hovered:active\n color: var(--bal-color-text-primary-hovered) !important\n\n.focus\\:text-primary-pressed:focus\n color: var(--bal-color-text-primary-pressed) !important\n\n.hover\\:text-primary-pressed:hover\n color: var(--bal-color-text-primary-pressed) !important\n\n.active\\:text-primary-pressed:active\n color: var(--bal-color-text-primary-pressed) !important\n\n.focus\\:text-danger-hovered:focus\n color: var(--bal-color-text-danger-hovered) !important\n\n.hover\\:text-danger-hovered:hover\n color: var(--bal-color-text-danger-hovered) !important\n\n.active\\:text-danger-hovered:active\n color: var(--bal-color-text-danger-hovered) !important\n\n.focus\\:text-danger-pressed:focus\n color: var(--bal-color-text-danger-pressed) !important\n\n.hover\\:text-danger-pressed:hover\n color: var(--bal-color-text-danger-pressed) !important\n\n.active\\:text-danger-pressed:active\n color: var(--bal-color-text-danger-pressed) !important\n\n.focus\\:text-inverted:focus\n color: var(--bal-color-text-inverted) !important\n\n.hover\\:text-inverted:hover\n color: var(--bal-color-text-inverted) !important\n\n.active\\:text-inverted:active\n color: var(--bal-color-text-inverted) !important\n\n.focus\\:text-inverted-disabled:focus\n color: var(--bal-color-text-inverted-disabled) !important\n\n.hover\\:text-inverted-disabled:hover\n color: var(--bal-color-text-inverted-disabled) !important\n\n.active\\:text-inverted-disabled:active\n color: var(--bal-color-text-inverted-disabled) !important\n\n.focus\\:text-inverted-hovered:focus\n color: var(--bal-color-text-inverted-hovered) !important\n\n.hover\\:text-inverted-hovered:hover\n color: var(--bal-color-text-inverted-hovered) !important\n\n.active\\:text-inverted-hovered:active\n color: var(--bal-color-text-inverted-hovered) !important\n\n.focus\\:text-inverted-pressed:focus\n color: var(--bal-color-text-inverted-pressed) !important\n\n.hover\\:text-inverted-pressed:hover\n color: var(--bal-color-text-inverted-pressed) !important\n\n.active\\:text-inverted-pressed:active\n color: var(--bal-color-text-inverted-pressed) !important\n\n.font-family-title\n font-family: var(--bal-font-family-title) !important\n\n.font-family-text\n font-family: var(--bal-font-family-text) !important\n\n.text-x-small\n font-size: var(--bal-text-size-x-small) !important\n\n.text-small\n font-size: var(--bal-text-size-small) !important\n\n.text-normal\n font-size: var(--bal-text-size-normal) !important\n\n.text-medium\n font-size: var(--bal-text-size-medium) !important\n\n.text-large\n font-size: var(--bal-text-size-large) !important\n\n.text-x-large\n font-size: var(--bal-text-size-x-large) !important\n\n.text-xx-large\n font-size: var(--bal-text-size-xx-large) !important\n\n.text-xxx-large\n font-size: var(--bal-text-size-xxx-large) !important\n\n.text-xxxx-large\n font-size: var(--bal-text-size-xxxx-large) !important\n\n.text-xxxxx-large\n font-size: var(--bal-text-size-xxxxx-large) !important\n\n+tablet\n .text-x-small\n font-size: var(--bal-text-size-x-small-tablet) !important\n\n .text-small\n font-size: var(--bal-text-size-small-tablet) !important\n\n .text-normal\n font-size: var(--bal-text-size-normal-tablet) !important\n\n .text-medium\n font-size: var(--bal-text-size-medium-tablet) !important\n\n .text-large\n font-size: var(--bal-text-size-large-tablet) !important\n\n .text-x-large\n font-size: var(--bal-text-size-x-large-tablet) !important\n\n .text-xx-large\n font-size: var(--bal-text-size-xx-large-tablet) !important\n\n .text-xxx-large\n font-size: var(--bal-text-size-xxx-large-tablet) !important\n\n .text-xxxx-large\n font-size: var(--bal-text-size-xxxx-large-tablet) !important\n\n .text-xxxxx-large\n font-size: var(--bal-text-size-xxxxx-large-tablet) !important\n\n+desktop\n .text-x-small\n font-size: var(--bal-text-size-x-small-desktop) !important\n\n .text-small\n font-size: var(--bal-text-size-small-desktop) !important\n\n .text-normal\n font-size: var(--bal-text-size-normal-desktop) !important\n\n .text-medium\n font-size: var(--bal-text-size-medium-desktop) !important\n\n .text-large\n font-size: var(--bal-text-size-large-desktop) !important\n\n .text-x-large\n font-size: var(--bal-text-size-x-large-desktop) !important\n\n .text-xx-large\n font-size: var(--bal-text-size-xx-large-desktop) !important\n\n .text-xxx-large\n font-size: var(--bal-text-size-xxx-large-desktop) !important\n\n .text-xxxx-large\n font-size: var(--bal-text-size-xxxx-large-desktop) !important\n\n .text-xxxxx-large\n font-size: var(--bal-text-size-xxxxx-large-desktop) !important\n\n.text-align-center\n text-align: center !important\n\n.text-align-left\n text-align: left !important\n\n.text-align-right\n text-align: right !important\n\n.text-align-justify\n text-align: justify !important\n\n+mobile\n .mobile\\:text-align-center\n text-align: center !important\n\n .mobile\\:text-align-left\n text-align: left !important\n\n .mobile\\:text-align-right\n text-align: right !important\n\n .mobile\\:text-align-justify\n text-align: justify !important\n\n+tablet\n .tablet\\:text-align-center\n text-align: center !important\n\n .tablet\\:text-align-left\n text-align: left !important\n\n .tablet\\:text-align-right\n text-align: right !important\n\n .tablet\\:text-align-justify\n text-align: justify !important\n\n+desktop\n .desktop\\:text-align-center\n text-align: center !important\n\n .desktop\\:text-align-left\n text-align: left !important\n\n .desktop\\:text-align-right\n text-align: right !important\n\n .desktop\\:text-align-justify\n text-align: justify !important\n\n+widescreen\n .widescreen\\:text-align-center\n text-align: center !important\n\n .widescreen\\:text-align-left\n text-align: left !important\n\n .widescreen\\:text-align-right\n text-align: right !important\n\n .widescreen\\:text-align-justify\n text-align: justify !important\n\n.lowercase\n text-transform: lowercase !important\n\n.uppercase\n text-transform: uppercase !important\n\n.capitalize\n text-transform: capitalize !important\n\n.font-weight-bold\n font-weight: var(--bal-font-weight-bold) !important\n\n.font-weight-regular\n font-weight: var(--bal-font-weight-regular) !important\n\n.font-weight-light\n font-weight: var(--bal-font-weight-light) !important\n\n.white-space-normal\n white-space: normal !important\n\n.white-space-nowrap\n white-space: nowrap !important\n\n.line-height-title\n line-height: var(--bal-text-line-height-title) !important\n\n.line-height-text\n line-height: var(--bal-text-line-height-text) !important\n\n.text-overflow-clip\n text-overflow: clip !important\n\n.text-overflow-ellipsis\n text-overflow: ellipsis !important\n\n+mobile\n .mobile\\:text-overflow-clip\n text-overflow: clip !important\n\n .mobile\\:text-overflow-ellipsis\n text-overflow: ellipsis !important\n\n+tablet\n .tablet\\:text-overflow-clip\n text-overflow: clip !important\n\n .tablet\\:text-overflow-ellipsis\n text-overflow: ellipsis !important\n\n+desktop\n .desktop\\:text-overflow-clip\n text-overflow: clip !important\n\n .desktop\\:text-overflow-ellipsis\n text-overflow: ellipsis !important\n\n+widescreen\n .widescreen\\:text-overflow-clip\n text-overflow: clip !important\n\n .widescreen\\:text-overflow-ellipsis\n text-overflow: ellipsis !important\n","=from($device)\n @media screen and (min-width: $device)\n @content\n\n=until($device)\n @media screen and (max-width: $device - 1px)\n @content\n\n=between($min-device, $max-device)\n @media screen and (min-width: $min-device) and (max-width: $max-device - 1px)\n @content\n\n=mobile\n @media screen and (max-width: $bal-breakpoint-tablet - 1px)\n @content\n\n=tablet\n @media screen and (min-width: $bal-breakpoint-tablet), print\n @content\n\n=tablet-only\n @media screen and (min-width: $bal-breakpoint-tablet) and (max-width: $bal-breakpoint-desktop - 1px)\n @content\n\n=touch\n @media screen and (max-width: $bal-breakpoint-desktop - 1px)\n @content\n\n=desktop\n @media screen and (min-width: $bal-breakpoint-desktop)\n @content\n\n=desktop-only\n @media screen and (min-width: $bal-breakpoint-desktop) and (max-width: $bal-breakpoint-high-definition - 1px)\n @content\n\n=high-definition\n @media screen and (min-width: $bal-breakpoint-high-definition)\n @content\n\n=high-definition-only\n @media screen and (min-width: $bal-breakpoint-high-definition) and (max-width: $bal-breakpoint-widescreen - 1px)\n @content\n\n=until-high-definition\n @media screen and (max-width: $bal-breakpoint-high-definition - 1px)\n @content\n\n=until-widescreen\n @media screen and (max-width: $bal-breakpoint-widescreen - 1px)\n @content\n\n=widescreen\n @media screen and (min-width: $bal-breakpoint-widescreen)\n @content\n\n=widescreen-only\n @media screen and (min-width: $bal-breakpoint-widescreen) and (max-width: $bal-breakpoint-fullhd - 1px)\n @content\n\n=until-fullhd\n @media screen and (max-width: $bal-breakpoint-fullhd - 1px)\n @content\n\n=fullhd\n @media screen and (min-width: $bal-breakpoint-fullhd)\n @content\n","@import '../mixins'\n@import '../../src/generated/typography'\n\n.text-xxxxx-large\n line-height: var(--bal-line-height-xxxxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-normal)\n.text-xxxx-large\n line-height: var(--bal-line-height-xxxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n.text-xxx-large\n line-height: var(--bal-line-height-xxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n.text-xx-large\n line-height: var(--bal-line-height-xx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n.text-x-large\n line-height: var(--bal-line-height-x-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n.text-large\n line-height: var(--bal-line-height-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n.text-medium\n line-height: var(--bal-line-height-medium)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n.text-normal\n line-height: var(--bal-line-height-normal)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n.text-small\n line-height: var(--bal-line-height-small)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n.text-x-small\n line-height: var(--bal-line-height-x-small)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n\n+tablet\n .text-xxxxx-large\n line-height: var(--bal-line-height-tablet-xxxxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-normal)\n .text-xxxx-large\n line-height: var(--bal-line-height-tablet-xxxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-xxx-large\n line-height: var(--bal-line-height-tablet-xxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-xx-large\n line-height: var(--bal-line-height-tablet-xx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-x-large\n line-height: var(--bal-line-height-tablet-x-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-large\n line-height: var(--bal-line-height-tablet-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-medium\n line-height: var(--bal-line-height-tablet-medium)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-normal\n line-height: var(--bal-line-height-tablet-normal)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n .text-small\n line-height: var(--bal-line-height-tablet-small)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n .text-x-small\n line-height: var(--bal-line-height-tablet-x-small)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n\n+desktop\n .text-xxxxx-large\n line-height: var(--bal-line-height-desktop-xxxxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-normal)\n .text-xxxx-large\n line-height: var(--bal-line-height-desktop-xxxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-xxx-large\n line-height: var(--bal-line-height-desktop-xxx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-xx-large\n line-height: var(--bal-line-height-desktop-xx-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-x-large\n line-height: var(--bal-line-height-desktop-x-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-large\n line-height: var(--bal-line-height-desktop-large)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-medium\n line-height: var(--bal-line-height-desktop-medium)\n &:not(:last-child)\n margin-bottom: var(--bal-space-x-small)\n .text-normal\n line-height: var(--bal-line-height-desktop-normal)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n .text-small\n line-height: var(--bal-line-height-desktop-small)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n .text-x-small\n line-height: var(--bal-line-height-desktop-x-small)\n &:not(:last-child)\n margin-bottom: var(--bal-space-xx-small)\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.text-primary{color:var(--bal-color-text-primary)!important}.text-primary-light{color:var(--bal-color-text-primary-light)!important}.text-white{color:var(--bal-color-text-white)!important}.text-grey-light{color:var(--bal-color-text-grey-light)!important}.text-grey{color:var(--bal-color-text-grey)!important}.text-grey-dark{color:var(--bal-color-text-grey-dark)!important}.text-info{color:var(--bal-color-text-info)!important}.text-warning{color:var(--bal-color-text-warning)!important}.text-success{color:var(--bal-color-text-success)!important}.text-danger{color:var(--bal-color-text-danger)!important}.text-black{color:var(--bal-color-text-black)!important}.text-primary-hovered{color:var(--bal-color-text-primary-hovered)!important}.text-primary-pressed{color:var(--bal-color-text-primary-pressed)!important}.text-danger-hovered{color:var(--bal-color-text-danger-hovered)!important}.text-danger-pressed{color:var(--bal-color-text-danger-pressed)!important}.text-inverted{color:var(--bal-color-text-inverted)!important}.text-inverted-disabled{color:var(--bal-color-text-inverted-disabled)!important}.text-inverted-hovered{color:var(--bal-color-text-inverted-hovered)!important}.text-inverted-pressed{color:var(--bal-color-text-inverted-pressed)!important}.active\:text-primary:active,.focus\:text-primary:focus,.hover\:text-primary:hover{color:var(--bal-color-text-primary)!important}.active\:text-primary-light:active,.focus\:text-primary-light:focus,.hover\:text-primary-light:hover{color:var(--bal-color-text-primary-light)!important}.active\:text-white:active,.focus\:text-white:focus,.hover\:text-white:hover{color:var(--bal-color-text-white)!important}.active\:text-grey-light:active,.focus\:text-grey-light:focus,.hover\:text-grey-light:hover{color:var(--bal-color-text-grey-light)!important}.active\:text-grey:active,.focus\:text-grey:focus,.hover\:text-grey:hover{color:var(--bal-color-text-grey)!important}.active\:text-grey-dark:active,.focus\:text-grey-dark:focus,.hover\:text-grey-dark:hover{color:var(--bal-color-text-grey-dark)!important}.active\:text-info:active,.focus\:text-info:focus,.hover\:text-info:hover{color:var(--bal-color-text-info)!important}.active\:text-warning:active,.focus\:text-warning:focus,.hover\:text-warning:hover{color:var(--bal-color-text-warning)!important}.active\:text-success:active,.focus\:text-success:focus,.hover\:text-success:hover{color:var(--bal-color-text-success)!important}.active\:text-danger:active,.focus\:text-danger:focus,.hover\:text-danger:hover{color:var(--bal-color-text-danger)!important}.active\:text-black:active,.focus\:text-black:focus,.hover\:text-black:hover{color:var(--bal-color-text-black)!important}.active\:text-primary-hovered:active,.focus\:text-primary-hovered:focus,.hover\:text-primary-hovered:hover{color:var(--bal-color-text-primary-hovered)!important}.active\:text-primary-pressed:active,.focus\:text-primary-pressed:focus,.hover\:text-primary-pressed:hover{color:var(--bal-color-text-primary-pressed)!important}.active\:text-danger-hovered:active,.focus\:text-danger-hovered:focus,.hover\:text-danger-hovered:hover{color:var(--bal-color-text-danger-hovered)!important}.active\:text-danger-pressed:active,.focus\:text-danger-pressed:focus,.hover\:text-danger-pressed:hover{color:var(--bal-color-text-danger-pressed)!important}.active\:text-inverted:active,.focus\:text-inverted:focus,.hover\:text-inverted:hover{color:var(--bal-color-text-inverted)!important}.active\:text-inverted-disabled:active,.focus\:text-inverted-disabled:focus,.hover\:text-inverted-disabled:hover{color:var(--bal-color-text-inverted-disabled)!important}.active\:text-inverted-hovered:active,.focus\:text-inverted-hovered:focus,.hover\:text-inverted-hovered:hover{color:var(--bal-color-text-inverted-hovered)!important}.active\:text-inverted-pressed:active,.focus\:text-inverted-pressed:focus,.hover\:text-inverted-pressed:hover{color:var(--bal-color-text-inverted-pressed)!important}.font-family-title{font-family:var(--bal-font-family-title)!important}.font-family-text{font-family:var(--bal-font-family-text)!important}.text-x-small{font-size:var(--bal-text-size-x-small)!important}.text-small{font-size:var(--bal-text-size-small)!important}.text-normal{font-size:var(--bal-text-size-normal)!important}.text-medium{font-size:var(--bal-text-size-medium)!important}.text-large{font-size:var(--bal-text-size-large)!important}.text-x-large{font-size:var(--bal-text-size-x-large)!important}.text-xx-large{font-size:var(--bal-text-size-xx-large)!important}.text-xxx-large{font-size:var(--bal-text-size-xxx-large)!important}.text-xxxx-large{font-size:var(--bal-text-size-xxxx-large)!important}.text-xxxxx-large{font-size:var(--bal-text-size-xxxxx-large)!important}.text-align-center{text-align:center!important}.text-align-left{text-align:left!important}.text-align-right{text-align:right!important}.text-align-justify{text-align:justify!important}@media screen and (max-width:768px){.mobile\:text-align-center{text-align:center!important}.mobile\:text-align-left{text-align:left!important}.mobile\:text-align-right{text-align:right!important}.mobile\:text-align-justify{text-align:justify!important}}@media screen and (min-width:769px),print{.text-x-small{font-size:var(--bal-text-size-x-small-tablet)!important}.text-small{font-size:var(--bal-text-size-small-tablet)!important}.text-normal{font-size:var(--bal-text-size-normal-tablet)!important}.text-medium{font-size:var(--bal-text-size-medium-tablet)!important}.text-large{font-size:var(--bal-text-size-large-tablet)!important}.text-x-large{font-size:var(--bal-text-size-x-large-tablet)!important}.text-xx-large{font-size:var(--bal-text-size-xx-large-tablet)!important}.text-xxx-large{font-size:var(--bal-text-size-xxx-large-tablet)!important}.text-xxxx-large{font-size:var(--bal-text-size-xxxx-large-tablet)!important}.text-xxxxx-large{font-size:var(--bal-text-size-xxxxx-large-tablet)!important}.tablet\:text-align-center{text-align:center!important}.tablet\:text-align-left{text-align:left!important}.tablet\:text-align-right{text-align:right!important}.tablet\:text-align-justify{text-align:justify!important}}@media screen and (min-width:1024px){.text-x-small{font-size:var(--bal-text-size-x-small-desktop)!important}.text-small{font-size:var(--bal-text-size-small-desktop)!important}.text-normal{font-size:var(--bal-text-size-normal-desktop)!important}.text-medium{font-size:var(--bal-text-size-medium-desktop)!important}.text-large{font-size:var(--bal-text-size-large-desktop)!important}.text-x-large{font-size:var(--bal-text-size-x-large-desktop)!important}.text-xx-large{font-size:var(--bal-text-size-xx-large-desktop)!important}.text-xxx-large{font-size:var(--bal-text-size-xxx-large-desktop)!important}.text-xxxx-large{font-size:var(--bal-text-size-xxxx-large-desktop)!important}.text-xxxxx-large{font-size:var(--bal-text-size-xxxxx-large-desktop)!important}.desktop\:text-align-center{text-align:center!important}.desktop\:text-align-left{text-align:left!important}.desktop\:text-align-right{text-align:right!important}.desktop\:text-align-justify{text-align:justify!important}}.lowercase{text-transform:lowercase!important}.uppercase{text-transform:uppercase!important}.capitalize{text-transform:capitalize!important}.font-weight-bold{font-weight:var(--bal-font-weight-bold)!important}.font-weight-regular{font-weight:var(--bal-font-weight-regular)!important}.font-weight-light{font-weight:var(--bal-font-weight-light)!important}.white-space-normal{white-space:normal!important}.white-space-nowrap{white-space:nowrap!important}.line-height-title{line-height:var(--bal-text-line-height-title)!important}.line-height-text{line-height:var(--bal-text-line-height-text)!important}.text-overflow-clip{text-overflow:clip!important}.text-overflow-ellipsis{text-overflow:ellipsis!important}@media screen and (max-width:768px){.mobile\:text-overflow-clip{text-overflow:clip!important}.mobile\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width:769px),print{.tablet\:text-overflow-clip{text-overflow:clip!important}.tablet\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width:1024px){.desktop\:text-overflow-clip{text-overflow:clip!important}.desktop\:text-overflow-ellipsis{text-overflow:ellipsis!important}}@media screen and (min-width:1440px){.widescreen\:text-align-center{text-align:center!important}.widescreen\:text-align-left{text-align:left!important}.widescreen\:text-align-right{text-align:right!important}.widescreen\:text-align-justify{text-align:justify!important}.widescreen\:text-overflow-clip{text-overflow:clip!important}.widescreen\:text-overflow-ellipsis{text-overflow:ellipsis!important}}.text-xxxxx-large{line-height:var(--bal-line-height-xxxxx-large)}.text-xxxxx-large:not(:last-child){margin-bottom:var(--bal-space-normal)}.text-xxxx-large{line-height:var(--bal-line-height-xxxx-large)}.text-xxxx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-xxx-large{line-height:var(--bal-line-height-xxx-large)}.text-xxx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-xx-large{line-height:var(--bal-line-height-xx-large)}.text-xx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-x-large{line-height:var(--bal-line-height-x-large)}.text-x-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-large{line-height:var(--bal-line-height-large)}.text-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-medium{line-height:var(--bal-line-height-medium)}.text-medium:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-normal{line-height:var(--bal-line-height-normal)}.text-normal:not(:last-child){margin-bottom:var(--bal-space-xx-small)}.text-small{line-height:var(--bal-line-height-small)}.text-small:not(:last-child){margin-bottom:var(--bal-space-xx-small)}.text-x-small{line-height:var(--bal-line-height-x-small)}.text-x-small:not(:last-child){margin-bottom:var(--bal-space-xx-small)}@media screen and (min-width:769px),print{.text-xxxxx-large{line-height:var(--bal-line-height-tablet-xxxxx-large)}.text-xxxxx-large:not(:last-child){margin-bottom:var(--bal-space-normal)}.text-xxxx-large{line-height:var(--bal-line-height-tablet-xxxx-large)}.text-xxxx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-xxx-large{line-height:var(--bal-line-height-tablet-xxx-large)}.text-xxx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-xx-large{line-height:var(--bal-line-height-tablet-xx-large)}.text-xx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-x-large{line-height:var(--bal-line-height-tablet-x-large)}.text-x-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-large{line-height:var(--bal-line-height-tablet-large)}.text-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-medium{line-height:var(--bal-line-height-tablet-medium)}.text-medium:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-normal{line-height:var(--bal-line-height-tablet-normal)}.text-normal:not(:last-child){margin-bottom:var(--bal-space-xx-small)}.text-small{line-height:var(--bal-line-height-tablet-small)}.text-small:not(:last-child){margin-bottom:var(--bal-space-xx-small)}.text-x-small{line-height:var(--bal-line-height-tablet-x-small)}.text-x-small:not(:last-child){margin-bottom:var(--bal-space-xx-small)}}@media screen and (min-width:1024px){.text-xxxxx-large{line-height:var(--bal-line-height-desktop-xxxxx-large)}.text-xxxxx-large:not(:last-child){margin-bottom:var(--bal-space-normal)}.text-xxxx-large{line-height:var(--bal-line-height-desktop-xxxx-large)}.text-xxxx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-xxx-large{line-height:var(--bal-line-height-desktop-xxx-large)}.text-xxx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-xx-large{line-height:var(--bal-line-height-desktop-xx-large)}.text-xx-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-x-large{line-height:var(--bal-line-height-desktop-x-large)}.text-x-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-large{line-height:var(--bal-line-height-desktop-large)}.text-large:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-medium{line-height:var(--bal-line-height-desktop-medium)}.text-medium:not(:last-child){margin-bottom:var(--bal-space-x-small)}.text-normal{line-height:var(--bal-line-height-desktop-normal)}.text-normal:not(:last-child){margin-bottom:var(--bal-space-xx-small)}.text-small{line-height:var(--bal-line-height-desktop-small)}.text-small:not(:last-child){margin-bottom:var(--bal-space-xx-small)}.text-x-small{line-height:var(--bal-line-height-desktop-x-small)}.text-x-small:not(:last-child){margin-bottom:var(--bal-space-xx-small)}}
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@baloise/ds-styles",
|
|
3
|
+
"version": "0.0.5-nightly.20240301",
|
|
4
|
+
"description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/baloise/design-system.git"
|
|
8
|
+
},
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://baloise-design-system.vercel.app",
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"bin": {
|
|
15
|
+
"ds-migrate-to-styles": "./bin/index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"main": "scss/baloise-design-system.sass",
|
|
18
|
+
"style": "css/baloise-design-system.css",
|
|
19
|
+
"files": [
|
|
20
|
+
"bin/",
|
|
21
|
+
"css/",
|
|
22
|
+
"sass/",
|
|
23
|
+
"src/"
|
|
24
|
+
],
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@baloise/ds-fonts": "0.0.5-nightly.20240301",
|
|
27
|
+
"@baloise/ds-tokens": "0.0.5-nightly.20240301",
|
|
28
|
+
"@phenomnomnominal/tsquery": "6.1.3",
|
|
29
|
+
"cheerio": "1.0.0-rc.12",
|
|
30
|
+
"glob": "10.3.10",
|
|
31
|
+
"prompts": "2.4.2",
|
|
32
|
+
"replace-in-file": "7.1.0",
|
|
33
|
+
"typescript": "~4.8.2"
|
|
34
|
+
},
|
|
35
|
+
"gitHead": "4157249628694f5811f322e0a547989ca9a9c6a6"
|
|
36
|
+
}
|
package/sass/all.sass
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './all'
|
package/sass/core.sass
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import '@baloise/ds-tokens/dist/tokens.css.scss'
|
|
2
|
+
|
|
3
|
+
// Deprecated line heights will be change to factors soon
|
|
4
|
+
:root
|
|
5
|
+
--bal-line-height-x-small: 1.125rem
|
|
6
|
+
--bal-line-height-small: 1.25rem
|
|
7
|
+
--bal-line-height-normal: 1.5rem
|
|
8
|
+
--bal-line-height-medium: 1.5rem
|
|
9
|
+
--bal-line-height-large: 1.5rem
|
|
10
|
+
--bal-line-height-x-large: 2rem
|
|
11
|
+
--bal-line-height-xx-large: 2rem
|
|
12
|
+
--bal-line-height-xxx-large: 2rem
|
|
13
|
+
--bal-line-height-xxxx-large: 2.5rem
|
|
14
|
+
--bal-line-height-xxxxx-large: 3.5rem
|
|
15
|
+
--bal-line-height-tablet-x-small: 1.125rem
|
|
16
|
+
--bal-line-height-tablet-small: 1.25rem
|
|
17
|
+
--bal-line-height-tablet-normal: 1.5rem
|
|
18
|
+
--bal-line-height-tablet-medium: 1.625rem
|
|
19
|
+
--bal-line-height-tablet-large: 2rem
|
|
20
|
+
--bal-line-height-tablet-x-large: 2rem
|
|
21
|
+
--bal-line-height-tablet-xx-large: 2.5rem
|
|
22
|
+
--bal-line-height-tablet-xxx-large: 3rem
|
|
23
|
+
--bal-line-height-tablet-xxxx-large: 3.5rem
|
|
24
|
+
--bal-line-height-tablet-xxxxx-large: 6rem
|
|
25
|
+
--bal-line-height-desktop-x-small: 1.125rem
|
|
26
|
+
--bal-line-height-desktop-small: 1.25rem
|
|
27
|
+
--bal-line-height-desktop-normal: 1.5rem
|
|
28
|
+
--bal-line-height-desktop-medium: 1.625rem
|
|
29
|
+
--bal-line-height-desktop-large: 2rem
|
|
30
|
+
--bal-line-height-desktop-x-large: 2rem
|
|
31
|
+
--bal-line-height-desktop-xx-large: 2.5rem
|
|
32
|
+
--bal-line-height-desktop-xxx-large: 3rem
|
|
33
|
+
--bal-line-height-desktop-xxxx-large: 3.5rem
|
|
34
|
+
--bal-line-height-desktop-xxxxx-large: 6rem
|
|
35
|
+
|
|
36
|
+
@import './mixins'
|
|
37
|
+
@import '../src/core/_all'
|
package/sass/font.sass
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@baloise/ds-fonts/scss/fonts.sass'
|
package/sass/mixins.sass
ADDED
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
/*! minireset.css v0.0.7 | MIT License | github.com/jgthms/minireset.css */
|
|
2
|
+
// Blocks
|
|
3
|
+
html,
|
|
4
|
+
body,
|
|
5
|
+
p,
|
|
6
|
+
ol,
|
|
7
|
+
ul,
|
|
8
|
+
li,
|
|
9
|
+
dl,
|
|
10
|
+
dt,
|
|
11
|
+
dd,
|
|
12
|
+
blockquote,
|
|
13
|
+
figure,
|
|
14
|
+
fieldset,
|
|
15
|
+
legend,
|
|
16
|
+
textarea,
|
|
17
|
+
pre,
|
|
18
|
+
iframe,
|
|
19
|
+
hr,
|
|
20
|
+
h1,
|
|
21
|
+
h2,
|
|
22
|
+
h3,
|
|
23
|
+
h4,
|
|
24
|
+
h5,
|
|
25
|
+
h6
|
|
26
|
+
margin: 0
|
|
27
|
+
padding: 0
|
|
28
|
+
|
|
29
|
+
// Headings
|
|
30
|
+
h1,
|
|
31
|
+
h2,
|
|
32
|
+
h3,
|
|
33
|
+
h4,
|
|
34
|
+
h5,
|
|
35
|
+
h6
|
|
36
|
+
font-size: 100%
|
|
37
|
+
font-weight: normal
|
|
38
|
+
|
|
39
|
+
// List
|
|
40
|
+
ul
|
|
41
|
+
list-style: none
|
|
42
|
+
|
|
43
|
+
// Form
|
|
44
|
+
button,
|
|
45
|
+
input,
|
|
46
|
+
select
|
|
47
|
+
margin: 0
|
|
48
|
+
|
|
49
|
+
// Box sizing
|
|
50
|
+
html
|
|
51
|
+
box-sizing: border-box
|
|
52
|
+
|
|
53
|
+
*
|
|
54
|
+
&,
|
|
55
|
+
&::before,
|
|
56
|
+
&::after
|
|
57
|
+
box-sizing: inherit
|
|
58
|
+
|
|
59
|
+
// Media
|
|
60
|
+
img,
|
|
61
|
+
video
|
|
62
|
+
height: auto
|
|
63
|
+
max-width: 100%
|
|
64
|
+
|
|
65
|
+
// Iframe
|
|
66
|
+
iframe
|
|
67
|
+
border: 0
|
|
68
|
+
|
|
69
|
+
// Table
|
|
70
|
+
table
|
|
71
|
+
border-collapse: collapse
|
|
72
|
+
border-spacing: 0
|
|
73
|
+
|
|
74
|
+
td,
|
|
75
|
+
th
|
|
76
|
+
padding: 0
|
|
77
|
+
|
|
78
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
79
|
+
|
|
80
|
+
/* Document
|
|
81
|
+
========================================================================== */
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* 1. Correct the line height in all browsers.
|
|
85
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
html
|
|
89
|
+
line-height: 1.15
|
|
90
|
+
-webkit-text-size-adjust: 100%
|
|
91
|
+
|
|
92
|
+
/* Sections
|
|
93
|
+
========================================================================== */
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Remove the margin in all browsers.
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
body
|
|
100
|
+
margin: 0
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Render the `main` element consistently in IE.
|
|
104
|
+
*/
|
|
105
|
+
|
|
106
|
+
main
|
|
107
|
+
display: block
|
|
108
|
+
|
|
109
|
+
/* Grouping content
|
|
110
|
+
========================================================================== */
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* 1. Add the correct box sizing in Firefox.
|
|
114
|
+
* 2. Show the overflow in Edge and IE.
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
hr
|
|
118
|
+
box-sizing: content-box
|
|
119
|
+
height: 0
|
|
120
|
+
overflow: visible
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
124
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
125
|
+
*/
|
|
126
|
+
|
|
127
|
+
pre
|
|
128
|
+
font-family: monospace, monospace
|
|
129
|
+
font-size: 1em
|
|
130
|
+
|
|
131
|
+
/* Text-level semantics
|
|
132
|
+
========================================================================== */
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Remove the gray background on active links in IE 10.
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
a
|
|
139
|
+
background-color: transparent
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* 1. Remove the bottom border in Chrome 57-
|
|
143
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
144
|
+
*/
|
|
145
|
+
|
|
146
|
+
abbr[title]
|
|
147
|
+
border-bottom: none
|
|
148
|
+
text-decoration: underline
|
|
149
|
+
text-decoration: underline dotted
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
153
|
+
*/
|
|
154
|
+
|
|
155
|
+
b,
|
|
156
|
+
strong
|
|
157
|
+
font-weight: bolder
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
161
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
code,
|
|
165
|
+
kbd,
|
|
166
|
+
samp
|
|
167
|
+
font-family: monospace, monospace
|
|
168
|
+
font-size: 1em
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Add the correct font size in all browsers.
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
small
|
|
175
|
+
font-size: 80%
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
179
|
+
* all browsers.
|
|
180
|
+
*/
|
|
181
|
+
|
|
182
|
+
sub,
|
|
183
|
+
sup
|
|
184
|
+
font-size: 75%
|
|
185
|
+
line-height: 0
|
|
186
|
+
position: relative
|
|
187
|
+
vertical-align: baseline
|
|
188
|
+
|
|
189
|
+
sub
|
|
190
|
+
bottom: -0.25em
|
|
191
|
+
|
|
192
|
+
sup
|
|
193
|
+
top: -0.5em
|
|
194
|
+
|
|
195
|
+
/* Embedded content
|
|
196
|
+
========================================================================== */
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Remove the border on images inside links in IE 10.
|
|
200
|
+
*/
|
|
201
|
+
|
|
202
|
+
img
|
|
203
|
+
border-style: none
|
|
204
|
+
|
|
205
|
+
/* Forms
|
|
206
|
+
========================================================================== */
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* 1. Change the font styles in all browsers.
|
|
210
|
+
* 2. Remove the margin in Firefox and Safari.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
button,
|
|
214
|
+
input,
|
|
215
|
+
optgroup,
|
|
216
|
+
select,
|
|
217
|
+
textarea
|
|
218
|
+
font-family: inherit
|
|
219
|
+
font-size: 100%
|
|
220
|
+
line-height: 1.15
|
|
221
|
+
margin: 0
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Show the overflow in IE.
|
|
225
|
+
* 1. Show the overflow in Edge.
|
|
226
|
+
*/
|
|
227
|
+
|
|
228
|
+
button,
|
|
229
|
+
input
|
|
230
|
+
overflow: visible
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
234
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
|
235
|
+
*/
|
|
236
|
+
|
|
237
|
+
button,
|
|
238
|
+
select
|
|
239
|
+
text-transform: none
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Remove the inner border and padding in Firefox.
|
|
243
|
+
*/
|
|
244
|
+
|
|
245
|
+
button::-moz-focus-inner,
|
|
246
|
+
[type="button"]::-moz-focus-inner,
|
|
247
|
+
[type="reset"]::-moz-focus-inner,
|
|
248
|
+
[type="submit"]::-moz-focus-inner
|
|
249
|
+
border-style: none
|
|
250
|
+
padding: 0
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Restore the focus styles unset by the previous rule.
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
button:-moz-focusring,
|
|
257
|
+
[type="button"]:-moz-focusring,
|
|
258
|
+
[type="reset"]:-moz-focusring,
|
|
259
|
+
[type="submit"]:-moz-focusring
|
|
260
|
+
outline: 1px dotted ButtonText
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* 1. Correct the text wrapping in Edge and IE.
|
|
264
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
265
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
|
266
|
+
* `fieldset` elements in all browsers.
|
|
267
|
+
*/
|
|
268
|
+
|
|
269
|
+
legend
|
|
270
|
+
box-sizing: border-box
|
|
271
|
+
color: inherit
|
|
272
|
+
display: table
|
|
273
|
+
max-width: 100%
|
|
274
|
+
padding: 0
|
|
275
|
+
white-space: normal
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
279
|
+
*/
|
|
280
|
+
|
|
281
|
+
progress
|
|
282
|
+
vertical-align: baseline
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Remove the default vertical scrollbar in IE 10+.
|
|
286
|
+
*/
|
|
287
|
+
|
|
288
|
+
textarea
|
|
289
|
+
overflow: auto
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* 1. Add the correct box sizing in IE 10.
|
|
293
|
+
* 2. Remove the padding in IE 10.
|
|
294
|
+
*/
|
|
295
|
+
|
|
296
|
+
[type="checkbox"],
|
|
297
|
+
[type="radio"]
|
|
298
|
+
box-sizing: border-box
|
|
299
|
+
padding: 0
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
303
|
+
*/
|
|
304
|
+
|
|
305
|
+
[type="number"]::-webkit-inner-spin-button,
|
|
306
|
+
[type="number"]::-webkit-outer-spin-button
|
|
307
|
+
height: auto
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
|
311
|
+
* 2. Correct the outline style in Safari.
|
|
312
|
+
*/
|
|
313
|
+
|
|
314
|
+
[type="search"]
|
|
315
|
+
-webkit-appearance: textfield
|
|
316
|
+
outline-offset: -2px
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
|
320
|
+
*/
|
|
321
|
+
|
|
322
|
+
[type="search"]::-webkit-search-decoration
|
|
323
|
+
-webkit-appearance: none
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
327
|
+
* 2. Change font properties to `inherit` in Safari.
|
|
328
|
+
*/
|
|
329
|
+
|
|
330
|
+
::-webkit-file-upload-button
|
|
331
|
+
-webkit-appearance: button
|
|
332
|
+
font: inherit
|
|
333
|
+
|
|
334
|
+
/* Interactive
|
|
335
|
+
========================================================================== */
|
|
336
|
+
|
|
337
|
+
/*
|
|
338
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
339
|
+
*/
|
|
340
|
+
|
|
341
|
+
details
|
|
342
|
+
display: block
|
|
343
|
+
|
|
344
|
+
/*
|
|
345
|
+
* Add the correct display in all browsers.
|
|
346
|
+
*/
|
|
347
|
+
|
|
348
|
+
summary
|
|
349
|
+
display: list-item
|
|
350
|
+
|
|
351
|
+
/* Misc
|
|
352
|
+
========================================================================== */
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Add the correct display in IE 10+.
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
template
|
|
359
|
+
display: none
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
@import './mixins'
|
|
2
|
+
|
|
3
|
+
html
|
|
4
|
+
background-color: var(--bal-body-background)
|
|
5
|
+
font-size: var(--bal-body-font-size)
|
|
6
|
+
min-width: 300px
|
|
7
|
+
overflow-x: hidden
|
|
8
|
+
overflow-y: scroll
|
|
9
|
+
text-rendering: optimizeLegibility
|
|
10
|
+
text-size-adjust: 100%
|
|
11
|
+
-moz-osx-font-smoothing: grayscale
|
|
12
|
+
-webkit-font-smoothing: antialiased
|
|
13
|
+
-webkit-tap-highlight-color: transparent
|
|
14
|
+
-webkit-overflow-scrolling: auto
|
|
15
|
+
|
|
16
|
+
*:focus
|
|
17
|
+
-webkit-tap-highlight-color: transparent
|
|
18
|
+
outline: none
|
|
19
|
+
-ms-touch-action: manipulation
|
|
20
|
+
touch-action: manipulation
|
|
21
|
+
|
|
22
|
+
article,
|
|
23
|
+
aside,
|
|
24
|
+
figure,
|
|
25
|
+
footer,
|
|
26
|
+
header,
|
|
27
|
+
hgroup,
|
|
28
|
+
section
|
|
29
|
+
display: block
|
|
30
|
+
|
|
31
|
+
body,
|
|
32
|
+
button,
|
|
33
|
+
input,
|
|
34
|
+
optgroup,
|
|
35
|
+
select,
|
|
36
|
+
textarea
|
|
37
|
+
font-family: var(--bal-body-font-family)
|
|
38
|
+
|
|
39
|
+
button
|
|
40
|
+
color: var(--bal-body-color)
|
|
41
|
+
|
|
42
|
+
body
|
|
43
|
+
color: var(--bal-body-color)
|
|
44
|
+
font-size: var(--bal-body-font-size)
|
|
45
|
+
font-weight: var(--bal-body-font-weight)
|
|
46
|
+
line-height: var(--bal-body-line-height)
|
|
47
|
+
-webkit-overflow-scrolling: auto
|
|
48
|
+
|
|
49
|
+
a
|
|
50
|
+
cursor: pointer
|
|
51
|
+
text-decoration: none
|
|
52
|
+
hyphens: auto
|
|
53
|
+
margin: 0
|
|
54
|
+
word-break: break-word
|
|
55
|
+
-webkit-font-smoothing: antialiased
|
|
56
|
+
-moz-osx-font-smoothing: grayscale
|
|
57
|
+
strong,
|
|
58
|
+
&:any-link
|
|
59
|
+
color: currentColor
|
|
60
|
+
&:hover,
|
|
61
|
+
&:any-link:hover
|
|
62
|
+
color: var(--bal-link-hover-color)
|
|
63
|
+
&:active,
|
|
64
|
+
&:any-link:active
|
|
65
|
+
color: var(--bal-link-active-color)
|
|
66
|
+
|
|
67
|
+
p
|
|
68
|
+
hyphens: auto
|
|
69
|
+
margin: 0
|
|
70
|
+
word-break: break-word
|
|
71
|
+
-webkit-font-smoothing: antialiased
|
|
72
|
+
-moz-osx-font-smoothing: grayscale
|
|
73
|
+
strong
|
|
74
|
+
color: currentColor
|
|
75
|
+
&:not(:last-child)
|
|
76
|
+
margin-bottom: var(--bal-space-normal)
|
|
77
|
+
|
|
78
|
+
hr
|
|
79
|
+
background-color: var(--bal-divider-background)
|
|
80
|
+
border: none
|
|
81
|
+
display: block
|
|
82
|
+
height: var(--bal-border-width-normal)
|
|
83
|
+
margin-top: var(--bal-space-xx-large)
|
|
84
|
+
margin-bottom: var(--bal-space-xx-large)
|
|
85
|
+
+tablet
|
|
86
|
+
margin-top: var(--bal-space-xx-large-tablet)
|
|
87
|
+
margin-bottom: var(--bal-space-xx-large-tablet)
|
|
88
|
+
+desktop
|
|
89
|
+
margin-top: var(--bal-space-xx-large-desktop)
|
|
90
|
+
margin-bottom: var(--bal-space-xx-large-desktop)
|
|
91
|
+
|
|
92
|
+
img
|
|
93
|
+
height: auto
|
|
94
|
+
max-width: 100%
|
|
95
|
+
|
|
96
|
+
input[type="checkbox"],
|
|
97
|
+
input[type="radio"]
|
|
98
|
+
vertical-align: baseline
|
|
99
|
+
|
|
100
|
+
small
|
|
101
|
+
font-size: var(--bal-small-font-size)
|
|
102
|
+
|
|
103
|
+
span
|
|
104
|
+
font-style: inherit
|
|
105
|
+
font-weight: inherit
|
|
106
|
+
|
|
107
|
+
b,
|
|
108
|
+
strong
|
|
109
|
+
color: inherit
|
|
110
|
+
font-weight: var(--bal-strong-font-weight)
|
|
111
|
+
|
|
112
|
+
fieldset
|
|
113
|
+
border: none
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root
|
|
2
|
+
--bal-body-font-size: 14px
|
|
3
|
+
--bal-form-field-label-margin-bottom: 0.05rem
|
|
4
|
+
--bal-table-cell-padding: 0.5rem
|
|
5
|
+
--bal-navbar-height-desktop: 4.5rem
|
|
6
|
+
--bal-navbar-brand-title-font-size: 1.25rem
|
|
7
|
+
--bal-space-xx-small-tablet: var(--bal-space-xx-small)
|
|
8
|
+
--bal-space-xx-small-desktop: var(--bal-space-xx-small)
|
|
9
|
+
--bal-space-x-small-tablet: var(--bal-space-x-small)
|
|
10
|
+
--bal-space-x-small-desktop: var(--bal-space-x-small)
|
|
11
|
+
--bal-space-small-tablet: var(--bal-space-small)
|
|
12
|
+
--bal-space-small-desktop: var(--bal-space-small)
|
|
13
|
+
--bal-space-normal-tablet: var(--bal-space-normal)
|
|
14
|
+
--bal-space-normal-desktop: var(--bal-space-normal)
|
|
15
|
+
--bal-space-medium-tablet: var(--bal-space-medium)
|
|
16
|
+
--bal-space-medium-desktop: var(--bal-space-medium)
|
|
17
|
+
--bal-space-large-tablet: var(--bal-space-large)
|
|
18
|
+
--bal-space-large-desktop: var(--bal-space-large)
|
|
19
|
+
--bal-space-x-large-tablet: var(--bal-space-x-large)
|
|
20
|
+
--bal-space-x-large-desktop: var(--bal-space-x-large)
|
|
21
|
+
--bal-space-xx-large-tablet: var(--bal-space-xx-large)
|
|
22
|
+
--bal-space-xx-large-desktop: var(--bal-space-xx-large)
|
|
23
|
+
--bal-space-xxx-large-tablet: var(--bal-space-xxx-large)
|
|
24
|
+
--bal-space-xxx-large-desktop: var(--bal-space-xxx-large)
|
|
25
|
+
--bal-space-xxxx-large-tablet: var(--bal-space-xxxx-large)
|
|
26
|
+
--bal-space-xxxx-large-desktop: var(--bal-space-xxxx-large)
|
|
27
|
+
--bal-space-xxxxx-large-tablet: var(--bal-space-xxxxx-large)
|
|
28
|
+
--bal-space-xxxxx-large-desktop: var(--bal-space-xxxxx-large)
|