From df7b05b40edf6fef1d6b9a4990dbf35a47bcd372 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 26 Feb 2009 03:38:56 +0000 Subject: Move tag CSS into admin theme's screen.css Use JS to add titles to avoid repeating the same text 10s of times. --- modules/tag/views/admin_tags.html.php | 48 ++++++----------------------------- themes/admin_default/css/screen.css | 36 ++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 40 deletions(-) diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php index a4517d49..92b0f6b7 100644 --- a/modules/tag/views/admin_tags.html.php +++ b/modules/tag/views/admin_tags.html.php @@ -1,40 +1,10 @@ - +

@@ -68,11 +38,9 @@
  • - ">name ?> + name ?> (count ?>) - id") ?>" class="gDialogLink" - title="">X + id") ?>" class="gDialogLink delete-link">X
  • diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 492d8c54..31fd2697 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -251,3 +251,39 @@ li.gGroup { #gAdminDashboardSidebar .ui-dialog-titlebar { padding: .2em .4em; } + +/**** Stuff that needs a home! ****/ +#gTagAdmin td { + border: 0; +} +#gTagAdmin ul { + padding-bottom: .3em; +} +#gTagAdmin li { + padding: .1em 0 .2em .3em; +} +#gTagAdmin .gColumn { + float: left; + width: 200px; +} +.gEditable { + padding: .1em .3em .2em .3em; +} +.gEditable:hover { + background-color: #ffc; + cursor: text; +} +#gRenameTagForm input { + padding: 0 .2em 0 .2em; + clear: none; + float: left; + margin: 0 .2em 0 0; +} +#gRenameTagForm input[type="submit"] { + height: 25px; +} +#gRenameTagForm a, #gRenameTagForm span { + display: block; + float: left; + padding: .2em .2em 0 .1em; +} -- cgit v1.2.3