From f823e8cddea6f340ce7e96f88c4beb9fdc6eb8cb Mon Sep 17 00:00:00 2001 From: cflakes Date: Thu, 8 Apr 2010 16:42:37 +0000 Subject: [PATCH] Some more skin fixes. Default's menu is still ugly, and the Ice skin is as well. Soon. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1900 726aef4b-f618-498e-8847-2d620e286838 --- modules/www/webadmin/add_edit_user.tmpl | 2 +- webskins/_default_/pub/_default_.css | 66 +++++++++++++++++++++++-- webskins/ice/pub/ice.css | 19 ++++++- 3 files changed, 81 insertions(+), 6 deletions(-) diff --git a/modules/www/webadmin/add_edit_user.tmpl b/modules/www/webadmin/add_edit_user.tmpl index 8640e79b..57ac34eb 100644 --- a/modules/www/webadmin/add_edit_user.tmpl +++ b/modules/www/webadmin/add_edit_user.tmpl @@ -98,7 +98,7 @@
Active:
-
checked="checked" /> +
checked="checked" />
diff --git a/webskins/_default_/pub/_default_.css b/webskins/_default_/pub/_default_.css index d59a5e20..92ab55ee 100644 --- a/webskins/_default_/pub/_default_.css +++ b/webskins/_default_/pub/_default_.css @@ -41,6 +41,7 @@ a:hover { border-top: none; -moz-box-shadow: 0 0 1em #666; -webkit-box-shadow: 0 0 1em #666; + box-shadow: 0 0 1em #666; } #banner_top { @@ -89,19 +90,64 @@ ul.nav li.parent ul li { font-size: 80%; } +ul.nav li.topitem:before { + content: "» "; +} + #infobar { text-align: right; clear: both; + position: relative; + top: -30px; + margin-left: 380px; + background-color: #ccc; + color: #333; + padding: 0 6px 3px 0; +} + +.errorbar + #infobar { + top: -59px; +} + +#infobar input { + border: none; + font-family: Tahoma, sans-serif; + padding: 1px; + font-size: 14px; + margin: 0 4px; + width: 120px; +} + +#infobar input.submit { + border: 1px solid #333; + font-size: 12px; + width: 60px; } #infobar_ident, .logoutbox, .loginbox { padding: 4px; font-size: 70%; - color: #888; } -ul.nav li.topitem:before { - content: "» "; +#infobar_ident { + margin-right: 4px; +} + +.logoutbox, .loginbox { + padding-top: 7px; +} + +.successbar, +.errorbar { + width: 100%; + background-color: #900; + padding: 5px 10px; + font-weight: bold; + color: #fff; +} + +.successbar { + background-color: #070; } #content { @@ -110,7 +156,6 @@ ul.nav li.topitem:before { #main { padding: 0 20px 20px 20px; - font-size: 90%; } @@ -141,6 +186,8 @@ h3 { input:focus, textarea:focus, select:focus { -moz-box-shadow: 0 0 0.4em #aaa; -webkit-box-shadow: 0 0 0.4em #aaa; + box-shadow: 0 0 0.4em #aaa; + outline: none; /* for webkit */ } textarea { @@ -182,6 +229,7 @@ textarea.monospace { table { border: 1px solid #ccc; + border-spacing: 1px; } td { @@ -223,9 +271,18 @@ tr.evenrow td { .subsection input, .subsection select, .subsection textarea { margin: 5px 0 5px 0; + min-width: 100px; vertical-align: middle; } +.subsection div.checkbox { + padding: 9px 0 0 3px; +} + +.subsection div.checkbox input { + min-width: 0; +} + .section .info { margin-bottom: 5px; display: block; @@ -253,6 +310,7 @@ td.mod_args input { font-size: 80%; } +td.mod_name, .checkboxandlabel { white-space: nowrap; } diff --git a/webskins/ice/pub/ice.css b/webskins/ice/pub/ice.css index aae389de..aa9d0901 100644 --- a/webskins/ice/pub/ice.css +++ b/webskins/ice/pub/ice.css @@ -1,3 +1,8 @@ +html, body { + margin: 0; + padding: 0; +} + body { background: url(pagebg.gif) top repeat-x #0C1833 fixed; color: #fff; @@ -76,7 +81,7 @@ input.full, textarea.full { } input.half, textarea.half { - width: 300px; + width: 297px; } input.third, textarea.third { @@ -206,3 +211,15 @@ textarea { border-right: 1px solid #000; float: left; } + +td.mod_name, +.checkboxandlabel { + white-space: nowrap; +} + +.lotsofcheckboxes .checkboxandlabel { + display: block; + float: left; + width: 200px; + margin-top: 0.5em; +}