From c9ccc2461880de141c37c3c7a7df3b26530ce806 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 18 Oct 2009 10:32:08 -0600 Subject: Moved the short_form init function to gallery.common and made it jQuery plugin. Dropped gallery.form.js. Applied short forms to server_add and tag admin pages. Added tag.css to admin views. Added .g-wide {}. --- modules/tag/css/tag.css | 34 +++++++--------------------------- 1 file changed, 7 insertions(+), 27 deletions(-) (limited to 'modules/tag/css') diff --git a/modules/tag/css/tag.css b/modules/tag/css/tag.css index b718de05..6dfba946 100644 --- a/modules/tag/css/tag.css +++ b/modules/tag/css/tag.css @@ -1,3 +1,5 @@ +/* Tag cloud ~~~~~~~~~~~~~~ */ + #g-tag-cloud ul { font-size: 1.2em; text-align: justify; @@ -75,40 +77,18 @@ } #g-tag-admin ul { - padding-bottom: .3em; + margin-bottom: 2em; } #g-tag-admin li { - padding: .1em 0 .2em .3em; -} - -#g-tag-admin .g-column { - float: left; - width: 200px; + padding: .1em 0 .2em 0; } -#g-edit-tag-form input { - padding: 0 .2em 0 .2em; - clear: none; - float: left; - margin: 0 .2em 0 0; +#g-rename-tag-form ul { + margin-bottom: 0; } -#g-edit-tag-form input[type="text"].g-error { +#g-rename-tag-form input[type="text"].g-error { border: 2px solid red; background: none; } - -#g-edit-tag-form input[type="submit"] { - height: 25px; -} - -#g-edit-tag-form a, #g-edit-tag-form span { - display: block; - float: left; - padding: .2em .2em 0 .1em; -} - -#g-edit-tag-form span { - float: right; -} -- cgit v1.2.3 From 8cd8fa2b99e92af94df7081fc398172eec48ba2a Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 18 Oct 2009 10:53:18 -0600 Subject: Fixed add tag short form layout. --- lib/gallery.common.css | 5 +++++ modules/tag/css/tag.css | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'modules/tag/css') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 1fe85d46..c574279c 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -361,6 +361,11 @@ form .g-error { padding: .2em .8em; } +#g-sidebar .g-short-form li { + padding-left: 0; + padding-right: 0; +} + /* Right to left styles ~~~~~~~~~~~~~~~~~~~~ */ .rtl .g-short-form li { diff --git a/modules/tag/css/tag.css b/modules/tag/css/tag.css index 6dfba946..ec16251d 100644 --- a/modules/tag/css/tag.css +++ b/modules/tag/css/tag.css @@ -1,4 +1,4 @@ -/* Tag cloud ~~~~~~~~~~~~~~ */ +/* Tag cloud ~~~~~~~~~~~~~~~~~~~~~~~ */ #g-tag-cloud ul { font-size: 1.2em; @@ -66,7 +66,13 @@ text-decoration: underline; } -/* Tag admin ~~~~~~~~~~~~~~ */ +/* Add tag form ~~~~~~~~~~~~~~~~~~~~ */ + +#g-sidebar .g-short-form .textbox { + width: 11em; +} + +/* Tag admin ~~~~~~~~~~~~~~~~~~~~~~~ */ #g-tag-admin { table-layout: fixed; -- cgit v1.2.3