mdc.layout-grid.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE
  7. */
  8. :root {
  9. --mdc-layout-grid-margin-desktop: 24px;
  10. --mdc-layout-grid-gutter-desktop: 24px;
  11. --mdc-layout-grid-column-width-desktop: 72px;
  12. --mdc-layout-grid-margin-tablet: 16px;
  13. --mdc-layout-grid-gutter-tablet: 16px;
  14. --mdc-layout-grid-column-width-tablet: 72px;
  15. --mdc-layout-grid-margin-phone: 16px;
  16. --mdc-layout-grid-gutter-phone: 16px;
  17. --mdc-layout-grid-column-width-phone: 72px;
  18. }
  19. @media (min-width: 840px) {
  20. .mdc-layout-grid {
  21. box-sizing: border-box;
  22. margin: 0 auto;
  23. padding: 24px;
  24. padding: var(--mdc-layout-grid-margin-desktop, 24px);
  25. }
  26. }
  27. @media (min-width: 600px) and (max-width: 839px) {
  28. .mdc-layout-grid {
  29. box-sizing: border-box;
  30. margin: 0 auto;
  31. padding: 16px;
  32. padding: var(--mdc-layout-grid-margin-tablet, 16px);
  33. }
  34. }
  35. @media (max-width: 599px) {
  36. .mdc-layout-grid {
  37. box-sizing: border-box;
  38. margin: 0 auto;
  39. padding: 16px;
  40. padding: var(--mdc-layout-grid-margin-phone, 16px);
  41. }
  42. }
  43. @media (min-width: 840px) {
  44. .mdc-layout-grid__inner {
  45. display: flex;
  46. flex-flow: row wrap;
  47. align-items: stretch;
  48. margin: -12px;
  49. margin: calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2 * -1);
  50. }
  51. @supports (display: grid) {
  52. .mdc-layout-grid__inner {
  53. display: grid;
  54. margin: 0;
  55. grid-gap: 24px;
  56. grid-gap: var(--mdc-layout-grid-gutter-desktop, 24px);
  57. grid-template-columns: repeat(12, minmax(0, 1fr));
  58. }
  59. }
  60. }
  61. @media (min-width: 600px) and (max-width: 839px) {
  62. .mdc-layout-grid__inner {
  63. display: flex;
  64. flex-flow: row wrap;
  65. align-items: stretch;
  66. margin: -8px;
  67. margin: calc(var(--mdc-layout-grid-gutter-tablet, 16px) / 2 * -1);
  68. }
  69. @supports (display: grid) {
  70. .mdc-layout-grid__inner {
  71. display: grid;
  72. margin: 0;
  73. grid-gap: 16px;
  74. grid-gap: var(--mdc-layout-grid-gutter-tablet, 16px);
  75. grid-template-columns: repeat(8, minmax(0, 1fr));
  76. }
  77. }
  78. }
  79. @media (max-width: 599px) {
  80. .mdc-layout-grid__inner {
  81. display: flex;
  82. flex-flow: row wrap;
  83. align-items: stretch;
  84. margin: -8px;
  85. margin: calc(var(--mdc-layout-grid-gutter-phone, 16px) / 2 * -1);
  86. }
  87. @supports (display: grid) {
  88. .mdc-layout-grid__inner {
  89. display: grid;
  90. margin: 0;
  91. grid-gap: 16px;
  92. grid-gap: var(--mdc-layout-grid-gutter-phone, 16px);
  93. grid-template-columns: repeat(4, minmax(0, 1fr));
  94. }
  95. }
  96. }
  97. @media (min-width: 840px) {
  98. .mdc-layout-grid__cell {
  99. width: calc(33.3333333333% - 24px);
  100. width: calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
  101. box-sizing: border-box;
  102. margin: 12px;
  103. margin: calc(var(--mdc-layout-grid-gutter-desktop, 24px) / 2);
  104. }
  105. @supports (display: grid) {
  106. .mdc-layout-grid__cell {
  107. width: auto;
  108. grid-column-end: span 4;
  109. }
  110. }
  111. @supports (display: grid) {
  112. .mdc-layout-grid__cell {
  113. margin: 0;
  114. }
  115. }
  116. .mdc-layout-grid__cell--span-1,
  117. .mdc-layout-grid__cell--span-1-desktop {
  118. width: calc(8.3333333333% - 24px);
  119. width: calc(8.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
  120. }
  121. @supports (display: grid) {
  122. .mdc-layout-grid__cell--span-1,
  123. .mdc-layout-grid__cell--span-1-desktop {
  124. width: auto;
  125. grid-column-end: span 1;
  126. }
  127. }
  128. .mdc-layout-grid__cell--span-2,
  129. .mdc-layout-grid__cell--span-2-desktop {
  130. width: calc(16.6666666667% - 24px);
  131. width: calc(16.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px));
  132. }
  133. @supports (display: grid) {
  134. .mdc-layout-grid__cell--span-2,
  135. .mdc-layout-grid__cell--span-2-desktop {
  136. width: auto;
  137. grid-column-end: span 2;
  138. }
  139. }
  140. .mdc-layout-grid__cell--span-3,
  141. .mdc-layout-grid__cell--span-3-desktop {
  142. width: calc(25% - 24px);
  143. width: calc(25% - var(--mdc-layout-grid-gutter-desktop, 24px));
  144. }
  145. @supports (display: grid) {
  146. .mdc-layout-grid__cell--span-3,
  147. .mdc-layout-grid__cell--span-3-desktop {
  148. width: auto;
  149. grid-column-end: span 3;
  150. }
  151. }
  152. .mdc-layout-grid__cell--span-4,
  153. .mdc-layout-grid__cell--span-4-desktop {
  154. width: calc(33.3333333333% - 24px);
  155. width: calc(33.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
  156. }
  157. @supports (display: grid) {
  158. .mdc-layout-grid__cell--span-4,
  159. .mdc-layout-grid__cell--span-4-desktop {
  160. width: auto;
  161. grid-column-end: span 4;
  162. }
  163. }
  164. .mdc-layout-grid__cell--span-5,
  165. .mdc-layout-grid__cell--span-5-desktop {
  166. width: calc(41.6666666667% - 24px);
  167. width: calc(41.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px));
  168. }
  169. @supports (display: grid) {
  170. .mdc-layout-grid__cell--span-5,
  171. .mdc-layout-grid__cell--span-5-desktop {
  172. width: auto;
  173. grid-column-end: span 5;
  174. }
  175. }
  176. .mdc-layout-grid__cell--span-6,
  177. .mdc-layout-grid__cell--span-6-desktop {
  178. width: calc(50% - 24px);
  179. width: calc(50% - var(--mdc-layout-grid-gutter-desktop, 24px));
  180. }
  181. @supports (display: grid) {
  182. .mdc-layout-grid__cell--span-6,
  183. .mdc-layout-grid__cell--span-6-desktop {
  184. width: auto;
  185. grid-column-end: span 6;
  186. }
  187. }
  188. .mdc-layout-grid__cell--span-7,
  189. .mdc-layout-grid__cell--span-7-desktop {
  190. width: calc(58.3333333333% - 24px);
  191. width: calc(58.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
  192. }
  193. @supports (display: grid) {
  194. .mdc-layout-grid__cell--span-7,
  195. .mdc-layout-grid__cell--span-7-desktop {
  196. width: auto;
  197. grid-column-end: span 7;
  198. }
  199. }
  200. .mdc-layout-grid__cell--span-8,
  201. .mdc-layout-grid__cell--span-8-desktop {
  202. width: calc(66.6666666667% - 24px);
  203. width: calc(66.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px));
  204. }
  205. @supports (display: grid) {
  206. .mdc-layout-grid__cell--span-8,
  207. .mdc-layout-grid__cell--span-8-desktop {
  208. width: auto;
  209. grid-column-end: span 8;
  210. }
  211. }
  212. .mdc-layout-grid__cell--span-9,
  213. .mdc-layout-grid__cell--span-9-desktop {
  214. width: calc(75% - 24px);
  215. width: calc(75% - var(--mdc-layout-grid-gutter-desktop, 24px));
  216. }
  217. @supports (display: grid) {
  218. .mdc-layout-grid__cell--span-9,
  219. .mdc-layout-grid__cell--span-9-desktop {
  220. width: auto;
  221. grid-column-end: span 9;
  222. }
  223. }
  224. .mdc-layout-grid__cell--span-10,
  225. .mdc-layout-grid__cell--span-10-desktop {
  226. width: calc(83.3333333333% - 24px);
  227. width: calc(83.3333333333% - var(--mdc-layout-grid-gutter-desktop, 24px));
  228. }
  229. @supports (display: grid) {
  230. .mdc-layout-grid__cell--span-10,
  231. .mdc-layout-grid__cell--span-10-desktop {
  232. width: auto;
  233. grid-column-end: span 10;
  234. }
  235. }
  236. .mdc-layout-grid__cell--span-11,
  237. .mdc-layout-grid__cell--span-11-desktop {
  238. width: calc(91.6666666667% - 24px);
  239. width: calc(91.6666666667% - var(--mdc-layout-grid-gutter-desktop, 24px));
  240. }
  241. @supports (display: grid) {
  242. .mdc-layout-grid__cell--span-11,
  243. .mdc-layout-grid__cell--span-11-desktop {
  244. width: auto;
  245. grid-column-end: span 11;
  246. }
  247. }
  248. .mdc-layout-grid__cell--span-12,
  249. .mdc-layout-grid__cell--span-12-desktop {
  250. width: calc(100% - 24px);
  251. width: calc(100% - var(--mdc-layout-grid-gutter-desktop, 24px));
  252. }
  253. @supports (display: grid) {
  254. .mdc-layout-grid__cell--span-12,
  255. .mdc-layout-grid__cell--span-12-desktop {
  256. width: auto;
  257. grid-column-end: span 12;
  258. }
  259. }
  260. }
  261. @media (min-width: 600px) and (max-width: 839px) {
  262. .mdc-layout-grid__cell {
  263. width: calc(50% - 16px);
  264. width: calc(50% - var(--mdc-layout-grid-gutter-tablet, 16px));
  265. box-sizing: border-box;
  266. margin: 8px;
  267. margin: calc(var(--mdc-layout-grid-gutter-tablet, 16px) / 2);
  268. }
  269. @supports (display: grid) {
  270. .mdc-layout-grid__cell {
  271. width: auto;
  272. grid-column-end: span 4;
  273. }
  274. }
  275. @supports (display: grid) {
  276. .mdc-layout-grid__cell {
  277. margin: 0;
  278. }
  279. }
  280. .mdc-layout-grid__cell--span-1,
  281. .mdc-layout-grid__cell--span-1-tablet {
  282. width: calc(12.5% - 16px);
  283. width: calc(12.5% - var(--mdc-layout-grid-gutter-tablet, 16px));
  284. }
  285. @supports (display: grid) {
  286. .mdc-layout-grid__cell--span-1,
  287. .mdc-layout-grid__cell--span-1-tablet {
  288. width: auto;
  289. grid-column-end: span 1;
  290. }
  291. }
  292. .mdc-layout-grid__cell--span-2,
  293. .mdc-layout-grid__cell--span-2-tablet {
  294. width: calc(25% - 16px);
  295. width: calc(25% - var(--mdc-layout-grid-gutter-tablet, 16px));
  296. }
  297. @supports (display: grid) {
  298. .mdc-layout-grid__cell--span-2,
  299. .mdc-layout-grid__cell--span-2-tablet {
  300. width: auto;
  301. grid-column-end: span 2;
  302. }
  303. }
  304. .mdc-layout-grid__cell--span-3,
  305. .mdc-layout-grid__cell--span-3-tablet {
  306. width: calc(37.5% - 16px);
  307. width: calc(37.5% - var(--mdc-layout-grid-gutter-tablet, 16px));
  308. }
  309. @supports (display: grid) {
  310. .mdc-layout-grid__cell--span-3,
  311. .mdc-layout-grid__cell--span-3-tablet {
  312. width: auto;
  313. grid-column-end: span 3;
  314. }
  315. }
  316. .mdc-layout-grid__cell--span-4,
  317. .mdc-layout-grid__cell--span-4-tablet {
  318. width: calc(50% - 16px);
  319. width: calc(50% - var(--mdc-layout-grid-gutter-tablet, 16px));
  320. }
  321. @supports (display: grid) {
  322. .mdc-layout-grid__cell--span-4,
  323. .mdc-layout-grid__cell--span-4-tablet {
  324. width: auto;
  325. grid-column-end: span 4;
  326. }
  327. }
  328. .mdc-layout-grid__cell--span-5,
  329. .mdc-layout-grid__cell--span-5-tablet {
  330. width: calc(62.5% - 16px);
  331. width: calc(62.5% - var(--mdc-layout-grid-gutter-tablet, 16px));
  332. }
  333. @supports (display: grid) {
  334. .mdc-layout-grid__cell--span-5,
  335. .mdc-layout-grid__cell--span-5-tablet {
  336. width: auto;
  337. grid-column-end: span 5;
  338. }
  339. }
  340. .mdc-layout-grid__cell--span-6,
  341. .mdc-layout-grid__cell--span-6-tablet {
  342. width: calc(75% - 16px);
  343. width: calc(75% - var(--mdc-layout-grid-gutter-tablet, 16px));
  344. }
  345. @supports (display: grid) {
  346. .mdc-layout-grid__cell--span-6,
  347. .mdc-layout-grid__cell--span-6-tablet {
  348. width: auto;
  349. grid-column-end: span 6;
  350. }
  351. }
  352. .mdc-layout-grid__cell--span-7,
  353. .mdc-layout-grid__cell--span-7-tablet {
  354. width: calc(87.5% - 16px);
  355. width: calc(87.5% - var(--mdc-layout-grid-gutter-tablet, 16px));
  356. }
  357. @supports (display: grid) {
  358. .mdc-layout-grid__cell--span-7,
  359. .mdc-layout-grid__cell--span-7-tablet {
  360. width: auto;
  361. grid-column-end: span 7;
  362. }
  363. }
  364. .mdc-layout-grid__cell--span-8,
  365. .mdc-layout-grid__cell--span-8-tablet {
  366. width: calc(100% - 16px);
  367. width: calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px));
  368. }
  369. @supports (display: grid) {
  370. .mdc-layout-grid__cell--span-8,
  371. .mdc-layout-grid__cell--span-8-tablet {
  372. width: auto;
  373. grid-column-end: span 8;
  374. }
  375. }
  376. .mdc-layout-grid__cell--span-9,
  377. .mdc-layout-grid__cell--span-9-tablet {
  378. width: calc(100% - 16px);
  379. width: calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px));
  380. }
  381. @supports (display: grid) {
  382. .mdc-layout-grid__cell--span-9,
  383. .mdc-layout-grid__cell--span-9-tablet {
  384. width: auto;
  385. grid-column-end: span 8;
  386. }
  387. }
  388. .mdc-layout-grid__cell--span-10,
  389. .mdc-layout-grid__cell--span-10-tablet {
  390. width: calc(100% - 16px);
  391. width: calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px));
  392. }
  393. @supports (display: grid) {
  394. .mdc-layout-grid__cell--span-10,
  395. .mdc-layout-grid__cell--span-10-tablet {
  396. width: auto;
  397. grid-column-end: span 8;
  398. }
  399. }
  400. .mdc-layout-grid__cell--span-11,
  401. .mdc-layout-grid__cell--span-11-tablet {
  402. width: calc(100% - 16px);
  403. width: calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px));
  404. }
  405. @supports (display: grid) {
  406. .mdc-layout-grid__cell--span-11,
  407. .mdc-layout-grid__cell--span-11-tablet {
  408. width: auto;
  409. grid-column-end: span 8;
  410. }
  411. }
  412. .mdc-layout-grid__cell--span-12,
  413. .mdc-layout-grid__cell--span-12-tablet {
  414. width: calc(100% - 16px);
  415. width: calc(100% - var(--mdc-layout-grid-gutter-tablet, 16px));
  416. }
  417. @supports (display: grid) {
  418. .mdc-layout-grid__cell--span-12,
  419. .mdc-layout-grid__cell--span-12-tablet {
  420. width: auto;
  421. grid-column-end: span 8;
  422. }
  423. }
  424. }
  425. @media (max-width: 599px) {
  426. .mdc-layout-grid__cell {
  427. width: calc(100% - 16px);
  428. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  429. box-sizing: border-box;
  430. margin: 8px;
  431. margin: calc(var(--mdc-layout-grid-gutter-phone, 16px) / 2);
  432. }
  433. @supports (display: grid) {
  434. .mdc-layout-grid__cell {
  435. width: auto;
  436. grid-column-end: span 4;
  437. }
  438. }
  439. @supports (display: grid) {
  440. .mdc-layout-grid__cell {
  441. margin: 0;
  442. }
  443. }
  444. .mdc-layout-grid__cell--span-1,
  445. .mdc-layout-grid__cell--span-1-phone {
  446. width: calc(25% - 16px);
  447. width: calc(25% - var(--mdc-layout-grid-gutter-phone, 16px));
  448. }
  449. @supports (display: grid) {
  450. .mdc-layout-grid__cell--span-1,
  451. .mdc-layout-grid__cell--span-1-phone {
  452. width: auto;
  453. grid-column-end: span 1;
  454. }
  455. }
  456. .mdc-layout-grid__cell--span-2,
  457. .mdc-layout-grid__cell--span-2-phone {
  458. width: calc(50% - 16px);
  459. width: calc(50% - var(--mdc-layout-grid-gutter-phone, 16px));
  460. }
  461. @supports (display: grid) {
  462. .mdc-layout-grid__cell--span-2,
  463. .mdc-layout-grid__cell--span-2-phone {
  464. width: auto;
  465. grid-column-end: span 2;
  466. }
  467. }
  468. .mdc-layout-grid__cell--span-3,
  469. .mdc-layout-grid__cell--span-3-phone {
  470. width: calc(75% - 16px);
  471. width: calc(75% - var(--mdc-layout-grid-gutter-phone, 16px));
  472. }
  473. @supports (display: grid) {
  474. .mdc-layout-grid__cell--span-3,
  475. .mdc-layout-grid__cell--span-3-phone {
  476. width: auto;
  477. grid-column-end: span 3;
  478. }
  479. }
  480. .mdc-layout-grid__cell--span-4,
  481. .mdc-layout-grid__cell--span-4-phone {
  482. width: calc(100% - 16px);
  483. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  484. }
  485. @supports (display: grid) {
  486. .mdc-layout-grid__cell--span-4,
  487. .mdc-layout-grid__cell--span-4-phone {
  488. width: auto;
  489. grid-column-end: span 4;
  490. }
  491. }
  492. .mdc-layout-grid__cell--span-5,
  493. .mdc-layout-grid__cell--span-5-phone {
  494. width: calc(100% - 16px);
  495. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  496. }
  497. @supports (display: grid) {
  498. .mdc-layout-grid__cell--span-5,
  499. .mdc-layout-grid__cell--span-5-phone {
  500. width: auto;
  501. grid-column-end: span 4;
  502. }
  503. }
  504. .mdc-layout-grid__cell--span-6,
  505. .mdc-layout-grid__cell--span-6-phone {
  506. width: calc(100% - 16px);
  507. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  508. }
  509. @supports (display: grid) {
  510. .mdc-layout-grid__cell--span-6,
  511. .mdc-layout-grid__cell--span-6-phone {
  512. width: auto;
  513. grid-column-end: span 4;
  514. }
  515. }
  516. .mdc-layout-grid__cell--span-7,
  517. .mdc-layout-grid__cell--span-7-phone {
  518. width: calc(100% - 16px);
  519. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  520. }
  521. @supports (display: grid) {
  522. .mdc-layout-grid__cell--span-7,
  523. .mdc-layout-grid__cell--span-7-phone {
  524. width: auto;
  525. grid-column-end: span 4;
  526. }
  527. }
  528. .mdc-layout-grid__cell--span-8,
  529. .mdc-layout-grid__cell--span-8-phone {
  530. width: calc(100% - 16px);
  531. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  532. }
  533. @supports (display: grid) {
  534. .mdc-layout-grid__cell--span-8,
  535. .mdc-layout-grid__cell--span-8-phone {
  536. width: auto;
  537. grid-column-end: span 4;
  538. }
  539. }
  540. .mdc-layout-grid__cell--span-9,
  541. .mdc-layout-grid__cell--span-9-phone {
  542. width: calc(100% - 16px);
  543. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  544. }
  545. @supports (display: grid) {
  546. .mdc-layout-grid__cell--span-9,
  547. .mdc-layout-grid__cell--span-9-phone {
  548. width: auto;
  549. grid-column-end: span 4;
  550. }
  551. }
  552. .mdc-layout-grid__cell--span-10,
  553. .mdc-layout-grid__cell--span-10-phone {
  554. width: calc(100% - 16px);
  555. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  556. }
  557. @supports (display: grid) {
  558. .mdc-layout-grid__cell--span-10,
  559. .mdc-layout-grid__cell--span-10-phone {
  560. width: auto;
  561. grid-column-end: span 4;
  562. }
  563. }
  564. .mdc-layout-grid__cell--span-11,
  565. .mdc-layout-grid__cell--span-11-phone {
  566. width: calc(100% - 16px);
  567. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  568. }
  569. @supports (display: grid) {
  570. .mdc-layout-grid__cell--span-11,
  571. .mdc-layout-grid__cell--span-11-phone {
  572. width: auto;
  573. grid-column-end: span 4;
  574. }
  575. }
  576. .mdc-layout-grid__cell--span-12,
  577. .mdc-layout-grid__cell--span-12-phone {
  578. width: calc(100% - 16px);
  579. width: calc(100% - var(--mdc-layout-grid-gutter-phone, 16px));
  580. }
  581. @supports (display: grid) {
  582. .mdc-layout-grid__cell--span-12,
  583. .mdc-layout-grid__cell--span-12-phone {
  584. width: auto;
  585. grid-column-end: span 4;
  586. }
  587. }
  588. }
  589. .mdc-layout-grid__cell--order-1 {
  590. order: 1;
  591. }
  592. .mdc-layout-grid__cell--order-2 {
  593. order: 2;
  594. }
  595. .mdc-layout-grid__cell--order-3 {
  596. order: 3;
  597. }
  598. .mdc-layout-grid__cell--order-4 {
  599. order: 4;
  600. }
  601. .mdc-layout-grid__cell--order-5 {
  602. order: 5;
  603. }
  604. .mdc-layout-grid__cell--order-6 {
  605. order: 6;
  606. }
  607. .mdc-layout-grid__cell--order-7 {
  608. order: 7;
  609. }
  610. .mdc-layout-grid__cell--order-8 {
  611. order: 8;
  612. }
  613. .mdc-layout-grid__cell--order-9 {
  614. order: 9;
  615. }
  616. .mdc-layout-grid__cell--order-10 {
  617. order: 10;
  618. }
  619. .mdc-layout-grid__cell--order-11 {
  620. order: 11;
  621. }
  622. .mdc-layout-grid__cell--order-12 {
  623. order: 12;
  624. }
  625. .mdc-layout-grid__cell--align-top {
  626. align-self: flex-start;
  627. }
  628. @supports (display: grid) {
  629. .mdc-layout-grid__cell--align-top {
  630. align-self: start;
  631. }
  632. }
  633. .mdc-layout-grid__cell--align-middle {
  634. align-self: center;
  635. }
  636. .mdc-layout-grid__cell--align-bottom {
  637. align-self: flex-end;
  638. }
  639. @supports (display: grid) {
  640. .mdc-layout-grid__cell--align-bottom {
  641. align-self: end;
  642. }
  643. }
  644. @media (min-width: 840px) {
  645. .mdc-layout-grid--fixed-column-width {
  646. width: 1176px;
  647. width: calc(
  648. var(--mdc-layout-grid-column-width-desktop, 72px) * 12 +
  649. var(--mdc-layout-grid-gutter-desktop, 24px) * 11 +
  650. var(--mdc-layout-grid-margin-desktop, 24px) * 2
  651. );
  652. }
  653. }
  654. @media (min-width: 600px) and (max-width: 839px) {
  655. .mdc-layout-grid--fixed-column-width {
  656. width: 720px;
  657. width: calc(
  658. var(--mdc-layout-grid-column-width-tablet, 72px) * 8 +
  659. var(--mdc-layout-grid-gutter-tablet, 16px) * 7 +
  660. var(--mdc-layout-grid-margin-tablet, 16px) * 2
  661. );
  662. }
  663. }
  664. @media (max-width: 599px) {
  665. .mdc-layout-grid--fixed-column-width {
  666. width: 368px;
  667. width: calc(
  668. var(--mdc-layout-grid-column-width-phone, 72px) * 4 +
  669. var(--mdc-layout-grid-gutter-phone, 16px) * 3 +
  670. var(--mdc-layout-grid-margin-phone, 16px) * 2
  671. );
  672. }
  673. }
  674. .mdc-layout-grid--align-left {
  675. margin-right: auto;
  676. margin-left: 0;
  677. }
  678. .mdc-layout-grid--align-right {
  679. margin-right: 0;
  680. margin-left: auto;
  681. }
  682. /*# sourceMappingURL=mdc.layout-grid.css.map*/