From c63d16b8055867509f9842fe6c500e841f4e056f Mon Sep 17 00:00:00 2001 From: Micah Eschbacher Date: Thu, 13 Dec 2012 15:10:14 -0600 Subject: [PATCH 1/2] Removed the units from 0-length values Noticed it was throwing warnings in CSS Lint. --- core/spacing/space.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/spacing/space.css b/core/spacing/space.css index e9f94c17..401f1ba2 100644 --- a/core/spacing/space.css +++ b/core/spacing/space.css @@ -16,37 +16,37 @@ a,t,r,b,l,h,v = all,top,right,bottom,left,horizontal,vertical s,m,l,n = small(5px),medium(10px),large(20px),none(0px) */ -.ptn,.pvn,.pan{padding-top:0px !important} +.ptn,.pvn,.pan{padding-top:0 !important} .pts,.pvs,.pas{padding-top:5px !important} .ptm,.pvm,.pam{padding-top:10px !important} .ptl,.pvl,.pal{padding-top:20px !important} -.prn,.phn,.pan{padding-right:0px !important} +.prn,.phn,.pan{padding-right:0 !important} .prs,.phs,.pas{padding-right:5px !important} .prm,.phm,.pam{padding-right:10px !important} .prl,.phl,.pal{padding-right:20px !important} -.pbn,.pvn,.pan{padding-bottom:0px !important} +.pbn,.pvn,.pan{padding-bottom:0 !important} .pbs,.pvs,.pas{padding-bottom:5px !important} .pbm,.pvm,.pam{padding-bottom:10px !important} .pbl,.pvl,.pal{padding-bottom:20px !important} -.pln,.phn,.pan{padding-left:0px !important} +.pln,.phn,.pan{padding-left:0 !important} .pls,.phs,.pas{padding-left:5px !important} .plm,.phm,.pam{padding-left:10px !important} .pll,.phl,.pal{padding-left:20px !important} -.mtn,.mvn,.man{margin-top:0px !important} +.mtn,.mvn,.man{margin-top:0 !important} .mts,.mvs,.mas{margin-top:5px !important} .mtm,.mvm,.mam{margin-top:10px !important} .mtl,.mvl,.mal{margin-top:20px !important} -.mrn,.mhn,.man{margin-right:0px !important} +.mrn,.mhn,.man{margin-right:0 !important} .mrs,.mhs,.mas{margin-right:5px !important} .mrm,.mhm,.mam{margin-right:10px !important} .mrl,.mhl,.mal{margin-right:20px !important} -.mbn,.mvn,.man{margin-bottom:0px !important} +.mbn,.mvn,.man{margin-bottom:0 !important} .mbs,.mvs,.mas{margin-bottom:5px !important} .mbm,.mvm,.mam{margin-bottom:10px !important} .mbl,.mvl,.mal{margin-bottom:20px !important} -.mln,.mhn,.man{margin-left:0px !important} +.mln,.mhn,.man{margin-left:0 !important} .mls,.mhs,.mas{margin-left:5px !important} .mlm,.mhm,.mam{margin-left:10px !important} .mll,.mhl,.mal{margin-left:20px !important} .mra,.mha{margin-right:auto !important} -.mla,.mha{margin-left:auto !important} \ No newline at end of file +.mla,.mha{margin-left:auto !important} From d5eca6a9aee7e9350695035af32ae9d1851f168e Mon Sep 17 00:00:00 2001 From: Micah Eschbacher Date: Thu, 13 Dec 2012 15:11:20 -0600 Subject: [PATCH 2/2] Updated documentation --- core/spacing/space.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/spacing/space.css b/core/spacing/space.css index 401f1ba2..b64cfc1e 100644 --- a/core/spacing/space.css +++ b/core/spacing/space.css @@ -13,7 +13,7 @@ table h1,table h2,table h3, table h4, table h5, table h6, table p, table ul, tab /* spacing helpers p,m = padding,margin a,t,r,b,l,h,v = all,top,right,bottom,left,horizontal,vertical -s,m,l,n = small(5px),medium(10px),large(20px),none(0px) +s,m,l,n, a = small(5px),medium(10px),large(20px),none(0), auto(auto) */ .ptn,.pvn,.pan{padding-top:0 !important}