From fc0775b03cbf96d42336cd3b0f492eca1c3a0b04 Mon Sep 17 00:00:00 2001 From: mindfaucet Date: Tue, 24 Nov 2009 15:14:59 -0700 Subject: [PATCH] ComicPress Options Styling... still in progress. ;) --- comicpress-options.php | 77 +++++----- js/tabbed/tabbed_pages.css | 81 ++++++---- options/generaloptions.php | 292 +++++++++++++++++++------------------ options/indexoptions.php | 119 +++++++-------- options/themestyle.php | 69 ++++----- 5 files changed, 341 insertions(+), 297 deletions(-) diff --git a/comicpress-options.php b/comicpress-options.php index bae5a7d..1c1ebd3 100644 --- a/comicpress-options.php +++ b/comicpress-options.php @@ -171,45 +171,48 @@ function comicpress_admin() {
-
- - - - - - - - - -
+ + + + + + + + + - - - - + diff --git a/js/tabbed/tabbed_pages.css b/js/tabbed/tabbed_pages.css index 6f88cee..ccd36d3 100644 --- a/js/tabbed/tabbed_pages.css +++ b/js/tabbed/tabbed_pages.css @@ -65,24 +65,8 @@ div.hide { div.show { clear: left; display: run-in; - background: #fff; - border-width: 1px 1px 0 1px; - border-style: solid; - border-color: #dfdfdf; - padding: 10px; - z-index: 50; - margin-top: -2px; position: relative; - font: 11px verdana, arial, sans-serif; - line-height: 18px; - border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - -webkit-border-top-left-radius: 6px; - -khtml-border-top-left-radius: 6px; - border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - -webkit-border-top-right-radius: 6px; - -khtml-border-top-right-radius: 6px; + z-index: 50; } div.show img { float: left; @@ -94,12 +78,47 @@ div.show img { .cpadmin-footer { padding: 10px; + margin: 10px 0 0 0; color: #777; + text-align: center; background: #fff; + border: 1px solid #dfdfdf; + font-family: 'Arial', sans-serif; + border-radius: 6px; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + -khtml-border-radius: 6px; +} +.cpadmin-donate { + float: right; +} +.cpadmin-footer a { + text-decoration: none; +} + +#comicpress-options { + padding: 10px 10px 1px 10px; + background: #fff; + border-width: 1px 1px 1px 1px; + border-style: solid; + border-color: #dfdfdf; + margin-top: -2px; + font: 11px verdana, arial, sans-serif; + line-height: 18px; + border-top-left-radius: 6px; + -moz-border-radius-topleft: 6px; + -webkit-border-top-left-radius: 6px; + -khtml-border-top-left-radius: 6px; + border-top-right-radius: 6px; + -moz-border-radius-topright: 6px; + -webkit-border-top-right-radius: 6px; + -khtml-border-top-right-radius: 6px; +} + +#comicpress-options-save { border-width: 0 1px 1px 1px; border-style: solid; border-color: #dfdfdf; - font-family: 'Arial', sans-serif; border-bottom-left-radius: 6px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; @@ -109,26 +128,32 @@ div.show img { -webkit-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; } -.cpadmin-donate { - float: right; -} -.cpadmin-footer a { - text-decoration: none; -} #comicpress-options table.widefat thead tr th { font-size: 14px; -padding-top: 10px; } #comicpress-options table.widefat label { display: block; text-align: right; } -#comicpress-options table.widefat label select { +#comicpress-options table.widefat select { width: 100%; } -#comicpress-options table.widefat .button-primary { -padding: 1px 5px; +#comicpress-options table.widefat { +margin-bottom: 10px; +border-bottom: none; } + +#comicpress-options table.widefat th.scope { +width: 200px; +} + +#comicpress-options table.widefat th.scope label { +color: #21759b; +} + +#comicpress-options table.widefat th.scope label:hover { +color: #d54e21; +} \ No newline at end of file diff --git a/options/generaloptions.php b/options/generaloptions.php index 7bab999..d7d6f23 100644 --- a/options/generaloptions.php +++ b/options/generaloptions.php @@ -2,160 +2,168 @@
+ +
- - - - - +
Main
+ + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + +
Main
+ /> + + Dynamic (fills browser window) or Fixed (width is specified, e.g., 980px, 780px, etc.) If Dynamic is enabled #page and #page-wide will not load. This allow you to use the entire browser for your canvas instead of the 780px/980px that the two elements limit you to by default.','comicpress'); ?> +
- /> - - Dynamic (fills browser window) or Fixed (width is specified, e.g., 980px, 780px, etc.) If Dynamic is enabled #page and #page-wide will not load. This allow you to use the entire browser for your canvas instead of the 780px/980px that the two elements limit you to by default.','comicpress'); ?> -
- /> - - -
- /> - - -
- /> - - -
Navigation + /> + + +
- /> - - -
- /> - - -
- /> - - -
- - - images/nav/ and place your image files inside of it and create a navstyle.css file to determine the style of your navigation display.','comicpress'); ?> -
+ /> + + +
+ /> + + +
- - - Sidebars + + + + + + + + + + - - - - - - - - - - - - - - - + + + - - - - - - - - + + + + + + - + - +
Navigation
+ /> + + +
- /> - -
-
- /> - - -
Footer + /> + + +
- /> - - Widgets-> Footer.', 'comicpress'); ?> -
+ /> + + +
- - + + + + + images/nav/ and place your image files inside of it and create a navstyle.css file to determine the style of your navigation display.','comicpress'); ?> +
- + + + + + + + + + + + + + + + + +
Sidebars
+ /> + +
+
+ /> + + +
+ + + + + + + + + + + + +
Footer
+ /> + + Widgets-> Footer.', 'comicpress'); ?> +
+ +
+ +
+
+
+ + +
+
+
+
diff --git a/options/indexoptions.php b/options/indexoptions.php index c2820ac..4fabcf9 100644 --- a/options/indexoptions.php +++ b/options/indexoptions.php @@ -3,66 +3,71 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Post
- /> - - -
Comic
- /> - - -
- /> - - -
- /> - - -
- - +
+ + + + + + + + + + + - +
Post
+ /> + +
+ + + + + + + + + + + + + + + + + + + + + + +
Comic
+ /> + + +
+ /> + + +
+ /> + + +
+ +
-
+
+
+
+ + +
+
+
+
diff --git a/options/themestyle.php b/options/themestyle.php index cd52cb7..4971cca 100644 --- a/options/themestyle.php +++ b/options/themestyle.php @@ -11,17 +11,17 @@ - - - - - - - - -
Layout


-
+ +
+ + + +
+
+
+ + +
+
+
+
- - +
+