@ulu/frontend 0.0.3 → 0.0.5

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 (246) hide show
  1. package/package.json +11 -10
  2. package/scss/_grid.scss +0 -1
  3. package/scss/_typography.scss +0 -1
  4. package/scss/helpers/_units.scss +1 -6
  5. package/scss/stylesheets/full.scss +1 -4
  6. package/trash/js-old/deprecated/doc-ready.js +0 -28
  7. package/trash/js-old/deprecated/jquery-prototypes.js +0 -309
  8. package/trash/js-old/deprecated/mini-collapsible-popper-positioning.js +0 -126
  9. package/trash/js-old/deprecated/mini-collapsible.js +0 -607
  10. package/trash/js-old/deprecated/script-loader.js +0 -60
  11. package/trash/js-old/events/index.js +0 -42
  12. package/trash/js-old/helpers/css-breakpoint.js +0 -247
  13. package/trash/js-old/helpers/file-save.js +0 -48
  14. package/trash/js-old/helpers/node-data-manager.js +0 -74
  15. package/trash/js-old/helpers/pause-youtube-video.js +0 -42
  16. package/trash/js-old/index.js +0 -15
  17. package/trash/js-old/polyfills/element-closest.js +0 -17
  18. package/trash/js-old/ui/flipcard.js +0 -202
  19. package/trash/js-old/ui/grid.js +0 -67
  20. package/trash/js-old/ui/modals.js +0 -219
  21. package/trash/js-old/ui/programmatic-modal.js +0 -91
  22. package/trash/js-old/ui/resizer.js +0 -60
  23. package/trash/js-old/ui/slider.js +0 -469
  24. package/trash/js-old/ui/tabs.js +0 -109
  25. package/trash/js-old/ui/tooltip.js +0 -82
  26. package/trash/js-old/utils/array.js +0 -28
  27. package/trash/js-old/utils/dom.js +0 -122
  28. package/trash/js-old/utils/logger.js +0 -69
  29. package/trash/js-old/utils/object.js +0 -22
  30. package/trash/js-old/utils/performance.js +0 -43
  31. package/trash/js-old/utils/regex.js +0 -10
  32. package/trash/js-old/utils/string.js +0 -107
  33. package/trash/js-old/waypoints/README.md +0 -3
  34. package/trash/js-old/waypoints/anchor-menu.js +0 -76
  35. package/trash/js-old/waypoints/element-waypoint.js +0 -75
  36. package/trash/js-old/waypoints/examples/page-link-menu.md +0 -106
  37. package/trash/js-old/waypoints/state-in-attribute.js +0 -32
  38. package/trash/js-old-230729/deprecated/doc-ready.js +0 -28
  39. package/trash/js-old-230729/deprecated/jquery-prototypes.js +0 -309
  40. package/trash/js-old-230729/deprecated/mini-collapsible-popper-positioning.js +0 -126
  41. package/trash/js-old-230729/deprecated/mini-collapsible.js +0 -607
  42. package/trash/js-old-230729/deprecated/script-loader.js +0 -60
  43. package/trash/js-old-230729/events/index.js +0 -42
  44. package/trash/js-old-230729/helpers/css-breakpoint.js +0 -247
  45. package/trash/js-old-230729/helpers/file-save.js +0 -48
  46. package/trash/js-old-230729/helpers/node-data-manager.js +0 -74
  47. package/trash/js-old-230729/helpers/pause-youtube-video.js +0 -42
  48. package/trash/js-old-230729/helpers/scrollbar-width-property.js +0 -10
  49. package/trash/js-old-230729/index.js +0 -15
  50. package/trash/js-old-230729/polyfills/element-closest.js +0 -17
  51. package/trash/js-old-230729/ui/flipcard.js +0 -202
  52. package/trash/js-old-230729/ui/grid.js +0 -67
  53. package/trash/js-old-230729/ui/modals.js +0 -219
  54. package/trash/js-old-230729/ui/overflow-scroller-pager.js +0 -58
  55. package/trash/js-old-230729/ui/overflow-scroller.js +0 -160
  56. package/trash/js-old-230729/ui/programmatic-modal.js +0 -91
  57. package/trash/js-old-230729/ui/resizer.js +0 -60
  58. package/trash/js-old-230729/ui/slider.js +0 -468
  59. package/trash/js-old-230729/ui/tabs.js +0 -109
  60. package/trash/js-old-230729/ui/tooltip.js +0 -82
  61. package/trash/js-old-230729/utils/array.js +0 -28
  62. package/trash/js-old-230729/utils/dom.js +0 -122
  63. package/trash/js-old-230729/utils/logger.js +0 -69
  64. package/trash/js-old-230729/utils/object.js +0 -22
  65. package/trash/js-old-230729/utils/performance.js +0 -43
  66. package/trash/js-old-230729/utils/regex.js +0 -10
  67. package/trash/js-old-230729/utils/string.js +0 -107
  68. package/trash/js-old-230729/waypoints/README.md +0 -3
  69. package/trash/js-old-230729/waypoints/anchor-menu.js +0 -76
  70. package/trash/js-old-230729/waypoints/element-waypoint.js +0 -75
  71. package/trash/js-old-230729/waypoints/examples/page-link-menu.md +0 -106
  72. package/trash/js-old-230729/waypoints/state-in-attribute.js +0 -32
  73. package/trash/logo-1.svg +0 -13
  74. package/trash/logo.svg +0 -16
  75. package/trash/scss-before-cqc-update/README.md +0 -58
  76. package/trash/scss-before-cqc-update/_breakpoint.scss +0 -190
  77. package/trash/scss-before-cqc-update/_button.scss +0 -229
  78. package/trash/scss-before-cqc-update/_calculate.scss +0 -65
  79. package/trash/scss-before-cqc-update/_color.scss +0 -211
  80. package/trash/scss-before-cqc-update/_cssvar.scss +0 -116
  81. package/trash/scss-before-cqc-update/_element.scss +0 -275
  82. package/trash/scss-before-cqc-update/_index.scss +0 -29
  83. package/trash/scss-before-cqc-update/_layout.scss +0 -247
  84. package/trash/scss-before-cqc-update/_path.scss +0 -59
  85. package/trash/scss-before-cqc-update/_selector.scss +0 -82
  86. package/trash/scss-before-cqc-update/_typography.scss +0 -322
  87. package/trash/scss-before-cqc-update/_units.scss +0 -48
  88. package/trash/scss-before-cqc-update/_utility.scss +0 -13
  89. package/trash/scss-before-cqc-update/_utils.scss +0 -211
  90. package/trash/scss-before-cqc-update/base/_color.scss +0 -14
  91. package/trash/scss-before-cqc-update/base/_elements.scss +0 -189
  92. package/trash/scss-before-cqc-update/base/_index.scss +0 -63
  93. package/trash/scss-before-cqc-update/base/_keyframes.scss +0 -74
  94. package/trash/scss-before-cqc-update/base/_layout.scss +0 -88
  95. package/trash/scss-before-cqc-update/base/_normalize.scss +0 -316
  96. package/trash/scss-before-cqc-update/base/_typography.scss +0 -42
  97. package/trash/scss-before-cqc-update/components/README.md +0 -5
  98. package/trash/scss-before-cqc-update/components/README.todos +0 -15
  99. package/trash/scss-before-cqc-update/components/_button.scss +0 -96
  100. package/trash/scss-before-cqc-update/components/_grid.scss +0 -671
  101. package/trash/scss-before-cqc-update/components/_index.scss +0 -70
  102. package/trash/scss-before-cqc-update/components/_links.scss +0 -35
  103. package/trash/scss-before-cqc-update/components/_list-lines.scss +0 -74
  104. package/trash/scss-before-cqc-update/components/_list-ordered.scss +0 -17
  105. package/trash/scss-before-cqc-update/components/_list-unordered.scss +0 -22
  106. package/trash/scss-before-cqc-update/components/_rule.scss +0 -94
  107. package/trash/scss-before-cqc-update/helpers/_color.scss +0 -15
  108. package/trash/scss-before-cqc-update/helpers/_display.scss +0 -73
  109. package/trash/scss-before-cqc-update/helpers/_index.scss +0 -68
  110. package/trash/scss-before-cqc-update/helpers/_print.scss +0 -59
  111. package/trash/scss-before-cqc-update/helpers/_typography.scss +0 -73
  112. package/trash/scss-before-cqc-update/helpers/_units.scss +0 -79
  113. package/trash/scss-before-cqc-update/helpers/_utilities.scss +0 -88
  114. package/trash/scss-before-cqc-update/stylesheets/README.md +0 -3
  115. package/trash/scss-before-cqc-update/stylesheets/full.scss +0 -17
  116. package/trash/scss-old/README.md +0 -58
  117. package/trash/scss-old/_breakpoint.scss +0 -140
  118. package/trash/scss-old/_button.scss +0 -223
  119. package/trash/scss-old/_calculate.scss +0 -64
  120. package/trash/scss-old/_color.scss +0 -200
  121. package/trash/scss-old/_element.scss +0 -262
  122. package/trash/scss-old/_grid.scss +0 -558
  123. package/trash/scss-old/_index.scss +0 -25
  124. package/trash/scss-old/_layout.scss +0 -170
  125. package/trash/scss-old/_path.scss +0 -58
  126. package/trash/scss-old/_selector.scss +0 -81
  127. package/trash/scss-old/_typography.scss +0 -320
  128. package/trash/scss-old/_units.scss +0 -47
  129. package/trash/scss-old/_utility.scss +0 -12
  130. package/trash/scss-old/_utils.scss +0 -186
  131. package/trash/scss-old/base/_color.scss +0 -13
  132. package/trash/scss-old/base/_elements.scss +0 -183
  133. package/trash/scss-old/base/_index.scss +0 -62
  134. package/trash/scss-old/base/_keyframes.scss +0 -74
  135. package/trash/scss-old/base/_layout.scss +0 -81
  136. package/trash/scss-old/base/_normalize.scss +0 -316
  137. package/trash/scss-old/base/_typography.scss +0 -42
  138. package/trash/scss-old/components/README.md +0 -5
  139. package/trash/scss-old/components/README.todos +0 -15
  140. package/trash/scss-old/components/_button.scss +0 -74
  141. package/trash/scss-old/components/_index.scss +0 -63
  142. package/trash/scss-old/components/_links.scss +0 -34
  143. package/trash/scss-old/components/_list-lines.scss +0 -73
  144. package/trash/scss-old/components/_list-ordered.scss +0 -16
  145. package/trash/scss-old/components/_list-unordered.scss +0 -21
  146. package/trash/scss-old/components/_rule.scss +0 -84
  147. package/trash/scss-old/helpers/_color.scss +0 -14
  148. package/trash/scss-old/helpers/_display.scss +0 -68
  149. package/trash/scss-old/helpers/_index.scss +0 -67
  150. package/trash/scss-old/helpers/_print.scss +0 -59
  151. package/trash/scss-old/helpers/_typography.scss +0 -73
  152. package/trash/scss-old/helpers/_units.scss +0 -68
  153. package/trash/scss-old/helpers/_utilities.scss +0 -82
  154. package/trash/scss-old/packages/README.md +0 -3
  155. package/trash/scss-old/packages/everything.scss +0 -17
  156. package/trash/scss-old-2/README.md +0 -58
  157. package/trash/scss-old-2/_breakpoint.scss +0 -139
  158. package/trash/scss-old-2/_button.scss +0 -223
  159. package/trash/scss-old-2/_calculate.scss +0 -64
  160. package/trash/scss-old-2/_color.scss +0 -202
  161. package/trash/scss-old-2/_element.scss +0 -263
  162. package/trash/scss-old-2/_grid.scss +0 -558
  163. package/trash/scss-old-2/_index.scss +0 -25
  164. package/trash/scss-old-2/_layout.scss +0 -170
  165. package/trash/scss-old-2/_path.scss +0 -58
  166. package/trash/scss-old-2/_selector.scss +0 -81
  167. package/trash/scss-old-2/_typography.scss +0 -320
  168. package/trash/scss-old-2/_units.scss +0 -47
  169. package/trash/scss-old-2/_utility.scss +0 -12
  170. package/trash/scss-old-2/_utils.scss +0 -186
  171. package/trash/scss-old-2/base/_color.scss +0 -13
  172. package/trash/scss-old-2/base/_elements.scss +0 -182
  173. package/trash/scss-old-2/base/_index.scss +0 -62
  174. package/trash/scss-old-2/base/_keyframes.scss +0 -73
  175. package/trash/scss-old-2/base/_layout.scss +0 -83
  176. package/trash/scss-old-2/base/_normalize.scss +0 -315
  177. package/trash/scss-old-2/base/_typography.scss +0 -41
  178. package/trash/scss-old-2/components/README.md +0 -5
  179. package/trash/scss-old-2/components/README.todos +0 -15
  180. package/trash/scss-old-2/components/_button.scss +0 -95
  181. package/trash/scss-old-2/components/_index.scss +0 -63
  182. package/trash/scss-old-2/components/_links.scss +0 -33
  183. package/trash/scss-old-2/components/_list-lines.scss +0 -73
  184. package/trash/scss-old-2/components/_list-ordered.scss +0 -16
  185. package/trash/scss-old-2/components/_list-unordered.scss +0 -21
  186. package/trash/scss-old-2/components/_rule.scss +0 -84
  187. package/trash/scss-old-2/helpers/_color.scss +0 -14
  188. package/trash/scss-old-2/helpers/_display.scss +0 -67
  189. package/trash/scss-old-2/helpers/_index.scss +0 -67
  190. package/trash/scss-old-2/helpers/_print.scss +0 -58
  191. package/trash/scss-old-2/helpers/_typography.scss +0 -72
  192. package/trash/scss-old-2/helpers/_units.scss +0 -68
  193. package/trash/scss-old-2/helpers/_utilities.scss +0 -81
  194. package/trash/scss-old-2/packages/README.md +0 -3
  195. package/trash/scss-old-2/packages/everything.scss +0 -17
  196. package/trash/scss-old-230729/README.md +0 -58
  197. package/trash/scss-old-230729/_breakpoint.scss +0 -139
  198. package/trash/scss-old-230729/_button.scss +0 -223
  199. package/trash/scss-old-230729/_calculate.scss +0 -64
  200. package/trash/scss-old-230729/_color.scss +0 -202
  201. package/trash/scss-old-230729/_element.scss +0 -273
  202. package/trash/scss-old-230729/_grid.scss +0 -694
  203. package/trash/scss-old-230729/_index.scss +0 -25
  204. package/trash/scss-old-230729/_layout.scss +0 -193
  205. package/trash/scss-old-230729/_path.scss +0 -58
  206. package/trash/scss-old-230729/_selector.scss +0 -81
  207. package/trash/scss-old-230729/_typography.scss +0 -320
  208. package/trash/scss-old-230729/_units.scss +0 -47
  209. package/trash/scss-old-230729/_utility.scss +0 -12
  210. package/trash/scss-old-230729/_utils.scss +0 -186
  211. package/trash/scss-old-230729/base/_color.scss +0 -13
  212. package/trash/scss-old-230729/base/_elements.scss +0 -188
  213. package/trash/scss-old-230729/base/_index.scss +0 -62
  214. package/trash/scss-old-230729/base/_keyframes.scss +0 -73
  215. package/trash/scss-old-230729/base/_layout.scss +0 -83
  216. package/trash/scss-old-230729/base/_normalize.scss +0 -315
  217. package/trash/scss-old-230729/base/_typography.scss +0 -41
  218. package/trash/scss-old-230729/components/README.md +0 -5
  219. package/trash/scss-old-230729/components/README.todos +0 -15
  220. package/trash/scss-old-230729/components/_button.scss +0 -95
  221. package/trash/scss-old-230729/components/_index.scss +0 -63
  222. package/trash/scss-old-230729/components/_links.scss +0 -34
  223. package/trash/scss-old-230729/components/_list-lines.scss +0 -73
  224. package/trash/scss-old-230729/components/_list-ordered.scss +0 -16
  225. package/trash/scss-old-230729/components/_list-unordered.scss +0 -21
  226. package/trash/scss-old-230729/components/_rule.scss +0 -93
  227. package/trash/scss-old-230729/helpers/_color.scss +0 -14
  228. package/trash/scss-old-230729/helpers/_display.scss +0 -73
  229. package/trash/scss-old-230729/helpers/_index.scss +0 -67
  230. package/trash/scss-old-230729/helpers/_print.scss +0 -58
  231. package/trash/scss-old-230729/helpers/_typography.scss +0 -72
  232. package/trash/scss-old-230729/helpers/_units.scss +0 -68
  233. package/trash/scss-old-230729/helpers/_utilities.scss +0 -87
  234. package/trash/scss-old-230729/packages/README.md +0 -3
  235. package/trash/scss-old-230729/packages/everything.scss +0 -17
  236. package/trash/vue/directives/background-image-url.js +0 -12
  237. package/trash/vue/helpers/add-required-components.js +0 -14
  238. package/trash/vue/ui/CollapsibleRegion/CollapsibleRegion.vue +0 -277
  239. package/trash/vue/ui/CollapsibleRegion/Demo.vue +0 -101
  240. package/trash/vue/ui/Dropdown/Dropdown.vue +0 -184
  241. package/trash/vue/ui/Modals/components/Modal.vue +0 -49
  242. package/trash/vue/ui/Modals/components/Modals.vue +0 -103
  243. package/trash/vue/ui/Modals/plugin.js +0 -215
  244. package/trash/vue/ui/Modals/readme.note +0 -10
  245. package/trash/vue/ui/Modals/reference/example-usage.vue +0 -27
  246. package/trash/vue/ui/Modals/reference/wcag-example/dialog.js +0 -324
@@ -1,316 +0,0 @@
1
- ////
2
- /// @group base-normalize
3
- ////
4
-
5
- @use "../utils";
6
- @use "../button";
7
-
8
-
9
- /// Prints the normalize stylesheet. We are using modern-normalize 1.1.0
10
- /// @name base-normalize-styles
11
- /// @link https://www.npmjs.com/package/modern-normalize Modern Normalize (NPM)
12
- /// @example scss
13
- /// @include ulu.base-normalize-styles();
14
-
15
- @mixin styles {
16
-
17
- @include utils.file-header('base', 'normalize');
18
-
19
- /*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
20
-
21
- /*
22
- Document
23
- ========
24
- */
25
-
26
- /*
27
- Use a better box model (opinionated).
28
- */
29
-
30
- // *,
31
- // ::before,
32
- // ::after {
33
- // box-sizing: border-box;
34
- // }
35
-
36
- /*
37
- Use a more readable tab size (opinionated).
38
- */
39
-
40
- html {
41
- -moz-tab-size: 4;
42
- tab-size: 4;
43
- }
44
-
45
- /*
46
- 1. Correct the line height in all browsers.
47
- 2. Prevent adjustments of font size after orientation changes in iOS.
48
- */
49
-
50
- // html {
51
- // line-height: 1.15; /* 1 */
52
- // -webkit-text-size-adjust: 100%; /* 2 */
53
- // }
54
-
55
- /*
56
- Sections
57
- ========
58
- */
59
-
60
- /*
61
- Remove the margin in all browsers.
62
- */
63
-
64
- // body {
65
- // margin: 0;
66
- // }
67
-
68
- /*
69
- Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
70
- */
71
-
72
- // body {
73
- // font-family:
74
- // system-ui,
75
- // -apple-system, /* Firefox supports this but not yet `system-ui` */
76
- // 'Segoe UI',
77
- // Roboto,
78
- // Helvetica,
79
- // Arial,
80
- // sans-serif,
81
- // 'Apple Color Emoji',
82
- // 'Segoe UI Emoji';
83
- // }
84
-
85
- /*
86
- Grouping content
87
- ================
88
- */
89
-
90
- /*
91
- 1. Add the correct height in Firefox.
92
- 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
93
- */
94
-
95
-
96
-
97
- /*
98
- Text-level semantics
99
- ====================
100
- */
101
-
102
- /*
103
- Add the correct text decoration in Chrome, Edge, and Safari.
104
- */
105
-
106
- abbr[title] {
107
- text-decoration: underline dotted;
108
- }
109
-
110
- /*
111
- Add the correct font weight in Edge and Safari.
112
- */
113
-
114
- // b,
115
- // strong {
116
- // font-weight: bolder;
117
- // }
118
-
119
- /*
120
- 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
121
- 2. Correct the odd 'em' font sizing in all browsers.
122
- */
123
-
124
- // code,
125
- // kbd,
126
- // samp,
127
- // pre {
128
- // font-family:
129
- // ui-monospace,
130
- // SFMono-Regular,
131
- // Consolas,
132
- // 'Liberation Mono',
133
- // Menlo,
134
- // monospace; /* 1 */
135
- // font-size: 1em; /* 2 */
136
- // }
137
-
138
- /*
139
- Add the correct font size in all browsers.
140
- */
141
-
142
- // small {
143
- // font-size: 80%;
144
- // }
145
-
146
- /*
147
- Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
148
- */
149
-
150
- // sub,
151
- // sup {
152
- // font-size: 75%;
153
- // line-height: 0;
154
- // position: relative;
155
- // vertical-align: baseline;
156
- // }
157
-
158
- // sub {
159
- // bottom: -0.25em;
160
- // }
161
-
162
- // sup {
163
- // top: -0.5em;
164
- // }
165
-
166
- /*
167
- Tabular data
168
- ============
169
- */
170
-
171
- /*
172
- 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
173
- 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
174
- */
175
-
176
- table {
177
- text-indent: 0; /* 1 */
178
- // border-color: inherit; /* 2 */
179
- }
180
-
181
- /*
182
- Forms
183
- =====
184
- */
185
-
186
- /*
187
- 1. Change the font styles in all browsers.
188
- 2. Remove the margin in Firefox and Safari.
189
- */
190
-
191
- button,
192
- input,
193
- optgroup,
194
- select,
195
- textarea {
196
- font-family: inherit; /* 1 */
197
- // font-size: 100%; /* 1 */
198
- // line-height: 1.15; /* 1 */
199
- line-height: inherit;
200
- font-size: 1rem;
201
- margin: 0; /* 2 */
202
- }
203
-
204
- /*
205
- Remove the inheritance of text transform in Edge and Firefox.
206
- 1. Remove the inheritance of text transform in Firefox.
207
- */
208
-
209
- button,
210
- select { /* 1 */
211
- text-transform: none;
212
- }
213
-
214
- /*
215
- Correct the inability to style clickable types in iOS and Safari.
216
- */
217
-
218
- button,
219
- [type='button'],
220
- [type='reset'],
221
- [type='submit'] {
222
- @include button.reset();
223
- }
224
-
225
- /*
226
- Remove the inner border and padding in Firefox.
227
- */
228
-
229
- ::-moz-focus-inner {
230
- border-style: none;
231
- padding: 0;
232
- }
233
-
234
- /*
235
- Restore the focus styles unset by the previous rule.
236
- */
237
-
238
- :-moz-focusring {
239
- outline: 1px dotted ButtonText;
240
- }
241
-
242
- /*
243
- Remove the additional ':invalid' styles in Firefox.
244
- See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
245
- */
246
-
247
- :-moz-ui-invalid {
248
- box-shadow: none;
249
- }
250
-
251
- /*
252
- Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
253
- */
254
-
255
- legend {
256
- padding: 0;
257
- }
258
-
259
- /*
260
- Add the correct vertical alignment in Chrome and Firefox.
261
- */
262
-
263
- progress {
264
- vertical-align: baseline;
265
- }
266
-
267
- /*
268
- Correct the cursor style of increment and decrement buttons in Safari.
269
- */
270
-
271
- ::-webkit-inner-spin-button,
272
- ::-webkit-outer-spin-button {
273
- height: auto;
274
- }
275
-
276
- /*
277
- 1. Correct the odd appearance in Chrome and Safari.
278
- 2. Correct the outline style in Safari.
279
- */
280
-
281
- [type='search'] {
282
- -webkit-appearance: textfield; /* 1 */
283
- outline-offset: -2px; /* 2 */
284
- }
285
-
286
- /*
287
- Remove the inner padding in Chrome and Safari on macOS.
288
- */
289
-
290
- ::-webkit-search-decoration {
291
- -webkit-appearance: none;
292
- }
293
-
294
- /*
295
- 1. Correct the inability to style clickable types in iOS and Safari.
296
- 2. Change font properties to 'inherit' in Safari.
297
- */
298
-
299
- ::-webkit-file-upload-button {
300
- -webkit-appearance: button; /* 1 */
301
- font: inherit; /* 2 */
302
- }
303
-
304
- /*
305
- Interactive
306
- ===========
307
- */
308
-
309
- /*
310
- Add the correct display in Chrome and Safari.
311
- */
312
-
313
- summary {
314
- display: list-item;
315
- }
316
- }
@@ -1,42 +0,0 @@
1
- ////
2
- /// @group base-typography
3
- ////
4
-
5
- @use "sass:map";
6
- @use "../typography";
7
- @use "../selector";
8
- @use "../utils";
9
-
10
- /// Prints elements base styles
11
- /// @name base-typography-styles
12
- /// @example scss
13
- /// @include ulu.base-typography-styles();
14
- /// @example html {preview} Example of type size as base unprefixed
15
- /// <span class="h1">A</span>
16
- /// <span class="h2">A</span>
17
- /// <span class="h3">A</span>
18
- /// <span class="h4">A</span>
19
- /// <span class="h5">A</span>
20
- /// <span class="h6">A</span>
21
-
22
- @mixin styles {
23
-
24
- @include utils.file-header('base', 'typography');
25
-
26
- $prefix: selector.class("type");
27
-
28
- // Print base typographic sizes
29
- @each $size, $values in typography.$sizes {
30
- @if (map.get($values, "base-class")) {
31
- @if (map.get($values, "base-class-prefixed")) {
32
- #{ $prefix }-#{$size} {
33
- @include typography.size($size);
34
- }
35
- } @else {
36
- .#{$size} {
37
- @include typography.size($size);
38
- }
39
- }
40
- }
41
- }
42
- }
@@ -1,5 +0,0 @@
1
- # About Components
2
-
3
- - Won't always offer the ability to rename styles
4
- - Components are reusable elements
5
- - They contain styles (unlike libraries)
@@ -1,15 +0,0 @@
1
- Todos:
2
- ☐ Need to move links and buttons and rules to base
3
- ☐ Leave components for complicated selectors, that shouldn't need to be as systemtized or configured. If they need to be configured or altered users can copy the pattern in their own styles
4
-
5
- ☐ Could consider changing helpers and base to @important
6
- - styles
7
- * all base and helper styles (configurable, usually needed in all sites)
8
- * Maybe user chooses where these end up
9
- * Configuration (base vs override)
10
- - components
11
- * More complicated components
12
- *
13
- * May override base styles
14
- * May contain layouts
15
- * May wrap or contain base (button vs button-group)
@@ -1,74 +0,0 @@
1
- ////
2
- /// @group components-button Button
3
- ////
4
-
5
- @use "sass:map";
6
- // @use "sass:selector" as sassSelector;
7
- @use "../typography";
8
- @use "../selector";
9
- @use "../utils";
10
- @use "../button";
11
-
12
- /// Prints button component styles
13
- /// @name component-button-styles
14
- /// @example scss
15
- /// @include ulu.component-button-styles();
16
- /// @example html {preview}
17
- /// <a class="button" href="#">Button Default</a>
18
-
19
- @mixin styles {
20
- @include utils.file-header('component', 'button');
21
-
22
- $prefix: selector.class("button");
23
- $icon-selector: "#{ $prefix }--icon";
24
- $printDescendant: "#{ $prefix }--icon";
25
-
26
- #{ $prefix } {
27
- @include button.default();
28
- }
29
- #{ $prefix }__icon {
30
- &:first-child {
31
- margin-right: 1em;
32
- }
33
- &:last-child {
34
- margin-left: 1em;
35
- }
36
- }
37
-
38
- @each $size, $values in button.$sizes {
39
- #{ $prefix }--#{$size} {
40
- @include button.size($size);
41
- }
42
- }
43
-
44
- @each $style, $values in button.$styles {
45
- #{ $prefix }--#{$style} {
46
- @include button.style($style);
47
- }
48
- }
49
-
50
- #{ $icon-selector } {
51
- display: inline-flex;
52
- align-items: center;
53
- justify-content: center;
54
- min-width: 0;
55
- max-width: none;
56
- border-radius: button.get("icon-border-radius");
57
- font-size: button.get("icon-font-size");
58
- width: button.get("icon-size");
59
- height: button.get("icon-size");
60
- padding: 0 !important;
61
- }
62
-
63
- @each $size, $values in button.$sizes {
64
- $icon-size: map.get($values, "icon-size");
65
- $icon-font-size: map.get($values, "icon-font-size");
66
- @if ($icon-size or $icon-font-size) {
67
- #{ $prefix }--#{$size}#{ $icon-selector } {
68
- width: $icon-size;
69
- height: $icon-size;
70
- font-size: $icon-font-size;
71
- }
72
- }
73
- }
74
- }
@@ -1,63 +0,0 @@
1
- ////
2
- /// @group components (import all components)
3
- ////
4
-
5
- @forward "links" as links-*;
6
- @forward "button" as button-*;
7
- @forward "rule" as rule-*;
8
- @forward "list-lines" as list-lines-*;
9
- @forward "list-unordered" as list-unordered-*;
10
- @forward "list-ordered" as list-ordered-*;
11
-
12
- @use "sass:map";
13
-
14
- @use "../utils";
15
- @use "links";
16
- @use "button";
17
- @use "rule";
18
- @use "list-lines";
19
- @use "list-unordered";
20
- @use "list-ordered";
21
-
22
- // Used to check against user's includes
23
-
24
- $-all-includes: (
25
- "links" : true,
26
- "button" : true,
27
- "rule" : true,
28
- "list-lines" : true,
29
- "list-unordered" : true,
30
- "list-ordered" : true
31
- );
32
-
33
- /// Prints all Components styles
34
- /// @name component-styles
35
- /// @param {List} $includes A list of changes to module includes
36
- /// @example scss
37
- /// @include ulu.component-styles();
38
-
39
- @mixin styles($includes: null) {
40
- @include utils.file-header("components");
41
- @if $includes {
42
- @include utils.require-list-contains($-all-includes, $includes);
43
- $-all-includes: map.merge($-all-includes, $includes) !global;
44
- }
45
- @if (map.get($-all-includes, "links")) {
46
- @include links.styles;
47
- }
48
- @if (map.get($-all-includes, "button")) {
49
- @include button.styles;
50
- }
51
- @if (map.get($-all-includes, "rule")) {
52
- @include rule.styles;
53
- }
54
- @if (map.get($-all-includes, "list-lines")) {
55
- @include list-lines.styles;
56
- }
57
- @if (map.get($-all-includes, "list-unordered")) {
58
- @include list-unordered.styles;
59
- }
60
- @if (map.get($-all-includes, "list-ordered")) {
61
- @include list-unordered.styles;
62
- }
63
- }
@@ -1,34 +0,0 @@
1
- ////
2
- /// @group components-links Links
3
- ////
4
-
5
- @use "../element";
6
- @use "../selector";
7
-
8
- /// Link compontent styles (.link)
9
- /// - Contextual link styling
10
- /// - Styles all links within as normal text hyperlinks (hover, visited)
11
- /// @name component-links-styles
12
- /// @example scss
13
- /// @include ulu.component-links-styles();
14
-
15
- @mixin styles {
16
- $selector: selector.class("links");
17
- #{ $selector } {
18
- a {
19
- @include element.link(true, true);
20
- }
21
- }
22
- #{ $selector }-no-visited {
23
- a {
24
- @include element.link();
25
- }
26
- }
27
- $selectorSingle: selector.class("link");
28
- #{ $selectorSingle } {
29
- @include element.link(true, true);
30
- }
31
- #{ $selectorSingle }-no-visited {
32
- @include element.link();
33
- }
34
- }
@@ -1,73 +0,0 @@
1
- ////
2
- /// @group components-list-lines List Lines
3
- ////
4
-
5
- @use "sass:map";
6
-
7
- @use "../element";
8
- @use "../color";
9
- @use "../typography";
10
- @use "../utils";
11
-
12
- /// Module Config
13
-
14
- $config: (
15
- "border-first" : true,
16
- "border-last" : true,
17
- "margin-top": 0,
18
- "margin-bottom": 1em,
19
- "padding-between" : 1em
20
- ) !default;
21
-
22
- /// Change modules $config
23
- /// @param {Map} $changes Map of changes
24
- /// @include module-name.set(( "property" : value ));
25
-
26
- @mixin set($changes) {
27
- $config: map.merge($config, $changes) !global;
28
- }
29
-
30
- /// Get a config option
31
- /// @param {Map} $name Name of property
32
- /// @include module-name.get("property");
33
-
34
- @function get($name) {
35
- @return utils.require-map-get($config, $name, "grid [config]");
36
- }
37
-
38
- /// Output component styles
39
-
40
- @mixin inner-styles {
41
- $border: element.get-rule-style("light") !default;
42
- list-style: none;
43
- margin: get("margin-top") 0 get("margin-bottom") 0;
44
- padding: 0;
45
- @if (get("border-first")) {
46
- border-top: $border;
47
- }
48
- >li {
49
- border-bottom: $border;
50
- padding: get("padding-between") 0;
51
- >*:last-child {
52
- margin-bottom: 0;
53
- }
54
- @if (not get("border-last")) {
55
- &:last-child {
56
- border-bottom-width: 0;
57
- }
58
- }
59
- }
60
- }
61
-
62
- @mixin styles {
63
-
64
- .list-lines {
65
- @include inner-styles;
66
- }
67
- .list-lines--dense {
68
- >li {
69
- padding: 0.5em 0;
70
- line-height: typography.get("line-height-dense");
71
- }
72
- }
73
- }
@@ -1,16 +0,0 @@
1
- ////
2
- /// @group components-list-ordered List Ordered
3
- ////
4
-
5
- @use "../element";
6
- @use "../color";
7
- @use "../selector";
8
-
9
- /// Output styles
10
-
11
- @mixin styles {
12
- $prefix: selector.class("list-ordered");
13
- #{ $prefix } {
14
- @include element.styles-ordered-list();
15
- }
16
- }
@@ -1,21 +0,0 @@
1
- ////
2
- /// @group components-list-unordered List Unordered
3
- ////
4
-
5
- @use "../element";
6
- @use "../color";
7
- @use "../selector";
8
-
9
- /// Output styles
10
-
11
- @mixin styles {
12
- $prefix: selector.class("list-unordered");
13
- #{ $prefix } {
14
- @include element.styles-unordered-list();
15
- li {
16
- &::marker {
17
- color: color.get("bullet");
18
- }
19
- }
20
- }
21
- }