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