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,759 +0,0 @@
1
- /* ==========================================================================
2
- Responsive flex utilities
3
- ========================================================================== */
4
-
5
- /* ------------------------------------ *\
6
- Small
7
- \* ------------------------------------ */
8
-
9
- @media (--c-bp-sm) {
10
-
11
- /**
12
- * Container
13
- */
14
-
15
- .u-sm-flex {
16
- display: flex !important;
17
- }
18
-
19
- .u-sm-flexInline {
20
- display: inline-flex !important;
21
- }
22
-
23
- /**
24
- * Direction: row
25
- */
26
-
27
- .u-sm-flexRow {
28
- flex-direction: row !important;
29
- }
30
-
31
- .u-sm-flexRowReverse {
32
- flex-direction: row-reverse !important;
33
- }
34
-
35
- /**
36
- * Direction: column
37
- */
38
-
39
- .u-sm-flexCol {
40
- flex-direction: column !important;
41
- }
42
-
43
- .u-sm-flexColReverse {
44
- flex-direction: column-reverse !important;
45
- }
46
-
47
- /**
48
- * Wrap
49
- */
50
-
51
- .u-sm-flexWrap {
52
- flex-wrap: wrap !important;
53
- }
54
-
55
- .u-sm-flexNoWrap {
56
- flex-wrap: nowrap !important;
57
- }
58
-
59
- .u-sm-flexWrapReverse {
60
- flex-wrap: wrap-reverse !important;
61
- }
62
-
63
- /**
64
- * Align items along the main axis of the current line of the flex container
65
- */
66
-
67
- .u-sm-flexJustifyStart {
68
- justify-content: flex-start !important;
69
- }
70
-
71
- .u-sm-flexJustifyEnd {
72
- justify-content: flex-end !important;
73
- }
74
-
75
- .u-sm-flexJustifyCenter {
76
- justify-content: center !important;
77
- }
78
-
79
- .u-sm-flexJustifyBetween {
80
- justify-content: space-between !important;
81
- }
82
-
83
- .u-sm-flexJustifyAround {
84
- justify-content: space-around !important;
85
- }
86
-
87
- /**
88
- * Align items in the cross axis of the current line of the flex container
89
- * Similar to `justify-content` but in the perpendicular direction
90
- */
91
-
92
- .u-sm-flexAlignItemsStart {
93
- align-items: flex-start !important;
94
- }
95
-
96
- .u-sm-flexAlignItemsEnd {
97
- align-items: flex-end !important;
98
- }
99
-
100
- .u-sm-flexAlignItemsCenter {
101
- align-items: center !important;
102
- }
103
-
104
- .u-sm-flexAlignItemsStretch {
105
- align-items: stretch !important;
106
- }
107
-
108
- .u-sm-flexAlignItemsBaseline {
109
- align-items: baseline !important;
110
- }
111
-
112
- /**
113
- * Aligns items within the flex container when there is extra space in the
114
- * cross-axis
115
- *
116
- * Has no effect when there is only one line of flex items.
117
- */
118
-
119
- .u-sm-flexAlignContentStart {
120
- align-content: flex-start !important;
121
- }
122
-
123
- .u-sm-flexAlignContentEnd {
124
- align-content: flex-end !important;
125
- }
126
-
127
- .u-sm-flexAlignContentCenter {
128
- align-content: center !important;
129
- }
130
-
131
- .u-sm-flexAlignContentStretch {
132
- align-content: stretch !important;
133
- }
134
-
135
- .u-sm-flexAlignContentBetween {
136
- align-content: space-between !important;
137
- }
138
-
139
- .u-sm-flexAlignContentAround {
140
- align-content: space-around !important;
141
- }
142
-
143
- /**
144
- * 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
145
- */
146
-
147
- /* postcss-bem-linter: ignore */
148
-
149
- .u-sm-flex > *,
150
- .u-sm-flexInline > * {
151
- flex-shrink: 1; /* 1 */
152
- }
153
-
154
- /* Applies to flex items
155
- ========================================================================== */
156
-
157
- /**
158
- * Override default alignment of single item when specified by `align-items`
159
- */
160
-
161
- .u-sm-flexAlignSelfStart {
162
- align-self: flex-start !important;
163
- }
164
-
165
- .u-sm-flexAlignSelfEnd {
166
- align-self: flex-end !important;
167
- }
168
-
169
- .u-sm-flexAlignSelfCenter {
170
- align-self: center !important;
171
- }
172
-
173
- .u-sm-flexAlignSelfStretch {
174
- align-self: stretch !important;
175
- }
176
-
177
- .u-sm-flexAlignSelfBaseline {
178
- align-self: baseline !important;
179
- }
180
-
181
- .u-sm-flexAlignSelfAuto {
182
- align-self: auto !important;
183
- }
184
-
185
- /**
186
- * Change order without editing underlying HTML
187
- */
188
-
189
- .u-sm-flexOrderFirst {
190
- order: -1 !important;
191
- }
192
-
193
- .u-sm-flexOrderLast {
194
- order: 1 !important;
195
- }
196
-
197
- .u-sm-flexOrderNone {
198
- order: 0 !important;
199
- }
200
-
201
- /**
202
- * Specify the flex grow factor, which determines how much the flex item will
203
- * grow relative to the rest of the flex items in the flex container.
204
- *
205
- * Supports 1-5 proportions
206
- *
207
- * 1. Provide all values to avoid IE10 bug with shorthand flex
208
- * http://git.io/vllC7
209
- */
210
-
211
- .u-sm-flexGrow1 {
212
- flex: 1 1 auto !important; /* 1 */
213
- }
214
-
215
- .u-sm-flexGrow2 {
216
- flex: 2 1 auto !important;
217
- }
218
-
219
- .u-sm-flexGrow3 {
220
- flex: 3 1 auto !important;
221
- }
222
-
223
- .u-sm-flexGrow4 {
224
- flex: 4 1 auto !important;
225
- }
226
-
227
- .u-sm-flexGrow5 {
228
- flex: 5 1 auto !important;
229
- }
230
-
231
- /**
232
- * Aligning with `auto` margins
233
- * http://www.w3.org/TR/css-flexbox-1/#auto-margins
234
- */
235
-
236
- .u-sm-flexExpand {
237
- margin: auto !important;
238
- }
239
-
240
- .u-sm-flexExpandLeft {
241
- margin-left: auto !important;
242
- }
243
-
244
- .u-sm-flexExpandRight {
245
- margin-right: auto !important;
246
- }
247
-
248
- .u-sm-flexExpandTop {
249
- margin-top: auto !important;
250
- }
251
-
252
- .u-sm-flexExpandBottom {
253
- margin-bottom: auto !important;
254
- }
255
- }
256
-
257
- /* ------------------------------------ *\
258
- Medium
259
- \* ------------------------------------ */
260
-
261
- @media (--c-bp-md) {
262
-
263
- /**
264
- * Container
265
- */
266
-
267
- .u-md-flex {
268
- display: flex !important;
269
- }
270
-
271
- .u-md-flexInline {
272
- display: inline-flex !important;
273
- }
274
-
275
- /**
276
- * Direction: row
277
- */
278
-
279
- .u-md-flexRow {
280
- flex-direction: row !important;
281
- }
282
-
283
- .u-md-flexRowReverse {
284
- flex-direction: row-reverse !important;
285
- }
286
-
287
- /**
288
- * Direction: column
289
- */
290
-
291
- .u-md-flexCol {
292
- flex-direction: column !important;
293
- }
294
-
295
- .u-md-flexColReverse {
296
- flex-direction: column-reverse !important;
297
- }
298
-
299
- /**
300
- * Wrap
301
- */
302
-
303
- .u-md-flexWrap {
304
- flex-wrap: wrap !important;
305
- }
306
-
307
- .u-md-flexNoWrap {
308
- flex-wrap: nowrap !important;
309
- }
310
-
311
- .u-md-flexWrapReverse {
312
- flex-wrap: wrap-reverse !important;
313
- }
314
-
315
- /**
316
- * Align items along the main axis of the current line of the flex container
317
- */
318
-
319
- .u-md-flexJustifyStart {
320
- justify-content: flex-start !important;
321
- }
322
-
323
- .u-md-flexJustifyEnd {
324
- justify-content: flex-end !important;
325
- }
326
-
327
- .u-md-flexJustifyCenter {
328
- justify-content: center !important;
329
- }
330
-
331
- .u-md-flexJustifyBetween {
332
- justify-content: space-between !important;
333
- }
334
-
335
- .u-md-flexJustifyAround {
336
- justify-content: space-around !important;
337
- }
338
-
339
- /**
340
- * Align items in the cross axis of the current line of the flex container
341
- * Similar to `justify-content` but in the perpendicular direction
342
- */
343
-
344
- .u-md-flexAlignItemsStart {
345
- align-items: flex-start !important;
346
- }
347
-
348
- .u-md-flexAlignItemsEnd {
349
- align-items: flex-end !important;
350
- }
351
-
352
- .u-md-flexAlignItemsCenter {
353
- align-items: center !important;
354
- }
355
-
356
- .u-md-flexAlignItemsStretch {
357
- align-items: stretch !important;
358
- }
359
-
360
- .u-md-flexAlignItemsBaseline {
361
- align-items: baseline !important;
362
- }
363
-
364
- /**
365
- * Aligns items within the flex container when there is extra space in the
366
- * cross-axis
367
- *
368
- * Has no effect when there is only one line of flex items.
369
- */
370
-
371
- .u-md-flexAlignContentStart {
372
- align-content: flex-start !important;
373
- }
374
-
375
- .u-md-flexAlignContentEnd {
376
- align-content: flex-end !important;
377
- }
378
-
379
- .u-md-flexAlignContentCenter {
380
- align-content: center !important;
381
- }
382
-
383
- .u-md-flexAlignContentStretch {
384
- align-content: stretch !important;
385
- }
386
-
387
- .u-md-flexAlignContentBetween {
388
- align-content: space-between !important;
389
- }
390
-
391
- .u-md-flexAlignContentAround {
392
- align-content: space-around !important;
393
- }
394
-
395
- /**
396
- * 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
397
- */
398
-
399
- /* postcss-bem-linter: ignore */
400
-
401
- .u-md-flex > *,
402
- .u-md-flexInline > * {
403
- flex-shrink: 1; /* 1 */
404
- }
405
-
406
- /* Applies to flex items
407
- ========================================================================== */
408
-
409
- /**
410
- * Override default alignment of single item when specified by `align-items`
411
- */
412
-
413
- .u-md-flexAlignSelfStart {
414
- align-self: flex-start !important;
415
- }
416
-
417
- .u-md-flexAlignSelfEnd {
418
- align-self: flex-end !important;
419
- }
420
-
421
- .u-md-flexAlignSelfCenter {
422
- align-self: center !important;
423
- }
424
-
425
- .u-md-flexAlignSelfStretch {
426
- align-self: stretch !important;
427
- }
428
-
429
- .u-md-flexAlignSelfBaseline {
430
- align-self: baseline !important;
431
- }
432
-
433
- .u-md-flexAlignSelfAuto {
434
- align-self: auto !important;
435
- }
436
-
437
- /**
438
- * Change order without editing underlying HTML
439
- */
440
-
441
- .u-md-flexOrderFirst {
442
- order: -1 !important;
443
- }
444
-
445
- .u-md-flexOrderLast {
446
- order: 1 !important;
447
- }
448
-
449
- .u-md-flexOrderNone {
450
- order: 0 !important;
451
- }
452
-
453
- /**
454
- * Specify the flex grow factor, which determines how much the flex item will
455
- * grow relative to the rest of the flex items in the flex container.
456
- *
457
- * Supports 1-5 proportions
458
- *
459
- * 1. Provide all values to avoid IE10 bug with shorthand flex
460
- * http://git.io/vllC7
461
- */
462
-
463
- .u-md-flexGrow1 {
464
- flex: 1 1 auto !important; /* 1 */
465
- }
466
-
467
- .u-md-flexGrow2 {
468
- flex: 2 1 auto !important;
469
- }
470
-
471
- .u-md-flexGrow3 {
472
- flex: 3 1 auto !important;
473
- }
474
-
475
- .u-md-flexGrow4 {
476
- flex: 4 1 auto !important;
477
- }
478
-
479
- .u-md-flexGrow5 {
480
- flex: 5 1 auto !important;
481
- }
482
-
483
- /**
484
- * Aligning with `auto` margins
485
- * http://www.w3.org/TR/css-flexbox-1/#auto-margins
486
- */
487
-
488
- .u-md-flexExpand {
489
- margin: auto !important;
490
- }
491
-
492
- .u-md-flexExpandLeft {
493
- margin-left: auto !important;
494
- }
495
-
496
- .u-md-flexExpandRight {
497
- margin-right: auto !important;
498
- }
499
-
500
- .u-md-flexExpandTop {
501
- margin-top: auto !important;
502
- }
503
-
504
- .u-md-flexExpandBottom {
505
- margin-bottom: auto !important;
506
- }
507
- }
508
-
509
- /* ------------------------------------ *\
510
- Large
511
- \* ------------------------------------ */
512
-
513
- @media (--c-bp-lg) {
514
-
515
- /**
516
- * Container
517
- */
518
-
519
- .u-lg-flex {
520
- display: flex !important;
521
- }
522
-
523
- .u-lg-flexInline {
524
- display: inline-flex !important;
525
- }
526
-
527
- /**
528
- * Direction: row
529
- */
530
-
531
- .u-lg-flexRow {
532
- flex-direction: row !important;
533
- }
534
-
535
- .u-lg-flexRowReverse {
536
- flex-direction: row-reverse !important;
537
- }
538
-
539
- /**
540
- * Direction: column
541
- */
542
-
543
- .u-lg-flexCol {
544
- flex-direction: column !important;
545
- }
546
-
547
- .u-lg-flexColReverse {
548
- flex-direction: column-reverse !important;
549
- }
550
-
551
- /**
552
- * Wrap
553
- */
554
-
555
- .u-lg-flexWrap {
556
- flex-wrap: wrap !important;
557
- }
558
-
559
- .u-lg-flexNoWrap {
560
- flex-wrap: nowrap !important;
561
- }
562
-
563
- .u-lg-flexWrapReverse {
564
- flex-wrap: wrap-reverse !important;
565
- }
566
-
567
- /**
568
- * Align items along the main axis of the current line of the flex container
569
- */
570
-
571
- .u-lg-flexJustifyStart {
572
- justify-content: flex-start !important;
573
- }
574
-
575
- .u-lg-flexJustifyEnd {
576
- justify-content: flex-end !important;
577
- }
578
-
579
- .u-lg-flexJustifyCenter {
580
- justify-content: center !important;
581
- }
582
-
583
- .u-lg-flexJustifyBetween {
584
- justify-content: space-between !important;
585
- }
586
-
587
- .u-lg-flexJustifyAround {
588
- justify-content: space-around !important;
589
- }
590
-
591
- /**
592
- * Align items in the cross axis of the current line of the flex container
593
- * Similar to `justify-content` but in the perpendicular direction
594
- */
595
-
596
- .u-lg-flexAlignItemsStart {
597
- align-items: flex-start !important;
598
- }
599
-
600
- .u-lg-flexAlignItemsEnd {
601
- align-items: flex-end !important;
602
- }
603
-
604
- .u-lg-flexAlignItemsCenter {
605
- align-items: center !important;
606
- }
607
-
608
- .u-lg-flexAlignItemsStretch {
609
- align-items: stretch !important;
610
- }
611
-
612
- .u-lg-flexAlignItemsBaseline {
613
- align-items: baseline !important;
614
- }
615
-
616
- /**
617
- * Aligns items within the flex container when there is extra space in the
618
- * cross-axis
619
- *
620
- * Has no effect when there is only one line of flex items.
621
- */
622
-
623
- .u-lg-flexAlignContentStart {
624
- align-content: flex-start !important;
625
- }
626
-
627
- .u-lg-flexAlignContentEnd {
628
- align-content: flex-end !important;
629
- }
630
-
631
- .u-lg-flexAlignContentCenter {
632
- align-content: center !important;
633
- }
634
-
635
- .u-lg-flexAlignContentStretch {
636
- align-content: stretch !important;
637
- }
638
-
639
- .u-lg-flexAlignContentBetween {
640
- align-content: space-between !important;
641
- }
642
-
643
- .u-lg-flexAlignContentAround {
644
- align-content: space-around !important;
645
- }
646
-
647
- /**
648
- * 1. Set the flex-shrink default explicitly to fix IE10 - http://git.io/vllC7
649
- */
650
-
651
- /* postcss-bem-linter: ignore */
652
-
653
- .u-lg-flex > *,
654
- .u-lg-flexInline > * {
655
- flex-shrink: 1; /* 1 */
656
- }
657
-
658
- /* Applies to flex items
659
- ========================================================================== */
660
-
661
- /**
662
- * Override default alignment of single item when specified by `align-items`
663
- */
664
-
665
- .u-lg-flexAlignSelfStart {
666
- align-self: flex-start !important;
667
- }
668
-
669
- .u-lg-flexAlignSelfEnd {
670
- align-self: flex-end !important;
671
- }
672
-
673
- .u-lg-flexAlignSelfCenter {
674
- align-self: center !important;
675
- }
676
-
677
- .u-lg-flexAlignSelfStretch {
678
- align-self: stretch !important;
679
- }
680
-
681
- .u-lg-flexAlignSelfBaseline {
682
- align-self: baseline !important;
683
- }
684
-
685
- .u-lg-flexAlignSelfAuto {
686
- align-self: auto !important;
687
- }
688
-
689
- /**
690
- * Change order without editing underlying HTML
691
- */
692
-
693
- .u-lg-flexOrderFirst {
694
- order: -1 !important;
695
- }
696
-
697
- .u-lg-flexOrderLast {
698
- order: 1 !important;
699
- }
700
-
701
- .u-lg-flexOrderNone {
702
- order: 0 !important;
703
- }
704
-
705
- /**
706
- * Specify the flex grow factor, which determines how much the flex item will
707
- * grow relative to the rest of the flex items in the flex container.
708
- *
709
- * Supports 1-5 proportions
710
- *
711
- * 1. Provide all values to avoid IE10 bug with shorthand flex
712
- * http://git.io/vllC7
713
- */
714
-
715
- .u-lg-flexGrow1 {
716
- flex: 1 1 auto !important; /* 1 */
717
- }
718
-
719
- .u-lg-flexGrow2 {
720
- flex: 2 1 auto !important;
721
- }
722
-
723
- .u-lg-flexGrow3 {
724
- flex: 3 1 auto !important;
725
- }
726
-
727
- .u-lg-flexGrow4 {
728
- flex: 4 1 auto !important;
729
- }
730
-
731
- .u-lg-flexGrow5 {
732
- flex: 5 1 auto !important;
733
- }
734
-
735
- /**
736
- * Aligning with `auto` margins
737
- * http://www.w3.org/TR/css-flexbox-1/#auto-margins
738
- */
739
-
740
- .u-lg-flexExpand {
741
- margin: auto !important;
742
- }
743
-
744
- .u-lg-flexExpandLeft {
745
- margin-left: auto !important;
746
- }
747
-
748
- .u-lg-flexExpandRight {
749
- margin-right: auto !important;
750
- }
751
-
752
- .u-lg-flexExpandTop {
753
- margin-top: auto !important;
754
- }
755
-
756
- .u-lg-flexExpandBottom {
757
- margin-bottom: auto !important;
758
- }
759
- }