mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Shorter SCSS $grid-* variables to promote wider usage (amended)
This commit is contained in:
parent
8d9b00a4fd
commit
42f3c542f8
@ -1079,7 +1079,7 @@ body.cms-dialog {
|
||||
@include border-radius(5px);
|
||||
@include background-clip(padding-box);
|
||||
background: #E2E2E2;
|
||||
margin-bottom: $grid-horizontal*2;
|
||||
margin-bottom: $grid-x*2;
|
||||
|
||||
&.loading {
|
||||
width: 100%;
|
||||
@ -1096,10 +1096,10 @@ body.cms-dialog {
|
||||
.thumbnail {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
padding: $grid-horizontal/2;
|
||||
padding: $grid-x/2;
|
||||
|
||||
img {
|
||||
max-height: $grid-horizontal*3;
|
||||
max-height: $grid-x*3;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1109,8 +1109,8 @@ body.cms-dialog {
|
||||
background: #fff;
|
||||
border: 1px solid lighten($color-medium-separator, 20%);
|
||||
@include border-radius(5px);
|
||||
margin-left: $grid-horizontal*2;
|
||||
padding: $grid-horizontal/2;
|
||||
margin-left: $grid-x*2;
|
||||
padding: $grid-x/2;
|
||||
}
|
||||
|
||||
.action-delete {
|
||||
@ -1119,7 +1119,7 @@ body.cms-dialog {
|
||||
}
|
||||
|
||||
.details {
|
||||
padding: $grid-horizontal*2;
|
||||
padding: $grid-x*2;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
/** ----------------------------------------------- Colours ------------------------------------------------ */
|
||||
/** ----------------------------------------------- Textures ----------------------------------------------- */
|
||||
/** ----------------------------------------------- Typography. ------------------------------------------------ */
|
||||
/** ----------------------------------------------- Grid Units (px) We have a vertical rhythm that the grid is based off both vertical and horizontal. All internal padding and margins are scaled to this and accounting for paragraphs ------------------------------------------------ */
|
||||
/** ----------------------------------------------- Grid Units (px) We have a vertical rhythm that the grid is based off both x (=horizontal) and y (=vertical). All internal padding and margins are scaled to this and accounting for paragraphs ------------------------------------------------ */
|
||||
/** ----------------------------------------------- Application Logo (CMS Logo) Must be 24px x 24px ------------------------------------------------ */
|
||||
/** Helper SCSS file for generating sprites for the interface. */
|
||||
/* CMS action button sprite mix-in for UploadField, copied from admin/scss/_forms.scss */
|
||||
|
@ -2,7 +2,7 @@
|
||||
/** ----------------------------------------------- Colours ------------------------------------------------ */
|
||||
/** ----------------------------------------------- Textures ----------------------------------------------- */
|
||||
/** ----------------------------------------------- Typography. ------------------------------------------------ */
|
||||
/** ----------------------------------------------- Grid Units (px) We have a vertical rhythm that the grid is based off both vertical and horizontal. All internal padding and margins are scaled to this and accounting for paragraphs ------------------------------------------------ */
|
||||
/** ----------------------------------------------- Grid Units (px) We have a vertical rhythm that the grid is based off both x (=horizontal) and y (=vertical). All internal padding and margins are scaled to this and accounting for paragraphs ------------------------------------------------ */
|
||||
/** ----------------------------------------------- Application Logo (CMS Logo) Must be 24px x 24px ------------------------------------------------ */
|
||||
/** Helper SCSS file for generating sprites for the interface. */
|
||||
/* CMS action button sprite mix-in for UploadField, copied from admin/scss/_forms.scss */
|
||||
|
Loading…
x
Reference in New Issue
Block a user