widenarrow-ui 0.1.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.
Files changed (238) hide show
  1. package/.babelrc +11 -0
  2. package/.eslintrc +105 -0
  3. package/.prettierrc +7 -0
  4. package/README.md +3 -0
  5. package/copyTS.js +15 -0
  6. package/dist/Box/Box.module.scss +80 -0
  7. package/dist/Box/Box.tsx +143 -0
  8. package/dist/index.tsx +3 -0
  9. package/package.json +69 -0
  10. package/src/components/Box/Box.module.scss +80 -0
  11. package/src/components/Box/Box.tsx +143 -0
  12. package/src/components/index.tsx +3 -0
  13. package/src/index.tsx +1 -0
  14. package/src/styles/colors.scss +160 -0
  15. package/src/styles/icons/Read Me.txt +7 -0
  16. package/src/styles/icons/demo-files/demo.css +152 -0
  17. package/src/styles/icons/demo-files/demo.js +29 -0
  18. package/src/styles/icons/demo.html +758 -0
  19. package/src/styles/icons/fonts/icomoon.eot +0 -0
  20. package/src/styles/icons/fonts/icomoon.svg +57 -0
  21. package/src/styles/icons/fonts/icomoon.ttf +0 -0
  22. package/src/styles/icons/fonts/icomoon.woff +0 -0
  23. package/src/styles/icons/selection.json +1606 -0
  24. package/src/styles/icons/style.css +173 -0
  25. package/src/styles/keyframes.scss +103 -0
  26. package/src/styles/libraryOverrides.scss +62 -0
  27. package/src/styles/main.scss +299 -0
  28. package/src/styles/mixins.scss +1300 -0
  29. package/src/styles/normalize.scss +459 -0
  30. package/src/styles/print.scss +70 -0
  31. package/src/styles/svg/accountSettings.svg +1 -0
  32. package/src/styles/svg/addChart.svg +1 -0
  33. package/src/styles/svg/addFolder.svg +1 -0
  34. package/src/styles/svg/addOutlined.svg +8 -0
  35. package/src/styles/svg/addPageBreak.svg +14 -0
  36. package/src/styles/svg/addPost.svg +1 -0
  37. package/src/styles/svg/addSectionAbove.svg +3 -0
  38. package/src/styles/svg/addSectionBelow.svg +3 -0
  39. package/src/styles/svg/addSolid.svg +6 -0
  40. package/src/styles/svg/ai.svg +1 -0
  41. package/src/styles/svg/arrowDown.svg +1 -0
  42. package/src/styles/svg/arrowFirstPage.svg +1 -0
  43. package/src/styles/svg/arrowForkRight.svg +1 -0
  44. package/src/styles/svg/arrowLastPage.svg +1 -0
  45. package/src/styles/svg/arrowLeft.svg +1 -0
  46. package/src/styles/svg/arrowRight.svg +1 -0
  47. package/src/styles/svg/arrowUp.svg +1 -0
  48. package/src/styles/svg/attachment.svg +1 -0
  49. package/src/styles/svg/banner.svg +1 -0
  50. package/src/styles/svg/benchmarks.svg +7 -0
  51. package/src/styles/svg/block.svg +5 -0
  52. package/src/styles/svg/cancelTrial.svg +1 -0
  53. package/src/styles/svg/cardMode.svg +7 -0
  54. package/src/styles/svg/changeOrder.svg +3 -0
  55. package/src/styles/svg/check.svg +3 -0
  56. package/src/styles/svg/checkCircleExtraSmall.svg +1 -0
  57. package/src/styles/svg/checkCircleLarge.svg +3 -0
  58. package/src/styles/svg/checkCircleSmall.svg +3 -0
  59. package/src/styles/svg/checkIndeterminateWhite.svg +5 -0
  60. package/src/styles/svg/checkWhite.svg +3 -0
  61. package/src/styles/svg/checkboxCircle.svg +3 -0
  62. package/src/styles/svg/checkboxCircleChecked.svg +6 -0
  63. package/src/styles/svg/chevron.svg +1 -0
  64. package/src/styles/svg/chevronLeft.svg +1 -0
  65. package/src/styles/svg/chevronRight.svg +1 -0
  66. package/src/styles/svg/chevronUp.svg +1 -0
  67. package/src/styles/svg/classification.svg +1 -0
  68. package/src/styles/svg/clipBoard.svg +1 -0
  69. package/src/styles/svg/cluster.svg +1 -0
  70. package/src/styles/svg/cogwheel.svg +1 -0
  71. package/src/styles/svg/comment.svg +5 -0
  72. package/src/styles/svg/commentAdd.svg +6 -0
  73. package/src/styles/svg/compare.svg +6 -0
  74. package/src/styles/svg/copy.svg +1 -0
  75. package/src/styles/svg/createNewsletter.svg +1 -0
  76. package/src/styles/svg/cross.svg +6 -0
  77. package/src/styles/svg/crossCircleExtraSmall.svg +1 -0
  78. package/src/styles/svg/crossCircleLarge.svg +3 -0
  79. package/src/styles/svg/crossCircleSmall.svg +3 -0
  80. package/src/styles/svg/crossCircleSmallFilled.svg +1 -0
  81. package/src/styles/svg/dashboard.svg +1 -0
  82. package/src/styles/svg/dateRange.svg +6 -0
  83. package/src/styles/svg/description.svg +3 -0
  84. package/src/styles/svg/desktop.svg +1 -0
  85. package/src/styles/svg/dot.svg +1 -0
  86. package/src/styles/svg/dotOutlined.svg +4 -0
  87. package/src/styles/svg/dots.svg +5 -0
  88. package/src/styles/svg/dotsBackground.svg +6 -0
  89. package/src/styles/svg/down.svg +5 -0
  90. package/src/styles/svg/download.svg +1 -0
  91. package/src/styles/svg/duplicate.svg +1 -0
  92. package/src/styles/svg/dynamic_feed.svg +5 -0
  93. package/src/styles/svg/edit.svg +5 -0
  94. package/src/styles/svg/embed.svg +1 -0
  95. package/src/styles/svg/errorOutlined.svg +1 -0
  96. package/src/styles/svg/ethernet.svg +1 -0
  97. package/src/styles/svg/exitToApp.svg +1 -0
  98. package/src/styles/svg/expand.svg +1 -0
  99. package/src/styles/svg/expandArrows.svg +5 -0
  100. package/src/styles/svg/feed.svg +1 -0
  101. package/src/styles/svg/filter.svg +5 -0
  102. package/src/styles/svg/filterSettings.svg +5 -0
  103. package/src/styles/svg/findReplace.svg +1 -0
  104. package/src/styles/svg/folder.svg +1 -0
  105. package/src/styles/svg/folderFilled.svg +1 -0
  106. package/src/styles/svg/formatFontSize.svg +1 -0
  107. package/src/styles/svg/formatImgBottom.svg +1 -0
  108. package/src/styles/svg/formatImgCenterCenter.svg +1 -0
  109. package/src/styles/svg/formatImgCrop.svg +1 -0
  110. package/src/styles/svg/formatImgHero.svg +1 -0
  111. package/src/styles/svg/formatImgLeft.svg +1 -0
  112. package/src/styles/svg/formatImgLeftBottom.svg +1 -0
  113. package/src/styles/svg/formatImgLeftCenter.svg +3 -0
  114. package/src/styles/svg/formatImgRight.svg +1 -0
  115. package/src/styles/svg/formatImgRightBottom.svg +1 -0
  116. package/src/styles/svg/formatImgRightCenter.svg +3 -0
  117. package/src/styles/svg/formatImgTop.svg +1 -0
  118. package/src/styles/svg/formatTextAlignCenter.svg +1 -0
  119. package/src/styles/svg/formatTextAlignLeft.svg +1 -0
  120. package/src/styles/svg/formatTextAlignRight.svg +1 -0
  121. package/src/styles/svg/formatTextBold.svg +1 -0
  122. package/src/styles/svg/formatTextItalic.svg +1 -0
  123. package/src/styles/svg/formatTextListBulleted.svg +1 -0
  124. package/src/styles/svg/formatTextListNumbered.svg +1 -0
  125. package/src/styles/svg/formatTextUnderlined.svg +1 -0
  126. package/src/styles/svg/gridMode.svg +1 -0
  127. package/src/styles/svg/handlebar.svg +6 -0
  128. package/src/styles/svg/help.svg +1 -0
  129. package/src/styles/svg/history.svg +1 -0
  130. package/src/styles/svg/icn_infomanagement@2x.svg +81 -0
  131. package/src/styles/svg/icn_informationtools@2x.svg +71 -0
  132. package/src/styles/svg/icn_reportlibrary@2x.svg +72 -0
  133. package/src/styles/svg/icn_teamsetup@2x.svg +87 -0
  134. package/src/styles/svg/inbox.svg +1 -0
  135. package/src/styles/svg/info.svg +1 -0
  136. package/src/styles/svg/keywords.svg +1 -0
  137. package/src/styles/svg/lightBulb.svg +1 -0
  138. package/src/styles/svg/like.svg +3 -0
  139. package/src/styles/svg/likeSolid.svg +7 -0
  140. package/src/styles/svg/link.svg +1 -0
  141. package/src/styles/svg/link_off.svg +1 -0
  142. package/src/styles/svg/list.svg +6 -0
  143. package/src/styles/svg/listMode.svg +5 -0
  144. package/src/styles/svg/lock.svg +1 -0
  145. package/src/styles/svg/mail.svg +1 -0
  146. package/src/styles/svg/masonry.svg +1 -0
  147. package/src/styles/svg/menu.svg +1 -0
  148. package/src/styles/svg/minimizeArrows.svg +5 -0
  149. package/src/styles/svg/minus.svg +1 -0
  150. package/src/styles/svg/monitoringLogo.svg +9 -0
  151. package/src/styles/svg/movie.svg +1 -0
  152. package/src/styles/svg/navigateDownLarge.svg +3 -0
  153. package/src/styles/svg/navigateLeftLarge.svg +3 -0
  154. package/src/styles/svg/navigateRightLarge.svg +4 -0
  155. package/src/styles/svg/news.svg +4 -0
  156. package/src/styles/svg/newsletterClosed.svg +3 -0
  157. package/src/styles/svg/newsletterOpened.svg +3 -0
  158. package/src/styles/svg/newsletterSender.svg +1 -0
  159. package/src/styles/svg/nochange.svg +5 -0
  160. package/src/styles/svg/nodirection.svg +4 -0
  161. package/src/styles/svg/notification.svg +1 -0
  162. package/src/styles/svg/openInNew.svg +1 -0
  163. package/src/styles/svg/palette.svg +4 -0
  164. package/src/styles/svg/pattern.svg +1 -0
  165. package/src/styles/svg/pause.svg +1 -0
  166. package/src/styles/svg/pauseCircle.svg +1 -0
  167. package/src/styles/svg/pdf.svg +1 -0
  168. package/src/styles/svg/pencil.svg +1 -0
  169. package/src/styles/svg/phone.svg +1 -0
  170. package/src/styles/svg/photo.svg +1 -0
  171. package/src/styles/svg/photos.svg +1 -0
  172. package/src/styles/svg/pin.svg +1 -0
  173. package/src/styles/svg/play.svg +6 -0
  174. package/src/styles/svg/playCircle.svg +1 -0
  175. package/src/styles/svg/plus.svg +3 -0
  176. package/src/styles/svg/portals.svg +1 -0
  177. package/src/styles/svg/ppt.svg +3 -0
  178. package/src/styles/svg/present.svg +3 -0
  179. package/src/styles/svg/previewEye.svg +1 -0
  180. package/src/styles/svg/previewEyeOff.svg +1 -0
  181. package/src/styles/svg/profile.svg +1 -0
  182. package/src/styles/svg/publish.svg +1 -0
  183. package/src/styles/svg/purchaseInbox.svg +1 -0
  184. package/src/styles/svg/questionmark.svg +1 -0
  185. package/src/styles/svg/recurring.svg +1 -0
  186. package/src/styles/svg/renew.svg +1 -0
  187. package/src/styles/svg/replay.svg +1 -0
  188. package/src/styles/svg/report.svg +1 -0
  189. package/src/styles/svg/reportLibrary.svg +6 -0
  190. package/src/styles/svg/reset.svg +4 -0
  191. package/src/styles/svg/robot.svg +1 -0
  192. package/src/styles/svg/rss.svg +1 -0
  193. package/src/styles/svg/schedule.svg +1 -0
  194. package/src/styles/svg/search.svg +1 -0
  195. package/src/styles/svg/searchPerson.svg +1 -0
  196. package/src/styles/svg/send.svg +1 -0
  197. package/src/styles/svg/sendList.svg +9 -0
  198. package/src/styles/svg/settingsFilled.svg +5 -0
  199. package/src/styles/svg/settingsOff.svg +7 -0
  200. package/src/styles/svg/settingsOutlined.svg +5 -0
  201. package/src/styles/svg/share.svg +1 -0
  202. package/src/styles/svg/sliderHandle.svg +8 -0
  203. package/src/styles/svg/sort.svg +5 -0
  204. package/src/styles/svg/sso.svg +1 -0
  205. package/src/styles/svg/ssoConfig.svg +1 -0
  206. package/src/styles/svg/statistics.svg +5 -0
  207. package/src/styles/svg/strategy.svg +1 -0
  208. package/src/styles/svg/subscriptions.svg +5 -0
  209. package/src/styles/svg/suggestion.svg +1 -0
  210. package/src/styles/svg/sysAdmin.svg +1 -0
  211. package/src/styles/svg/taxonomy.svg +1 -0
  212. package/src/styles/svg/translate.svg +5 -0
  213. package/src/styles/svg/trash.svg +6 -0
  214. package/src/styles/svg/trial.svg +1 -0
  215. package/src/styles/svg/undo.svg +1 -0
  216. package/src/styles/svg/unfoldLess.svg +1 -0
  217. package/src/styles/svg/unfoldMore.svg +1 -0
  218. package/src/styles/svg/up.svg +5 -0
  219. package/src/styles/svg/upload.svg +1 -0
  220. package/src/styles/svg/user.svg +5 -0
  221. package/src/styles/svg/userRemove.svg +1 -0
  222. package/src/styles/svg/users.svg +5 -0
  223. package/src/styles/svg/usersAdd.svg +1 -0
  224. package/src/styles/svg/verified.svg +1 -0
  225. package/src/styles/svg/warning.svg +1 -0
  226. package/src/styles/svg/warningOutlined.svg +1 -0
  227. package/src/styles/svg/wide-narrow-logo.svg +1 -0
  228. package/src/styles/svg/wide-narrow-w-logo.svg +1 -0
  229. package/src/styles/svg/willBeDeleted.svg +1 -0
  230. package/src/styles/svg/world.svg +1 -0
  231. package/src/styles/svg/zoomIn.svg +1 -0
  232. package/src/styles/svg/zoomOut.svg +1 -0
  233. package/src/styles/variables.scss +117 -0
  234. package/src/types/styling.ts +34 -0
  235. package/tsconfig.json +17 -0
  236. package/types/classnames/index.d.ts +1 -0
  237. package/types/declaration.d.ts +1 -0
  238. package/types/react-router-dom/index.d.ts +1 -0
@@ -0,0 +1,160 @@
1
+ /**
2
+ |--------------------------------------------------
3
+ | Rainbow colors
4
+ |--------------------------------------------------
5
+ */
6
+ $yellow: #ffc107;
7
+ $orange: #ff8f00;
8
+ $green: #058736;
9
+ $red: #d0341b;
10
+ $lightest-blue: #f7fcff;
11
+ $light-blue: #129dfa;
12
+ $blue: #0069c1;
13
+ $darker-blue: #151630;
14
+ $darkest-blue: #000023;
15
+
16
+ /**
17
+ |--------------------------------------------------
18
+ | Grey scale
19
+ |--------------------------------------------------
20
+ */
21
+ $black: #000;
22
+ $grey-1: #f1f1f1; // Background of application and modals
23
+ $grey-2: #dbdbdb; // Lines
24
+ $grey-3: #a2a4a6; // Text on dark background
25
+ $grey-4: #6a6a6a; // Meta text
26
+ $grey-5: #464646; // Headline, body text
27
+ $grey-6: #2b2f3e; // Menu, lines
28
+ $grey-7: #19191a; // Darkest
29
+ $grey-8: #f3f3f3;
30
+ $white: #fff;
31
+
32
+ /**
33
+ |--------------------------------------------------
34
+ | Text colors
35
+ |--------------------------------------------------
36
+ */
37
+ $dark-text: #010101;
38
+ $text-grey: $grey-5;
39
+ $meta-text-grey: $grey-4;
40
+ $text-on-dark-background-grey: $grey-3;
41
+ $text-disabled: #757575;
42
+ $text-color-highlight: rgba(56, 173, 84, 0.25);
43
+ $text-color-keyword: yellow;
44
+ /**
45
+ |--------------------------------------------------
46
+ | Icon colors
47
+ |--------------------------------------------------
48
+ */
49
+ $icon-grey: $grey-4;
50
+ $icon-light-grey: $grey-3;
51
+ $info-icon-grey: #a2a4a6;
52
+
53
+ /**
54
+ |--------------------------------------------------
55
+ | Interaction colors
56
+ |--------------------------------------------------
57
+ */
58
+ $grey-disabled: $grey-2;
59
+ $grey-hover: $grey-1;
60
+ $grey-active: $grey-2;
61
+
62
+ $blue-disabled: #99bfde;
63
+ $blue-hover: #1775c5;
64
+ $blue-active: #0069c1;
65
+
66
+ /**
67
+ |--------------------------------------------------
68
+ | Component colors
69
+ |--------------------------------------------------
70
+ */
71
+ $application-background: $grey-1;
72
+ $dark-application-background: #eaeaea;
73
+ $info-box-background: #eaeaea;
74
+ $timeline-month-border: #d7d7d7;
75
+ $timeline-ad-hoc-reports-container-bg: rgba(230, 230, 230, 0.5);
76
+ $timeline-month-span-wrapper-bg: rgba(199, 197, 197, 0.2);
77
+ $timeline-series-month-span-wrapper-bg: rgba(56, 113, 155, 0.2);
78
+ $border-grey: $grey-3;
79
+ $border-light-grey: $grey-2;
80
+ $border-lightest-grey: $grey-1;
81
+ $button-grey: $grey-3;
82
+ $image-stack-first-bg: #d3d3d3;
83
+ $image-stack-second-bg: #e3e3e3;
84
+ $image-stack-border: #c6c6c6;
85
+ $factiva-blue: #28ade6;
86
+ $importIo-purple: #3138b0;
87
+ $powerAutomate-blue: #0066ff;
88
+ $visualPing-blue: #1882ff;
89
+ $wideNarrowBlue: #0078c7;
90
+ $label-background: $grey-1;
91
+ $menu-background: $darker-blue;
92
+ $menu-blue: $grey-6;
93
+ $menu-dark-blue: $darker-blue;
94
+ $menu-grey: $grey-5;
95
+ $modal-background: $grey-1;
96
+ $pocket-red: #ea3d55;
97
+ $facet-red: #cb2020;
98
+ $portal-color: #66c294;
99
+ $postquery-yellow: #ffeba6;
100
+ $report-tab-selected-background: $grey-1;
101
+ $report-tab-background: #e6e6e6;
102
+ $report-border-grey: #969696;
103
+ $report-square-background: $grey-1;
104
+ $rss-yellow: #f1b355;
105
+ $skeleton-grey: $grey-2;
106
+ $skeleton-nested-grey: #c1c1c1;
107
+ $skeleton-nested-light-grey: #e6e6e6;
108
+ $skeleton-light-grey: $grey-1;
109
+ $pdf-text-color-2: $grey-4; // This color is #373737 in print. Check the interface.css file
110
+ $report-pdf-border-color: $grey-2;
111
+
112
+ /**
113
+ |--------------------------------------------------
114
+ | Drag n drop colors
115
+ |--------------------------------------------------
116
+ */
117
+ $drag-n-drop-droppable-area: #d1e4f4;
118
+ $drag-n-drop-hover: #a8ccea;
119
+ $drag-n-drop-placeholder: #a8ccea;
120
+ $drag-n-drop-on-dark-droppable-area: #5f616c;
121
+ $drag-n-drop-on-dark-hover: #7cadd4;
122
+
123
+ /**
124
+ |--------------------------------------------------
125
+ | Transparent colors
126
+ |--------------------------------------------------
127
+ */
128
+ $transparent-white-1: rgba(255, 255, 255, 0.85);
129
+ $transparent-white-2: rgba(255, 255, 255, 0.75);
130
+ $transparent-white-3: rgba(255, 255, 255, 0.5);
131
+ $transparent-grey-1: rgba(55, 55, 55, 0.1);
132
+ $transparent-grey-2: rgba(55, 55, 55, 0.15);
133
+ $transparent-grey-3: rgba(55, 55, 55, 0.4);
134
+ $transparent-grey-4: rgba(55, 55, 55, 0.7);
135
+ $transparent-grey-5: rgba(20, 20, 20, 0.6);
136
+ $transparent-grey-6: rgba(0, 0, 0, 0.65);
137
+ $transparent-green: rgba(56, 173, 84, 0.7);
138
+ $transparent-blue-1: rgba(0, 105, 193, 0.24);
139
+ $transparent-blue-2: rgba(0, 105, 193, 0.3);
140
+ $modal-overlay: rgba(20, 20, 20, 0.5);
141
+ $disabled-opacity: 0.6;
142
+
143
+ /**
144
+ |--------------------------------------------------
145
+ | Shadows
146
+ |--------------------------------------------------
147
+ */
148
+ $box-shadow-card: 0 1px 3px 1px rgba(0, 0, 0, 0.12);
149
+ $box-shadow-tooltip: 0px 1px 5px 0px rgba(35, 35, 35, 0.3);
150
+ $box-shadow-dropdown: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
151
+ $box-shadow-button: 0 2px 8px 0 rgba(0, 0, 0, 0.12);
152
+ $box-shadow-rounded-button: 0 1px 2px rgba(0, 0, 0, 0.25);
153
+ $box-shadow-notification: 0px 0px 10px 2px rgba(40, 40, 40, 0.25);
154
+ $box-shadow-user-icon: 0px 0px 2px 1px rgba(0, 0, 0, 0.25);
155
+ $inset-shadow-1: inset 0 3px 5px rgba(0, 0, 0, 0.125);
156
+ $inset-shadow-2: inset 0px 3px 15px 1px rgba(0, 0, 0, 0.25);
157
+ $sticky-header-shadow: 0 5px 4px -4px rgba(112, 112, 112, 0.5);
158
+ $sticky-footer-shadow: 0 4px 4px 4px rgba(219, 219, 219, 1);
159
+ $statistics-header-shadow: 0 -8px 6px 10px rgba(112, 112, 112, 0.5);
160
+ $card-hover-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.12);
@@ -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,152 @@
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
+
@@ -0,0 +1,29 @@
1
+ if (!('boxShadow' in document.body.style)) {
2
+ document.body.setAttribute('class', 'noBoxShadow');
3
+ }
4
+
5
+ document.body.addEventListener('click', (e) => {
6
+ const { target } = e;
7
+ if (target.tagName === 'INPUT' && target.getAttribute('class').indexOf('liga') === -1) {
8
+ target.select();
9
+ }
10
+ });
11
+
12
+ (function() {
13
+ const fontSize = document.getElementById('fontSize');
14
+ const testDrive = document.getElementById('testDrive');
15
+ const testText = document.getElementById('testText');
16
+ function updateTest() {
17
+ testDrive.innerHTML = testText.value || String.fromCharCode(160);
18
+ if (window.icomoonLiga) {
19
+ window.icomoonLiga(testDrive);
20
+ }
21
+ }
22
+ function updateSize() {
23
+ testDrive.style.fontSize = `${fontSize.value}px`;
24
+ }
25
+ fontSize.addEventListener('change', updateSize, false);
26
+ testText.addEventListener('input', updateTest, false);
27
+ testText.addEventListener('change', updateTest, false);
28
+ updateSize();
29
+ }());