system-admin--layout.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/2815083
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Replacement 'Reusable layout' component styles of system/admin library.
  10. */
  11. .layout-container {
  12. margin-right: 1em;
  13. margin-left: 1em;
  14. }
  15. .layout-container::after {
  16. display: table;
  17. clear: both;
  18. content: "";
  19. }
  20. @media screen and (min-width: 38em) {
  21. .toolbar-tray-open:not(.toolbar-vertical) .layout-container,
  22. body:not(.toolbar-tray-open) .layout-container {
  23. margin-right: 3em;
  24. margin-left: 3em;
  25. }
  26. .toolbar-tray-open:not(.toolbar-vertical) .layout-row,
  27. body:not(.toolbar-tray-open) .layout-row {
  28. margin-right: -1.5em;
  29. margin-left: -1.5em;
  30. }
  31. .toolbar-tray-open:not(.toolbar-vertical) .layout-column,
  32. body:not(.toolbar-tray-open) .layout-column {
  33. float: left; /* LTR */
  34. box-sizing: border-box;
  35. padding-right: 1.5em;
  36. padding-left: 1.5em;
  37. }
  38. [dir="rtl"] .toolbar-tray-open:not(.toolbar-vertical) .layout-column,
  39. [dir="rtl"] body:not(.toolbar-tray-open) .layout-column {
  40. float: right;
  41. }
  42. .toolbar-tray-open:not(.toolbar-vertical) .layout-column--half,
  43. body:not(.toolbar-tray-open) .layout-column--half {
  44. width: 50%;
  45. }
  46. .toolbar-tray-open:not(.toolbar-vertical) .layout-column--quarter,
  47. body:not(.toolbar-tray-open) .layout-column--quarter {
  48. width: 25%;
  49. }
  50. .toolbar-tray-open:not(.toolbar-vertical) .layout-column--three-quarter,
  51. body:not(.toolbar-tray-open) .layout-column--three-quarter {
  52. width: 75%;
  53. }
  54. }
  55. @media screen and (min-width: 60em) {
  56. .layout-container {
  57. margin-right: 3em;
  58. margin-left: 3em;
  59. }
  60. .layout-row {
  61. margin-right: -1.5em;
  62. margin-left: -1.5em;
  63. }
  64. .layout-column {
  65. float: left; /* LTR */
  66. box-sizing: border-box;
  67. padding-right: 1.5em;
  68. padding-left: 1.5em;
  69. }
  70. [dir="rtl"] .layout-column {
  71. float: right;
  72. }
  73. .layout-column--half {
  74. width: 50%;
  75. }
  76. .layout-column--quarter {
  77. width: 25%;
  78. }
  79. .layout-column--three-quarter {
  80. width: 75%;
  81. }
  82. }