Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Shorter SCSS $grid-* variables to promote wider usage (amended)

  • Loading branch information...
commit 42f3c542f8793d1e5c15bc1483328ac0d9639021 1 parent 8d9b00a
@chillu chillu authored
View
12 admin/scss/_style.scss
@@ -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;
}
}
View
2  css/AssetUploadField.css
@@ -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 */
View
2  css/UploadField.css
@@ -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 */
Please sign in to comment.
Something went wrong with that request. Please try again.