Fix style.css for the search bar in the menubar for 1px spacing at top, fixed archivedropdownwidget.inc to put the correct CSS elements in, experimented trying to fix CalendarWidget.inc bug no-dice its a wordpress time-zone issue with the extra columns, first series of the dark navigation (needs adjustments)

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-17 02:21:02 -08:00
parent 39c678fbc2
commit c12c7751ba
14 changed files with 150 additions and 7 deletions

BIN
images/nav/dark/archive.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/nav/dark/first.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
images/nav/dark/last.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@ -0,0 +1,140 @@
/* COMIC NAVIGATION
Author: Tyler Martin
Style: Silver
*/
#comic_navi_wrapper {
display: table;
border-collapse: collapse;
text-align: center;
margin: 0 auto;
}
.comic_navi_left {
}
.comic_navi_center {
}
.comic_navi_right {
}
.comic_navi {
}
.navi-comictitle {
text-align: center;
padding-top: 26px;
max-width: 100px;
}
.navi {
width: 66px;
padding: 66px 0 0 0;
/* margin: 0 5px; */
display: inline-block;
overflow: hidden;
font-size: 11px;
text-align: center;
color: #555;
}
.navi:hover {
background-position: -66px 0;
}
.navi-first {
background: url('first.png') no-repeat;
}
.navi-prevchap, .navi-story_prev {
background: url('prevchap.png') no-repeat;
}
.navi-story_prev_in {
background: url('prevchap.png') no-repeat;
}
.navi-prev, .navi-previous {
margin-right: 10px;
background: url('prev.png') no-repeat;
}
.navi-comments, .navi-archive, .navi-random, .navi-buyprint {
margin: 0 5px;
}
.navi-buyprint {
border: none;
cursor: pointer;
background: url('buyprint.png') no-repeat;
}
.navi-buyprint:hover, button .navi-buyprint:hover {
background: url('buyprint.png') no-repeat;
background-position: -66px 0;
color: #f00;
}
.navi-buyprint-form {
width: 76px;
display: inline-block;
margin: 0;
padding: 0;
}
.navi-archive, .navi-archives {
background: url('archive.png') no-repeat;
}
.navi-random {
background: url('random.png') no-repeat;
}
.navi-comments {
padding: 0;
background: url('comments.png') no-repeat;
}
a.navi-comments span {
display: inline-block;
width: 66px;
height: 66px;
display: inline-block;
font-size: 16px;
font-weight: bold;
line-height: 66px;
color: #c5c5c5;
}
a.navi-comments span:hover {
color: #860b04;
}
.navi-next {
margin-left: 10px;
background: url('next.png') no-repeat;
}
.navi-nextchap, .navi-story_next {
background: url('nextchap.png') no-repeat;
}
.navi-story_next_in {
background: url('nextchap.png') no-repeat;
}
.navi-last {
background: url('last.png') no-repeat;
}
.navi-void, .navi-void:hover {
color: #999;
background-position: -132px 0;
}
.comic-left .navi-prev, .comic-right .navi-prev, .comic-left .navi-next, .comic-right .navi-next {
/* margin: 0 5px; */
}

BIN
images/nav/dark/next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/nav/dark/prev.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
images/nav/dark/random.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -184,7 +184,8 @@ h3, h3 a {
.menunav-search {
float: left;
height: 25px;
padding-top: 1px;
height: 24px;
}
.menunav-rss {

View File

@ -18,8 +18,8 @@ class ArchiveDropdownWidget extends WP_Widget {
$this->modes = array(
'monthly_archive' => __('Monthly archive', 'comicpress'),
'comic_archive' => __('Comic archive', 'comicpress'),
'storyline_order' => __('Storyline order', 'comicpress'),
'comic_archive' => __('Comic archive', 'comicpress'),
'storyline_order' => __('Storyline order', 'comicpress'),
);
}
@ -43,13 +43,14 @@ class ArchiveDropdownWidget extends WP_Widget {
$action_nonce = wp_create_nonce('comicpress-follow-archive-dropdown');
ob_start(); ?>
<div class="archive-dropdown-wrap" id="<?php echo esc_attr($id) ?>">
<ul>
<li class="archive-dropdown-wrap" id="<?php echo esc_attr($id) ?>">
<form action="" method="get">
<input type="hidden" name="cp[_nonce]" value="<?php echo esc_attr($nonce) ?>" />
<input type="hidden" name="cp[action]" value="follow-archive-dropdown" />
<input type="hidden" name="cp[_action_nonce]" value="<?php echo esc_attr($action_nonce) ?>" />
<select name="cp[urls]">
<select name="cp[urls]" class="archive-dropdown">
<option value=""><?php echo esc_html(apply_filters('comicpress_archive_dropdown_default_entry', __('Archives...', 'comicpress'))) ?></option>
<?php
if (is_string($entries)) {
@ -63,7 +64,8 @@ class ArchiveDropdownWidget extends WP_Widget {
</select>
<input id="<?php echo esc_attr($button_id) ?>" type="submit" value="<?php echo esc_attr(apply_filters('comicpress_archive_dropdown_submit_button', __('Go', 'comicpress'))) ?>" />
</form>
</div>
</li>
</ul>
<script type="text/javascript">
document.getElementById('<?php echo esc_js($button_id) ?>').style.display = 'none';
document.getElementById('<?php echo esc_js($id) ?>').onchange = function(e) {

View File

@ -16,7 +16,7 @@ class CalendarWidget extends WP_Widget {
}
function widget($args, $instance) {
global $post;
global $post, $wp_query;
extract($args, EXTR_SKIP);
echo $before_widget;