Module: nagvis Branch: master Commit: 25289761e4370b45a21391559887401a4983e2ad URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=25289761e4370b45a21391559887401a4983e2ad
Author: LaMi <[email protected]> Date: Sun Jan 10 18:17:08 2010 +0100 Another WUI/Form styling session --- share/frontend/wui/classes/WuiForm.php | 6 +++--- share/frontend/wui/css/wui.css | 23 ++--------------------- share/userfiles/templates/default.css | 8 +++++++- 3 files changed, 12 insertions(+), 25 deletions(-) diff --git a/share/frontend/wui/classes/WuiForm.php b/share/frontend/wui/classes/WuiForm.php index 6bb4a5c..05fad95 100644 --- a/share/frontend/wui/classes/WuiForm.php +++ b/share/frontend/wui/classes/WuiForm.php @@ -71,7 +71,7 @@ class WuiForm { * @author Lars Michelsen <[email protected]> */ public function getTitleLine($title) { - return '<tr><th colspan="'.$this->cols.'">'.$title.'</th></tr>'; + return '<tr><th colspan="'.$this->cols.'"><h2>'.$title.'</h2></th></tr>'; } /** @@ -82,7 +82,7 @@ class WuiForm { * @author Lars Michelsen <[email protected]> */ public function getCatLine($title) { - return '<tr><th class="cat" colspan="'.$this->cols.'">'.$title.'</th></tr>'; + return '<tr><th class="cat" colspan="'.$this->cols.'"><h2>'.$title.'</h2></th></tr>'; } /** @@ -310,4 +310,4 @@ class WuiForm { return $this->id; } } -?> \ No newline at end of file +?> diff --git a/share/frontend/wui/css/wui.css b/share/frontend/wui/css/wui.css index c931c02..f67ff42 100644 --- a/share/frontend/wui/css/wui.css +++ b/share/frontend/wui/css/wui.css @@ -26,28 +26,8 @@ * @author Lars Michelsen <[email protected]> */ -.main { - margin: 0; - padding: 0; - background-color: white; -} - -.submit { - font-weight: bold; - color: #314455; - vertical-align: middle; -} - -.focus { - cursor: crosshair !important; -} - -.focusOff { - cursor: default; -} - /* - * WUI INFOBOX + * WUI context menu on objects */ table.infobox { @@ -87,6 +67,7 @@ table.infobox tr.inherited th, table.infobox tr.inherited td { color: #a4a4a4; } +/* hover menu navigation styling */ ul.nav { margin: 0; padding: 0; diff --git a/share/userfiles/templates/default.css b/share/userfiles/templates/default.css index 4f1e418..873dd0e 100644 --- a/share/userfiles/templates/default.css +++ b/share/userfiles/templates/default.css @@ -486,7 +486,7 @@ td#popupWindowContent table.mytable td, td#popupWindowContent table.mytable th { /* title */ td#popupWindowContent table.mytable th { border:0;} -td#popupWindowContent table.mytable th h2 {font-size:12px;text-align:center;background:#eee;padding:3px 10px 2px 20px;font-size:20px;line-height:30px;font-weight:normal;-moz-border-radius:8px;-webkit-border-radius:8px;text-shadow: 1px 1px 1px #bbbbbb;margin-bottom:5px;} +td#popupWindowContent table.mytable th h2 {font-size:16px;text-align:center;background:#eee;padding:3px 10px 2px 20px;line-height:20px;font-weight:normal;-moz-border-radius:8px;-webkit-border-radius:8px;text-shadow: 1px 1px 1px #bbbbbb;margin-bottom:5px;} /* cat */ td#popupWindowContent table.mytable th.cat {font-size: 12px;} @@ -502,6 +502,12 @@ td#popupWindowContent table.mytable td.tdlabel {padding-left: 10px;width: 50%;} td#popupWindowContent table.mytable tr td.tdfield input, td#popupWindowContent table.mytable tr td.tdfield select {font-size: 10px;background-color: #E4EEF6;border: 1px solid #284279;width: 100%;} +td#popupWindowContent .submit { + font-weight: bold; + color: #314455; + vertical-align: middle; +} + /* Popup window forms */ td#popupWindowContent fieldset { ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
