Skip to content
Snippets Groups Projects
Commit ecadab6e authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2298821 by LewisNyman: Move generic layout styling into system.admin.css.

parent 0366f4be
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -3,6 +3,47 @@
* Styles for administration pages.
*/
/**
* Reusable layout styles.
*/
.layout-container {
margin: 0 1.5em;
}
.layout-container:after {
content: "";
display: table;
clear: both;
}
@media screen and (min-width: 38em) {
.layout-container {
margin: 0 2.5em;
}
.layout-column {
float: left; /* LTR */
box-sizing: border-box;
}
[dir="rtl"] .layout-column {
float: right;
}
.layout-column + .layout-column {
padding-left: 10px; /* LTR */
}
[dir="rtl"] .layout-column + .layout-column {
padding-right: 10px;
padding-left: 0;
}
.layout-column.half {
width: 50%;
}
.layout-column.quarter {
width: 25%;
}
.layout-column.three-quarter {
width: 75%;
}
}
/**
* Administration blocks.
*/
......
.layout-container {
margin: 0 1.5em;
}
.layout-container:after {
content: "";
display: table;
clear: both;
}
@media screen and (min-width: 38em) {
.layout-container {
margin: 0 2.5em;
}
.layout-column {
float: left; /* LTR */
box-sizing: border-box;
}
[dir="rtl"] .layout-column {
float: right;
}
.layout-column + .layout-column {
padding-left: 10px; /* LTR */
}
[dir="rtl"] .layout-column + .layout-column {
padding-right: 10px;
padding-left: 0;
}
.layout-column.half {
width: 50%;
}
.layout-column.quarter {
width: 25%;
}
.layout-column.three-quarter {
width: 75%;
}
}
/**
* Add spacing to bottom of pages
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment