Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
ecadab6e
Commit
ecadab6e
authored
10 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
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
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/modules/system/css/system.admin.css
+41
-0
41 additions, 0 deletions
core/modules/system/css/system.admin.css
core/themes/seven/css/layout/layout.css
+0
-38
0 additions, 38 deletions
core/themes/seven/css/layout/layout.css
with
41 additions
and
38 deletions
core/modules/system/css/system.admin.css
+
41
−
0
View file @
ecadab6e
...
...
@@ -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.
*/
...
...
This diff is collapsed.
Click to expand it.
core/themes/seven/css/layout/layout.css
+
0
−
38
View file @
ecadab6e
.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
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment