cacao-css 3.20.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/.prettierignore +10 -0
  2. package/.prettierrc.json +13 -0
  3. package/CHANGELOG.md +16 -4
  4. package/LICENSE +1 -1
  5. package/README.md +8 -472
  6. package/imports.css +282 -0
  7. package/package.json +2 -51
  8. package/src/aspect/aspect.css +23 -0
  9. package/src/base/base.css +44 -0
  10. package/src/config.css +8 -0
  11. package/src/display/core/align.css +15 -0
  12. package/src/display/core/display.css +33 -0
  13. package/src/display/core/flex.css +19 -0
  14. package/src/display/core/justify.css +23 -0
  15. package/src/display/core/order.css +23 -0
  16. package/src/display/lg/align.css +17 -0
  17. package/src/display/lg/display.css +25 -0
  18. package/src/display/lg/flex.css +21 -0
  19. package/src/display/lg/justify.css +25 -0
  20. package/src/display/lg/order.css +25 -0
  21. package/src/display/md/align.css +17 -0
  22. package/src/display/md/display.css +25 -0
  23. package/src/display/md/flex.css +21 -0
  24. package/src/display/md/justify.css +25 -0
  25. package/src/display/md/order.css +25 -0
  26. package/src/display/sm/align.css +17 -0
  27. package/src/display/sm/display.css +25 -0
  28. package/src/display/sm/flex.css +21 -0
  29. package/src/display/sm/justify.css +25 -0
  30. package/src/display/sm/order.css +25 -0
  31. package/src/display/xl/align.css +17 -0
  32. package/src/display/xl/display.css +25 -0
  33. package/src/display/xl/flex.css +21 -0
  34. package/src/display/xl/justify.css +25 -0
  35. package/src/display/xl/order.css +25 -0
  36. package/src/embed/embed.css +21 -0
  37. package/src/fit/fit.css +11 -0
  38. package/src/{css/components/header/header.css → grid/core/col-1.css} +3 -6
  39. package/src/grid/core/col-10.css +43 -0
  40. package/src/grid/core/col-11.css +47 -0
  41. package/src/grid/core/col-12.css +51 -0
  42. package/src/grid/core/col-2.css +11 -0
  43. package/src/{css/components/breadcrumb/breadcrumb.css → grid/core/col-3.css} +8 -9
  44. package/src/grid/core/col-4.css +19 -0
  45. package/src/grid/core/col-5.css +23 -0
  46. package/src/grid/core/col-6.css +27 -0
  47. package/src/grid/core/col-7.css +31 -0
  48. package/src/grid/core/col-8.css +35 -0
  49. package/src/grid/core/col-9.css +39 -0
  50. package/src/grid/grid.css +19 -0
  51. package/src/{css/components/form/required.css → grid/lg/col-1.css} +5 -5
  52. package/src/grid/lg/col-10.css +45 -0
  53. package/src/grid/lg/col-11.css +49 -0
  54. package/src/grid/lg/col-12.css +53 -0
  55. package/src/grid/lg/col-2.css +13 -0
  56. package/src/grid/lg/col-3.css +17 -0
  57. package/src/grid/lg/col-4.css +21 -0
  58. package/src/grid/lg/col-5.css +25 -0
  59. package/src/grid/lg/col-6.css +29 -0
  60. package/src/grid/lg/col-7.css +33 -0
  61. package/src/grid/lg/col-8.css +37 -0
  62. package/src/grid/lg/col-9.css +41 -0
  63. package/src/{css/components/navigation/bar.css → grid/md/col-1.css} +5 -7
  64. package/src/grid/md/col-10.css +45 -0
  65. package/src/grid/md/col-11.css +49 -0
  66. package/src/grid/md/col-12.css +53 -0
  67. package/src/grid/md/col-2.css +13 -0
  68. package/src/grid/md/col-3.css +17 -0
  69. package/src/grid/md/col-4.css +21 -0
  70. package/src/grid/md/col-5.css +25 -0
  71. package/src/grid/md/col-6.css +29 -0
  72. package/src/grid/md/col-7.css +33 -0
  73. package/src/grid/md/col-8.css +37 -0
  74. package/src/grid/md/col-9.css +41 -0
  75. package/src/grid/sm/col-1.css +9 -0
  76. package/src/grid/sm/col-10.css +45 -0
  77. package/src/grid/sm/col-11.css +49 -0
  78. package/src/grid/sm/col-12.css +53 -0
  79. package/src/grid/sm/col-2.css +13 -0
  80. package/src/grid/sm/col-3.css +17 -0
  81. package/src/grid/sm/col-4.css +21 -0
  82. package/src/grid/sm/col-5.css +25 -0
  83. package/src/grid/sm/col-6.css +29 -0
  84. package/src/grid/sm/col-7.css +33 -0
  85. package/src/grid/sm/col-8.css +37 -0
  86. package/src/grid/sm/col-9.css +41 -0
  87. package/src/grid/xl/col-1.css +9 -0
  88. package/src/grid/xl/col-10.css +45 -0
  89. package/src/grid/xl/col-11.css +49 -0
  90. package/src/grid/xl/col-12.css +53 -0
  91. package/src/grid/xl/col-2.css +13 -0
  92. package/src/grid/xl/col-3.css +17 -0
  93. package/src/grid/xl/col-4.css +21 -0
  94. package/src/grid/xl/col-5.css +25 -0
  95. package/src/grid/xl/col-6.css +29 -0
  96. package/src/grid/xl/col-7.css +33 -0
  97. package/src/grid/xl/col-8.css +37 -0
  98. package/src/grid/xl/col-9.css +41 -0
  99. package/src/gutter/core/all.css +31 -0
  100. package/src/gutter/core/horizontal.css +31 -0
  101. package/src/gutter/core/vertical.css +31 -0
  102. package/src/gutter/lg/all.css +33 -0
  103. package/src/gutter/lg/horizontal.css +33 -0
  104. package/src/gutter/lg/vertical.css +33 -0
  105. package/src/gutter/md/all.css +33 -0
  106. package/src/gutter/md/horizontal.css +33 -0
  107. package/src/gutter/md/vertical.css +33 -0
  108. package/src/gutter/sm/all.css +33 -0
  109. package/src/gutter/sm/horizontal.css +33 -0
  110. package/src/gutter/sm/vertical.css +33 -0
  111. package/src/gutter/xl/all.css +33 -0
  112. package/src/gutter/xl/horizontal.css +33 -0
  113. package/src/gutter/xl/vertical.css +33 -0
  114. package/src/image/image.css +30 -0
  115. package/src/links/links.css +18 -0
  116. package/src/margin/core/all.css +27 -0
  117. package/src/margin/core/bottom.css +27 -0
  118. package/src/margin/core/end.css +27 -0
  119. package/src/margin/core/horizontal.css +33 -0
  120. package/src/margin/core/start.css +27 -0
  121. package/src/margin/core/top.css +27 -0
  122. package/src/margin/core/vertical.css +33 -0
  123. package/src/margin/lg/all.css +29 -0
  124. package/src/margin/lg/bottom.css +29 -0
  125. package/src/margin/lg/end.css +29 -0
  126. package/src/margin/lg/horizontal.css +35 -0
  127. package/src/margin/lg/start.css +29 -0
  128. package/src/margin/lg/top.css +29 -0
  129. package/src/margin/lg/vertical.css +35 -0
  130. package/src/margin/md/all.css +29 -0
  131. package/src/margin/md/bottom.css +29 -0
  132. package/src/margin/md/end.css +29 -0
  133. package/src/margin/md/horizontal.css +35 -0
  134. package/src/margin/md/start.css +29 -0
  135. package/src/margin/md/top.css +29 -0
  136. package/src/margin/md/vertical.css +35 -0
  137. package/src/margin/sm/all.css +29 -0
  138. package/src/margin/sm/bottom.css +29 -0
  139. package/src/margin/sm/end.css +29 -0
  140. package/src/margin/sm/horizontal.css +35 -0
  141. package/src/margin/sm/start.css +29 -0
  142. package/src/margin/sm/top.css +29 -0
  143. package/src/margin/sm/vertical.css +35 -0
  144. package/src/margin/xl/all.css +29 -0
  145. package/src/margin/xl/bottom.css +29 -0
  146. package/src/margin/xl/end.css +29 -0
  147. package/src/margin/xl/horizontal.css +35 -0
  148. package/src/margin/xl/start.css +29 -0
  149. package/src/margin/xl/top.css +29 -0
  150. package/src/margin/xl/vertical.css +35 -0
  151. package/src/{css/components/form/success.css → padding/core/all.css} +21 -8
  152. package/src/padding/core/bottom.css +27 -0
  153. package/src/padding/core/end.css +27 -0
  154. package/src/padding/core/horizontal.css +33 -0
  155. package/src/padding/core/start.css +27 -0
  156. package/src/padding/core/top.css +27 -0
  157. package/src/padding/core/vertical.css +33 -0
  158. package/src/padding/lg/all.css +29 -0
  159. package/src/padding/lg/bottom.css +29 -0
  160. package/src/padding/lg/end.css +29 -0
  161. package/src/padding/lg/horizontal.css +35 -0
  162. package/src/padding/lg/start.css +29 -0
  163. package/src/padding/lg/top.css +29 -0
  164. package/src/padding/lg/vertical.css +35 -0
  165. package/src/padding/md/all.css +29 -0
  166. package/src/padding/md/bottom.css +29 -0
  167. package/src/padding/md/end.css +29 -0
  168. package/src/padding/md/horizontal.css +35 -0
  169. package/src/padding/md/start.css +29 -0
  170. package/src/padding/md/top.css +29 -0
  171. package/src/padding/md/vertical.css +35 -0
  172. package/src/padding/sm/all.css +29 -0
  173. package/src/padding/sm/bottom.css +29 -0
  174. package/src/padding/sm/end.css +29 -0
  175. package/src/padding/sm/horizontal.css +35 -0
  176. package/src/padding/sm/start.css +29 -0
  177. package/src/padding/sm/top.css +29 -0
  178. package/src/padding/sm/vertical.css +35 -0
  179. package/src/padding/xl/all.css +29 -0
  180. package/src/padding/xl/bottom.css +29 -0
  181. package/src/padding/xl/end.css +29 -0
  182. package/src/padding/xl/horizontal.css +34 -0
  183. package/src/padding/xl/start.css +29 -0
  184. package/src/padding/xl/top.css +29 -0
  185. package/src/padding/xl/vertical.css +35 -0
  186. package/src/reset/reset.css +47 -0
  187. package/src/{css/utils/background/background.css → size/core/size.css} +7 -1
  188. package/src/size/lg/size.css +13 -0
  189. package/src/size/md/size.css +13 -0
  190. package/src/{css/components/content/content.css → size/sm/size.css} +7 -12
  191. package/src/size/xl/size.css +13 -0
  192. package/src/spacing/spacing.css +15 -0
  193. package/src/{css/components/footer/footer.css → typography/align.css} +4 -3
  194. package/src/typography/transform.css +15 -0
  195. package/src/{css/components/form/label.css → typography/weight.css} +5 -5
  196. package/gulp/config.js +0 -41
  197. package/gulp/css.js +0 -147
  198. package/gulp/utilities.js +0 -150
  199. package/gulpfile.js +0 -37
  200. package/src/css/base/README.md +0 -12
  201. package/src/css/base/base.css +0 -145
  202. package/src/css/base/code.css +0 -36
  203. package/src/css/base/forms.css +0 -67
  204. package/src/css/base/index.css +0 -7
  205. package/src/css/base/print.css +0 -77
  206. package/src/css/base/tables.css +0 -38
  207. package/src/css/base/typography.css +0 -258
  208. package/src/css/components/arrange/arrange.css +0 -157
  209. package/src/css/components/arrange/index.css +0 -1
  210. package/src/css/components/breadcrumb/index.css +0 -1
  211. package/src/css/components/button/README.md +0 -88
  212. package/src/css/components/button/button.css +0 -142
  213. package/src/css/components/button/index.css +0 -1
  214. package/src/css/components/constrain/README.md +0 -65
  215. package/src/css/components/constrain/constrain.css +0 -162
  216. package/src/css/components/constrain/image.css +0 -29
  217. package/src/css/components/constrain/index.css +0 -2
  218. package/src/css/components/container/README.md +0 -28
  219. package/src/css/components/container/container.css +0 -48
  220. package/src/css/components/container/index.css +0 -1
  221. package/src/css/components/content/index.css +0 -1
  222. package/src/css/components/flexembed/README.md +0 -65
  223. package/src/css/components/flexembed/flexembed.css +0 -82
  224. package/src/css/components/flexembed/index.css +0 -1
  225. package/src/css/components/footer/index.css +0 -1
  226. package/src/css/components/form/error.css +0 -21
  227. package/src/css/components/form/index.css +0 -6
  228. package/src/css/components/form/selectmenu.css +0 -92
  229. package/src/css/components/form/textinput.css +0 -60
  230. package/src/css/components/grid/README.md +0 -107
  231. package/src/css/components/grid/grid.css +0 -150
  232. package/src/css/components/grid/index.css +0 -1
  233. package/src/css/components/header/index.css +0 -1
  234. package/src/css/components/image/README.md +0 -66
  235. package/src/css/components/image/caption.css +0 -13
  236. package/src/css/components/image/image.css +0 -59
  237. package/src/css/components/image/index.css +0 -3
  238. package/src/css/components/image/wrapper.css +0 -44
  239. package/src/css/components/index.css +0 -17
  240. package/src/css/components/list/README.md +0 -36
  241. package/src/css/components/list/columns.css +0 -42
  242. package/src/css/components/list/index.css +0 -2
  243. package/src/css/components/list/list.css +0 -162
  244. package/src/css/components/media/README.md +0 -43
  245. package/src/css/components/media/index.css +0 -1
  246. package/src/css/components/media/media.css +0 -161
  247. package/src/css/components/message/index.css +0 -1
  248. package/src/css/components/message/message.css +0 -42
  249. package/src/css/components/navigation/README.md +0 -110
  250. package/src/css/components/navigation/dropdown.css +0 -165
  251. package/src/css/components/navigation/footer.css +0 -59
  252. package/src/css/components/navigation/index.css +0 -7
  253. package/src/css/components/navigation/mainnav.css +0 -73
  254. package/src/css/components/navigation/responsive-overlay.css +0 -129
  255. package/src/css/components/navigation/responsive-pushdown.css +0 -131
  256. package/src/css/components/navigation/sidebar.css +0 -44
  257. package/src/css/components/navigation/small-screen-button.css +0 -99
  258. package/src/css/components/pagination/index.css +0 -1
  259. package/src/css/components/pagination/pagination.css +0 -41
  260. package/src/css/components/triangle/README.md +0 -22
  261. package/src/css/components/triangle/index.css +0 -1
  262. package/src/css/components/triangle/triangle.css +0 -59
  263. package/src/css/config.css +0 -18
  264. package/src/css/main.css +0 -4
  265. package/src/css/utils/align/align.css +0 -26
  266. package/src/css/utils/align/index.css +0 -1
  267. package/src/css/utils/background/index.css +0 -1
  268. package/src/css/utils/content/content.css +0 -11
  269. package/src/css/utils/content/index.css +0 -1
  270. package/src/css/utils/display/display-responsive.css +0 -52
  271. package/src/css/utils/display/display.css +0 -71
  272. package/src/css/utils/display/index.css +0 -2
  273. package/src/css/utils/flex/flex-responsive.css +0 -759
  274. package/src/css/utils/flex/flex.css +0 -253
  275. package/src/css/utils/flex/index.css +0 -2
  276. package/src/css/utils/image/image.css +0 -27
  277. package/src/css/utils/image/index.css +0 -1
  278. package/src/css/utils/index.css +0 -16
  279. package/src/css/utils/layout/index.css +0 -1
  280. package/src/css/utils/layout/layout.css +0 -71
  281. package/src/css/utils/link/index.css +0 -1
  282. package/src/css/utils/link/link.css +0 -95
  283. package/src/css/utils/margin/gutters.css +0 -120
  284. package/src/css/utils/margin/index.css +0 -21
  285. package/src/css/utils/margin/marg-bottom-lg.css +0 -35
  286. package/src/css/utils/margin/marg-bottom-md.css +0 -35
  287. package/src/css/utils/margin/marg-bottom-sm.css +0 -35
  288. package/src/css/utils/margin/marg-bottom.css +0 -34
  289. package/src/css/utils/margin/marg-left-lg.css +0 -35
  290. package/src/css/utils/margin/marg-left-md.css +0 -35
  291. package/src/css/utils/margin/marg-left-sm.css +0 -35
  292. package/src/css/utils/margin/marg-left.css +0 -34
  293. package/src/css/utils/margin/marg-right-lg.css +0 -35
  294. package/src/css/utils/margin/marg-right-md.css +0 -35
  295. package/src/css/utils/margin/marg-right-sm.css +0 -35
  296. package/src/css/utils/margin/marg-right.css +0 -34
  297. package/src/css/utils/margin/marg-top-lg.css +0 -35
  298. package/src/css/utils/margin/marg-top-md.css +0 -35
  299. package/src/css/utils/margin/marg-top-sm.css +0 -35
  300. package/src/css/utils/margin/marg-top.css +0 -34
  301. package/src/css/utils/margin/spaced-lg.css +0 -41
  302. package/src/css/utils/margin/spaced-md.css +0 -41
  303. package/src/css/utils/margin/spaced-sm.css +0 -41
  304. package/src/css/utils/margin/spaced.css +0 -40
  305. package/src/css/utils/padding/gutters-lg.css +0 -40
  306. package/src/css/utils/padding/gutters-md.css +0 -40
  307. package/src/css/utils/padding/gutters-sm.css +0 -40
  308. package/src/css/utils/padding/gutters.css +0 -39
  309. package/src/css/utils/padding/index.css +0 -28
  310. package/src/css/utils/padding/pad-bottom-lg.css +0 -35
  311. package/src/css/utils/padding/pad-bottom-md.css +0 -35
  312. package/src/css/utils/padding/pad-bottom-sm.css +0 -35
  313. package/src/css/utils/padding/pad-bottom.css +0 -34
  314. package/src/css/utils/padding/pad-left-lg.css +0 -35
  315. package/src/css/utils/padding/pad-left-md.css +0 -35
  316. package/src/css/utils/padding/pad-left-sm.css +0 -35
  317. package/src/css/utils/padding/pad-left.css +0 -33
  318. package/src/css/utils/padding/pad-right-lg.css +0 -35
  319. package/src/css/utils/padding/pad-right-md.css +0 -35
  320. package/src/css/utils/padding/pad-right-sm.css +0 -35
  321. package/src/css/utils/padding/pad-right.css +0 -33
  322. package/src/css/utils/padding/pad-top-lg.css +0 -35
  323. package/src/css/utils/padding/pad-top-md.css +0 -35
  324. package/src/css/utils/padding/pad-top-sm.css +0 -35
  325. package/src/css/utils/padding/pad-top.css +0 -34
  326. package/src/css/utils/padding/spaced-lg.css +0 -41
  327. package/src/css/utils/padding/spaced-md.css +0 -41
  328. package/src/css/utils/padding/spaced-sm.css +0 -41
  329. package/src/css/utils/padding/spaced.css +0 -40
  330. package/src/css/utils/position/index.css +0 -1
  331. package/src/css/utils/position/position.css +0 -28
  332. package/src/css/utils/pull/index.css +0 -4
  333. package/src/css/utils/pull/pull-lg.css +0 -130
  334. package/src/css/utils/pull/pull-md.css +0 -130
  335. package/src/css/utils/pull/pull-sm.css +0 -130
  336. package/src/css/utils/pull/pull.css +0 -122
  337. package/src/css/utils/push/index.css +0 -4
  338. package/src/css/utils/push/push-lg.css +0 -130
  339. package/src/css/utils/push/push-md.css +0 -130
  340. package/src/css/utils/push/push-sm.css +0 -130
  341. package/src/css/utils/push/push.css +0 -122
  342. package/src/css/utils/radius/index.css +0 -1
  343. package/src/css/utils/radius/radius.css +0 -35
  344. package/src/css/utils/size/height.css +0 -25
  345. package/src/css/utils/size/index.css +0 -6
  346. package/src/css/utils/size/size-lg.css +0 -184
  347. package/src/css/utils/size/size-md.css +0 -184
  348. package/src/css/utils/size/size-sm.css +0 -184
  349. package/src/css/utils/size/size-xs.css +0 -184
  350. package/src/css/utils/size/size.css +0 -182
  351. package/src/css/utils/size/width.css +0 -25
  352. package/src/css/utils/typography/index.css +0 -4
  353. package/src/css/utils/typography/typography-lg.css +0 -17
  354. package/src/css/utils/typography/typography-md.css +0 -17
  355. package/src/css/utils/typography/typography-sm.css +0 -17
  356. package/src/css/utils/typography/typography.css +0 -241
@@ -1,253 +0,0 @@
1
- /* ==========================================================================
2
- Flex utilities
3
- ========================================================================== */
4
-
5
- /** @define utilities */
6
-
7
- /* Applies to flex container
8
- ========================================================================== */
9
-
10
- /**
11
- * Container
12
- */
13
-
14
- .u-flex {
15
- display: flex !important;
16
- }
17
-
18
- .u-flexInline {
19
- display: inline-flex !important;
20
- }
21
-
22
- /**
23
- * Direction: row
24
- */
25
-
26
- .u-flexRow {
27
- flex-direction: row !important;
28
- }
29
-
30
- .u-flexRowReverse {
31
- flex-direction: row-reverse !important;
32
- }
33
-
34
- /**
35
- * Direction: column
36
- */
37
-
38
- .u-flexCol {
39
- flex-direction: column !important;
40
- }
41
-
42
- .u-flexColReverse {
43
- flex-direction: column-reverse !important;
44
- }
45
-
46
- /**
47
- * Wrap
48
- */
49
-
50
- .u-flexWrap {
51
- flex-wrap: wrap !important;
52
- }
53
-
54
- .u-flexNoWrap {
55
- flex-wrap: nowrap !important;
56
- }
57
-
58
- .u-flexWrapReverse {
59
- flex-wrap: wrap-reverse !important;
60
- }
61
-
62
- /**
63
- * Align items along the main axis of the current line of the flex container
64
- */
65
-
66
- .u-flexJustifyStart {
67
- justify-content: flex-start !important;
68
- }
69
-
70
- .u-flexJustifyEnd {
71
- justify-content: flex-end !important;
72
- }
73
-
74
- .u-flexJustifyCenter {
75
- justify-content: center !important;
76
- }
77
-
78
- .u-flexJustifyBetween {
79
- justify-content: space-between !important;
80
- }
81
-
82
- .u-flexJustifyAround {
83
- justify-content: space-around !important;
84
- }
85
-
86
- /**
87
- * Align items in the cross axis of the current line of the flex container
88
- * Similar to `justify-content` but in the perpendicular direction
89
- */
90
-
91
- .u-flexAlignItemsStart {
92
- align-items: flex-start !important;
93
- }
94
-
95
- .u-flexAlignItemsEnd {
96
- align-items: flex-end !important;
97
- }
98
-
99
- .u-flexAlignItemsCenter {
100
- align-items: center !important;
101
- }
102
-
103
- .u-flexAlignItemsStretch {
104
- align-items: stretch !important;
105
- }
106
-
107
- .u-flexAlignItemsBaseline {
108
- align-items: baseline !important;
109
- }
110
-
111
- /**
112
- * Aligns items within the flex container when there is extra space in the
113
- * cross-axis
114
- *
115
- * Has no effect when there is only one line of flex items.
116
- */
117
-
118
- .u-flexAlignContentStart {
119
- align-content: flex-start !important;
120
- }
121
-
122
- .u-flexAlignContentEnd {
123
- align-content: flex-end !important;
124
- }
125
-
126
- .u-flexAlignContentCenter {
127
- align-content: center !important;
128
- }
129
-
130
- .u-flexAlignContentStretch {
131
- align-content: stretch !important;
132
- }
133
-
134
- .u-flexAlignContentBetween {
135
- align-content: space-between !important;
136
- }
137
-
138
- .u-flexAlignContentAround {
139
- align-content: space-around !important;
140
- }
141
-
142
- /**
143
- * 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
144
- */
145
-
146
- /* postcss-bem-linter: ignore */
147
-
148
- .u-flex > *,
149
- .u-flexInline > * {
150
- flex-shrink: 1; /* 1 */
151
- }
152
-
153
- /* Applies to flex items
154
- ========================================================================== */
155
-
156
- /**
157
- * Override default alignment of single item when specified by `align-items`
158
- */
159
-
160
- .u-flexAlignSelfStart {
161
- align-self: flex-start !important;
162
- }
163
-
164
- .u-flexAlignSelfEnd {
165
- align-self: flex-end !important;
166
- }
167
-
168
- .u-flexAlignSelfCenter {
169
- align-self: center !important;
170
- }
171
-
172
- .u-flexAlignSelfStretch {
173
- align-self: stretch !important;
174
- }
175
-
176
- .u-flexAlignSelfBaseline {
177
- align-self: baseline !important;
178
- }
179
-
180
- .u-flexAlignSelfAuto {
181
- align-self: auto !important;
182
- }
183
-
184
- /**
185
- * Change order without editing underlying HTML
186
- */
187
-
188
- .u-flexOrderFirst {
189
- order: -1 !important;
190
- }
191
-
192
- .u-flexOrderLast {
193
- order: 1 !important;
194
- }
195
-
196
- .u-flexOrderNone {
197
- order: 0 !important;
198
- }
199
-
200
- /**
201
- * Specify the flex grow factor, which determines how much the flex item will
202
- * grow relative to the rest of the flex items in the flex container.
203
- *
204
- * Supports 1-5 proportions
205
- *
206
- * 1. Provide all values to avoid IE10 bug with shorthand flex
207
- * http://git.io/vllC7
208
- */
209
-
210
- .u-flexGrow1 {
211
- flex: 1 1 auto !important; /* 1 */
212
- }
213
-
214
- .u-flexGrow2 {
215
- flex: 2 1 auto !important;
216
- }
217
-
218
- .u-flexGrow3 {
219
- flex: 3 1 auto !important;
220
- }
221
-
222
- .u-flexGrow4 {
223
- flex: 4 1 auto !important;
224
- }
225
-
226
- .u-flexGrow5 {
227
- flex: 5 1 auto !important;
228
- }
229
-
230
- /**
231
- * Aligning with `auto` margins
232
- * http://www.w3.org/TR/css-flexbox-1/#auto-margins
233
- */
234
-
235
- .u-flexExpand {
236
- margin: auto !important;
237
- }
238
-
239
- .u-flexExpandLeft {
240
- margin-left: auto !important;
241
- }
242
-
243
- .u-flexExpandRight {
244
- margin-right: auto !important;
245
- }
246
-
247
- .u-flexExpandTop {
248
- margin-top: auto !important;
249
- }
250
-
251
- .u-flexExpandBottom {
252
- margin-bottom: auto !important;
253
- }
@@ -1,2 +0,0 @@
1
- @import './flex';
2
- @import './flex-responsive.css';
@@ -1,27 +0,0 @@
1
- /* ==========================================================================
2
- Image utilities
3
- ========================================================================== */
4
-
5
- /** @define utilities */
6
-
7
- /**
8
- * Make an image shrink to the width of it's containing element if the element
9
- * is smaller than the image's original width.
10
- */
11
-
12
- .u-img {
13
- height: auto !important;
14
- max-width: 100% !important;
15
- }
16
-
17
- /**
18
- * Make an image scale to the width of it's containing element regardless of
19
- * the image's original width.
20
- */
21
-
22
- .u-imgFull {
23
- display: block !important;
24
- height: auto !important;
25
- width: 100% !important;
26
- }
27
-
@@ -1 +0,0 @@
1
- @import './image';
@@ -1,16 +0,0 @@
1
- @import './align';
2
- @import './background';
3
- @import './content';
4
- @import './display';
5
- @import './flex';
6
- @import './image';
7
- @import './layout';
8
- @import './link';
9
- @import './margin';
10
- @import './padding';
11
- @import './position';
12
- @import './pull';
13
- @import './push';
14
- @import './radius';
15
- @import './size';
16
- @import './typography';
@@ -1 +0,0 @@
1
- @import './layout';
@@ -1,71 +0,0 @@
1
- /* ==========================================================================
2
- Layout utilities
3
- ========================================================================== */
4
-
5
- /** @define utilities */
6
-
7
- /**
8
- * Clearfix
9
- *
10
- * Applied to elements to allow their heights to 'clear' or contain floats.
11
- * http://nicolasgallagher.com/micro-clearfix-hack/
12
- *
13
- * 1. The space content is one way to avoid an Opera bug when the
14
- * contenteditable attribute is included anywhere else in the document.
15
- * Otherwise it causes space to appear at the top and bottom of elements
16
- * that are clearfixed.
17
- * 2. The use of `table` rather than `block` is only necessary if using
18
- * `:before` to contain the top-margins of child elements.
19
- */
20
-
21
- .u-cf::before,
22
- .u-cf::after {
23
- content: ' ' !important; /* 1 */
24
- display: table !important; /* 2 */
25
- }
26
-
27
- .u-cf::after {
28
- clear: both !important;
29
- }
30
-
31
- /**
32
- * Float positioning
33
- */
34
-
35
- .u-floatLeft {
36
- float: left !important;
37
- }
38
-
39
- .u-floatRight {
40
- float: right !important;
41
- }
42
-
43
- /**
44
- * New block formatting context
45
- *
46
- * This affords some useful properties to the element. It won't wrap under
47
- * floats. Will also contain any floated children.
48
- * N.B. This will clip overflow. Use the alternative method below if this is
49
- * problematic.
50
- */
51
-
52
- .u-nbfc {
53
- overflow: hidden !important;
54
- }
55
-
56
- /**
57
- * New block formatting context (alternative)
58
- *
59
- * Alternative method when overflow must not be clipped.
60
- *
61
- * 1. Create a new block formatting context (NBFC).
62
- * 2. Avoid shrink-wrap behaviour of table-cell.
63
- *
64
- * N.B. This breaks down in some browsers when elements within this element
65
- * exceed its width.
66
- */
67
-
68
- .u-nbfcAlt {
69
- display: table-cell !important; /* 1 */
70
- width: 10000px !important; /* 2 */
71
- }
@@ -1 +0,0 @@
1
- @import './link';
@@ -1,95 +0,0 @@
1
- /* ==========================================================================
2
- Link utilities
3
- ========================================================================== */
4
-
5
- /** @define utilities */
6
-
7
- /**
8
- * Clean links
9
- * Reset all link styles
10
- */
11
-
12
- @media (hover: hover) and (pointer: fine) {
13
- .u-linkClean:hover {
14
- color: inherit !important;
15
- text-decoration: none !important;
16
- }
17
- }
18
-
19
- .u-linkClean,
20
- .u-linkClean:focus-visible {
21
- color: inherit !important;
22
- text-decoration: none !important;
23
- }
24
-
25
- /**
26
- * Obvious links
27
- * Ensure the link has an underline in order to standout as an obvious link.
28
- */
29
-
30
- .u-linkObvious {
31
- text-decoration: underline !important;
32
- }
33
-
34
- /**
35
- * Natural links
36
- * Link will inherit the text color of it's parent but will have an underline
37
- * to standout as an obvious link.
38
- */
39
-
40
- .u-linkNatural {
41
- color: inherit !important;
42
- text-decoration: underline !important;
43
- }
44
-
45
- /**
46
- * Subtle links
47
- * Similar to a natural link but the underline is only shown on hover.
48
- */
49
-
50
- .u-linkSubtle {
51
- color: inherit !important;
52
- text-decoration: none !important;
53
- }
54
-
55
- @media (hover: hover) and (pointer: fine) {
56
- .u-linkSubtle:hover {
57
- text-decoration: underline !important;
58
- }
59
- }
60
-
61
- /**
62
- * Link complex
63
- *
64
- * A common pattern is to have a link with several pieces of text and/or an
65
- * icon, where only one piece of text should display the underline when the
66
- * link is the subject of user interaction.
67
- *
68
- * Example HTML:
69
- *
70
- * <a class="u-linkComplex" href="#">
71
- * Link complex
72
- * <span class="u-linkComplexTarget">target</span>
73
- * </a>
74
- */
75
-
76
- @media (hover: hover) and (pointer: fine) {
77
- .u-linkComplex:hover {
78
- text-decoration: none !important;
79
- }
80
- }
81
-
82
- .u-linkComplex,
83
- .u-linkComplex:focus-visible {
84
- text-decoration: none !important;
85
- }
86
-
87
- @media (hover: hover) and (pointer: fine) {
88
- .u-linkComplex:hover .u-linkComplexTarget {
89
- text-decoration: underline !important;
90
- }
91
- }
92
-
93
- .u-linkComplex:focus-visible .u-linkComplexTarget {
94
- text-decoration: underline !important;
95
- }
@@ -1,120 +0,0 @@
1
- /* ==========================================================================
2
- Gutter utilities
3
- ========================================================================== */
4
-
5
- /** @define utilities */
6
-
7
- /**
8
- * Add side gutters of various sizes. Difference with the padding gutters is that this
9
- * uses margins instead of padding
10
- */
11
-
12
- :root {
13
- --utils-margin-gutter: 10px;
14
- }
15
-
16
- .u-guttersMarg0 {
17
- margin-left: 0 !important;
18
- margin-right: 0 !important;
19
- }
20
-
21
- .u-guttersMarg1 {
22
- margin-left: var(--utils-margin-gutter) !important;
23
- margin-right: var(--utils-margin-gutter) !important;
24
- }
25
-
26
- .u-guttersMarg2 {
27
- margin-left: calc(var(--utils-margin-gutter) * 2) !important;
28
- margin-right: calc(var(--utils-margin-gutter) * 2) !important;
29
- }
30
-
31
- .u-guttersMarg3 {
32
- margin-left: calc(var(--utils-margin-gutter) * 3) !important;
33
- margin-right: calc(var(--utils-margin-gutter) * 3) !important;
34
- }
35
-
36
- .u-guttersMarg4 {
37
- margin-left: calc(var(--utils-margin-gutter) * 4) !important;
38
- margin-right: calc(var(--utils-margin-gutter) * 4) !important;
39
- }
40
-
41
- @media (--c-bp-lg) {
42
- .u-lg-guttersMarg0 {
43
- margin-left: 0 !important;
44
- margin-right: 0 !important;
45
- }
46
-
47
- .u-lg-guttersMarg1 {
48
- margin-left: var(--utils-margin-gutter) !important;
49
- margin-right: var(--utils-margin-gutter) !important;
50
- }
51
-
52
- .u-lg-guttersMarg2 {
53
- margin-left: calc(var(--utils-margin-gutter) * 2) !important;
54
- margin-right: calc(var(--utils-margin-gutter) * 2) !important;
55
- }
56
-
57
- .u-lg-guttersMarg3 {
58
- margin-left: calc(var(--utils-margin-gutter) * 3) !important;
59
- margin-right: calc(var(--utils-margin-gutter) * 3) !important;
60
- }
61
-
62
- .u-lg-guttersMarg4 {
63
- margin-left: calc(var(--utils-margin-gutter) * 4) !important;
64
- margin-right: calc(var(--utils-margin-gutter) * 4) !important;
65
- }
66
- }
67
-
68
- @media (--c-bp-md) {
69
- .u-md-guttersMarg0 {
70
- margin-left: 0 !important;
71
- margin-right: 0 !important;
72
- }
73
-
74
- .u-md-guttersMarg1 {
75
- margin-left: var(--utils-margin-gutter) !important;
76
- margin-right: var(--utils-margin-gutter) !important;
77
- }
78
-
79
- .u-md-guttersMarg2 {
80
- margin-left: calc(var(--utils-margin-gutter) * 2) !important;
81
- margin-right: calc(var(--utils-margin-gutter) * 2) !important;
82
- }
83
-
84
- .u-md-guttersMarg3 {
85
- margin-left: calc(var(--utils-margin-gutter) * 3) !important;
86
- margin-right: calc(var(--utils-margin-gutter) * 3) !important;
87
- }
88
-
89
- .u-md-guttersMarg4 {
90
- margin-left: calc(var(--utils-margin-gutter) * 4) !important;
91
- margin-right: calc(var(--utils-margin-gutter) * 4) !important;
92
- }
93
- }
94
-
95
- @media (--c-bp-sm) {
96
- .u-sm-guttersMarg0 {
97
- margin-left: 0 !important;
98
- margin-right: 0 !important;
99
- }
100
-
101
- .u-sm-guttersMarg1 {
102
- margin-left: var(--utils-margin-gutter) !important;
103
- margin-right: var(--utils-margin-gutter) !important;
104
- }
105
-
106
- .u-sm-guttersMarg2 {
107
- margin-left: calc(var(--utils-margin-gutter) * 2) !important;
108
- margin-right: calc(var(--utils-margin-gutter) * 2) !important;
109
- }
110
-
111
- .u-sm-guttersMarg3 {
112
- margin-left: calc(var(--utils-margin-gutter) * 3) !important;
113
- margin-right: calc(var(--utils-margin-gutter) * 3) !important;
114
- }
115
-
116
- .u-sm-guttersMarg4 {
117
- margin-left: calc(var(--utils-margin-gutter) * 4) !important;
118
- margin-right: calc(var(--utils-margin-gutter) * 4) !important;
119
- }
120
- }
@@ -1,21 +0,0 @@
1
- @import './gutters';
2
- @import './marg-bottom';
3
- @import './marg-bottom-lg';
4
- @import './marg-bottom-md';
5
- @import './marg-bottom-sm';
6
- @import './marg-top';
7
- @import './marg-top-lg';
8
- @import './marg-top-md';
9
- @import './marg-top-sm';
10
- @import './marg-right';
11
- @import './marg-right-lg';
12
- @import './marg-right-md';
13
- @import './marg-right-sm';
14
- @import './marg-left';
15
- @import './marg-left-lg';
16
- @import './marg-left-md';
17
- @import './marg-left-sm';
18
- @import './spaced';
19
- @import './spaced-lg';
20
- @import './spaced-md';
21
- @import './spaced-sm';
@@ -1,35 +0,0 @@
1
- /* ==========================================================================
2
- Bottom margin utilities
3
- ========================================================================== */
4
-
5
- /** @define utilities */
6
-
7
- :root {
8
- --utils-margin-lg-bottom: 10px;
9
- }
10
-
11
- @media (--c-bp-lg) {
12
- .u-lg-margBottom0 {
13
- margin-bottom: 0 !important;
14
- }
15
-
16
- .u-lg-margBottom1 {
17
- margin-bottom: var(--utils-margin-lg-bottom) !important;
18
- }
19
-
20
- .u-lg-margBottom2 {
21
- margin-bottom: calc(var(--utils-margin-lg-bottom) * 2) !important;
22
- }
23
-
24
- .u-lg-margBottom3 {
25
- margin-bottom: calc(var(--utils-margin-lg-bottom) * 3) !important;
26
- }
27
-
28
- .u-lg-margBottom4 {
29
- margin-bottom: calc(var(--utils-margin-lg-bottom) * 4) !important;
30
- }
31
-
32
- .u-lg-margBottom5 {
33
- margin-bottom: calc(var(--utils-margin-lg-bottom) * 5) !important;
34
- }
35
- }
@@ -1,35 +0,0 @@
1
- /* ==========================================================================
2
- Bottom margin utilities
3
- ========================================================================== */
4
-
5
- /** @define utilities */
6
-
7
- :root {
8
- --utils-margin-md-bottom: 10px;
9
- }
10
-
11
- @media (--c-bp-md) {
12
- .u-md-margBottom0 {
13
- margin-bottom: 0 !important;
14
- }
15
-
16
- .u-md-margBottom1 {
17
- margin-bottom: var(--utils-margin-md-bottom) !important;
18
- }
19
-
20
- .u-md-margBottom2 {
21
- margin-bottom: calc(var(--utils-margin-md-bottom) * 2) !important;
22
- }
23
-
24
- .u-md-margBottom3 {
25
- margin-bottom: calc(var(--utils-margin-md-bottom) * 3) !important;
26
- }
27
-
28
- .u-md-margBottom4 {
29
- margin-bottom: calc(var(--utils-margin-md-bottom) * 4) !important;
30
- }
31
-
32
- .u-md-margBottom5 {
33
- margin-bottom: calc(var(--utils-margin-md-bottom) * 5) !important;
34
- }
35
- }