[Blueprint] Add mixins for +prepend-top and +append-bottom and corresponding grid classes when generating the css grid classes.
This commit is contained in:
parent
005f6d4f36
commit
65f4cb0d50
@ -66,6 +66,10 @@
|
|||||||
@for !n from 1 through !blueprint_grid_columns
|
@for !n from 1 through !blueprint_grid_columns
|
||||||
.push-#{!n}
|
.push-#{!n}
|
||||||
+push-margins(!n)
|
+push-margins(!n)
|
||||||
|
.prepend-top
|
||||||
|
+prepend-top
|
||||||
|
.append-bottom
|
||||||
|
+append-bottom
|
||||||
|
|
||||||
|
|
||||||
// Columns
|
// Columns
|
||||||
@ -111,6 +115,12 @@
|
|||||||
=prepend(!n)
|
=prepend(!n)
|
||||||
:padding-left = (!blueprint_grid_outer_width) * !n
|
:padding-left = (!blueprint_grid_outer_width) * !n
|
||||||
|
|
||||||
|
=append-bottom(!amount = 1.5em)
|
||||||
|
:margin-bottom= !amount
|
||||||
|
|
||||||
|
=prepend-top(!amount = 1.5em)
|
||||||
|
:margin-top= !amount
|
||||||
|
|
||||||
=pull-base
|
=pull-base
|
||||||
+float-left
|
+float-left
|
||||||
:position relative
|
:position relative
|
||||||
|
Loading…
Reference in New Issue
Block a user