Skip to content
Browse files

Techozoic 2.0 Release

  • Loading branch information...
1 parent d98b4b4 commit bbb0bf9c8bb3af5d1ca811ead056adea37770af3 @jeremyclark13 committed
Showing with 36 additions and 36 deletions.
  1. +15 −15 functions/tech-css.php
  2. +1 −1 nav-wp3.php
  3. +20 −20 style.css
View
30 functions/tech-css.php
@@ -216,36 +216,36 @@ function tech_head_css(){
acronym,abbr,span.caps,small,.trackback li,.sidebar {
font-size: {$tech_small_font['size']};
}
-.description, ul#nav a, ul#admin a, #dropdown li.current_page_item a:hover, .menu li.current-menu-item a:hover, #dropdown li.current_page_item ul a, .menu li.current-menu-item ul a, ul#nav li.current_page_item a:hover, #nav2 a, #nav2 li.current_page_item a:hover,#subnav a, #subnav a:visited, #dropdown a, #navmenu .menu li a, #navmenu .menu li.current-menu-item a{
+.description, ul#nav a, ul#admin a, #dropdown li.current_page_item a:hover, .top-menu li.current-menu-item a:hover, #dropdown li.current_page_item ul a, .top-menu li.current-menu-item ul a, ul#nav li.current_page_item a:hover, #nav2 a, #nav2 li.current_page_item a:hover,#subnav a, #subnav a:visited, #dropdown a, #navmenu .top-menu li a, #navmenu .top-menu li.current-menu-item a{
color: {$tech_acc_color};
}
.author,#searchform #s, #searchsubmit:hover,#catsubmit:hover,#wp-submit:hover,.postform,#TB_ajaxContent {
background-color: {$tech_acc_color} ;
}
-ul#admin li, ul#dropdown li, #navmenu .menu li{
+ul#admin li, ul#dropdown li, #navmenu .top-menu li{
/*background-color: {$tech_nav_bg_color};*/
}
-ul#admin li a, ul#dropdown li a, #navmenu .menu li a{
+ul#admin li a, ul#dropdown li a, #navmenu .top-menu li a{
font-family:{$tech_nav_font['face']}, Sans-Serif;
font-size:{$tech_nav_font['size']};
color:{$tech_nav_font['color']};
}
-#navmenu .menu ul.sub-menu{
+#navmenu .top-menu ul.sub-menu{
background-color: {$tech_nav_ul_bg_color};
}
CSS;
if($tech_nav_bg_trans != 'On') {
$css_var .= <<<CSS
-#dropdown li.current_page_item, #navmenu .menu li.current-menu-item, #navmenu .menu ul.sub-menu li.current-menu-item {
+#dropdown li.current_page_item, #navmenu .top-menu li.current-menu-item, #navmenu .top-menu ul.sub-menu li.current-menu-item {
background-color: {$tech_acc_color} ;
}
-#dropdown li:hover, #navmenu .menu li:hover, #navmenu .menu ul.sub-menu > li:hover {
+#dropdown li:hover, #navmenu .top-menu li:hover, #navmenu .top-menu ul.sub-menu > li:hover {
background:#efefef;
}
-#dropdown li.current_page_item > a, #navmenu .menu li.current-menu-item > a{
+#dropdown li.current_page_item > a, #navmenu .top-menu li.current-menu-item > a{
color:#f7f7f7;
}
-#dropdown li.current_page_item > a:hover, #navmenu .menu li.current-menu-item > a:hover{
+#dropdown li.current_page_item > a:hover, #navmenu .top-menu li.current-menu-item > a:hover{
color:{$tech_acc_color};
}
ul#admin li:hover{
@@ -257,19 +257,19 @@ function tech_head_css(){
CSS;
} else {
$css_var .= <<<CSS
-#dropdown li.current_page_item, #navmenu .menu li.current-menu-item {
+#dropdown li.current_page_item, #navmenu .top-menu li.current-menu-item {
background-color: transparent ;
}
-#dropdown li:hover, #navmenu .menu li:hover {
+#dropdown li:hover, #navmenu .top-menu li:hover {
background-color:transparent;
box-shadow:none;
-moz-box-shadow:none;
-webkit-box-shadow:none;
}
-#dropdown li.current_page_item > a, #navmenu .menu li.current-menu-item > a{
+#dropdown li.current_page_item > a, #navmenu .top-menu li.current-menu-item > a{
color:#f7f7f7;
}
-#dropdown li.current_page_item > a:hover, #navmenu .menu li.current-menu-item > a:hover{
+#dropdown li.current_page_item > a:hover, #navmenu .top-menu li.current-menu-item > a:hover{
color:{$tech_acc_color};
}
ul#admin li:hover{
@@ -516,14 +516,14 @@ function tech_head_css(){
}
}
$css_var .= <<<CSS
-#header ul#nav,#header ul#nav2,#header ul#dropdown,#header ul.menu{
+#header ul#nav,#header ul#nav2,#header ul#dropdown,#header ul.top-menu{
{$tech_nav_align};
}
CSS;
if (of_get_option('nav_button_width','0') != '0') {
$tech_nav_button_width = of_get_option('nav_button_width','0');
$css_var .= <<<CSS
-#navmenu ul#nav li, #navmenu ul#admin li, #nav2 li,#dropdown li, #navmenu .menu li{
+#navmenu ul#nav li, #navmenu ul#admin li, #nav2 li,#dropdown li, #navmenu .top-menu li{
width: {$tech_nav_button_width}px;
}
CSS;
@@ -538,7 +538,7 @@ function tech_head_css(){
ul#admin{
margin-top:30px !important;
}
-#dropdown, .menu{
+#dropdown, .top-menu{
position:relative;
clear:both;
left:-50%;
View
2 nav-wp3.php 100755 → 100644
@@ -1,5 +1,5 @@
<?php
echo '<div id="navwrap">';
- wp_nav_menu( array('container' =>'','theme_location'=>'primary','fallback_cb' =>'tech_menu_fallback','walker'=>new techozoic_menu_walker()));
+ wp_nav_menu( array('container' =>'','theme_location'=>'primary','menu_class'=>'top-menu', 'fallback_cb' =>'tech_menu_fallback','walker'=>new techozoic_menu_walker()));
echo '</div>';
?>
View
40 style.css
@@ -975,7 +975,7 @@ h3.comments{
Nav Menus
*************************************/
-#dropdown, .menu{
+#dropdown, .top-menu{
height:35px;
line-height:16px;
list-style-image:none;
@@ -987,7 +987,7 @@ Nav Menus
z-index:10;
}
-#dropdown a, .menu a{
+#dropdown a, .top-menu a{
color:#A0B3C2;
display:block;
font-size:1.3em;
@@ -996,11 +996,11 @@ Nav Menus
text-decoration:none;
}
-#dropdown a:hover, .menu a:hover{
+#dropdown a:hover, .top-menu a:hover{
text-decoration:none !important;
}
-ul#dropdown > li, ul.menu > li{
+ul#dropdown > li, ul.top-menu > li{
border-top-left-radius:5px;
border-top-right-radius:5px;
-moz-border-radius-topleft:5px;
@@ -1014,7 +1014,7 @@ ul#dropdown > li, ul.menu > li{
position:relative;
}
-#dropdown ul, .menu ul{
+#dropdown ul, .top-menu ul{
visibility: hidden;
opacity: 0;
-moz-transition:visibility 0s linear 0.5s,opacity 0.3s linear;
@@ -1033,7 +1033,7 @@ ul#dropdown > li, ul.menu > li{
background-color:#E3E3E3;
}
-#dropdown li ul , .menu li ul{
+#dropdown li ul , .top-menu li ul{
width:210px;
padding:0 0 3px;
box-shadow:2px 1px 4px rgba(0, 0, 0, 0.3);
@@ -1047,11 +1047,11 @@ ul#dropdown > li, ul.menu > li{
-webkit-border-bottom-left-radius:5px;
-webkit-border-bottom-right-radius:5px;
}
-#dropdown li ul a , .menu li ul a{
+#dropdown li ul a , .top-menu li ul a{
width:202px;
float:left;
}
-#dropdown li ul li, .menu li ul li{
+#dropdown li ul li, .top-menu li ul li{
width:210px !important;
border-top: 1px solid #D3D3D3;
height: 24px;
@@ -1061,21 +1061,21 @@ ul#dropdown > li, ul.menu > li{
-webkit-border-radius:0;
overflow:hidden;
}
-#dropdown ul ul, .menu ul ul{
+#dropdown ul ul, .top-menu ul ul{
top:auto;
border: 1px solid #D3D3D3;
border-top:none;
}
-#dropdown li ul ul, .menu li ul ul{
+#dropdown li ul ul, .top-menu li ul ul{
left:200px;
margin:0px 0 0 10px;
}
#dropdown li:hover ul ul,
#dropdown li:hover ul ul ul,
#dropdown li:hover ul ul ul ul,
-.menu li:hover ul ul,
-.menu li:hover ul ul ul,
-.menu li:hover ul ul ul ul {
+.top-menu li:hover ul ul,
+.top-menu li:hover ul ul ul,
+.top-menu li:hover ul ul ul ul {
visibility: hidden;
opacity: 0;
-moz-transition:visibility 0s linear 0.5s,opacity 0.3s linear;
@@ -1087,10 +1087,10 @@ ul#dropdown > li, ul.menu > li{
#dropdown li li:hover ul,
#dropdown li li li:hover ul,
#dropdown li li li li:hover ul,
-.menu li:hover ul,
-.menu li li:hover ul,
-.menu li li li:hover ul,
-.menu li li li li:hover ul {
+.top-menu li:hover ul,
+.top-menu li li:hover ul,
+.top-menu li li li:hover ul,
+.top-menu li li li li:hover ul {
visibility: visible;
display:block;
opacity: 1;
@@ -1106,7 +1106,7 @@ ul#dropdown > li, ul.menu > li{
}
#dropdown li:hover,
-#navmenu .menu li:hover {
+#navmenu .top-menu li:hover {
background:#efefef;
box-shadow:2px -1px 3px rgba(0, 0, 0, 0.3);
-moz-box-shadow:2px -1px 3px rgba(0, 0, 0, 0.3);
@@ -1114,13 +1114,13 @@ ul#dropdown > li, ul.menu > li{
}
#dropdown li ul li:hover,
-#navmenu .menu li ul li:hover {
+#navmenu .top-menu li ul li:hover {
background: #efefef;
box-shadow:none;
-moz-box-shadow:none;
-webkit-box-shadow:none;
}
-.menu li ul li.has_children{
+.top-menu li ul li.has_children{
background: url(images/submenu.gif) no-repeat center right;
}
#navmenu{

0 comments on commit bbb0bf9

Please sign in to comment.
Something went wrong with that request. Please try again.