From f1f2c384cb4236f29ecdf9025c3da3166eeb4c34 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Fri, 23 Oct 2009 21:54:00 -0600 Subject: Rename dimension and scale classes in increments of quarters and thirds. --- lib/gallery.common.css | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index c94a8421..318594d0 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -170,17 +170,28 @@ input[type="reset"] { * 3) Dimension and scale **********************************************************************/ -.g-narrow { +.g-one-quarter { width: 25%; } -.g-wide { - width: 100%; +.g-one-third { + width: 33%; } -form.g-narrow { - padding: 0; - width: 270px; +.g-one-half { + width: 50%; +} + +.g-two-thirds { + width: 66%; +} + +.g-three-quarters { + width: 75%; +} + +.g-whole { + width: 100%; } /** ******************************************************************* -- cgit v1.2.3 From 85affaf23faba36a6cb266bc66875d2cb6555a81 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Fri, 23 Oct 2009 21:56:33 -0600 Subject: Remove left and right padding inside list items to remove gaps between text inputs and submit buttons when a g-short-form is in error. --- lib/gallery.common.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 318594d0..d0d41ecf 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -233,6 +233,10 @@ form li.g-warning { padding: .3em .8em .3em 1em; } +.g-short-form li.g-error { + padding: .3em 0 .3em 0; +} + form.g-error input[type="text"], li.g-error input[type="text"], form.g-error input[type="password"], -- cgit v1.2.3