@qhealth-design-system/core 1.0.38
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/.babelrc +15 -0
- package/.browserslistrc +5 -0
- package/.editorconfig +19 -0
- package/.eslintignore +1 -0
- package/.eslintrc +25 -0
- package/.gitattributes +2 -0
- package/.github/workflows/release_package.yml +103 -0
- package/CHANGELOG.md +14 -0
- package/README.md +534 -0
- package/dist/api/service_finder/schemas.json +1 -0
- package/dist/component-abstract.html +884 -0
- package/dist/component-accordion.html +1157 -0
- package/dist/component-banner.html +928 -0
- package/dist/component-banner_advanced.html +1524 -0
- package/dist/component-banner_basic.html +1189 -0
- package/dist/component-banner_intermediate.html +1288 -0
- package/dist/component-body.html +919 -0
- package/dist/component-breadcrumbs.html +881 -0
- package/dist/component-btn.html +829 -0
- package/dist/component-callout.html +964 -0
- package/dist/component-card_feature.html +1805 -0
- package/dist/component-card_multi_action.html +1965 -0
- package/dist/component-card_no_action.html +1632 -0
- package/dist/component-card_single_action.html +1772 -0
- package/dist/component-code.html +928 -0
- package/dist/component-footer.html +1131 -0
- package/dist/component-forms.html +1297 -0
- package/dist/component-global-elements.html +1243 -0
- package/dist/component-global_alert.html +891 -0
- package/dist/component-header.html +1155 -0
- package/dist/component-in_page_navigation.html +920 -0
- package/dist/component-internal_navigation.html +1097 -0
- package/dist/component-left_hand_navigation.html +995 -0
- package/dist/component-main_navigation.html +999 -0
- package/dist/component-mega_main_navigation.html +1145 -0
- package/dist/component-multi_column.html +1116 -0
- package/dist/component-page_alert.html +911 -0
- package/dist/component-pagination.html +971 -0
- package/dist/component-tag_list.html +979 -0
- package/dist/component-updated_date.html +778 -0
- package/dist/component-widgets.html +851 -0
- package/dist/components/_global/import.xml +95 -0
- package/dist/components/_global/manifest.json +11 -0
- package/dist/components/_global/presentation.js +50 -0
- package/dist/components/_global/static.html +30 -0
- package/dist/components/_template/import.xml +299 -0
- package/dist/components/_template/manifest.json +40 -0
- package/dist/components/_template/presentation.js +12 -0
- package/dist/components/_template/static.html +4 -0
- package/dist/components/abstract/import.xml +231 -0
- package/dist/components/abstract/manifest.json +29 -0
- package/dist/components/abstract/presentation.js +33 -0
- package/dist/components/abstract/static.html +9 -0
- package/dist/components/accordion/import.xml +1929 -0
- package/dist/components/accordion/manifest.json +427 -0
- package/dist/components/accordion/presentation.js +112 -0
- package/dist/components/accordion/static.html +56 -0
- package/dist/components/banner/import.xml +95 -0
- package/dist/components/banner/manifest.json +11 -0
- package/dist/components/banner/presentation.js +138 -0
- package/dist/components/banner/static.html +39 -0
- package/dist/components/banner_advanced/import.xml +1969 -0
- package/dist/components/banner_advanced/manifest.json +1450 -0
- package/dist/components/banner_advanced/presentation.js +564 -0
- package/dist/components/banner_advanced/static.html +159 -0
- package/dist/components/banner_basic/import.xml +907 -0
- package/dist/components/banner_basic/manifest.json +151 -0
- package/dist/components/banner_basic/presentation.js +325 -0
- package/dist/components/banner_basic/static.html +86 -0
- package/dist/components/banner_intermediate/import.xml +1473 -0
- package/dist/components/banner_intermediate/manifest.json +248 -0
- package/dist/components/banner_intermediate/presentation.js +410 -0
- package/dist/components/banner_intermediate/static.html +102 -0
- package/dist/components/body/import.xml +343 -0
- package/dist/components/body/manifest.json +46 -0
- package/dist/components/body/presentation.js +37 -0
- package/dist/components/body/static.html +5 -0
- package/dist/components/breadcrumbs/import.xml +95 -0
- package/dist/components/breadcrumbs/manifest.json +9 -0
- package/dist/components/breadcrumbs/presentation.js +99 -0
- package/dist/components/breadcrumbs/static.html +21 -0
- package/dist/components/callout/import.xml +953 -0
- package/dist/components/callout/manifest.json +121 -0
- package/dist/components/callout/presentation.js +103 -0
- package/dist/components/callout/static.html +10 -0
- package/dist/components/card_feature/import.xml +2355 -0
- package/dist/components/card_feature/manifest.json +1390 -0
- package/dist/components/card_feature/presentation.js +365 -0
- package/dist/components/card_feature/static.html +80 -0
- package/dist/components/card_multi_action/import.xml +1539 -0
- package/dist/components/card_multi_action/manifest.json +1314 -0
- package/dist/components/card_multi_action/presentation.js +638 -0
- package/dist/components/card_multi_action/static.html +120 -0
- package/dist/components/card_no_action/import.xml +1449 -0
- package/dist/components/card_no_action/manifest.json +1264 -0
- package/dist/components/card_no_action/presentation.js +454 -0
- package/dist/components/card_no_action/static.html +94 -0
- package/dist/components/card_single_action/import.xml +1539 -0
- package/dist/components/card_single_action/manifest.json +1273 -0
- package/dist/components/card_single_action/presentation.js +498 -0
- package/dist/components/card_single_action/static.html +103 -0
- package/dist/components/code/import.xml +569 -0
- package/dist/components/code/manifest.json +112 -0
- package/dist/components/code/presentation.js +124 -0
- package/dist/components/code/static.html +15 -0
- package/dist/components/footer/import.xml +95 -0
- package/dist/components/footer/manifest.json +9 -0
- package/dist/components/footer/presentation.js +409 -0
- package/dist/components/footer/static.html +146 -0
- package/dist/components/global_alert/import.xml +95 -0
- package/dist/components/global_alert/manifest.json +9 -0
- package/dist/components/global_alert/presentation.js +81 -0
- package/dist/components/global_alert/static.html +26 -0
- package/dist/components/header/import.xml +95 -0
- package/dist/components/header/manifest.json +11 -0
- package/dist/components/header/presentation.js +190 -0
- package/dist/components/header/static.html +158 -0
- package/dist/components/horizontal_rule/import.xml +547 -0
- package/dist/components/horizontal_rule/manifest.json +69 -0
- package/dist/components/horizontal_rule/presentation.js +50 -0
- package/dist/components/horizontal_rule/static.html +4 -0
- package/dist/components/in_page_navigation/import.xml +253 -0
- package/dist/components/in_page_navigation/manifest.json +35 -0
- package/dist/components/in_page_navigation/presentation.js +14 -0
- package/dist/components/in_page_navigation/static.html +13 -0
- package/dist/components/internal_navigation/import.xml +95 -0
- package/dist/components/internal_navigation/manifest.json +11 -0
- package/dist/components/internal_navigation/presentation.js +165 -0
- package/dist/components/internal_navigation/static.html +130 -0
- package/dist/components/left_hand_navigation/import.xml +299 -0
- package/dist/components/left_hand_navigation/manifest.json +40 -0
- package/dist/components/left_hand_navigation/presentation.js +178 -0
- package/dist/components/left_hand_navigation/static.html +64 -0
- package/dist/components/main_navigation/import.xml +95 -0
- package/dist/components/main_navigation/manifest.json +11 -0
- package/dist/components/main_navigation/presentation.js +150 -0
- package/dist/components/main_navigation/static.html +80 -0
- package/dist/components/mega_main_navigation/import.xml +95 -0
- package/dist/components/mega_main_navigation/manifest.json +9 -0
- package/dist/components/mega_main_navigation/presentation.js +380 -0
- package/dist/components/mega_main_navigation/static.html +153 -0
- package/dist/components/multi_column/import.xml +1631 -0
- package/dist/components/multi_column/manifest.json +233 -0
- package/dist/components/multi_column/presentation.js +249 -0
- package/dist/components/multi_column/static.html +36 -0
- package/dist/components/page_alert/import.xml +479 -0
- package/dist/components/page_alert/manifest.json +63 -0
- package/dist/components/page_alert/presentation.js +67 -0
- package/dist/components/page_alert/static.html +8 -0
- package/dist/components/pagination/import.xml +95 -0
- package/dist/components/pagination/manifest.json +42 -0
- package/dist/components/pagination/presentation.js +84 -0
- package/dist/components/pagination/static.html +5 -0
- package/dist/components/updated_date/import.xml +95 -0
- package/dist/components/updated_date/manifest.json +9 -0
- package/dist/components/updated_date/presentation.js +34 -0
- package/dist/components/updated_date/static.html +6 -0
- package/dist/components/widgets/import.xml +95 -0
- package/dist/components/widgets/manifest.json +9 -0
- package/dist/components/widgets/presentation.js +40 -0
- package/dist/components/widgets/static.html +0 -0
- package/dist/components.html +790 -0
- package/dist/externals/componentPreview.js +101 -0
- package/dist/externals/dsComponentLoader.js +410 -0
- package/dist/externals/esri-leaflet-vector.js +5 -0
- package/dist/externals/esri-leaflet.js +12 -0
- package/dist/externals/fb-handlebars.min.js +29 -0
- package/dist/externals/fb-typeahead.bundle.min.js +6 -0
- package/dist/externals/funnelback.autocompletion-2.6.0.js +678 -0
- package/dist/externals/getPagination.js +62 -0
- package/dist/externals/handlebars.min-v4.7.6.js +29 -0
- package/dist/externals/leaflet.js +6 -0
- package/dist/externals/populateDatastoreSim.js +381 -0
- package/dist/externals/tinymce_classes.css +62 -0
- package/dist/home.html +694 -0
- package/dist/index.html +710 -0
- package/dist/inner-with-nav.html +1853 -0
- package/dist/inner.html +671 -0
- package/dist/js/helpers.js +892 -0
- package/dist/js/main.js +55 -0
- package/dist/js/main.js.map +1 -0
- package/dist/js/runtime.js +2 -0
- package/dist/js/runtime.js.map +1 -0
- package/dist/main.css +918 -0
- package/dist/main.css.map +1 -0
- package/dist/mysource_files/ajax-loader.gif +0 -0
- package/dist/mysource_files/favicons/favicon.ico +0 -0
- package/dist/mysource_files/img/100x100.jpg +0 -0
- package/dist/mysource_files/img/600x260.jpg +0 -0
- package/dist/mysource_files/img/Heart-Pattern-Dark.png +0 -0
- package/dist/mysource_files/img/Heart-Pattern.png +0 -0
- package/dist/mysource_files/img/banner-background--desktop.png +0 -0
- package/dist/mysource_files/img/banner-background--mobile.png +0 -0
- package/dist/mysource_files/img/banner-bg.png +0 -0
- package/dist/mysource_files/img/banner.png +0 -0
- package/dist/mysource_files/img/card--brand.png +0 -0
- package/dist/mysource_files/img/card--components.png +0 -0
- package/dist/mysource_files/img/card--content.png +0 -0
- package/dist/mysource_files/img/header-logo-agov.png +0 -0
- package/dist/mysource_files/img/header-logo-qgov--dark.svg +63 -0
- package/dist/mysource_files/img/header-logo-qgov--light.svg +56 -0
- package/dist/mysource_files/img/header-logo-qgov--pre-dark.svg +56 -0
- package/dist/mysource_files/img/header-search.svg +3 -0
- package/dist/mysource_files/img/layers-2x.png +0 -0
- package/dist/mysource_files/img/layers.png +0 -0
- package/dist/mysource_files/img/marker-icon.png +0 -0
- package/dist/mysource_files/img/svg-icons.svg +155 -0
- package/dist/mysource_files/img/video-play.svg +3 -0
- package/dist/mysource_files/slick.eot +0 -0
- package/dist/mysource_files/slick.svg +14 -0
- package/dist/mysource_files/slick.ttf +0 -0
- package/dist/mysource_files/slick.woff +0 -0
- package/package-lock.json +14276 -0
- package/package.json +79 -0
- package/scripts/add_component.sh +109 -0
- package/src/assets/favicons/favicon.ico +0 -0
- package/src/assets/img/100x100.jpg +0 -0
- package/src/assets/img/600x260.jpg +0 -0
- package/src/assets/img/Heart-Pattern-Dark.png +0 -0
- package/src/assets/img/Heart-Pattern.png +0 -0
- package/src/assets/img/banner-background--desktop.png +0 -0
- package/src/assets/img/banner-background--mobile.png +0 -0
- package/src/assets/img/banner-bg.png +0 -0
- package/src/assets/img/banner.png +0 -0
- package/src/assets/img/card--brand.png +0 -0
- package/src/assets/img/card--components.png +0 -0
- package/src/assets/img/card--content.png +0 -0
- package/src/assets/img/header-logo-agov.png +0 -0
- package/src/assets/img/header-logo-qgov--dark.svg +63 -0
- package/src/assets/img/header-logo-qgov--light.svg +56 -0
- package/src/assets/img/header-logo-qgov--pre-dark.svg +56 -0
- package/src/assets/img/header-search.svg +3 -0
- package/src/assets/img/layers-2x.png +0 -0
- package/src/assets/img/layers.png +0 -0
- package/src/assets/img/marker-icon.png +0 -0
- package/src/assets/img/svg-icons.svg +155 -0
- package/src/assets/img/video-play.svg +3 -0
- package/src/components/_global/css/admin/component.scss +71 -0
- package/src/components/_global/css/body/component.scss +897 -0
- package/src/components/_global/css/btn/component.scss +564 -0
- package/src/components/_global/css/cta_links/component.scss +121 -0
- package/src/components/_global/css/direction_links/component.scss +196 -0
- package/src/components/_global/css/example/component.scss +54 -0
- package/src/components/_global/css/forms/control_inputs/component.scss +349 -0
- package/src/components/_global/css/forms/general/component.scss +298 -0
- package/src/components/_global/css/forms/select/component.scss +230 -0
- package/src/components/_global/css/forms/text/component.scss +402 -0
- package/src/components/_global/css/global.scss +42 -0
- package/src/components/_global/css/grid-12/component.scss +331 -0
- package/src/components/_global/css/headings/component.scss +172 -0
- package/src/components/_global/css/icons/component.scss +29 -0
- package/src/components/_global/css/link_columns/component.scss +194 -0
- package/src/components/_global/css/link_list/component.scss +37 -0
- package/src/components/_global/css/modal/component.scss +182 -0
- package/src/components/_global/css/slick/component.scss +25 -0
- package/src/components/_global/css/table/component.scss +211 -0
- package/src/components/_global/css/tabs/component.scss +43 -0
- package/src/components/_global/css/tags/component.scss +272 -0
- package/src/components/_global/css/user_location/component.scss +38 -0
- package/src/components/_global/css/version/component.scss +47 -0
- package/src/components/_global/html/component.hbs +108 -0
- package/src/components/_global/html/ds_component.hbs +30 -0
- package/src/components/_global/html/head.html +63 -0
- package/src/components/_global/html/scripts.html +58 -0
- package/src/components/_global/js/_polyfills/global.js +18 -0
- package/src/components/_global/js/animate/global.js +324 -0
- package/src/components/_global/js/forms/global.js +182 -0
- package/src/components/_global/js/global.js +302 -0
- package/src/components/_global/js/manifest.json +11 -0
- package/src/components/_global/js/modal/global.js +236 -0
- package/src/components/_global/js/slick/global.js +153 -0
- package/src/components/_global/js/tabs/global.js +305 -0
- package/src/components/_global/js/user_location/global.js +116 -0
- package/src/components/_template/css/component.scss +22 -0
- package/src/components/_template/html/component-page.html +85 -0
- package/src/components/_template/html/component.hbs +4 -0
- package/src/components/_template/js/global.js +6 -0
- package/src/components/_template/js/manifest.json +40 -0
- package/src/components/abstract/css/component.scss +91 -0
- package/src/components/abstract/html/component.hbs +9 -0
- package/src/components/abstract/js/manifest.json +29 -0
- package/src/components/accordion/css/component.scss +329 -0
- package/src/components/accordion/html/accordion-group.html +157 -0
- package/src/components/accordion/html/component.hbs +46 -0
- package/src/components/accordion/html/default.html +92 -0
- package/src/components/accordion/js/global.js +413 -0
- package/src/components/accordion/js/manifest.json +427 -0
- package/src/components/banner/css/component.scss +664 -0
- package/src/components/banner/html/component.hbs +52 -0
- package/src/components/banner/js/manifest.json +11 -0
- package/src/components/banner_advanced/css/component.scss +7 -0
- package/src/components/banner_advanced/html/component.hbs +213 -0
- package/src/components/banner_advanced/js/global.js +6 -0
- package/src/components/banner_advanced/js/manifest.json +1450 -0
- package/src/components/banner_basic/css/component.scss +52 -0
- package/src/components/banner_basic/html/component.hbs +130 -0
- package/src/components/banner_basic/js/global.js +6 -0
- package/src/components/banner_basic/js/manifest.json +151 -0
- package/src/components/banner_intermediate/css/component.scss +276 -0
- package/src/components/banner_intermediate/html/component.hbs +165 -0
- package/src/components/banner_intermediate/js/global.js +6 -0
- package/src/components/banner_intermediate/js/manifest.json +248 -0
- package/src/components/body/css/component.scss +16 -0
- package/src/components/body/html/component.hbs +5 -0
- package/src/components/body/js/manifest.json +46 -0
- package/src/components/breadcrumbs/css/component.scss +236 -0
- package/src/components/breadcrumbs/html/component.hbs +29 -0
- package/src/components/breadcrumbs/js/manifest.json +9 -0
- package/src/components/callout/css/component.scss +146 -0
- package/src/components/callout/html/component.hbs +28 -0
- package/src/components/callout/js/manifest.json +121 -0
- package/src/components/card_feature/css/component.scss +224 -0
- package/src/components/card_feature/html/component.hbs +129 -0
- package/src/components/card_feature/js/manifest.json +1390 -0
- package/src/components/card_multi_action/css/component.scss +229 -0
- package/src/components/card_multi_action/html/component.hbs +192 -0
- package/src/components/card_multi_action/js/manifest.json +1314 -0
- package/src/components/card_no_action/css/component.scss +551 -0
- package/src/components/card_no_action/html/component.hbs +127 -0
- package/src/components/card_no_action/js/global.js +6 -0
- package/src/components/card_no_action/js/manifest.json +1264 -0
- package/src/components/card_single_action/css/component.scss +164 -0
- package/src/components/card_single_action/html/component.hbs +161 -0
- package/src/components/card_single_action/js/manifest.json +1273 -0
- package/src/components/code/css/component.scss +355 -0
- package/src/components/code/html/component.hbs +84 -0
- package/src/components/code/js/global.js +160 -0
- package/src/components/code/js/manifest.json +112 -0
- package/src/components/footer/css/component.scss +437 -0
- package/src/components/footer/html/component.hbs +177 -0
- package/src/components/footer/js/manifest.json +9 -0
- package/src/components/global_alert/css/component.scss +169 -0
- package/src/components/global_alert/html/component.hbs +38 -0
- package/src/components/global_alert/js/global.js +39 -0
- package/src/components/global_alert/js/manifest.json +9 -0
- package/src/components/header/css/component.scss +697 -0
- package/src/components/header/html/component.hbs +186 -0
- package/src/components/header/js/global.js +188 -0
- package/src/components/header/js/manifest.json +11 -0
- package/src/components/horizontal_rule/css/component.scss +37 -0
- package/src/components/horizontal_rule/html/component.hbs +6 -0
- package/src/components/horizontal_rule/js/manifest.json +69 -0
- package/src/components/in_page_navigation/css/component.scss +54 -0
- package/src/components/in_page_navigation/html/component.hbs +17 -0
- package/src/components/in_page_navigation/js/global.js +51 -0
- package/src/components/in_page_navigation/js/manifest.json +35 -0
- package/src/components/internal_navigation/css/component.scss +437 -0
- package/src/components/internal_navigation/html/component.hbs +57 -0
- package/src/components/internal_navigation/js/manifest.json +11 -0
- package/src/components/left_hand_navigation/css/component.scss +280 -0
- package/src/components/left_hand_navigation/html/component.hbs +77 -0
- package/src/components/left_hand_navigation/js/global.js +36 -0
- package/src/components/left_hand_navigation/js/manifest.json +40 -0
- package/src/components/main_navigation/css/component.scss +706 -0
- package/src/components/main_navigation/html/component.hbs +87 -0
- package/src/components/main_navigation/js/global.js +373 -0
- package/src/components/main_navigation/js/manifest.json +11 -0
- package/src/components/mega_main_navigation/css/component.scss +535 -0
- package/src/components/mega_main_navigation/html/component.hbs +157 -0
- package/src/components/mega_main_navigation/js/global.js +170 -0
- package/src/components/mega_main_navigation/js/manifest.json +9 -0
- package/src/components/multi_column/css/component.scss +11 -0
- package/src/components/multi_column/html/component.hbs +98 -0
- package/src/components/multi_column/js/manifest.json +233 -0
- package/src/components/page_alert/css/component.scss +132 -0
- package/src/components/page_alert/html/component.hbs +26 -0
- package/src/components/page_alert/js/manifest.json +63 -0
- package/src/components/pagination/css/component.scss +196 -0
- package/src/components/pagination/html/component.hbs +41 -0
- package/src/components/pagination/html/default.html +30 -0
- package/src/components/pagination/js/manifest.json +42 -0
- package/src/components/search_box/css/component.scss +48 -0
- package/src/components/search_box/html/component.html +11 -0
- package/src/components/search_box/js/manifest.json +73 -0
- package/src/components/updated_date/css/component.scss +0 -0
- package/src/components/updated_date/html/component.hbs +31 -0
- package/src/components/updated_date/js/manifest.json +9 -0
- package/src/components/widgets/css/component.scss +82 -0
- package/src/components/widgets/html/component.hbs +19 -0
- package/src/components/widgets/html/default.html +4 -0
- package/src/components/widgets/js/current.json +483 -0
- package/src/components/widgets/js/manifest.json +9 -0
- package/src/components/widgets/js/site.json +358 -0
- package/src/data/current.json +522 -0
- package/src/data/current_admin.json +305 -0
- package/src/data/model_component.js +14 -0
- package/src/data/site.json +762 -0
- package/src/externals/componentPreview.js +101 -0
- package/src/externals/dsComponentLoader.js +410 -0
- package/src/externals/esri-leaflet-vector.js +5 -0
- package/src/externals/esri-leaflet.js +12 -0
- package/src/externals/fb-handlebars.min.js +29 -0
- package/src/externals/fb-typeahead.bundle.min.js +6 -0
- package/src/externals/funnelback.autocompletion-2.6.0.js +678 -0
- package/src/externals/getPagination.js +62 -0
- package/src/externals/handlebars.min-v4.7.6.js +29 -0
- package/src/externals/leaflet.js +6 -0
- package/src/externals/populateDatastoreSim.js +381 -0
- package/src/externals/tinymce_classes.css +62 -0
- package/src/helpers/Handlebars/appendIf.js +6 -0
- package/src/helpers/Handlebars/arrayLength.js +3 -0
- package/src/helpers/Handlebars/arrayWith.js +13 -0
- package/src/helpers/Handlebars/capitaliseFirst.js +8 -0
- package/src/helpers/Handlebars/charMax.js +8 -0
- package/src/helpers/Handlebars/checkIf.js +20 -0
- package/src/helpers/Handlebars/columnWidth.js +39 -0
- package/src/helpers/Handlebars/contains.js +7 -0
- package/src/helpers/Handlebars/createMap.js +19 -0
- package/src/helpers/Handlebars/dsMapFromID.js +8 -0
- package/src/helpers/Handlebars/dsMapFromProp.js +8 -0
- package/src/helpers/Handlebars/eachByName.js +18 -0
- package/src/helpers/Handlebars/eachDS.js +7 -0
- package/src/helpers/Handlebars/eachFrom.js +13 -0
- package/src/helpers/Handlebars/eachUpTo.js +8 -0
- package/src/helpers/Handlebars/eachWhen.js +33 -0
- package/src/helpers/Handlebars/formatDate.js +62 -0
- package/src/helpers/Handlebars/generateDates.js +74 -0
- package/src/helpers/Handlebars/getDistance.js +40 -0
- package/src/helpers/Handlebars/getObject.js +3 -0
- package/src/helpers/Handlebars/getParamaterByName.js +11 -0
- package/src/helpers/Handlebars/getPossibleValues.js +13 -0
- package/src/helpers/Handlebars/getProp.js +3 -0
- package/src/helpers/Handlebars/getTags.js +20 -0
- package/src/helpers/Handlebars/getTitle.js +4 -0
- package/src/helpers/Handlebars/ifAny.js +9 -0
- package/src/helpers/Handlebars/ifArray.js +3 -0
- package/src/helpers/Handlebars/ifCond.js +31 -0
- package/src/helpers/Handlebars/ifEqualsOrChained.js +12 -0
- package/src/helpers/Handlebars/ifProp.js +3 -0
- package/src/helpers/Handlebars/if_eq.js +9 -0
- package/src/helpers/Handlebars/inArray.js +8 -0
- package/src/helpers/Handlebars/isPage.js +7 -0
- package/src/helpers/Handlebars/itemAt.js +11 -0
- package/src/helpers/Handlebars/jsonParse.js +8 -0
- package/src/helpers/Handlebars/jsonStringify.js +3 -0
- package/src/helpers/Handlebars/listAZ.js +51 -0
- package/src/helpers/Handlebars/listAZOptions.js +34 -0
- package/src/helpers/Handlebars/listByClosest.js +60 -0
- package/src/helpers/Handlebars/listByClosestWithOffset.js +63 -0
- package/src/helpers/Handlebars/math.js +11 -0
- package/src/helpers/Handlebars/newLineToBreak.js +6 -0
- package/src/helpers/Handlebars/nonBreakingSpaces.js +6 -0
- package/src/helpers/Handlebars/objectFromSelect.js +21 -0
- package/src/helpers/Handlebars/partialReplace.js +9 -0
- package/src/helpers/Handlebars/printAccordion.js +24 -0
- package/src/helpers/Handlebars/replace.js +8 -0
- package/src/helpers/Handlebars/replaceMany.js +5 -0
- package/src/helpers/Handlebars/sizeFormat.js +11 -0
- package/src/helpers/Handlebars/split.js +6 -0
- package/src/helpers/Handlebars/toUpperCase.js +7 -0
- package/src/helpers/Handlebars/urldecode.js +3 -0
- package/src/helpers/Handlebars/urlencode.js +3 -0
- package/src/helpers/Handlebars/withinObject.js +13 -0
- package/src/html/component-abstract.html +86 -0
- package/src/html/component-accordion.html +87 -0
- package/src/html/component-banner.html +84 -0
- package/src/html/component-banner_advanced.html +97 -0
- package/src/html/component-banner_basic.html +163 -0
- package/src/html/component-banner_intermediate.html +91 -0
- package/src/html/component-body.html +116 -0
- package/src/html/component-breadcrumbs.html +88 -0
- package/src/html/component-btn.html +117 -0
- package/src/html/component-callout.html +86 -0
- package/src/html/component-card_feature.html +631 -0
- package/src/html/component-card_multi_action.html +793 -0
- package/src/html/component-card_no_action.html +521 -0
- package/src/html/component-card_single_action.html +631 -0
- package/src/html/component-code.html +84 -0
- package/src/html/component-footer.html +87 -0
- package/src/html/component-forms.html +585 -0
- package/src/html/component-global-elements.html +531 -0
- package/src/html/component-global_alert.html +87 -0
- package/src/html/component-header.html +88 -0
- package/src/html/component-in_page_navigation.html +109 -0
- package/src/html/component-internal_navigation.html +87 -0
- package/src/html/component-left_hand_navigation.html +85 -0
- package/src/html/component-main_navigation.html +87 -0
- package/src/html/component-mega_main_navigation.html +88 -0
- package/src/html/component-multi_column.html +86 -0
- package/src/html/component-page_alert.html +86 -0
- package/src/html/component-pagination.html +86 -0
- package/src/html/component-tag_list.html +340 -0
- package/src/html/component-updated_date.html +88 -0
- package/src/html/component-widgets.html +90 -0
- package/src/html/components.html +136 -0
- package/src/html/home.html +126 -0
- package/src/html/index.html +142 -0
- package/src/html/inner-with-nav.html +1126 -0
- package/src/html/inner.html +107 -0
- package/src/index.js +12 -0
- package/src/styles/global.scss +120 -0
- package/src/styles/imports/figma.scss +0 -0
- package/src/styles/imports/functions.scss +519 -0
- package/src/styles/imports/mixins.scss +658 -0
- package/src/styles/imports/placeholders.scss +68 -0
- package/src/styles/imports/utilities.scss +185 -0
- package/src/styles/imports/variables.scss +484 -0
- package/src/styles/postcss.config.js +4 -0
- package/webpack/JsonMergePlugin.js +35 -0
- package/webpack/PrecompilePlugin.js +369 -0
- package/webpack/webpack.common.js +151 -0
- package/webpack/webpack.dev.js +54 -0
- package/webpack/webpack.prod.js +70 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
/*! @gov.au/grid-12 v2.1.0 */
|
|
2
|
+
|
|
3
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
// grid-12 module globals
|
|
5
|
+
// Implementation of the Bootstrap 3 grid.
|
|
6
|
+
//
|
|
7
|
+
// Content:
|
|
8
|
+
// - Sass versioning
|
|
9
|
+
// - Global variables: none so far
|
|
10
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
13
|
+
// GLOBAL VARIABLES
|
|
14
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
15
|
+
$QLD-grid-12-columns: 12 !default; //column amounts
|
|
16
|
+
// $QLD-grid-12-gutter-width: 32px !default; //gutter space
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
20
|
+
// Mixins and grid class generation
|
|
21
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
22
|
+
/**
|
|
23
|
+
* Iterates through all 12 columns (≥2) to calculate the correct amount of left
|
|
24
|
+
* and right padding for each of the classes.
|
|
25
|
+
*/
|
|
26
|
+
@mixin QLD-grid-12-make-grid-columns( $i: 1, $list: ".col-xs-#{ $i }, .col-sm-#{ $i }, .col-md-#{ $i }, .col-lg-#{ $i }, .col-xl-#{ $i }" ) {
|
|
27
|
+
@for $i from ( 1 + 1 ) through $QLD-grid-12-columns {
|
|
28
|
+
$list: "#{ $list }, .col-xs-#{ $i }, .col-sm-#{ $i }, .col-md-#{ $i }, .col-lg-#{ $i }, .col-xl-#{ $i }";
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
#{ $list } {
|
|
32
|
+
box-sizing: border-box; //we can’t assume that has been added on * {}
|
|
33
|
+
position: relative;
|
|
34
|
+
// padding-left: ceil( ( $QLD-grid-12-gutter-width / 2 ) );
|
|
35
|
+
// padding-right: floor( ( $QLD-grid-12-gutter-width / 2 ) );
|
|
36
|
+
@include QLD-container-padding($QLD-grid-gutter-sm, horizontal);
|
|
37
|
+
flex: 0 0 auto;
|
|
38
|
+
|
|
39
|
+
@include QLD-media(md) {
|
|
40
|
+
@include QLD-container-padding($QLD-grid-gutter-sm, horizontal);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@include QLD-media(lg) {
|
|
44
|
+
// @include QLD-container-padding($QLD-grid-gutter-lg, horizontal);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Iterates through the columns to create a new list and then sets the float.
|
|
51
|
+
*/
|
|
52
|
+
@mixin QLD-grid-12-float-grid-columns( $class, $i: 1, $list: ".col-#{ $class }-#{ $i }" ) {
|
|
53
|
+
@for $i from ( 1 + 1 ) through $QLD-grid-12-columns {
|
|
54
|
+
$list: "#{ $list }, .col-#{ $class }-#{ $i }";
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#{ $list } {
|
|
58
|
+
// float: left;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Calculates the correct widths as a percentage based on the column count,
|
|
64
|
+
* column breakpoint class, and type (pull or offset).
|
|
65
|
+
*/
|
|
66
|
+
@mixin QLD-grid-12-calc-grid-column( $index, $class, $type ) {
|
|
67
|
+
@if ( $type == width ) and ( $index > 0 ) {
|
|
68
|
+
.col-#{ $class }-#{ $index } {
|
|
69
|
+
width: percentage( ( $index / $QLD-grid-12-columns ) );
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@if ( $type == push ) and ( $index > 0 ) {
|
|
74
|
+
.col-#{ $class }-push-#{ $index } {
|
|
75
|
+
left: percentage( ( $index / $QLD-grid-12-columns ) );
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@if ( $type == push ) and ( $index == 0 ) {
|
|
80
|
+
.col-#{ $class }-push-0 {
|
|
81
|
+
left: auto;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@if ($type == pull) and ( $index > 0 ) {
|
|
86
|
+
.col-#{ $class }-pull-#{ $index } {
|
|
87
|
+
right: percentage( ( $index / $QLD-grid-12-columns ) );
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@if ($type == pull) and ( $index == 0 ) {
|
|
92
|
+
.col-#{ $class }-pull-0 {
|
|
93
|
+
right: auto;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@if ($type == offset) {
|
|
98
|
+
.col-#{ $class }-offset-#{ $index } {
|
|
99
|
+
margin-left: percentage( ( $index / $QLD-grid-12-columns ) );
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Calls the above mixins and combines them.
|
|
106
|
+
*/
|
|
107
|
+
@mixin QLD-grid-12-loop-grid-columns( $columns, $class, $type ) {
|
|
108
|
+
@for $i from 0 through $columns {
|
|
109
|
+
@include QLD-grid-12-calc-grid-column( $i, $class, $type );
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Finally, we create the grid and all the necessary classes.
|
|
116
|
+
*/
|
|
117
|
+
@mixin QLD-grid-12-make-grid( $class ) {
|
|
118
|
+
@include QLD-grid-12-float-grid-columns( $class );
|
|
119
|
+
@include QLD-grid-12-loop-grid-columns( $QLD-grid-12-columns, $class, width );
|
|
120
|
+
@include QLD-grid-12-loop-grid-columns( $QLD-grid-12-columns, $class, pull );
|
|
121
|
+
@include QLD-grid-12-loop-grid-columns( $QLD-grid-12-columns, $class, push );
|
|
122
|
+
@include QLD-grid-12-loop-grid-columns( $QLD-grid-12-columns, $class, offset );
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
// Slight grid changes for container fluid
|
|
127
|
+
.qld__grid .container-fluid {
|
|
128
|
+
@include QLD-space(max-width, $QLD-grid-maxwidth);
|
|
129
|
+
margin-left: auto;
|
|
130
|
+
margin-right: auto;
|
|
131
|
+
@include QLD-container-padding($QLD-grid-gutter-sm, horizontal);
|
|
132
|
+
|
|
133
|
+
@include QLD-media(md) {
|
|
134
|
+
@include QLD-container-padding($QLD-grid-gutter-sm, horizontal);
|
|
135
|
+
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@include QLD-media(lg) {
|
|
139
|
+
@include QLD-container-padding($QLD-grid-gutter-sm, horizontal);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.qld__grid {
|
|
145
|
+
|
|
146
|
+
.qld__global_alert > .container-fluid,
|
|
147
|
+
.qld__header > div > .container-fluid,
|
|
148
|
+
.qld__main-nav > .container-fluid,
|
|
149
|
+
main > section > .container-fluid,
|
|
150
|
+
main > div > .container-fluid,
|
|
151
|
+
main > div > div > .container-fluid,
|
|
152
|
+
main > div > section > .container-fluid,
|
|
153
|
+
.qld__footer > .container-fluid{
|
|
154
|
+
|
|
155
|
+
@include QLD-media(md) {
|
|
156
|
+
@include QLD-container-padding($QLD-grid-gutter-md, horizontal);
|
|
157
|
+
}
|
|
158
|
+
@include QLD-media(lg) {
|
|
159
|
+
@include QLD-container-padding($QLD-grid-gutter-lg, horizontal);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.qld__grid {
|
|
170
|
+
//create container that snaps to breakpoints
|
|
171
|
+
.container {
|
|
172
|
+
box-sizing: border-box;
|
|
173
|
+
}
|
|
174
|
+
//create both containers
|
|
175
|
+
.container,
|
|
176
|
+
.container-fluid {
|
|
177
|
+
box-sizing: border-box;
|
|
178
|
+
@include QLD-clearfix;
|
|
179
|
+
|
|
180
|
+
.container,
|
|
181
|
+
.container-fluid:not(.qld__example__inline &) {
|
|
182
|
+
padding: 0;
|
|
183
|
+
|
|
184
|
+
@include QLD-media(md) {
|
|
185
|
+
padding: 0;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@include QLD-media(lg) {
|
|
189
|
+
padding: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@include QLD-media(xl) {
|
|
193
|
+
padding: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@include QLD-media(xxl) {
|
|
197
|
+
padding: 0;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
//create row and clear floats inside
|
|
203
|
+
.row {
|
|
204
|
+
display: flex;
|
|
205
|
+
flex-wrap: wrap;
|
|
206
|
+
flex-direction: row;
|
|
207
|
+
clear: both;
|
|
208
|
+
@include QLD-clearfix;
|
|
209
|
+
@include QLD-container-margin($QLD-grid-gutter-sm, neg, horizontal );
|
|
210
|
+
|
|
211
|
+
@include QLD-media(md) {
|
|
212
|
+
@include QLD-container-margin($QLD-grid-gutter-sm, neg, horizontal);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
@include QLD-media(lg) {
|
|
216
|
+
// @include QLD-container-margin($QLD-grid-gutter-md, neg, horizontal);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
// &--section {
|
|
221
|
+
// * + & {
|
|
222
|
+
// @include QLD-space(margin-top, 3unit);
|
|
223
|
+
// }
|
|
224
|
+
// }
|
|
225
|
+
|
|
226
|
+
&--heading-paragraph-columns {
|
|
227
|
+
* + h2 {
|
|
228
|
+
@include QLD-space(margin-top, 1.5unit);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
* + h3 {
|
|
232
|
+
@include QLD-space(margin-top, 1.5unit);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
* + p {
|
|
236
|
+
@include QLD-space(margin-top, 1unit);
|
|
237
|
+
|
|
238
|
+
}
|
|
239
|
+
div[class^="col-"]{
|
|
240
|
+
@include QLD-space(margin-top, 1unit);
|
|
241
|
+
// @include QLD-space(margin-bottom, 1unit);
|
|
242
|
+
// &:last-child{
|
|
243
|
+
// @include QLD-space(margin-bottom, 0unit);
|
|
244
|
+
// }
|
|
245
|
+
@include QLD-media(lg) {
|
|
246
|
+
@include QLD-space(margin-top, 0unit);
|
|
247
|
+
// @include QLD-space(margin-bottom, 0unit);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.qld__callout {
|
|
255
|
+
+ p {
|
|
256
|
+
@include QLD-space(margin-top, 1.5unit);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@include QLD-media(lg) {
|
|
261
|
+
* + & {
|
|
262
|
+
@include QLD-space(margin-top, 1.5unit);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
h2,
|
|
266
|
+
h3,
|
|
267
|
+
p {
|
|
268
|
+
&:first-child {
|
|
269
|
+
margin-top: 0;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
#content{
|
|
276
|
+
@include QLD-media(md) {
|
|
277
|
+
@include QLD-container-padding($QLD-grid-gutter-sm, horizontal);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
main > {
|
|
282
|
+
// div > section > .container-fluid > .row,
|
|
283
|
+
// section > .container-fluid > .row{
|
|
284
|
+
// // @include QLD-container-margin($QLD-grid-gutter-md, neg, horizontal);
|
|
285
|
+
// @include QLD-media(md) {
|
|
286
|
+
// @include QLD-container-margin($QLD-grid-gutter-md, neg, horizontal);
|
|
287
|
+
// }
|
|
288
|
+
// @include QLD-media(lg) {
|
|
289
|
+
// @include QLD-container-margin($QLD-grid-gutter-lg, neg, horizontal);
|
|
290
|
+
// }
|
|
291
|
+
// }
|
|
292
|
+
.qld__body > .container-fluid {
|
|
293
|
+
> .row{
|
|
294
|
+
@include QLD-media(lg) {
|
|
295
|
+
@include QLD-container-margin($QLD-grid-gutter-lg, neg, horizontal);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
> .row> div[class^="col-"],
|
|
299
|
+
> .row> div[class^="col-"]#content{
|
|
300
|
+
@include QLD-media(lg) {
|
|
301
|
+
@include QLD-container-padding($QLD-grid-gutter-md, horizontal ) ;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
//create all classes
|
|
309
|
+
@include QLD-grid-12-make-grid-columns;
|
|
310
|
+
//create xs classes
|
|
311
|
+
@include QLD-grid-12-make-grid(xs);
|
|
312
|
+
|
|
313
|
+
//create sm classes
|
|
314
|
+
@include QLD-media(sm) {
|
|
315
|
+
@include QLD-grid-12-make-grid(sm);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
//create md classes
|
|
319
|
+
@include QLD-media(md) {
|
|
320
|
+
@include QLD-grid-12-make-grid(md);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
//create lg classes
|
|
324
|
+
@include QLD-media(lg) {
|
|
325
|
+
@include QLD-grid-12-make-grid(lg);
|
|
326
|
+
}
|
|
327
|
+
//create xl classes
|
|
328
|
+
@include QLD-media(xl) {
|
|
329
|
+
@include QLD-grid-12-make-grid(xl);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// headings module
|
|
3
|
+
// Class styles for display headings.
|
|
4
|
+
//
|
|
5
|
+
// Content:
|
|
6
|
+
// - Basic styles for all headings
|
|
7
|
+
// - Default spacing
|
|
8
|
+
// - Unique styles for individual headings
|
|
9
|
+
// - Typographic spacing for .qld__body only
|
|
10
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
11
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
12
|
+
// HEADINGS/DISPLAY STYLES
|
|
13
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Basic styles for all headings
|
|
17
|
+
*/
|
|
18
|
+
// .qld__header,
|
|
19
|
+
.qld__body,
|
|
20
|
+
.qld__footer,
|
|
21
|
+
.qld__banner,
|
|
22
|
+
.qld__main-nav{
|
|
23
|
+
h1,
|
|
24
|
+
h2,
|
|
25
|
+
h3,
|
|
26
|
+
h4,
|
|
27
|
+
h5,
|
|
28
|
+
h6,
|
|
29
|
+
.qld__display-xxxl,
|
|
30
|
+
.qld__display-xxl,
|
|
31
|
+
.qld__display-xl,
|
|
32
|
+
.qld__display-lg,
|
|
33
|
+
.qld__display-md,
|
|
34
|
+
.qld__display-sm,
|
|
35
|
+
.qld__display-xs{
|
|
36
|
+
font-family: $QLD-font;
|
|
37
|
+
font-weight: bold;
|
|
38
|
+
margin: 0;
|
|
39
|
+
// color: var(--QLD-color-light-heading);
|
|
40
|
+
color: var(--QLD-color-light-heading);
|
|
41
|
+
@include QLD-space(max-width, $QLD-font-maxwidth);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.qld__body--dark,
|
|
45
|
+
&.qld__body--dark-alt {
|
|
46
|
+
h1,
|
|
47
|
+
h2,
|
|
48
|
+
h3,
|
|
49
|
+
h4,
|
|
50
|
+
h5,
|
|
51
|
+
h6,
|
|
52
|
+
.qld__display-xxxl,
|
|
53
|
+
.qld__display-xxl,
|
|
54
|
+
.qld__display-xl,
|
|
55
|
+
.qld__display-lg,
|
|
56
|
+
.qld__display-md,
|
|
57
|
+
.qld__display-sm,
|
|
58
|
+
.qld__display-xs{
|
|
59
|
+
color: var(--QLD-color-dark-heading);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Typographic spacing for QLD-body only
|
|
65
|
+
* Larger space for larger headings has been added to improve legibility in large blocks of text.
|
|
66
|
+
* This provides area's of eye-rest and uses spacing to create visual sections
|
|
67
|
+
* Also ref. https://github.com/govau/design-system-components/issues/282
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
.qld__display-xxxl {
|
|
71
|
+
@include QLD-fontgrid(xxxl, heading);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
h1{
|
|
75
|
+
@include QLD-fontgrid(xl, heading);
|
|
76
|
+
|
|
77
|
+
@include QLD-media(lg) {
|
|
78
|
+
@include QLD-fontgrid(xxl, heading);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
h2,
|
|
83
|
+
.qld__display-xl{
|
|
84
|
+
@include QLD-space(font-size, 1.75unit);
|
|
85
|
+
@include QLD-space(line-height, 2.25unit);
|
|
86
|
+
|
|
87
|
+
@include QLD-media(lg) {
|
|
88
|
+
@include QLD-fontgrid(xl, heading);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
h3,
|
|
93
|
+
.qld__display-lg{
|
|
94
|
+
@include QLD-fontgrid(lg, heading);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
h4,
|
|
98
|
+
.qld__display-md{
|
|
99
|
+
@include QLD-fontgrid(md, heading);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
h5,
|
|
103
|
+
.qld__display-sm{
|
|
104
|
+
@include QLD-fontgrid(md, heading);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
h6,
|
|
108
|
+
.qld__display-xs{
|
|
109
|
+
@include QLD-fontgrid(sm, heading);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Default margin-top
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
*:not([type="hidden"]){
|
|
117
|
+
+ .qld__display-xxxl{
|
|
118
|
+
@include QLD-space(margin-top, 2.25unit);
|
|
119
|
+
|
|
120
|
+
@include QLD-media(md) {
|
|
121
|
+
@include QLD-space(margin-top, 3.5unit);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
+ h1,
|
|
126
|
+
+ .qld__display-xl{
|
|
127
|
+
@include QLD-space(margin-top, 2unit);
|
|
128
|
+
|
|
129
|
+
@include QLD-media(md) {
|
|
130
|
+
@include QLD-space(margin-top, 3unit);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
+ .qld__display-lg,
|
|
135
|
+
+ h2{
|
|
136
|
+
@include QLD-space(margin-top, 2unit);
|
|
137
|
+
|
|
138
|
+
@include QLD-media(md) {
|
|
139
|
+
@include QLD-space(margin-top, 3unit);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
+ .qld__display-md,
|
|
144
|
+
+ h3{
|
|
145
|
+
@include QLD-space(margin-top, 2unit);
|
|
146
|
+
|
|
147
|
+
@include QLD-media(md) {
|
|
148
|
+
@include QLD-space(margin-top, 2.25unit);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
+ .qld__display-sm,
|
|
153
|
+
+ h4{
|
|
154
|
+
@include QLD-space(margin-top, 1unit);
|
|
155
|
+
|
|
156
|
+
@include QLD-media(md) {
|
|
157
|
+
@include QLD-space(margin-top, 2unit);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
+ .qld__display-xs,
|
|
162
|
+
+ h5,
|
|
163
|
+
+ h6{
|
|
164
|
+
@include QLD-space(margin-top, 1unit);
|
|
165
|
+
|
|
166
|
+
@include QLD-media(md) {
|
|
167
|
+
@include QLD-space(margin-top, 1.5unit);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Icons
|
|
3
|
+
//--------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.qld__icon{
|
|
6
|
+
height: $QLD-icon-size-xs;
|
|
7
|
+
width: $QLD-icon-size-xs;
|
|
8
|
+
vertical-align: middle;
|
|
9
|
+
align-self: center;
|
|
10
|
+
|
|
11
|
+
&--sm{
|
|
12
|
+
height: $QLD-icon-size-sm;
|
|
13
|
+
width: $QLD-icon-size-sm;
|
|
14
|
+
}
|
|
15
|
+
&--md{
|
|
16
|
+
height: $QLD-icon-size-md;
|
|
17
|
+
width: $QLD-icon-size-md;
|
|
18
|
+
}
|
|
19
|
+
&--lg{
|
|
20
|
+
height: $QLD-icon-size-lg;
|
|
21
|
+
width: $QLD-icon-size-lg;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&--xl{
|
|
25
|
+
height: $QLD-icon-size-xl;
|
|
26
|
+
width: $QLD-icon-size-xl;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|