generator-white-label 3.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +140 -81
- package/app/404.hbs +20 -0
- package/app/README.md +19 -0
- package/app/assets/data/view/toolkit/colors.json +17 -0
- package/app/assets/data/view/toolkit/components.json +39 -0
- package/app/assets/data/view/toolkit/elements.json +119 -0
- package/app/assets/data/view/toolkit/grids.json +17 -0
- package/app/assets/data/view/toolkit/icons.json +17 -0
- package/app/assets/data/view/toolkit/index.json +17 -0
- package/app/assets/data/view/toolkit/type.json +17 -0
- package/app/assets/font/opensans/stylesheet.css +20 -60
- package/app/assets/image/demo/fallback.avif +0 -0
- package/app/assets/image/demo/fallback.jpg +0 -0
- package/app/assets/image/demo/fallback.webp +0 -0
- package/app/assets/image/demo/large.avif +0 -0
- package/app/assets/image/demo/large.webp +0 -0
- package/app/assets/image/demo/small.avif +0 -0
- package/app/assets/image/demo/small.webp +0 -0
- package/app/assets/markup/element/a.hbs +29 -0
- package/app/assets/markup/element/button.hbs +30 -0
- package/app/assets/markup/element/div.hbs +11 -0
- package/app/assets/markup/element/head.hbs +78 -0
- package/app/assets/markup/element/iframe.hbs +20 -0
- package/app/assets/markup/element/img.hbs +30 -0
- package/app/assets/markup/element/input.hbs +43 -0
- package/app/assets/markup/element/label.hbs +14 -0
- package/app/assets/markup/element/legend.hbs +5 -0
- package/app/assets/markup/element/meta.hbs +11 -0
- package/app/assets/markup/element/nav.hbs +13 -0
- package/app/assets/markup/element/p.hbs +8 -0
- package/app/assets/markup/element/picture.hbs +58 -0
- package/app/assets/markup/element/script.hbs +3 -0
- package/app/assets/markup/element/select.hbs +35 -0
- package/app/assets/markup/element/span.hbs +8 -0
- package/app/assets/markup/element/svg.hbs +11 -0
- package/app/assets/markup/element/table.hbs +50 -0
- package/app/assets/markup/element/textarea.hbs +24 -0
- package/app/assets/markup/element/ul.hbs +13 -0
- package/app/assets/markup/modal/modal-example-1.handlebars +8 -0
- package/app/assets/markup/toolkit/accessibility-skip-to-element-1.handlebars +1 -0
- package/app/assets/markup/toolkit/accessibility-speaker-1.handlebars +1 -0
- package/app/assets/markup/toolkit/anchor-1.handlebars +1 -0
- package/app/assets/markup/toolkit/button-1.handlebars +1 -0
- package/app/assets/markup/toolkit/footer-1.handlebars +3 -0
- package/app/assets/markup/toolkit/header-1.handlebars +1 -0
- package/app/assets/markup/toolkit/heading-1.handlebars +1 -0
- package/app/assets/markup/toolkit/heading-2.handlebars +1 -0
- package/app/assets/markup/toolkit/heading-3.handlebars +1 -0
- package/app/assets/markup/toolkit/heading-4.handlebars +1 -0
- package/app/assets/markup/toolkit/image-1.handlebars +1 -0
- package/app/assets/markup/toolkit/input-checkbox-1.handlebars +1 -0
- package/app/assets/markup/toolkit/input-error-1.handlebars +8 -0
- package/app/assets/markup/toolkit/input-radio-1.handlebars +1 -0
- package/app/assets/markup/toolkit/input-text-1.handlebars +1 -0
- package/app/assets/markup/toolkit/label-1.handlebars +1 -0
- package/app/assets/markup/toolkit/legend-1.handlebars +1 -0
- package/app/assets/markup/toolkit/list-1.handlebars +1 -0
- package/app/assets/markup/toolkit/modal-1.handlebars +4 -0
- package/app/assets/markup/toolkit/nav-1.handlebars +1 -0
- package/app/assets/markup/toolkit/picture-1.handlebars +1 -0
- package/app/assets/markup/toolkit/select-1.handlebars +1 -0
- package/app/assets/markup/toolkit/table-1.handlebars +1 -0
- package/app/assets/markup/toolkit/text-1.handlebars +1 -0
- package/app/assets/markup/toolkit/textarea-1.handlebars +1 -0
- package/app/assets/markup/toolkit/youtube-player-1.handlebars +1 -0
- package/app/assets/script/api/facebook.ts +41 -0
- package/app/assets/script/api/youtube.ts +22 -0
- package/app/assets/script/index.ts +2 -0
- package/app/assets/script/mediator/global.ts +4 -0
- package/app/assets/script/model/singletons/countries.ts +5 -0
- package/app/assets/script/model/singletons/global.ts +5 -0
- package/app/assets/script/model/singletons/states.ts +5 -0
- package/app/assets/script/model/user.ts +4 -0
- package/app/assets/script/toolkit.ts +11 -0
- package/app/assets/script/types.d.ts +16 -0
- package/app/assets/script/utility/ajax.ts +15 -0
- package/app/assets/script/utility/form.ts +119 -0
- package/app/assets/script/utility/{regex.js → regex.ts} +15 -6
- package/app/assets/script/utility/share.ts +77 -0
- package/app/assets/script/utility/string.ts +148 -0
- package/app/assets/script/view/default.tsx +14 -0
- package/app/assets/script/view/toolkit/youtube-player-1.ts +31 -0
- package/app/assets/style/base/_toolkit.scss +31 -15
- package/app/assets/style/base/components/_modal-1.scss +80 -0
- package/app/assets/style/base/components/_sticky-1.scss +19 -0
- package/app/assets/style/base/components/_tabpanel-1.scss +115 -0
- package/app/assets/style/base/components/_tabpanel-2.scss +64 -0
- package/app/assets/style/base/components/_tabpanel-base-1.scss +13 -0
- package/app/assets/style/base/components/_youtube-player-1.scss +16 -0
- package/app/assets/style/base/elements/_anchors.scss +12 -0
- package/app/assets/style/base/elements/_buttons.scss +15 -0
- package/app/assets/style/base/elements/_fieldsets.scss +9 -0
- package/app/assets/style/base/elements/_images.scss +6 -2
- package/app/assets/style/base/elements/_inputs.scss +70 -0
- package/app/assets/style/base/elements/_labels.scss +8 -0
- package/app/assets/style/base/elements/_landmarks.scss +3 -0
- package/app/assets/style/base/elements/_legends.scss +11 -0
- package/app/assets/style/base/elements/_lists.scss +8 -1
- package/app/assets/style/base/elements/_tables.scss +32 -1
- package/app/assets/style/base/layouts/_staggered-1.scss +29 -0
- package/app/assets/style/base/type/_fonts.scss +39 -1
- package/app/assets/style/base/type/_headings.scss +29 -0
- package/app/assets/style/base/type/_text.scss +2 -0
- package/app/assets/style/base/utilities/_accessibility.scss +5 -2
- package/app/assets/style/base/utilities/_functions.scss +62 -9
- package/app/assets/style/global.scss +108 -10
- package/app/assets/style/print.scss +2 -3
- package/app/assets/style/toolkit.scss +387 -0
- package/app/index.hbs +21 -0
- package/app/package.json +1 -0
- package/app/toolkit/colors.hbs +102 -0
- package/app/toolkit/components.hbs +261 -0
- package/app/toolkit/elements.hbs +497 -0
- package/app/toolkit/grids.hbs +413 -0
- package/app/toolkit/icons.hbs +87 -0
- package/app/toolkit/index.hbs +144 -0
- package/app/toolkit/type.hbs +120 -0
- package/dist/app/assets/data/coutries.json +992 -0
- package/dist/app/assets/data/states.json +204 -0
- package/dist/app/assets/script/api/facebook.d.ts +8 -0
- package/dist/app/assets/script/api/facebook.js +42 -0
- package/dist/app/assets/script/api/facebook.js.map +1 -0
- package/dist/app/assets/script/api/youtube.d.ts +8 -0
- package/dist/app/assets/script/api/youtube.js +22 -0
- package/dist/app/assets/script/api/youtube.js.map +1 -0
- package/dist/app/assets/script/index.d.ts +2 -0
- package/dist/app/assets/script/index.js +2 -0
- package/dist/app/assets/script/index.js.map +1 -0
- package/dist/app/assets/script/mediator/global.d.ts +4 -0
- package/dist/app/assets/script/mediator/global.js +4 -0
- package/dist/app/assets/script/mediator/global.js.map +1 -0
- package/dist/app/assets/script/model/singletons/countries.d.ts +20 -0
- package/dist/app/assets/script/model/singletons/countries.js +5 -0
- package/dist/app/assets/script/model/singletons/countries.js.map +1 -0
- package/dist/app/assets/script/model/singletons/global.d.ts +20 -0
- package/dist/app/assets/script/model/singletons/global.js +5 -0
- package/dist/app/assets/script/model/singletons/global.js.map +1 -0
- package/dist/app/assets/script/model/singletons/states.d.ts +20 -0
- package/dist/app/assets/script/model/singletons/states.js +5 -0
- package/dist/app/assets/script/model/singletons/states.js.map +1 -0
- package/dist/app/assets/script/model/user.d.ts +4 -0
- package/dist/app/assets/script/model/user.js +6 -0
- package/dist/app/assets/script/model/user.js.map +1 -0
- package/dist/app/assets/script/toolkit.d.ts +1 -0
- package/dist/app/assets/script/toolkit.js +7 -0
- package/dist/app/assets/script/toolkit.js.map +1 -0
- package/dist/app/assets/script/utility/ajax.d.ts +8 -0
- package/dist/app/assets/script/utility/ajax.js +17 -0
- package/dist/app/assets/script/utility/ajax.js.map +1 -0
- package/dist/app/assets/script/utility/form.d.ts +64 -0
- package/dist/app/assets/script/utility/form.js +111 -0
- package/dist/app/assets/script/utility/form.js.map +1 -0
- package/dist/app/assets/script/utility/regex.d.ts +14 -0
- package/dist/app/assets/script/utility/regex.js +27 -0
- package/dist/app/assets/script/utility/regex.js.map +1 -0
- package/dist/app/assets/script/utility/share.d.ts +68 -0
- package/dist/app/assets/script/utility/share.js +81 -0
- package/dist/app/assets/script/utility/share.js.map +1 -0
- package/dist/app/assets/script/utility/string.d.ts +64 -0
- package/dist/app/assets/script/utility/string.js +135 -0
- package/dist/app/assets/script/utility/string.js.map +1 -0
- package/dist/app/assets/script/view/default.d.ts +11 -0
- package/dist/app/assets/script/view/default.js +15 -0
- package/dist/app/assets/script/view/default.js.map +1 -0
- package/dist/app/assets/script/view/toolkit/youtube-player-1.d.ts +23 -0
- package/dist/app/assets/script/view/toolkit/youtube-player-1.js +32 -0
- package/dist/app/assets/script/view/toolkit/youtube-player-1.js.map +1 -0
- package/dist/generators/app/index.d.ts +18 -0
- package/dist/generators/app/index.js +59 -0
- package/dist/generators/app/index.js.map +1 -0
- package/dist/scripts/build.d.ts +22 -0
- package/dist/scripts/build.js +158 -0
- package/dist/scripts/build.js.map +1 -0
- package/generators/app/index.js +2 -43
- package/generators/app/index.ts +61 -0
- package/package.json +78 -109
- package/scripts/build.ts +175 -0
- package/tsconfig.site.json +26 -0
- package/.babelrc +0 -7
- package/.editorconfig +0 -13
- package/.eslintrc +0 -64
- package/.htmllintrc +0 -6
- package/.npmignore +0 -12
- package/.sass-lint.yml +0 -16
- package/.travis.yml +0 -18
- package/app/assets/font/opensans/generator_config.txt +0 -5
- package/app/assets/font/opensans/opensans-bold-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-bold-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-bold-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-bold-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-bolditalic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-bolditalic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-bolditalic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-bolditalic-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-extrabold-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-extrabold-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-extrabold-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-extrabold-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-extrabolditalic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-extrabolditalic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-extrabolditalic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-extrabolditalic-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-italic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-italic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-italic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-italic-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-light-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-light-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-light-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-light-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-lightitalic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-lightitalic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-lightitalic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-lightitalic-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-regular-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-regular-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-regular-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-regular-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-semibold-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-semibold-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-semibold-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-semibold-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-semibolditalic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-semibolditalic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-semibolditalic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-semibolditalic-webfont.woff +0 -0
- package/app/assets/font/opensans/specimen_files/grid_12-825-55-15.css +0 -129
- package/app/assets/font/opensans/specimen_files/specimen_stylesheet.css +0 -396
- package/app/assets/script/index.js +0 -11
- package/app/assets/script/mediator/global.js +0 -5
- package/app/assets/script/model/singletons/countries.js +0 -6
- package/app/assets/script/model/singletons/global.js +0 -6
- package/app/assets/script/model/singletons/states.js +0 -6
- package/app/assets/script/model/user.js +0 -5
- package/app/assets/script/utility/form.js +0 -86
- package/app/assets/script/utility/share.js +0 -52
- package/app/assets/script/utility/string.js +0 -70
- package/app/assets/script/view/default.js +0 -11
- package/app/assets/style/base/vendor/_foundation.scss +0 -2
- package/app/assets/test/spec/shareSpec.js +0 -137
- package/app/index.html +0 -43
- package/app/report/istanbul/base.css +0 -213
- package/app/report/istanbul/index.html +0 -93
- package/app/report/istanbul/prettify.css +0 -1
- package/app/report/istanbul/prettify.js +0 -1
- package/app/report/istanbul/sort-arrow-sprite.png +0 -0
- package/app/report/istanbul/sorter.js +0 -158
- package/app/report/istanbul/utility/form.js.html +0 -524
- package/app/report/istanbul/utility/index.html +0 -132
- package/app/report/istanbul/utility/regex.js.html +0 -203
- package/app/report/istanbul/utility/share.js.html +0 -401
- package/app/report/istanbul/utility/string.js.html +0 -446
- package/app/report/jsdoc/DragEvent.html +0 -303
- package/app/report/jsdoc/Event.html +0 -773
- package/app/report/jsdoc/EventPropagators.html +0 -336
- package/app/report/jsdoc/FocusEvent.html +0 -303
- package/app/report/jsdoc/ForEachBookKeeping.html +0 -425
- package/app/report/jsdoc/KeyboardEvent.html +0 -303
- package/app/report/jsdoc/MapBookKeeping.html +0 -457
- package/app/report/jsdoc/MouseEvent.html +0 -303
- package/app/report/jsdoc/ReactClass.html +0 -330
- package/app/report/jsdoc/ReactClassInterface.html +0 -311
- package/app/report/jsdoc/ReactDOMComponent.html +0 -349
- package/app/report/jsdoc/ReactDOMTextComponent.html +0 -348
- package/app/report/jsdoc/ReactMountReady.html +0 -340
- package/app/report/jsdoc/ReactMultiChild.html +0 -330
- package/app/report/jsdoc/ReactOwner.html +0 -351
- package/app/report/jsdoc/ReactReconcileTransaction.html +0 -342
- package/app/report/jsdoc/ReactServerRenderingTransaction.html +0 -376
- package/app/report/jsdoc/ReactServerUpdateQueue.html +0 -382
- package/app/report/jsdoc/TouchEvent.html +0 -303
- package/app/report/jsdoc/Transaction.html +0 -459
- package/app/report/jsdoc/UIEvent.html +0 -303
- package/app/report/jsdoc/WheelEvent.html +0 -303
- package/app/report/jsdoc/classes.list.html +0 -339
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.eot +0 -0
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.svg +0 -288
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.woff +0 -0
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/app/report/jsdoc/global.html +0 -1653
- package/app/report/jsdoc/img/glyphicons-halflings-white.png +0 -0
- package/app/report/jsdoc/img/glyphicons-halflings.png +0 -0
- package/app/report/jsdoc/index.html +0 -236
- package/app/report/jsdoc/interfaces.list.html +0 -339
- package/app/report/jsdoc/quicksearch.html +0 -31
- package/app/report/jsdoc/scripts/docstrap.lib.js +0 -11
- package/app/report/jsdoc/scripts/fulltext-search-ui.js +0 -89
- package/app/report/jsdoc/scripts/fulltext-search.js +0 -36
- package/app/report/jsdoc/scripts/lunr.min.js +0 -6
- package/app/report/jsdoc/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/app/report/jsdoc/scripts/prettify/jquery.min.js +0 -6
- package/app/report/jsdoc/scripts/prettify/lang-css.js +0 -21
- package/app/report/jsdoc/scripts/prettify/prettify.js +0 -496
- package/app/report/jsdoc/scripts/sunlight.js +0 -1157
- package/app/report/jsdoc/scripts/toc.js +0 -203
- package/app/report/jsdoc/styles/darkstrap.css +0 -960
- package/app/report/jsdoc/styles/prettify-tomorrow.css +0 -132
- package/app/report/jsdoc/styles/site.cerulean.css +0 -7008
- package/app/report/jsdoc/styles/site.cosmo.css +0 -7061
- package/app/report/jsdoc/styles/site.cyborg.css +0 -7048
- package/app/report/jsdoc/styles/site.darkly.css +0 -7171
- package/app/report/jsdoc/styles/site.darkstrap.css +0 -5638
- package/app/report/jsdoc/styles/site.dibs-bootstrap.css +0 -5899
- package/app/report/jsdoc/styles/site.flatly.css +0 -7147
- package/app/report/jsdoc/styles/site.journal.css +0 -6973
- package/app/report/jsdoc/styles/site.lumen.css +0 -7298
- package/app/report/jsdoc/styles/site.paper.css +0 -7623
- package/app/report/jsdoc/styles/site.readable.css +0 -6997
- package/app/report/jsdoc/styles/site.sandstone.css +0 -7035
- package/app/report/jsdoc/styles/site.simplex.css +0 -7023
- package/app/report/jsdoc/styles/site.slate.css +0 -7343
- package/app/report/jsdoc/styles/site.spacelab.css +0 -7055
- package/app/report/jsdoc/styles/site.superhero.css +0 -7131
- package/app/report/jsdoc/styles/site.united.css +0 -6895
- package/app/report/jsdoc/styles/site.yeti.css +0 -7195
- package/app/report/jsdoc/styles/sunlight.dark.css +0 -345
- package/app/report/jsdoc/styles/sunlight.default.css +0 -344
- package/gulp/config.js +0 -207
- package/gulp/tasks/accessibility.js +0 -34
- package/gulp/tasks/build.js +0 -18
- package/gulp/tasks/clean.js +0 -18
- package/gulp/tasks/data.js +0 -22
- package/gulp/tasks/default.js +0 -9
- package/gulp/tasks/deploy.js +0 -222
- package/gulp/tasks/documentation.js +0 -28
- package/gulp/tasks/markup.js +0 -26
- package/gulp/tasks/script.js +0 -92
- package/gulp/tasks/style.js +0 -42
- package/gulp/tasks/unit.js +0 -38
- package/gulp/tasks/watch.js +0 -77
- package/gulpfile.js +0 -8
- package/jsdoc.json +0 -23
- package/karma.conf.js +0 -58
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
@use "../colors/colors";
|
|
2
|
+
@use '../utilities/functions' as *;
|
|
3
|
+
@use '../type/text' as *;
|
|
4
|
+
|
|
1
5
|
%input-base-1 {
|
|
2
6
|
|
|
3
7
|
@extend %text-1;
|
|
@@ -6,3 +10,69 @@
|
|
|
6
10
|
padding: 0;
|
|
7
11
|
|
|
8
12
|
}
|
|
13
|
+
|
|
14
|
+
// ## input checkboxes
|
|
15
|
+
|
|
16
|
+
%input-checkbox-1 {
|
|
17
|
+
@extend %input-base-1;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// ## input errors
|
|
21
|
+
|
|
22
|
+
%input-error-1 {
|
|
23
|
+
|
|
24
|
+
@extend %input-base-1;
|
|
25
|
+
|
|
26
|
+
background-color: colors.$red-1;
|
|
27
|
+
color: colors.$white-1;
|
|
28
|
+
font-weight: 700;
|
|
29
|
+
margin-top: rem-calc(5);
|
|
30
|
+
padding: rem-calc(10);
|
|
31
|
+
|
|
32
|
+
strong {
|
|
33
|
+
font-weight: 700;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// ## input radio buttons
|
|
39
|
+
|
|
40
|
+
%input-radio-1 {
|
|
41
|
+
@extend %input-base-1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// ## input text boxes
|
|
45
|
+
|
|
46
|
+
%input-text-1 {
|
|
47
|
+
|
|
48
|
+
@extend %input-base-1;
|
|
49
|
+
|
|
50
|
+
display: block;
|
|
51
|
+
min-height: rem-calc(45);
|
|
52
|
+
padding: 0 rem-calc(5);
|
|
53
|
+
width: 100%;
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// ## textareas
|
|
58
|
+
|
|
59
|
+
%textarea-1 {
|
|
60
|
+
|
|
61
|
+
@extend %input-base-1;
|
|
62
|
+
|
|
63
|
+
display: block;
|
|
64
|
+
min-height: rem-calc(45);
|
|
65
|
+
padding: rem-calc(5);
|
|
66
|
+
width: 100%;
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// ## select menus
|
|
71
|
+
|
|
72
|
+
%select-1 {
|
|
73
|
+
|
|
74
|
+
@extend %input-base-1;
|
|
75
|
+
|
|
76
|
+
height: rem-calc(45);
|
|
77
|
+
|
|
78
|
+
}
|
|
@@ -1,8 +1,39 @@
|
|
|
1
|
+
@use "../colors/colors";
|
|
2
|
+
@use '../utilities/functions' as *;
|
|
3
|
+
@use '../type/text' as *;
|
|
4
|
+
|
|
1
5
|
%table-base-1 {
|
|
2
6
|
|
|
3
7
|
@extend %text-1;
|
|
4
8
|
|
|
5
|
-
margin: 0;
|
|
9
|
+
margin: 0 auto;
|
|
6
10
|
padding: 0;
|
|
7
11
|
|
|
8
12
|
}
|
|
13
|
+
|
|
14
|
+
// ## tables
|
|
15
|
+
|
|
16
|
+
%table-1 {
|
|
17
|
+
|
|
18
|
+
@extend %table-base-1;
|
|
19
|
+
|
|
20
|
+
border: rem-calc(1) solid colors.$black-1;
|
|
21
|
+
width: 80%;
|
|
22
|
+
|
|
23
|
+
thead {
|
|
24
|
+
background-color: colors.$black-1;
|
|
25
|
+
color: colors.$white-1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
tfoot {
|
|
29
|
+
background-color: colors.$grey-5;
|
|
30
|
+
color: colors.$black-1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
td,
|
|
34
|
+
th {
|
|
35
|
+
border: rem-calc(1) solid colors.$black-1;
|
|
36
|
+
padding: rem-calc(10);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use "../colors/colors";
|
|
2
|
+
@use '../utilities/functions' as *;
|
|
3
|
+
|
|
4
|
+
%staggered-1 {
|
|
5
|
+
|
|
6
|
+
> div {
|
|
7
|
+
|
|
8
|
+
column-count: 1;
|
|
9
|
+
column-gap: 0;
|
|
10
|
+
|
|
11
|
+
> div {
|
|
12
|
+
border: rem-calc(2) solid colors.$black-1;
|
|
13
|
+
break-inside: avoid;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
padding: rem-calc(10);
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include breakpoint(medium up) {
|
|
20
|
+
column-count: 3;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@include breakpoint(large up) {
|
|
24
|
+
column-count: 4;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
@@ -1,11 +1,49 @@
|
|
|
1
|
+
@use "../colors/colors";
|
|
2
|
+
@use '../utilities/functions' as *;
|
|
3
|
+
|
|
1
4
|
%font-base-1 {
|
|
2
|
-
color:
|
|
5
|
+
color: colors.$black-1;
|
|
3
6
|
font-size: rem-calc(16);
|
|
7
|
+
// sass-lint:disable no-misspelled-properties
|
|
4
8
|
font-smoothing: antialiased;
|
|
9
|
+
// sass-lint:enable no-misspelled-properties
|
|
5
10
|
font-style: normal;
|
|
6
11
|
text-rendering: optimizeLegibility;
|
|
7
12
|
}
|
|
8
13
|
|
|
14
|
+
%arial-regular {
|
|
15
|
+
|
|
16
|
+
@extend %font-base-1;
|
|
17
|
+
|
|
18
|
+
font-family: 'arial';
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
%arial-italic {
|
|
23
|
+
|
|
24
|
+
@extend %arial-regular;
|
|
25
|
+
|
|
26
|
+
font-style: italic;
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
%arial-bold {
|
|
31
|
+
|
|
32
|
+
@extend %arial-regular;
|
|
33
|
+
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
%arial-bold-italic {
|
|
39
|
+
|
|
40
|
+
@extend %arial-regular;
|
|
41
|
+
|
|
42
|
+
font-style: italic;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
9
47
|
%open-sans-bold {
|
|
10
48
|
|
|
11
49
|
@extend %font-base-1;
|
|
@@ -1,7 +1,36 @@
|
|
|
1
|
+
@use '../utilities/functions' as *;
|
|
2
|
+
@use 'fonts' as *;
|
|
3
|
+
|
|
1
4
|
%heading-base-1 {
|
|
5
|
+
|
|
2
6
|
@extend %open-sans-bold;
|
|
7
|
+
|
|
3
8
|
}
|
|
4
9
|
|
|
5
10
|
%heading-1 {
|
|
6
11
|
@extend %heading-base-1;
|
|
7
12
|
}
|
|
13
|
+
|
|
14
|
+
%heading-2 {
|
|
15
|
+
|
|
16
|
+
@extend %heading-base-1;
|
|
17
|
+
|
|
18
|
+
font-size: rem-calc(14);
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
%heading-3 {
|
|
23
|
+
|
|
24
|
+
@extend %heading-base-1;
|
|
25
|
+
|
|
26
|
+
font-size: rem-calc(12);
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
%heading-4 {
|
|
31
|
+
|
|
32
|
+
@extend %heading-base-1;
|
|
33
|
+
|
|
34
|
+
font-size: rem-calc(10);
|
|
35
|
+
|
|
36
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "../colors/colors";
|
|
2
|
+
@use 'functions' as *;
|
|
3
|
+
|
|
1
4
|
// ## accessibility hidden text
|
|
2
5
|
// hide text off screen for sighted users and leave accessible for screen readers
|
|
3
6
|
|
|
@@ -38,8 +41,8 @@
|
|
|
38
41
|
|
|
39
42
|
@extend %accessibility-focus-1;
|
|
40
43
|
|
|
41
|
-
background-color:
|
|
42
|
-
color:
|
|
44
|
+
background-color: colors.$white-1;
|
|
45
|
+
color: colors.$black-1;
|
|
43
46
|
display: block;
|
|
44
47
|
padding: rem-calc(10);
|
|
45
48
|
text-align: center;
|
|
@@ -1,31 +1,84 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
@use "sass:meta";
|
|
1
4
|
/// Remove the unit of a length
|
|
2
5
|
/// @param {Number} $number - Number to remove unit from
|
|
3
6
|
/// @return {Number} - Unitless number
|
|
4
7
|
|
|
5
8
|
$rem-base: 16px;
|
|
9
|
+
$responsive-embed-margin-bottom: 1rem;
|
|
10
|
+
|
|
11
|
+
/// Contain floated children.
|
|
12
|
+
@mixin clearfix {
|
|
13
|
+
&::before,
|
|
14
|
+
&::after {
|
|
15
|
+
content: ' ';
|
|
16
|
+
display: table;
|
|
17
|
+
flex-basis: 0;
|
|
18
|
+
order: 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&::after {
|
|
22
|
+
clear: both;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/// Create a responsive 4:3 media container.
|
|
27
|
+
@mixin responsive-embed {
|
|
28
|
+
height: 0;
|
|
29
|
+
margin-bottom: $responsive-embed-margin-bottom;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
padding-bottom: 75%;
|
|
32
|
+
position: relative;
|
|
33
|
+
|
|
34
|
+
iframe,
|
|
35
|
+
object,
|
|
36
|
+
embed,
|
|
37
|
+
video {
|
|
38
|
+
height: 100%;
|
|
39
|
+
left: 0;
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 0;
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/// Apply content at the Bootstrap breakpoints used by the project templates.
|
|
47
|
+
/// @param {String} $query - Supported query: small only, medium up, or large up
|
|
48
|
+
@mixin breakpoint($query) {
|
|
49
|
+
@if $query == (small only) {
|
|
50
|
+
@media print, screen and (max-width: 47.99875em) { @content; }
|
|
51
|
+
} @else if $query == (medium up) {
|
|
52
|
+
@media print, screen and (min-width: 48em) { @content; }
|
|
53
|
+
} @else if $query == (large up) {
|
|
54
|
+
@media print, screen and (min-width: 62em) { @content; }
|
|
55
|
+
} @else {
|
|
56
|
+
@error 'Unsupported breakpoint: #{$query}';
|
|
57
|
+
}
|
|
58
|
+
}
|
|
6
59
|
|
|
7
60
|
@function strip-unit($number) {
|
|
8
|
-
@if type-of($number) == 'number' and not unitless($number) {
|
|
9
|
-
@return $number
|
|
61
|
+
@if meta.type-of($number) == 'number' and not math.is-unitless($number) {
|
|
62
|
+
@return math.div($number, $number * 0 + 1);
|
|
10
63
|
}
|
|
11
64
|
|
|
12
65
|
@return $number;
|
|
13
66
|
}
|
|
14
67
|
|
|
15
68
|
@function convert-to-rem($value, $base-value: $rem-base) {
|
|
16
|
-
$value: strip-unit($value)
|
|
69
|
+
$value: math.div(strip-unit($value), strip-unit($base-value)) * 1rem;
|
|
17
70
|
//@if ($value == 0rem) { $value: 0; } // Turn 0rem into 0
|
|
18
71
|
@return $value;
|
|
19
72
|
}
|
|
20
73
|
|
|
21
74
|
@function rem-calc($values, $base-value: $rem-base) {
|
|
22
|
-
$max: length($values);
|
|
75
|
+
$max: list.length($values);
|
|
23
76
|
|
|
24
|
-
@if $max == 1 { @return convert-to-rem(nth($values, 1), $base-value); }
|
|
77
|
+
@if $max == 1 { @return convert-to-rem(list.nth($values, 1), $base-value); }
|
|
25
78
|
|
|
26
79
|
$rem-values: ();
|
|
27
80
|
@for $i from 1 through $max {
|
|
28
|
-
$rem-values: append($rem-values, convert-to-rem(nth($values, $i), $base-value));
|
|
81
|
+
$rem-values: list.append($rem-values, convert-to-rem(list.nth($values, $i), $base-value));
|
|
29
82
|
}
|
|
30
83
|
@return $rem-values;
|
|
31
84
|
}
|
|
@@ -33,13 +86,13 @@ $rem-base: 16px;
|
|
|
33
86
|
@function em-calc($values) {
|
|
34
87
|
$rem-values: rem-calc($values);
|
|
35
88
|
|
|
36
|
-
$max: length($rem-values);
|
|
89
|
+
$max: list.length($rem-values);
|
|
37
90
|
|
|
38
|
-
@if $max == 1 { @return strip-unit(nth($rem-values, 1)) * 1em; }
|
|
91
|
+
@if $max == 1 { @return strip-unit(list.nth($rem-values, 1)) * 1em; }
|
|
39
92
|
|
|
40
93
|
$em-values: ();
|
|
41
94
|
@for $i from 1 through $max {
|
|
42
|
-
$em-values: append($em-values, strip-unit(nth($rem-values, $i)) * 1em);
|
|
95
|
+
$em-values: list.append($em-values, strip-unit(list.nth($rem-values, $i)) * 1em);
|
|
43
96
|
}
|
|
44
97
|
@return $em-values;
|
|
45
98
|
}
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
@charset 'UTF-8';
|
|
2
2
|
|
|
3
|
-
// ##
|
|
3
|
+
// ## toolkit
|
|
4
|
+
@use 'base/toolkit' as *;
|
|
4
5
|
|
|
5
|
-
// ##
|
|
6
|
-
@import '../../../node_modules/foundation-sites/scss/foundation';
|
|
7
|
-
@include foundation-global-styles;
|
|
8
|
-
//@include foundation-grid;
|
|
9
|
-
@include foundation-flex-grid;
|
|
6
|
+
// ## Vendors
|
|
10
7
|
|
|
11
8
|
// ## Define Fonts
|
|
12
|
-
@import '../font/opensans/stylesheet';
|
|
13
|
-
|
|
14
|
-
// ## toolkit
|
|
15
|
-
@import 'base/toolkit';
|
|
9
|
+
@import '../font/opensans/stylesheet.css';
|
|
16
10
|
|
|
17
11
|
//STYLES
|
|
18
12
|
|
|
@@ -20,6 +14,110 @@ body {
|
|
|
20
14
|
@extend %text-1;
|
|
21
15
|
}
|
|
22
16
|
|
|
17
|
+
.anchor-1 {
|
|
18
|
+
@extend %anchor-1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.button-1 {
|
|
22
|
+
@extend %button-1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.footer-1 {
|
|
26
|
+
@extend %footer-1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.fieldset-1 {
|
|
30
|
+
@extend %fieldset-1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.image-1 {
|
|
34
|
+
@extend %image-1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.input-checkbox-1 {
|
|
38
|
+
@extend %input-checkbox-1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.input-error-1 {
|
|
42
|
+
@extend %input-error-1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.input-radio-1 {
|
|
46
|
+
@extend %input-radio-1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.input-text-1 {
|
|
50
|
+
@extend %input-text-1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.label-1 {
|
|
54
|
+
@extend %label-1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.legend-1 {
|
|
58
|
+
@extend %legend-1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.list-1 {
|
|
62
|
+
@extend %list-1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.picture-1 {
|
|
66
|
+
@extend %picture-1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.select-1 {
|
|
70
|
+
@extend %select-1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.table-1 {
|
|
74
|
+
@extend %table-1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.textarea-1 {
|
|
78
|
+
@extend %textarea-1;
|
|
79
|
+
}
|
|
80
|
+
|
|
23
81
|
.heading-1 {
|
|
24
82
|
@extend %heading-1;
|
|
25
83
|
}
|
|
84
|
+
|
|
85
|
+
.heading-2 {
|
|
86
|
+
@extend %heading-2;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.heading-3 {
|
|
90
|
+
@extend %heading-3;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.heading-4 {
|
|
94
|
+
@extend %heading-4;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.modal-1 {
|
|
98
|
+
@extend %modal-1;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.modal-1-open {
|
|
102
|
+
@extend %modal-1-open;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.sticky-1 {
|
|
106
|
+
@extend %sticky-1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.tabpanel-1 {
|
|
110
|
+
@extend %tabpanel-1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.tabpanel-2 {
|
|
114
|
+
@extend %tabpanel-2;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.accessibility-skip-to-element-1 {
|
|
118
|
+
@extend %accessibility-skip-to-element-1;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.staggered-1 {
|
|
122
|
+
@extend %staggered-1;
|
|
123
|
+
}
|