spacing helpers simplified

This commit is contained in:
Raphael Goetter 2014-05-03 11:25:32 +02:00
parent 15f0b5bf48
commit 7956f3f0bc

View file

@ -302,46 +302,46 @@ img.start, img.end {
a,t,r,b,l = all,top,right,bottom,left a,t,r,b,l = all,top,right,bottom,left
s,m,l,n = small, medium, large, none s,m,l,n = small, medium, large, none
*/ */
.m-reset, .ma0 { margin: 0; } .man { margin: 0; }
.p-reset, .pa0 { padding: 0; } .pan { padding: 0; }
.ma1, .mas { margin: @small-value; } .mas { margin: @small-value; }
.ma2, .mam { margin: @medium-value; } .mam { margin: @medium-value; }
.ma3, .mal { margin: @large-value; } .mal { margin: @large-value; }
.pa1, .pas { padding: @small-value; } .pas { padding: @small-value; }
.pa2, .pam { padding: @medium-value; } .pam { padding: @medium-value; }
.pa3, .pal { padding: @large-value; } .pal { padding: @large-value; }
.mt0, .mtn { margin-top: 0; } .mtn { margin-top: 0; }
.mt1, .mts { margin-top: @small-value; } .mts { margin-top: @small-value; }
.mt2, .mtm { margin-top: @medium-value; } .mtm { margin-top: @medium-value; }
.mt3, .mtl { margin-top: @large-value; } .mtl { margin-top: @large-value; }
.mr0, .mrn { margin-right: 0; } .mrn { margin-right: 0; }
.mr1, .mrs { margin-right: @small-value; } .mrs { margin-right: @small-value; }
.mr2, .mrm { margin-right: @medium-value; } .mrm { margin-right: @medium-value; }
.mr3, .mrl { margin-right: @large-value; } .mrl { margin-right: @large-value; }
.mb0, .mbn { margin-bottom: 0; } .mbn { margin-bottom: 0; }
.mb1, .mbs { margin-bottom: @small-value; } .mbs { margin-bottom: @small-value; }
.mb2, .mbm { margin-bottom: @medium-value; } .mbm { margin-bottom: @medium-value; }
.mb3, .mbl { margin-bottom: @large-value; } .mbl { margin-bottom: @large-value; }
.ml0, .mln { margin-left: 0; } .mln { margin-left: 0; }
.ml1, .mls { margin-left: @small-value; } .mls { margin-left: @small-value; }
.ml2, .mlm { margin-left: @medium-value; } .mlm { margin-left: @medium-value; }
.ml3, .mll { margin-left: @large-value; } .mll { margin-left: @large-value; }
.pt0, .ptn { padding-top: 0; } .ptn { padding-top: 0; }
.pt1, .pts { padding-top: @small-value; } .pts { padding-top: @small-value; }
.pt2, .ptm { padding-top: @medium-value; } .ptm { padding-top: @medium-value; }
.pt3, .ptl { padding-top: @large-value; } .ptl { padding-top: @large-value; }
.pr0, .prn { padding-right: 0; } .prn { padding-right: 0; }
.pr1, .prs { padding-right: @small-value; } .prs { padding-right: @small-value; }
.pr2, .prm { padding-right: @medium-value; } .prm { padding-right: @medium-value; }
.pr3, .prl { padding-right: @large-value; } .prl { padding-right: @large-value; }
.pb0, .pbn { padding-bottom: 0; } .pbn { padding-bottom: 0; }
.pb1, .pbs { padding-bottom: @small-value; } .pbs { padding-bottom: @small-value; }
.pb2, .pbm { padding-bottom: @medium-value; } .pbm { padding-bottom: @medium-value; }
.pb3, .pbl { padding-bottom: @large-value; } .pbl { padding-bottom: @large-value; }
.pl0, .pln { padding-left: 0; } .pln { padding-left: 0; }
.pl1, .pls { padding-left: @small-value; } .pls { padding-left: @small-value; }
.pl2, .plm { padding-left: @medium-value; } .plm { padding-left: @medium-value; }
.pl3, .pll { padding-left: @large-value; } .pll { padding-left: @large-value; }
} }