cja-phoenix 0.6.0 → 0.6.2
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/cja-phoenix.es.js +3816 -4306
- package/dist/style.css +1 -0
- package/dist/types/components/composite/CheckoutCrossSell.vue.d.ts +29 -0
- package/dist/types/components/composite/CheckoutLayout.vue.d.ts +23 -0
- package/dist/types/components/composite/CheckoutMilestones.vue.d.ts +16 -0
- package/dist/types/components/composite/CjaFooter.vue.d.ts +34 -0
- package/dist/types/components/composite/CjaMenuBar.vue.d.ts +52 -0
- package/dist/types/components/composite/FunnelLayout.vue.d.ts +35 -0
- package/dist/types/components/composite/FunnelSubmit.vue.d.ts +26 -0
- package/dist/types/components/composite/FunnelSummary.vue.d.ts +77 -0
- package/dist/types/components/composite/FunnelTitle.vue.d.ts +19 -0
- package/dist/types/components/composite/InfoShowcase.vue.d.ts +25 -0
- package/dist/types/components/composite/JourneyMacroSteps.vue.d.ts +16 -0
- package/dist/types/components/composite/ResultsSidebar.vue.d.ts +9 -0
- package/dist/types/components/forms/CheckboxInput.vue.d.ts +41 -0
- package/dist/types/components/forms/CurrencyInput.vue.d.ts +65 -0
- package/dist/types/components/forms/FileInput.vue.d.ts +89 -0
- package/dist/types/components/forms/NumberInput.vue.d.ts +58 -0
- package/dist/types/components/forms/PhoneInput.vue.d.ts +69 -0
- package/dist/types/components/forms/RadioInput.vue.d.ts +43 -0
- package/dist/types/components/forms/RadioInputList.vue.d.ts +65 -0
- package/dist/types/components/forms/SelectInput.vue.d.ts +80 -0
- package/dist/types/components/forms/SelectionTiles.vue.d.ts +51 -0
- package/dist/types/components/forms/TextInput.vue.d.ts +76 -0
- package/dist/types/components/forms/TileCheckboxInput.vue.d.ts +23 -0
- package/dist/types/components/forms/ToggleInput.vue.d.ts +51 -0
- package/dist/types/components/forms/structure/InputContainer.vue.d.ts +22 -0
- package/dist/types/components/forms/structure/InputError.vue.d.ts +15 -0
- package/dist/types/components/forms/structure/InputTitle.vue.d.ts +21 -0
- package/dist/types/components/structural/CjaButton.vue.d.ts +59 -0
- package/dist/types/components/structural/CollapseContainer.vue.d.ts +51 -0
- package/dist/{components → types/components}/structural/ContentTabs.vue.d.ts +17 -20
- package/dist/types/components/structural/FixedContainer.vue.d.ts +68 -0
- package/dist/types/components/structural/GridContainer.vue.d.ts +36 -0
- package/dist/types/components/structural/GridItem.vue.d.ts +26 -0
- package/dist/types/components/structural/InfoMessage.vue.d.ts +30 -0
- package/dist/types/components/structural/LoadingSpinner.vue.d.ts +17 -0
- package/dist/types/components/structural/Modal.vue.d.ts +65 -0
- package/dist/types/components/structural/Scaffold.vue.d.ts +9 -0
- package/dist/types/index.d.ts +16 -7
- package/dist/types/stories/CjaButton.story.vue.d.ts +2 -0
- package/dist/types/stories/ContentTabs.story.vue.d.ts +2 -0
- package/dist/types/stories/Modal.story.vue.d.ts +2 -0
- package/dist/types/stories/RadioInputList.story.vue.d.ts +2 -0
- package/dist/types/{Router.d.ts → types/Router.d.ts} +1 -0
- package/dist/types/types/index.d.ts +7 -0
- package/dist/{utils → types/utils}/formValidations.d.ts +3 -0
- package/package.json +21 -30
- package/src/assets/backdrop.scss +10 -0
- package/src/assets/breakpoints.scss +12 -0
- package/src/assets/fonts.scss +1 -0
- package/src/assets/forms.scss +97 -0
- package/src/assets/grid.scss +14 -0
- package/src/assets/iconia/Read Me.txt +7 -0
- package/src/assets/iconia/demo-files/demo.css +155 -0
- package/src/assets/iconia/demo-files/demo.js +30 -0
- package/src/assets/iconia/demo.html +7055 -0
- package/src/assets/iconia/fonts/CGG-icomoon.eot +0 -0
- package/src/assets/iconia/fonts/CGG-icomoon.svg +513 -0
- package/src/assets/iconia/fonts/CGG-icomoon.ttf +0 -0
- package/src/assets/iconia/fonts/CGG-icomoon.woff +0 -0
- package/src/assets/iconia/selection.json +1 -0
- package/src/assets/iconia/style.css +1547 -0
- package/src/assets/iconia/style.scss +2556 -0
- package/src/assets/iconia/variables.scss +507 -0
- package/src/assets/main.scss +30 -0
- package/src/assets/radioOld.scss +52 -0
- package/src/assets/shadows.scss +3 -0
- package/src/assets/tippy.scss +45 -0
- package/src/assets/vars/development.scss +4 -0
- package/src/assets/vars/production.scss +4 -0
- package/src/components/composite/CheckoutCrossSell.vue +478 -0
- package/src/components/composite/CheckoutLayout.vue +59 -0
- package/src/components/composite/CheckoutMilestones.vue +161 -0
- package/src/components/composite/CjaFooter.vue +223 -0
- package/src/components/composite/CjaMenuBar.vue +543 -0
- package/src/components/composite/FunnelLayout.vue +197 -0
- package/src/components/composite/FunnelSubmit.vue +53 -0
- package/src/components/composite/FunnelSummary.vue +198 -0
- package/src/components/composite/FunnelTitle.vue +59 -0
- package/src/components/composite/InfoShowcase.vue +87 -0
- package/src/components/composite/JourneyMacroSteps.vue +104 -0
- package/src/components/composite/ProductDetails.vue +149 -0
- package/src/components/composite/ResultsLayout.vue +156 -0
- package/src/components/composite/ResultsSidebar.vue +74 -0
- package/src/components/forms/CheckboxInput.vue +103 -0
- package/src/components/forms/CurrencyInput.vue +126 -0
- package/src/components/forms/FileInput.vue +250 -0
- package/src/components/forms/NumberInput.vue +165 -0
- package/src/components/forms/PhoneInput.vue +122 -0
- package/src/components/forms/RadioInput.vue +98 -0
- package/src/components/forms/RadioInputList.vue +156 -0
- package/src/components/forms/SelectInput.vue +392 -0
- package/src/components/forms/SelectionTiles.vue +196 -0
- package/src/components/forms/TextInput.vue +144 -0
- package/src/components/forms/TileCheckboxInput.vue +96 -0
- package/src/components/forms/ToggleInput.vue +88 -0
- package/src/components/forms/structure/InputContainer.vue +28 -0
- package/src/components/forms/structure/InputError.vue +26 -0
- package/src/components/forms/structure/InputTitle.vue +52 -0
- package/src/components/index.ts +73 -0
- package/src/components/structural/CjaButton.vue +332 -0
- package/src/components/structural/CollapseContainer.vue +141 -0
- package/src/components/structural/ContentTabs.vue +105 -0
- package/src/components/structural/FixedContainer.vue +107 -0
- package/src/components/structural/GridContainer.vue +70 -0
- package/src/components/structural/GridItem.vue +47 -0
- package/src/components/structural/InfoMessage.vue +105 -0
- package/src/components/structural/LoadingSpinner.vue +39 -0
- package/src/components/structural/Modal.vue +209 -0
- package/src/components/structural/Scaffold.vue +3 -0
- package/src/constants/MyConstants.ts +1 -0
- package/src/constants/index.ts +5 -0
- package/src/env.d.ts +11 -0
- package/src/index.ts +31 -0
- package/src/stories/CjaButton.story.vue +192 -0
- package/src/stories/ContentTabs.story.vue +59 -0
- package/src/stories/Modal.story.vue +127 -0
- package/src/stories/RadioInputList.story.vue +61 -0
- package/src/types/CheckoutMilestone.ts +5 -0
- package/src/types/Footer.ts +17 -0
- package/src/types/Menu.ts +19 -0
- package/src/types/RadioOption.ts +7 -0
- package/src/types/Router.ts +19 -0
- package/src/types/SelectOption.ts +6 -0
- package/src/types/StoreDataValue.ts +12 -0
- package/src/types/Storyblok.ts +10 -0
- package/src/types/TileOption.ts +8 -0
- package/src/types/index.ts +19 -0
- package/src/utils/cjaRouter.ts +74 -0
- package/src/utils/cjaStore.ts +43 -0
- package/src/utils/findScrollAncestor.ts +16 -0
- package/src/utils/formValidations.ts +192 -0
- package/src/utils/generateRoutes.ts +36 -0
- package/src/utils/getFromUrl.ts +25 -0
- package/src/utils/getMessages.ts +23 -0
- package/src/utils/gtm.ts +158 -0
- package/src/utils/index.ts +31 -0
- package/src/utils/jsonReviver.ts +20 -0
- package/src/utils/storyblokLink.ts +4 -0
- package/src/utils/updateForm.ts +40 -0
- package/src/utils/uploadFile.ts +25 -0
- package/src/utils/useGlobalProperties.ts +11 -0
- package/src/utils/useViewportDetector.ts +35 -0
- package/dist/cja-phoenix.cjs.js +0 -44
- package/dist/cja-phoenix.d.ts +0 -3
- package/dist/cja-phoenix.umd.js +0 -45
- package/dist/components/composite/CheckoutCrossSell.vue.d.ts +0 -36
- package/dist/components/composite/CheckoutLayout.vue.d.ts +0 -20
- package/dist/components/composite/CheckoutMilestones.vue.d.ts +0 -13
- package/dist/components/composite/CjaFooter.vue.d.ts +0 -29
- package/dist/components/composite/CjaMenuBar.vue.d.ts +0 -53
- package/dist/components/composite/FunnelLayout.vue.d.ts +0 -38
- package/dist/components/composite/FunnelSubmit.vue.d.ts +0 -25
- package/dist/components/composite/FunnelSummary.vue.d.ts +0 -76
- package/dist/components/composite/FunnelTitle.vue.d.ts +0 -24
- package/dist/components/composite/InfoShowcase.vue.d.ts +0 -28
- package/dist/components/composite/JourneyMacroSteps.vue.d.ts +0 -13
- package/dist/components/forms/CheckboxInput.vue.d.ts +0 -38
- package/dist/components/forms/CurrencyInput.vue.d.ts +0 -92
- package/dist/components/forms/FileInput.vue.d.ts +0 -118
- package/dist/components/forms/NumberInput.vue.d.ts +0 -73
- package/dist/components/forms/PhoneInput.vue.d.ts +0 -104
- package/dist/components/forms/RadioInputList.vue.d.ts +0 -96
- package/dist/components/forms/SelectInput.vue.d.ts +0 -121
- package/dist/components/forms/SelectionTiles.vue.d.ts +0 -64
- package/dist/components/forms/TextInput.vue.d.ts +0 -127
- package/dist/components/forms/TileCheckboxInput.vue.d.ts +0 -34
- package/dist/components/forms/ToggleInput.vue.d.ts +0 -70
- package/dist/components/forms/structure/InputContainer.vue.d.ts +0 -17
- package/dist/components/forms/structure/InputError.vue.d.ts +0 -12
- package/dist/components/forms/structure/InputTitle.vue.d.ts +0 -30
- package/dist/components/structural/CjaButton.vue.d.ts +0 -66
- package/dist/components/structural/CollapseContainer.vue.d.ts +0 -40
- package/dist/components/structural/FixedContainer.vue.d.ts +0 -69
- package/dist/components/structural/GridContainer.vue.d.ts +0 -21
- package/dist/components/structural/GridItem.vue.d.ts +0 -29
- package/dist/components/structural/InfoMessage.vue.d.ts +0 -39
- package/dist/components/structural/LoadingSpinner.vue.d.ts +0 -16
- package/dist/components/structural/Modal.vue.d.ts +0 -50
- package/dist/components/structural/Scaffold.vue.d.ts +0 -3
- package/dist/components/structural/Scaffold.vue.d.ts.map +0 -1
- package/dist/index.d.ts +0 -14
- package/dist/src/components/composite/CheckoutCrossSell.vue.d.ts +0 -5
- package/dist/src/components/composite/CheckoutCrossSell.vue.d.ts.map +0 -1
- package/dist/src/components/composite/CheckoutLayout.vue.d.ts +0 -5
- package/dist/src/components/composite/CheckoutLayout.vue.d.ts.map +0 -1
- package/dist/src/components/composite/CheckoutMilestones.vue.d.ts +0 -5
- package/dist/src/components/composite/CheckoutMilestones.vue.d.ts.map +0 -1
- package/dist/src/components/composite/CjaFooter.vue.d.ts +0 -5
- package/dist/src/components/composite/CjaFooter.vue.d.ts.map +0 -1
- package/dist/src/components/composite/CjaMenuBar.vue.d.ts +0 -5
- package/dist/src/components/composite/CjaMenuBar.vue.d.ts.map +0 -1
- package/dist/src/components/composite/FunnelLayout.vue.d.ts +0 -5
- package/dist/src/components/composite/FunnelLayout.vue.d.ts.map +0 -1
- package/dist/src/components/composite/FunnelSubmit.vue.d.ts +0 -5
- package/dist/src/components/composite/FunnelSubmit.vue.d.ts.map +0 -1
- package/dist/src/components/composite/FunnelSummary.vue.d.ts +0 -5
- package/dist/src/components/composite/FunnelSummary.vue.d.ts.map +0 -1
- package/dist/src/components/composite/FunnelTitle.vue.d.ts +0 -5
- package/dist/src/components/composite/FunnelTitle.vue.d.ts.map +0 -1
- package/dist/src/components/composite/InfoShowcase.vue.d.ts +0 -5
- package/dist/src/components/composite/InfoShowcase.vue.d.ts.map +0 -1
- package/dist/src/components/composite/JourneyMacroSteps.vue.d.ts +0 -5
- package/dist/src/components/composite/JourneyMacroSteps.vue.d.ts.map +0 -1
- package/dist/src/components/composite/ProductDetails.vue.d.ts +0 -5
- package/dist/src/components/composite/ProductDetails.vue.d.ts.map +0 -1
- package/dist/src/components/composite/ResultsLayout.vue.d.ts +0 -5
- package/dist/src/components/composite/ResultsLayout.vue.d.ts.map +0 -1
- package/dist/src/components/forms/CheckboxInput.vue.d.ts +0 -5
- package/dist/src/components/forms/CheckboxInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/CurrencyInput.vue.d.ts +0 -5
- package/dist/src/components/forms/CurrencyInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/FileInput.vue.d.ts +0 -5
- package/dist/src/components/forms/FileInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/NumberInput.vue.d.ts +0 -5
- package/dist/src/components/forms/NumberInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/PhoneInput.vue.d.ts +0 -5
- package/dist/src/components/forms/PhoneInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/RadioInputList.vue.d.ts +0 -5
- package/dist/src/components/forms/RadioInputList.vue.d.ts.map +0 -1
- package/dist/src/components/forms/SelectInput.vue.d.ts +0 -5
- package/dist/src/components/forms/SelectInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/SelectionTiles.vue.d.ts +0 -5
- package/dist/src/components/forms/SelectionTiles.vue.d.ts.map +0 -1
- package/dist/src/components/forms/TextInput.vue.d.ts +0 -5
- package/dist/src/components/forms/TextInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/TileCheckboxInput.vue.d.ts +0 -5
- package/dist/src/components/forms/TileCheckboxInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/ToggleInput.vue.d.ts +0 -5
- package/dist/src/components/forms/ToggleInput.vue.d.ts.map +0 -1
- package/dist/src/components/forms/structure/InputContainer.vue.d.ts +0 -5
- package/dist/src/components/forms/structure/InputContainer.vue.d.ts.map +0 -1
- package/dist/src/components/forms/structure/InputError.vue.d.ts +0 -5
- package/dist/src/components/forms/structure/InputError.vue.d.ts.map +0 -1
- package/dist/src/components/forms/structure/InputTitle.vue.d.ts +0 -5
- package/dist/src/components/forms/structure/InputTitle.vue.d.ts.map +0 -1
- package/dist/src/components/structural/CjaButton.vue.d.ts +0 -5
- package/dist/src/components/structural/CjaButton.vue.d.ts.map +0 -1
- package/dist/src/components/structural/CollapseContainer.vue.d.ts +0 -5
- package/dist/src/components/structural/CollapseContainer.vue.d.ts.map +0 -1
- package/dist/src/components/structural/ContentTabs.vue.d.ts +0 -5
- package/dist/src/components/structural/ContentTabs.vue.d.ts.map +0 -1
- package/dist/src/components/structural/FixedContainer.vue.d.ts +0 -5
- package/dist/src/components/structural/FixedContainer.vue.d.ts.map +0 -1
- package/dist/src/components/structural/GridContainer.vue.d.ts +0 -5
- package/dist/src/components/structural/GridContainer.vue.d.ts.map +0 -1
- package/dist/src/components/structural/GridItem.vue.d.ts +0 -5
- package/dist/src/components/structural/GridItem.vue.d.ts.map +0 -1
- package/dist/src/components/structural/InfoMessage.vue.d.ts +0 -5
- package/dist/src/components/structural/InfoMessage.vue.d.ts.map +0 -1
- package/dist/src/components/structural/LoadingSpinner.vue.d.ts +0 -5
- package/dist/src/components/structural/LoadingSpinner.vue.d.ts.map +0 -1
- package/dist/src/components/structural/Modal.vue.d.ts +0 -5
- package/dist/src/components/structural/Modal.vue.d.ts.map +0 -1
- package/dist/styles.css +0 -1
- /package/dist/{components → types/components}/composite/ProductDetails.vue.d.ts +0 -0
- /package/dist/{components → types/components}/composite/ResultsLayout.vue.d.ts +0 -0
- /package/dist/{components → types/components}/index.d.ts +0 -0
- /package/dist/{constants → types/constants}/MyConstants.d.ts +0 -0
- /package/dist/{constants → types/constants}/index.d.ts +0 -0
- /package/dist/types/{CheckoutMilestone.d.ts → types/CheckoutMilestone.d.ts} +0 -0
- /package/dist/types/{Footer.d.ts → types/Footer.d.ts} +0 -0
- /package/dist/types/{Menu.d.ts → types/Menu.d.ts} +0 -0
- /package/dist/types/{RadioOption.d.ts → types/RadioOption.d.ts} +0 -0
- /package/dist/types/{SelectOption.d.ts → types/SelectOption.d.ts} +0 -0
- /package/dist/types/{StoreDataValue.d.ts → types/StoreDataValue.d.ts} +0 -0
- /package/dist/types/{Storyblok.d.ts → types/Storyblok.d.ts} +0 -0
- /package/dist/types/{TileOption.d.ts → types/TileOption.d.ts} +0 -0
- /package/dist/{utils → types/utils}/cjaRouter.d.ts +0 -0
- /package/dist/{utils → types/utils}/cjaStore.d.ts +0 -0
- /package/dist/{utils → types/utils}/findScrollAncestor.d.ts +0 -0
- /package/dist/{utils → types/utils}/generateRoutes.d.ts +0 -0
- /package/dist/{utils → types/utils}/getFromUrl.d.ts +0 -0
- /package/dist/{utils → types/utils}/getMessages.d.ts +0 -0
- /package/dist/{utils → types/utils}/gtm.d.ts +0 -0
- /package/dist/{utils → types/utils}/index.d.ts +0 -0
- /package/dist/{utils → types/utils}/jsonReviver.d.ts +0 -0
- /package/dist/{utils → types/utils}/storyblokLink.d.ts +0 -0
- /package/dist/{utils → types/utils}/updateForm.d.ts +0 -0
- /package/dist/{utils → types/utils}/uploadFile.d.ts +0 -0
- /package/dist/{utils → types/utils}/useGlobalProperties.d.ts +0 -0
- /package/dist/{utils → types/utils}/useViewportDetector.d.ts +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
$input-border-color: #dedede;
|
|
2
|
+
$input-border: 1px solid $input-border-color;
|
|
3
|
+
$input-border-focus-color: #076b9c;
|
|
4
|
+
$input-border-focus: 1px solid $input-border-focus-color;
|
|
5
|
+
$input-border-error-color: #fb7185;
|
|
6
|
+
$input-border-error: 1px solid $input-border-error-color;
|
|
7
|
+
$input-border-radius: 8px;
|
|
8
|
+
$input-transition: all 0.1s ease-in;
|
|
9
|
+
$input-placeholder-color: #9fabbc;
|
|
10
|
+
$input-disabled-color: #dedede;
|
|
11
|
+
|
|
12
|
+
$sm-padding-v: 8px;
|
|
13
|
+
$sm-padding-h: 10px;
|
|
14
|
+
$sm-font-size: 14px;
|
|
15
|
+
$sm-line-height: 18px;
|
|
16
|
+
|
|
17
|
+
$md-padding-v: 12px;
|
|
18
|
+
$md-padding-h: 12px;
|
|
19
|
+
$md-font-size: 16px;
|
|
20
|
+
$md-line-height: 18px;
|
|
21
|
+
|
|
22
|
+
$lg-padding-v: 16px;
|
|
23
|
+
$lg-padding-h: 18px;
|
|
24
|
+
$lg-font-size: 18px;
|
|
25
|
+
$lg-line-height: 22px;
|
|
26
|
+
|
|
27
|
+
@mixin input-template {
|
|
28
|
+
background-color: #fff;
|
|
29
|
+
width: 100%;
|
|
30
|
+
outline: none;
|
|
31
|
+
border: $input-border;
|
|
32
|
+
border-radius: $input-border-radius;
|
|
33
|
+
transition: $input-transition;
|
|
34
|
+
|
|
35
|
+
&::placeholder {
|
|
36
|
+
color: $input-placeholder-color;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:active:not(:disabled),
|
|
40
|
+
&:focus:not(:disabled) {
|
|
41
|
+
border: $input-border-focus;
|
|
42
|
+
outline: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:disabled,
|
|
46
|
+
&:disabled::placeholder {
|
|
47
|
+
color: $input-disabled-color;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.size-md {
|
|
51
|
+
padding: $md-padding-v $md-padding-h;
|
|
52
|
+
font-size: $md-font-size;
|
|
53
|
+
line-height: $md-line-height;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.size-sm {
|
|
57
|
+
padding: $sm-padding-v $sm-padding-h;
|
|
58
|
+
font-size: $sm-font-size;
|
|
59
|
+
line-height: $sm-line-height;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.size-lg {
|
|
63
|
+
padding: $lg-padding-v $lg-padding-h;
|
|
64
|
+
font-size: $lg-font-size;
|
|
65
|
+
line-height: $lg-line-height;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@mixin input-error {
|
|
70
|
+
border: $input-border-error;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
$sm-title-font-size: 14px;
|
|
74
|
+
$sm-title-line-height: 18px;
|
|
75
|
+
|
|
76
|
+
$md-title-font-size: 16px;
|
|
77
|
+
$md-title-line-height: 20px;
|
|
78
|
+
|
|
79
|
+
$lg-title-font-size: 18px;
|
|
80
|
+
$lg-title-line-height: 22px;
|
|
81
|
+
|
|
82
|
+
@mixin input-title {
|
|
83
|
+
&.size-sm {
|
|
84
|
+
font-size: $sm-title-font-size;
|
|
85
|
+
line-height: $sm-title-line-height;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.size-md {
|
|
89
|
+
font-size: $md-title-font-size;
|
|
90
|
+
line-height: $md-title-line-height;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.size-lg {
|
|
94
|
+
font-size: $lg-title-font-size;
|
|
95
|
+
line-height: $lg-title-line-height;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
$grid-columns-lg: repeat(12, 1fr);
|
|
2
|
+
$grid-column-gap-lg: 24px;
|
|
3
|
+
$grid-side-padding-lg: 32px;
|
|
4
|
+
$grid-side-padding-xl: 64px;
|
|
5
|
+
|
|
6
|
+
$grid-columns-md: repeat(4, 1fr);
|
|
7
|
+
$grid-column-gap-md: 24px;
|
|
8
|
+
$grid-side-padding-md: 40px;
|
|
9
|
+
|
|
10
|
+
$grid-columns-sm-1: repeat(2, 1fr);
|
|
11
|
+
$grid-columns-sm-2: repeat(3, 1fr);
|
|
12
|
+
$grid-columns-sm-3: repeat(4, 1fr);
|
|
13
|
+
$grid-column-gap-sm: 16px;
|
|
14
|
+
$grid-side-padding-sm: 24px;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
|
|
2
|
+
|
|
3
|
+
To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts
|
|
4
|
+
|
|
5
|
+
You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
|
|
6
|
+
|
|
7
|
+
You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
body {
|
|
2
|
+
padding: 0;
|
|
3
|
+
margin: 0;
|
|
4
|
+
font-family: sans-serif;
|
|
5
|
+
font-size: 1em;
|
|
6
|
+
line-height: 1.5;
|
|
7
|
+
color: #555;
|
|
8
|
+
background: #fff;
|
|
9
|
+
}
|
|
10
|
+
h1 {
|
|
11
|
+
font-size: 1.5em;
|
|
12
|
+
font-weight: normal;
|
|
13
|
+
}
|
|
14
|
+
small {
|
|
15
|
+
font-size: .66666667em;
|
|
16
|
+
}
|
|
17
|
+
a {
|
|
18
|
+
color: #e74c3c;
|
|
19
|
+
text-decoration: none;
|
|
20
|
+
}
|
|
21
|
+
a:hover, a:focus {
|
|
22
|
+
box-shadow: 0 1px #e74c3c;
|
|
23
|
+
}
|
|
24
|
+
.bshadow0, input {
|
|
25
|
+
box-shadow: inset 0 -2px #e7e7e7;
|
|
26
|
+
}
|
|
27
|
+
input:hover {
|
|
28
|
+
box-shadow: inset 0 -2px #ccc;
|
|
29
|
+
}
|
|
30
|
+
input, fieldset {
|
|
31
|
+
font-family: sans-serif;
|
|
32
|
+
font-size: 1em;
|
|
33
|
+
margin: 0;
|
|
34
|
+
padding: 0;
|
|
35
|
+
border: 0;
|
|
36
|
+
}
|
|
37
|
+
input {
|
|
38
|
+
color: inherit;
|
|
39
|
+
line-height: 1.5;
|
|
40
|
+
height: 1.5em;
|
|
41
|
+
padding: .25em 0;
|
|
42
|
+
}
|
|
43
|
+
input:focus {
|
|
44
|
+
outline: none;
|
|
45
|
+
box-shadow: inset 0 -2px #449fdb;
|
|
46
|
+
}
|
|
47
|
+
.glyph {
|
|
48
|
+
font-size: 16px;
|
|
49
|
+
width: 15em;
|
|
50
|
+
padding-bottom: 1em;
|
|
51
|
+
margin-right: 4em;
|
|
52
|
+
margin-bottom: 1em;
|
|
53
|
+
float: left;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
}
|
|
56
|
+
.liga {
|
|
57
|
+
width: 80%;
|
|
58
|
+
width: calc(100% - 2.5em);
|
|
59
|
+
}
|
|
60
|
+
.talign-right {
|
|
61
|
+
text-align: right;
|
|
62
|
+
}
|
|
63
|
+
.talign-center {
|
|
64
|
+
text-align: center;
|
|
65
|
+
}
|
|
66
|
+
.bgc1 {
|
|
67
|
+
background: #f1f1f1;
|
|
68
|
+
}
|
|
69
|
+
.fgc1 {
|
|
70
|
+
color: #999;
|
|
71
|
+
}
|
|
72
|
+
.fgc0 {
|
|
73
|
+
color: #000;
|
|
74
|
+
}
|
|
75
|
+
p {
|
|
76
|
+
margin-top: 1em;
|
|
77
|
+
margin-bottom: 1em;
|
|
78
|
+
}
|
|
79
|
+
.mvm {
|
|
80
|
+
margin-top: .75em;
|
|
81
|
+
margin-bottom: .75em;
|
|
82
|
+
}
|
|
83
|
+
.mtn {
|
|
84
|
+
margin-top: 0;
|
|
85
|
+
}
|
|
86
|
+
.mtl, .mal {
|
|
87
|
+
margin-top: 1.5em;
|
|
88
|
+
}
|
|
89
|
+
.mbl, .mal {
|
|
90
|
+
margin-bottom: 1.5em;
|
|
91
|
+
}
|
|
92
|
+
.mal, .mhl {
|
|
93
|
+
margin-left: 1.5em;
|
|
94
|
+
margin-right: 1.5em;
|
|
95
|
+
}
|
|
96
|
+
.mhmm {
|
|
97
|
+
margin-left: 1em;
|
|
98
|
+
margin-right: 1em;
|
|
99
|
+
}
|
|
100
|
+
.mls {
|
|
101
|
+
margin-left: .25em;
|
|
102
|
+
}
|
|
103
|
+
.ptl {
|
|
104
|
+
padding-top: 1.5em;
|
|
105
|
+
}
|
|
106
|
+
.pbs, .pvs {
|
|
107
|
+
padding-bottom: .25em;
|
|
108
|
+
}
|
|
109
|
+
.pvs, .pts {
|
|
110
|
+
padding-top: .25em;
|
|
111
|
+
}
|
|
112
|
+
.unit {
|
|
113
|
+
float: left;
|
|
114
|
+
}
|
|
115
|
+
.unitRight {
|
|
116
|
+
float: right;
|
|
117
|
+
}
|
|
118
|
+
.size1of2 {
|
|
119
|
+
width: 50%;
|
|
120
|
+
}
|
|
121
|
+
.size1of1 {
|
|
122
|
+
width: 100%;
|
|
123
|
+
}
|
|
124
|
+
.clearfix:before, .clearfix:after {
|
|
125
|
+
content: " ";
|
|
126
|
+
display: table;
|
|
127
|
+
}
|
|
128
|
+
.clearfix:after {
|
|
129
|
+
clear: both;
|
|
130
|
+
}
|
|
131
|
+
.hidden-true {
|
|
132
|
+
display: none;
|
|
133
|
+
}
|
|
134
|
+
.textbox0 {
|
|
135
|
+
width: 3em;
|
|
136
|
+
background: #f1f1f1;
|
|
137
|
+
padding: .25em .5em;
|
|
138
|
+
line-height: 1.5;
|
|
139
|
+
height: 1.5em;
|
|
140
|
+
}
|
|
141
|
+
#testDrive {
|
|
142
|
+
display: block;
|
|
143
|
+
padding-top: 24px;
|
|
144
|
+
line-height: 1.5;
|
|
145
|
+
}
|
|
146
|
+
.fs0 {
|
|
147
|
+
font-size: 16px;
|
|
148
|
+
}
|
|
149
|
+
.fs1 {
|
|
150
|
+
font-size: 32px;
|
|
151
|
+
}
|
|
152
|
+
.fs2 {
|
|
153
|
+
font-size: 32px;
|
|
154
|
+
}
|
|
155
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
if (!('boxShadow' in document.body.style)) {
|
|
2
|
+
document.body.setAttribute('class', 'noBoxShadow');
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
document.body.addEventListener("click", function(e) {
|
|
6
|
+
var target = e.target;
|
|
7
|
+
if (target.tagName === "INPUT" &&
|
|
8
|
+
target.getAttribute('class').indexOf('liga') === -1) {
|
|
9
|
+
target.select();
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
(function() {
|
|
14
|
+
var fontSize = document.getElementById('fontSize'),
|
|
15
|
+
testDrive = document.getElementById('testDrive'),
|
|
16
|
+
testText = document.getElementById('testText');
|
|
17
|
+
function updateTest() {
|
|
18
|
+
testDrive.innerHTML = testText.value || String.fromCharCode(160);
|
|
19
|
+
if (window.icomoonLiga) {
|
|
20
|
+
window.icomoonLiga(testDrive);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function updateSize() {
|
|
24
|
+
testDrive.style.fontSize = fontSize.value + 'px';
|
|
25
|
+
}
|
|
26
|
+
fontSize.addEventListener('change', updateSize, false);
|
|
27
|
+
testText.addEventListener('input', updateTest, false);
|
|
28
|
+
testText.addEventListener('change', updateTest, false);
|
|
29
|
+
updateSize();
|
|
30
|
+
}());
|