create-sitecore-jss 22.2.0-canary.9 → 22.2.1-canary.1
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/dist/bin.js +28 -70
- package/dist/common/index.js +3 -5
- package/dist/common/processes/install.js +2 -9
- package/dist/common/processes/next.js +3 -3
- package/dist/common/processes/transform.js +14 -29
- package/dist/common/prompts/base.js +12 -0
- package/dist/common/utils/helpers.js +43 -28
- package/dist/init-runner.js +11 -16
- package/dist/initializers/angular/index.js +0 -13
- package/dist/initializers/angular/prompts.js +1 -22
- package/dist/initializers/nextjs/index.js +2 -2
- package/dist/initializers/nextjs/prompts.js +0 -2
- package/dist/initializers/nextjs/remove-dev-dependencies.js +2 -2
- package/dist/initializers/nextjs-multisite/index.js +1 -1
- package/dist/initializers/nextjs-styleguide/index.js +1 -1
- package/dist/initializers/nextjs-styleguide-tracking/index.js +1 -1
- package/dist/initializers/nextjs-sxa/index.js +1 -1
- package/dist/initializers/nextjs-xmcloud/index.js +1 -1
- package/dist/initializers/react/index.js +3 -3
- package/dist/initializers/react/prompts.js +1 -1
- package/dist/initializers/react-native/prompts.js +0 -1
- package/dist/initializers/vue/prompts.js +1 -1
- package/dist/templates/angular/.env +3 -5
- package/dist/templates/angular/README.md +45 -5
- package/dist/templates/angular/angular.json +6 -1
- package/dist/templates/angular/package.json +20 -10
- package/dist/templates/angular/proxy.conf.js +23 -5
- package/dist/templates/angular/scripts/bootstrap.ts +24 -5
- package/dist/templates/angular/scripts/generate-config.ts +73 -53
- package/dist/templates/angular/scripts/update-graphql-fragment-data.ts +2 -4
- package/dist/templates/angular/server.bundle.ts +1 -19
- package/dist/templates/angular/src/app/app.module.ts +2 -0
- package/dist/templates/angular/src/app/components/app-components.shared.module.ts +19 -4
- package/dist/templates/angular/src/app/jss-context.server-side.service.ts +2 -0
- package/dist/templates/{angular-sxp → angular}/src/app/jss-data-fetcher.service.ts +1 -3
- package/dist/templates/angular/src/app/lib/dictionary-service-factory.ts +13 -21
- package/dist/templates/angular/src/app/lib/layout-service-factory.ts +12 -20
- package/dist/templates/angular/src/app/routing/layout/layout.component.html +1 -1
- package/dist/templates/angular/src/app/routing/layout/layout.component.ts +2 -1
- package/dist/templates/angular/src/app/routing/navigation/navigation.component.html +6 -5
- package/dist/templates/angular/src/app/routing/navigation/navigation.component.ts +2 -1
- package/dist/templates/angular/src/app/routing/routing.module.ts +21 -14
- package/dist/templates/{angular-sxp/src/app/routing/scripts → angular/src/app/routing}/visitor-identification/visitor-identification.component.ts +3 -9
- package/dist/templates/angular/src/graphql-fragment-types.ts +95 -0
- package/dist/templates/angular/tsconfig.json +2 -7
- package/dist/templates/nextjs/package.json +5 -5
- package/dist/templates/nextjs/src/lib/page-props-factory/plugins/component-props.ts +2 -1
- package/dist/templates/nextjs-styleguide/package.json +1 -1
- package/dist/templates/nextjs-sxa/src/components/Container.tsx +6 -14
- package/dist/templates/nextjs-xmcloud/package.json +3 -2
- package/dist/templates/nextjs-xmcloud/src/Bootstrap.tsx +25 -10
- package/dist/templates/nextjs-xmcloud/src/byoc/{index.ts → index.tsx} +25 -8
- package/dist/templates/nextjs-xmcloud/src/components/CdpPageView.tsx +9 -14
- package/dist/templates/nextjs-xmcloud/src/lib/middleware/plugins/personalize.ts +0 -1
- package/dist/templates/nextjs-xmcloud/src/lib/page-props-factory/plugins/component-themes.ts +2 -1
- package/dist/templates/nextjs-xmcloud/src/lib/page-props-factory/plugins/preview-mode.ts +2 -1
- package/dist/templates/node-headless-ssr-experience-edge/package.json +2 -2
- package/dist/templates/node-headless-ssr-proxy/package.json +3 -3
- package/dist/templates/react/package.json +5 -5
- package/dist/templates/react-native/package.json +4 -4
- package/dist/templates/vue/package.json +4 -4
- package/package.json +2 -2
- package/dist/common/prompts/sxp.js +0 -20
- package/dist/initializers/angular-sxp/index.js +0 -62
- package/dist/initializers/angular-xmcloud/index.js +0 -66
- package/dist/initializers/node-xmcloud-proxy/index.js +0 -32
- package/dist/templates/angular/scripts/config/index.ts +0 -28
- package/dist/templates/angular/scripts/config/plugins/computed.ts +0 -21
- package/dist/templates/angular/scripts/config/plugins/fallback.ts +0 -23
- package/dist/templates/angular/scripts/config/plugins/package-json.ts +0 -22
- package/dist/templates/angular/scripts/config/plugins/scjssconfig.ts +0 -29
- package/dist/templates/angular/scripts/generate-plugins.ts +0 -28
- package/dist/templates/angular/scripts/temp/gitignore +0 -2
- package/dist/templates/angular/src/app/lib/config.ts +0 -16
- package/dist/templates/angular/src/app/routing/scripts/scripts.component.html +0 -1
- package/dist/templates/angular/src/app/routing/scripts/scripts.component.ts +0 -7
- package/dist/templates/angular/src/app/routing/scripts/scripts.module.ts +0 -8
- package/dist/templates/angular-sxp/package.json +0 -12
- package/dist/templates/angular-sxp/proxy.conf.js +0 -43
- package/dist/templates/angular-sxp/scripts/config/plugins/disconnected.ts +0 -27
- package/dist/templates/angular-sxp/src/app/components/app-components.shared.module.ts +0 -35
- package/dist/templates/angular-sxp/src/app/routing/navigation/navigation.component.html +0 -23
- package/dist/templates/angular-sxp/src/app/routing/scripts/scripts.component.html +0 -3
- package/dist/templates/angular-sxp/src/app/routing/scripts/scripts.module.ts +0 -9
- package/dist/templates/angular-sxp/src/graphql-fragment-types.ts +0 -219
- package/dist/templates/angular-xmcloud/.env +0 -8
- package/dist/templates/angular-xmcloud/angular.json +0 -34
- package/dist/templates/angular-xmcloud/package.json +0 -15
- package/dist/templates/angular-xmcloud/scripts/config/plugins/xmcloud.ts +0 -23
- package/dist/templates/angular-xmcloud/scripts/proxy-build.ts +0 -15
- package/dist/templates/angular-xmcloud/src/app/components/container/container.component.html +0 -15
- package/dist/templates/angular-xmcloud/src/app/components/container/container.component.ts +0 -30
- package/dist/templates/angular-xmcloud/src/app/components/richtext/richtext.component.html +0 -13
- package/dist/templates/angular-xmcloud/src/app/components/richtext/richtext.component.ts +0 -16
- package/dist/templates/angular-xmcloud/src/app/components/sxa.component.ts +0 -15
- package/dist/templates/angular-xmcloud/src/app/lib/config.ts +0 -15
- package/dist/templates/angular-xmcloud/src/app/lib/graphql-client-factory.ts +0 -44
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_component.scss +0 -48
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_container.scss +0 -64
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_fonts.scss +0 -3
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_footer.scss +0 -31
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_header.scss +0 -49
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_navigation.scss +0 -150
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_promo.scss +0 -58
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_rich-text.scss +0 -11
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/_variables.scss +0 -10
- package/dist/templates/angular-xmcloud/src/assets/styles/basic/main.scss +0 -8
- package/dist/templates/angular-xmcloud/src/assets/styles/main.scss +0 -4
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/_app.scss +0 -103
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_functions.scss +0 -8
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_mixins.scss +0 -121
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/_vars.scss +0 -3
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_colors.scss +0 -283
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_fontSizes.scss +0 -16
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/abstracts/vars/_margins.scss +0 -11
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/fonts/_fonts.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/fonts/index.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/index.scss +0 -3
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/links/_link-button.scss +0 -26
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/links/index.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_inputs.scss +0 -58
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_links.scss +0 -14
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/reset/_ui-datepicker.scss +0 -7
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/_richtext-files-icons.scss +0 -86
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/_richtext.scss +0 -101
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/richtext/index.scss +0 -2
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/typehead/_typehead.scss +0 -95
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/base/typehead/index.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-column-splitter.scss +0 -14
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-container.scss +0 -27
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-image.scss +0 -18
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-navigation.scss +0 -51
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-promo.scss +0 -42
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/_component-richtext-content.scss +0 -19
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_alignment.scss +0 -26
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_boxed.scss +0 -16
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_clearfix.scss +0 -11
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_highlighted.scss +0 -63
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_link-button.scss +0 -16
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/_promoted-box.scss +0 -3
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/common/index.scss +0 -6
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/_bordered.scss +0 -24
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/_title-row-box.scss +0 -66
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/container/index.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image/_image-default-size.scss +0 -6
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image/index.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image-alignment/_image-left.scss +0 -3
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/image-alignment/_image-right.scss +0 -3
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/index.scss +0 -17
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/_acaindent.scss +0 -5
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/_background.scss +0 -27
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/layout/index.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/_component-link-list.scss +0 -45
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/_list-vertical.scss +0 -20
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/link-list/index.scss +0 -2
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-fat.scss +0 -58
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-main-horizontal-vertical.scss +0 -176
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-mobile.scss +0 -85
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_navigation-sidebar.scss +0 -29
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/_sitemap-navigation.scss +0 -20
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/navigation/index.scss +0 -5
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_absolute-bottom-link.scss +0 -8
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_promo-hero.scss +0 -40
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/_promo-shadow.scss +0 -42
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/promo/index.scss +0 -3
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/rich-text/_rich-text-lists.scss +0 -63
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/rich-text/index.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/_background-colors.scss +0 -14
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/_indent.scss +0 -13
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/spacing/index.scss +0 -2
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/title/_component-title.scss +0 -30
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/components/title/index.scss +0 -1
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/main.scss +0 -4
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/index.scss +0 -6
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/link-list/index.scss +0 -0
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/navigation/index.scss +0 -0
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/page-content/index.scss +0 -0
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/promo/index.scss +0 -0
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/rich-text/index.scss +0 -0
- package/dist/templates/angular-xmcloud/src/assets/styles/sass/variants/title/index.scss +0 -0
- package/dist/templates/nextjs-xmcloud/src/lib/context/index.ts +0 -22
- package/dist/templates/nextjs-xmcloud/src/lib/context/sdk/events.ts +0 -26
- package/dist/templates/node-xmcloud-proxy/.env +0 -8
- package/dist/templates/node-xmcloud-proxy/README.md +0 -36
- package/dist/templates/node-xmcloud-proxy/package.json +0 -25
- package/dist/templates/node-xmcloud-proxy/src/config.ts +0 -19
- package/dist/templates/node-xmcloud-proxy/src/index.ts +0 -161
- package/dist/templates/node-xmcloud-proxy/src/types.ts +0 -59
- package/dist/templates/node-xmcloud-proxy/tsconfig.json +0 -22
- /package/dist/templates/{angular-sxp → angular}/data/component-content/Styleguide/ContentReuse/LoremIpsumContentBlock/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/component-content/gitignore +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/content/Styleguide/ContentListField/Item1/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/content/Styleguide/ContentListField/Item2/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/content/Styleguide/EditFrameDemo/Item1/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/content/Styleguide/EditFrameDemo/Item2/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/content/Styleguide/ItemLinkField/Item1/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/content/Styleguide/ItemLinkField/Item2/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/content/gitignore +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/dictionary/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/dictionary/{{language}}.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/media/files/jss.pdf +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/media/img/jss_logo.png +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/media/img/sc_logo.png +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/routes/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/routes/graphql/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/routes/graphql/sample-1/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/routes/graphql/sample-2/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/routes/styleguide/custom-route-type/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/routes/styleguide/en.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/routes/styleguide/{{language}}.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/data/routes/{{language}}.yml +0 -0
- /package/dist/templates/{angular-sxp → angular}/scripts/disconnected-mode-proxy.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/scripts/lint-yml.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/config/{{appName}}.config +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/component-content.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/Styleguide-Layout-Reuse.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/Styleguide-Layout-Tabs-Tab.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/Styleguide-Layout-Tabs.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/Styleguide-Layout.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/Styleguide-Multilingual.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/Styleguide-Section.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/content-block.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/graph-ql-connected-demo.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.graphql +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/graph-ql-integrated-demo.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/graph-ql-layout.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-angular-lazy-loading.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-component-params.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-custom-route-type.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-edit-frame.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-checkbox.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-content-list.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-custom.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-date.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-file.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-image.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-item-link.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-link.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-number.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-rich-text.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-field-usage-text.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-route-fields.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-sitecore-context.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/components/styleguide-tracking.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/config.js +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/content.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/dictionary.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/placeholders.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/routes.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/templates/Styleguide-Explanatory-Component.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/templates/styleguide-content-list-template.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/templates/styleguide-edit-frame-list-item-template.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/definitions/templates/styleguide-item-link-template.sitecore.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/gitignore +0 -0
- /package/dist/templates/{angular-sxp → angular}/sitecore/pipelines/example.patch.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.graphql +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/graph-ql-connected-demo/graph-ql-connected-demo.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/graph-ql-integrated-demo/graph-ql-integrated-demo.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/graph-ql-layout/graph-ql-layout.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/graph-ql-layout/graph-ql-layout.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/shared/styleguide-specimen/styleguide-specimen.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-angular-lazy-loading/styleguide-angular-lazy-loading.module.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-component-params/styleguide-component-params.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-component-params/styleguide-component-params.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-custom-route-type/styleguide-custom-route-type.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-edit-frame/styleguide-edit-frame.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-edit-frame/styleguide-edit-frame.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-checkbox/styleguide-field-usage-checkbox.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-content-list/styleguide-field-usage-content-list.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-custom/styleguide-field-usage-custom.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-date/styleguide-field-usage-date.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-file/styleguide-field-usage-file.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-image/styleguide-field-usage-image.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-item-link/styleguide-field-usage-item-link.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-link/styleguide-field-usage-link.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-number/styleguide-field-usage-number.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-rich-text/styleguide-field-usage-rich-text.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-field-usage-text/styleguide-field-usage-text.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-layout/styleguide-layout.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-layout/styleguide-layout.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-layout-reuse/styleguide-layout-reuse.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-layout-tabs/styleguide-layout-tabs.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-layout-tabs-tab/styleguide-layout-tabs-tab.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-multilingual/styleguide-multilingual.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-multilingual/styleguide-multilingual.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-route-fields/styleguide-route-fields.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-route-fields/styleguide-route-fields.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-section/styleguide-section.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-section/styleguide-section.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-sitecore-context/styleguide-sitecore-context.component.ts +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-tracking/styleguide-tracking.component.html +0 -0
- /package/dist/templates/{angular-sxp → angular}/src/app/components/styleguide-tracking/styleguide-tracking.component.ts +0 -0
- /package/dist/templates/angular/src/app/lib/{graphql-client-factory.ts → client-factory.ts} +0 -0
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
@import "sass/abstracts/vars";
|
|
2
|
-
@import "variables";
|
|
3
|
-
|
|
4
|
-
$hamburger-width: 28px;
|
|
5
|
-
$hamburger-height: 18px;
|
|
6
|
-
$border-size: 6px;
|
|
7
|
-
$hamburger-margin: 18px;
|
|
8
|
-
|
|
9
|
-
.navigation {
|
|
10
|
-
.menu-mobile-navigate-wrapper {
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.navigation.navigation-horizontal {
|
|
16
|
-
width: 100%;
|
|
17
|
-
padding-right: 70px;
|
|
18
|
-
margin-top: -15px;
|
|
19
|
-
|
|
20
|
-
.menu-mobile-navigate {
|
|
21
|
-
display: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@include respond-to(mobile-large) {
|
|
25
|
-
padding-right: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.component-content {
|
|
29
|
-
display: inline-block;
|
|
30
|
-
|
|
31
|
-
@include respond-to(mobile-large) {
|
|
32
|
-
display: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
ul.clearfix {
|
|
36
|
-
list-style: none;
|
|
37
|
-
}
|
|
38
|
-
.level0 {
|
|
39
|
-
display: flex;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.level0, .level1 {
|
|
43
|
-
float: left;
|
|
44
|
-
margin-left: 30px;
|
|
45
|
-
|
|
46
|
-
>.navigation-title {
|
|
47
|
-
>a {
|
|
48
|
-
border-width: 0;
|
|
49
|
-
font-size: $text-size-14;
|
|
50
|
-
font-weight: 400;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@include respond-to(mobile-large) {
|
|
57
|
-
.component-content {
|
|
58
|
-
display: none;
|
|
59
|
-
position: fixed;
|
|
60
|
-
top: 0;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
right: 0;
|
|
63
|
-
left: 0;
|
|
64
|
-
background-color: $bg-black-active;
|
|
65
|
-
z-index: 1;
|
|
66
|
-
|
|
67
|
-
* {
|
|
68
|
-
text-align: center !important;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
nav {
|
|
72
|
-
padding-top: 110px;
|
|
73
|
-
|
|
74
|
-
.level0 {
|
|
75
|
-
display: block;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
ul {
|
|
80
|
-
margin: 0;
|
|
81
|
-
padding: 0;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.level0, .level1 {
|
|
85
|
-
float: unset;
|
|
86
|
-
margin-left: 0;
|
|
87
|
-
>.navigation-title {
|
|
88
|
-
>a {
|
|
89
|
-
font-size: $text-size-30;
|
|
90
|
-
line-height: 90px;
|
|
91
|
-
>span {
|
|
92
|
-
color: $text-white;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.menu-mobile-navigate-wrapper {
|
|
100
|
-
.menu-mobile-navigate {
|
|
101
|
-
display: inline-block;
|
|
102
|
-
z-index: 2;
|
|
103
|
-
position: absolute;
|
|
104
|
-
right: $hamburger-margin;
|
|
105
|
-
top: $hamburger-margin;
|
|
106
|
-
height: $hamburger-width;
|
|
107
|
-
width: $hamburger-width;
|
|
108
|
-
opacity: 0;
|
|
109
|
-
|
|
110
|
-
&:checked ~ {
|
|
111
|
-
.menu-humburger {
|
|
112
|
-
&::before {
|
|
113
|
-
content: "\00d7";
|
|
114
|
-
color: $text-basic-active;
|
|
115
|
-
font-size: $text-size-48;
|
|
116
|
-
position: fixed;
|
|
117
|
-
top: 0;
|
|
118
|
-
right: 0;
|
|
119
|
-
margin-top: calc($hamburger-margin + ($hamburger-margin / 2));
|
|
120
|
-
margin-right: $hamburger-margin;
|
|
121
|
-
line-height: 0;
|
|
122
|
-
border: 0;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.component-content {
|
|
127
|
-
position: fixed;
|
|
128
|
-
display: inline-block;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.menu-humburger {
|
|
134
|
-
&::before {
|
|
135
|
-
content: "";
|
|
136
|
-
width: $hamburger-width;
|
|
137
|
-
height: $hamburger-height;
|
|
138
|
-
margin-right: $hamburger-margin;
|
|
139
|
-
margin-top: calc($hamburger-margin + ($hamburger-margin / 2)) + 8px;
|
|
140
|
-
display: block;
|
|
141
|
-
border-top: 6px solid $bg-black;
|
|
142
|
-
border-bottom: 6px solid $bg-black;
|
|
143
|
-
float: right;
|
|
144
|
-
z-index: 99;
|
|
145
|
-
cursor: pointer;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
@import "sass/abstracts/vars";
|
|
2
|
-
@import "sass/abstracts/mixins";
|
|
3
|
-
/**PROMO**/
|
|
4
|
-
|
|
5
|
-
.promo {
|
|
6
|
-
&.main-promo-no-border {
|
|
7
|
-
padding-left: 0;
|
|
8
|
-
padding-right: 0;
|
|
9
|
-
padding-bottom: 0;
|
|
10
|
-
margin-bottom: 80px;
|
|
11
|
-
|
|
12
|
-
@include respond-to(mobile-large) {
|
|
13
|
-
margin-bottom: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
>.component-content {
|
|
17
|
-
border: 0;
|
|
18
|
-
max-width: 583px;
|
|
19
|
-
margin-right: 50px;
|
|
20
|
-
|
|
21
|
-
> div {
|
|
22
|
-
padding-bottom: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include respond-to(mobile-large) {
|
|
26
|
-
max-width: 100%;
|
|
27
|
-
margin-right: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.promo-text {
|
|
31
|
-
.field-promotext {
|
|
32
|
-
font-size: 14px;
|
|
33
|
-
|
|
34
|
-
h3 {
|
|
35
|
-
font-size: $text-size-18;
|
|
36
|
-
margin: 15px 0;
|
|
37
|
-
|
|
38
|
-
@include respond-to(mobile-large) {
|
|
39
|
-
margin: 10px 0;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
p {
|
|
43
|
-
margin: 10px 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
@include respond-to(mobile-large) {
|
|
48
|
-
> div {
|
|
49
|
-
padding: 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.promo-text {
|
|
53
|
-
padding: 15px 30px 5px 30px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
html {
|
|
2
|
-
font-size: 62.5%;
|
|
3
|
-
-webkit-font-smoothing: antialiased;
|
|
4
|
-
-moz-osx-font-smoothing: grayscale;
|
|
5
|
-
margin-bottom: 0px;
|
|
6
|
-
height: auto !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
body {
|
|
10
|
-
@include opensans-font-stack();
|
|
11
|
-
position: relative;
|
|
12
|
-
overflow: auto;
|
|
13
|
-
color: $text-basic;
|
|
14
|
-
font-size: 16px;
|
|
15
|
-
line-height: 1.5;
|
|
16
|
-
background: $page-bg;
|
|
17
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
18
|
-
height: auto !important;
|
|
19
|
-
&.on-page-editor {
|
|
20
|
-
background: $page-bg-editor !important;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
a {
|
|
25
|
-
color: $text-basic;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
font-size: 0.85em;
|
|
28
|
-
&:hover {
|
|
29
|
-
color: $text-basic-active;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
h1,
|
|
34
|
-
h2,
|
|
35
|
-
h3,
|
|
36
|
-
h4,
|
|
37
|
-
h5,
|
|
38
|
-
h6 {
|
|
39
|
-
font-weight: bold;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
h1 {
|
|
43
|
-
font-size: 2em;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
h2 {
|
|
47
|
-
font-size: 1.5em;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
h3 {
|
|
51
|
-
font-size: 1.2em;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
h4 {
|
|
55
|
-
font-size: 1em;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
h5 {
|
|
59
|
-
font-size: 0.83em;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
h6 {
|
|
63
|
-
font-size: 0.67em;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
ul li {
|
|
67
|
-
list-style-type: none;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.xa-variable {
|
|
71
|
-
border: 0px;
|
|
72
|
-
padding: 1px;
|
|
73
|
-
margin: 0px;
|
|
74
|
-
background-color: #ebebe4;
|
|
75
|
-
color: #545454;
|
|
76
|
-
user-select: none;
|
|
77
|
-
pointer-events: none;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
//Navigation Bar fix
|
|
81
|
-
#breadcrumbMenuSubcontrol_context_menu * {
|
|
82
|
-
box-sizing: initial;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
//End navigation bar fix
|
|
86
|
-
.menu-mobile-navigate {
|
|
87
|
-
display: none;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
#header, #content, #footer, .sc-jss-empty-placeholder {
|
|
91
|
-
width: 100%;
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-wrap: wrap;
|
|
94
|
-
position: relative;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.sc-jss-placeholder-error {
|
|
98
|
-
background: #ff0000;
|
|
99
|
-
outline: 5px solid #e36565;
|
|
100
|
-
padding: 10px;
|
|
101
|
-
color:#fff;
|
|
102
|
-
max-width: 500px;
|
|
103
|
-
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
@import "vars";
|
|
2
|
-
|
|
3
|
-
/* breakpoints */
|
|
4
|
-
|
|
5
|
-
$break-desktop: 1024px;
|
|
6
|
-
$break-mobile: 380px;
|
|
7
|
-
$break-mobile-horizontal: 640px;
|
|
8
|
-
$break-mobile-large: 992px;
|
|
9
|
-
@mixin wrapper() {
|
|
10
|
-
max-width: 960px;
|
|
11
|
-
margin: 0 auto !important;
|
|
12
|
-
}
|
|
13
|
-
@mixin clearfix {
|
|
14
|
-
&:after {
|
|
15
|
-
content: "";
|
|
16
|
-
display: table;
|
|
17
|
-
clear: both;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
@mixin headings($from: 1, $to: 6) {
|
|
21
|
-
@for $i from $from through $to {
|
|
22
|
-
h#{$i} {
|
|
23
|
-
@content
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
@mixin font-size($sizeValue: 1.6) {
|
|
28
|
-
font-size: ($sizeValue * 10) + px;
|
|
29
|
-
font-size: $sizeValue + rem;
|
|
30
|
-
}
|
|
31
|
-
@mixin proxima-font($weight:semibold) {
|
|
32
|
-
@if($weight==semibold) {
|
|
33
|
-
font-family: "ProximaNova-Semibold", arial, helvetica, sans-serif;
|
|
34
|
-
}
|
|
35
|
-
@else if($weight==light) {
|
|
36
|
-
font-family: "ProximaNova-Light", arial, helvetica, sans-serif;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
@mixin opensans-font-stack() {
|
|
40
|
-
font-family: "Open Sans", Helvetica, Verdana, Tahoma, sans-serif;
|
|
41
|
-
}
|
|
42
|
-
@mixin loading-gif() {
|
|
43
|
-
background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiBmaWxsPSJibGFjayI+DQogIDxwYXRoICBvcGFjaXR5PSIuMjUiIGQ9Ik0xNiAwIEExNiAxNiAwIDAgMCAxNiAzMiBBMTYgMTYgMCAwIDAgMTYgMCBNMTYgNCBBMTIgMTIgMCAwIDEgMTYgMjggQTEyIDEyIDAgMCAxIDE2IDQiLz4NCiAgPHBhdGggZmlsbD0nIzFhODBiNicgZD0iTTE2IDAgQTE2IDE2IDAgMCAxIDMyIDE2IEwyOCAxNiBBMTIgMTIgMCAwIDAgMTYgNHoiPg0KICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBmcm9tPSIwIDE2IDE2IiB0bz0iMzYwIDE2IDE2IiBkdXI9IjAuOHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICA8L3BhdGg+DQo8L3N2Zz4NCg==);
|
|
44
|
-
background-position: center center;
|
|
45
|
-
background-repeat: no-repeat;
|
|
46
|
-
}
|
|
47
|
-
@mixin respond-to($media) {
|
|
48
|
-
@if $media==mobile {
|
|
49
|
-
@media only screen and (max-width: $break-mobile) {
|
|
50
|
-
@content;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
@else if $media==mobile-horizontal {
|
|
54
|
-
@media only screen and (max-width: $break-mobile-horizontal - 1) {
|
|
55
|
-
@content;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
@else if $media==mobile-large {
|
|
59
|
-
@media only screen and (max-width: $break-mobile-large) {
|
|
60
|
-
@content;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
@else if $media==tablet {
|
|
64
|
-
@media only screen and (min-width: $break-mobile + 1) and (max-width: $break-desktop - 1) {
|
|
65
|
-
@content;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
@else if $media==all-mobile {
|
|
69
|
-
@media only screen and (max-width: $break-desktop - 1) {
|
|
70
|
-
@content;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
@else if $media==desktop {
|
|
74
|
-
@media only screen and (min-width: $break-desktop) {
|
|
75
|
-
@content;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
@mixin border-basic($position:all, $border-color:$border-gray, $border-width:1px) {
|
|
80
|
-
@if($position!=all) {
|
|
81
|
-
border-#{$position}-width: $border-width;
|
|
82
|
-
border-#{$position}-style: solid;
|
|
83
|
-
border-#{$position}-color: $border-color;
|
|
84
|
-
}
|
|
85
|
-
@else {
|
|
86
|
-
border-width: $border-width;
|
|
87
|
-
border-style: solid;
|
|
88
|
-
border-color: $border-color;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
@mixin fixed-bg($pos, $min-height:240px) {
|
|
92
|
-
background-position: $pos;
|
|
93
|
-
background-attachment: fixed;
|
|
94
|
-
min-height: $min-height;
|
|
95
|
-
}
|
|
96
|
-
@mixin linear-gradient($direction, $color-stops...) {
|
|
97
|
-
// Direction has been omitted and happens to be a color-stop
|
|
98
|
-
@if is-direction($direction)==false {
|
|
99
|
-
$color-stops: $direction, $color-stops;
|
|
100
|
-
$direction: 180deg;
|
|
101
|
-
}
|
|
102
|
-
background: nth(nth($color-stops, 1), 1);
|
|
103
|
-
background: -webkit-linear-gradient(legacy-direction($direction), $color-stops);
|
|
104
|
-
background: linear-gradient($direction, $color-stops);
|
|
105
|
-
}
|
|
106
|
-
@mixin default-link-button {
|
|
107
|
-
@include border-basic();
|
|
108
|
-
@include font-size(1.2);
|
|
109
|
-
display: inline-block;
|
|
110
|
-
vertical-align: middle;
|
|
111
|
-
box-sizing: border-box;
|
|
112
|
-
margin: 5px 0;
|
|
113
|
-
padding: 10px 15px;
|
|
114
|
-
text-align: center;
|
|
115
|
-
text-decoration: none;
|
|
116
|
-
font-weight: bold;
|
|
117
|
-
&:hover {
|
|
118
|
-
color: $text-basic;
|
|
119
|
-
background: $bg-light-gray;
|
|
120
|
-
}
|
|
121
|
-
}
|