Index: extensions/Slim/Slim.php
===================================================================
--- extensions/Slim/Slim.php	(revision 19045)
+++ extensions/Slim/Slim.php	(revision 19205)
@@ -13,5 +13,5 @@
 <link rel="stylesheet" type="text/css" href="themes/Slim/theme_black.css">
 
-		', $smarty, $repeat);
+		');
 		};
 if ($params['color_theme'] == 3 )
Index: extensions/Slim/js/menu.js
===================================================================
--- extensions/Slim/js/menu.js	(revision 19045)
+++ extensions/Slim/js/menu.js	(revision 19205)
@@ -5,12 +5,17 @@
  */
 $(document).ready(function(){
-		
+
+	$("li.liSub:last-child dt").addClass('dd_wrapper');
+	$("li.liSub:last-child dd").addClass('sub');
+
+
+
 	function megaHoverOver(){
-		$(this).find(".sub").stop().fadeTo('fast', 1).show();
+		$(this).find(".sub").stop().fadeTo('slow', 1).show();
 			
 	}
 	
 	function megaHoverOut(){
-	 $(this).find(".sub").stop().fadeTo('fast', 0, function() {
+	 $(this).find(".sub").stop().fadeTo('slow', 0, function() {
 		  $(this).hide();
 	  });
@@ -18,6 +23,6 @@
 
 
-	var config = {
-		 sensitivity: 1,		// number = sensitivity threshold (must be 1 or higher)    
+	var configSub = {
+		 sensitivity: 2,		// number = sensitivity threshold (must be 1 or higher)    
 		 interval: 0, 			// number = milliseconds for onMouseOver polling interval    
 		 over: megaHoverOver,   // function = onMouseOver callback (REQUIRED)    
@@ -27,13 +32,36 @@
 
 	$("ul#topnav li .sub").css({'opacity':'0'});
-	$("ul#topnav li").hoverIntent(config);
+	$("ul#topnav li").hoverIntent(configSub);
 	
+	var configSwitch = {
+		 sensitivity: 2,		// number = sensitivity threshold (must be 1 or higher)    
+		 interval: 0, 			// number = milliseconds for onMouseOver polling interval    
+		 over: switchBoxOver,   // function = onMouseOver callback (REQUIRED)    
+		 timeout: 0, 			// number = milliseconds delay before onMouseOut    
+		 out: switchBoxOut 		// function = onMouseOut callback (REQUIRED)    
+	};
 
+	function switchBoxOver(){
+		$(this).find(".switchBox").stop().fadeTo('slow', 1).show();
+			
+	}
+	
+	function switchBoxOut(){
+	 $(this).find(".switchBox").stop().fadeTo('slow', 0, function() {
+		  $(this).hide();
+	  });
+	}
+	$("ul.categoryActions li").hoverIntent(configSwitch);
+
+	
 	// Delete the border for the last li of the submenu
 	$("ul#topnav .sub ul li:last-child a").css("border", "none");
 
 	/*other menubar script*/
-	//open form login menu
-		$(".cl_wrapper").next("div").hide();
+	//open form login menu		
+	
+
+	
+	$(".cl_wrapper").next("div").hide();
 
 	
@@ -41,5 +69,5 @@
 	
 		if($(this).next("div").is(":hidden")){
-			$(this).next("div").fadeTo('fast',1);
+			$(this).next("div").fadeTo('fast', 1);
 			$(this).addClass('activate');
 			$(this).next("div").attr(":visible")
@@ -80,9 +108,11 @@
 	});
 	
+
 	
-	// make column menubar_categorie
-	$('.mcol').makeacolumnlists({cols:4, colWidth:155, equalHeight: true, startN: 1});
 	
 	
 
+
+	// make column menubar_categorie
+	$('.mcol').makeacolumnlists({cols:4, colWidth:155, equalHeight: true, startN: 1});
 });
Index: extensions/Slim/template/index.tpl
===================================================================
--- extensions/Slim/template/index.tpl	(revision 19045)
+++ extensions/Slim/template/index.tpl	(revision 19205)
@@ -4,113 +4,116 @@
 {$MENUBAR}
 {/if}
+
 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
+
 {if ($Slim.style_slim)==1}
-{if !empty($THUMBNAILS)}
-<div id="home">
-<a href="{$U_HOME}"><img src="themes/Slim/images/home.png" height="32px" width="32px"></a>
-</div>
-<div class="titrePage">
-<div id="infoBlock">
-{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
-<h2>
-{$cat_name}
-</h2>
-{/if}
+	{if !empty($THUMBNAILS)}
+	<div id="home">
+	<a href="{$U_HOME}"><img src="themes/Slim/images/home.png" height="32px" width="32px"></a>
+	</div>
+	<div class="titrePage">
+	<div id="infoBlock">
+	{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
+	<h2>
+	{$cat_name}
+	</h2>
+	{/if}
+
 {else}
-<div class="titrePage">
-<div id="infoBlock">
 
-<div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}">
-	<ul class="categoryActions">
-{if !empty($image_orders)}
-		<li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
-			<span class="pwg-icon pwg-icon-sort">&nbsp;</span><span class="pwg-button-text">{'Sort order'|@translate}</span>
-		</a>
-		<div id="sortOrderBox" class="switchBox">
-			<div class="switchBoxTitle">{'Sort order'|@translate}</div>
-			{foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
-			{if $image_order.SELECTED}
-			<span>&#x2714; </span>{$image_order.DISPLAY}
-			{else}
-			<span style="visibility:hidden">&#x2714; </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a>
-			{/if}
+	<div id="infoBlock">
+	<div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}">
+
+		<ul class="categoryActions">
+	{if !empty($image_orders)}
+			<li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+				<span class="pwg-icon pwg-icon-sort">&nbsp;</span><span class="pwg-button-text">{'Sort order'|@translate}</span>
+			</a>
+			<div id="sortOrderBox" class="switchBox">
+				<div class="switchBoxTitle">{'Sort order'|@translate}</div>
+				{foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
+				{if $image_order.SELECTED}
+				<span>&#x2714; </span>{$image_order.DISPLAY}
+				{else}
+				<span style="visibility:hidden">&#x2714; </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a>
+				{/if}
+				{/foreach}
+			</div>
+			{footer_script require='jquery'}{literal}
+	jQuery("#sortOrderLink").click(function() {
+		var elt = jQuery("#sortOrderBox");
+		elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5))
+			.css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true))
+			.toggle();
+	});
+	jQuery("#sortOrderBox").on("mouseleave", function() {
+		jQuery(this).hide();
+	});
+			{/literal}{/footer_script}
+			{/strip}</li>
+	{/if}
+
+	{if isset($favorite)}
+			<li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+				<span class="pwg-icon pwg-icon-favorite-del">&nbsp;</span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>
+			</a></li>
+	{/if}
+	{if isset($U_CADDIE)}
+			<li><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button">
+				<span class="pwg-icon pwg-icon-caddie-add">&nbsp;</span><span class="pwg-button-text">{'Caddie'|@translate}</span>
+			</a></li>
+	{/if}
+	{if isset($U_EDIT)}
+			<li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button">
+				<span class="pwg-icon pwg-icon-category-edit">&nbsp;</span><span class="pwg-button-text">{'Edit'|@translate}</span>
+			</a></li>
+	{/if}
+	{if isset($U_SEARCH_RULES)}
+			{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
+			<li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+				<span class="pwg-icon pwg-icon-help">&nbsp;</span><span class="pwg-button-text">(?)</span>
+			</a></li>
+	{/if}
+	{if isset($U_SLIDESHOW)}
+			<li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+				<span class="pwg-icon pwg-icon-slideshow">&nbsp;</span><span class="pwg-button-text">{'slideshow'|@translate}</span>
+			</a>{/strip}</li>
+	{/if}
+	{if isset($U_MODE_FLAT)}
+			<li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+				<span class="pwg-icon pwg-icon-category-view-flat">&nbsp;</span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>
+			</a>{/strip}</li>
+	{/if}
+	{if isset($U_MODE_NORMAL)}
+			<li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button">
+				<span class="pwg-icon pwg-icon-category-view-normal">&nbsp;</span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>
+			</a>{/strip}</li>
+	{/if}
+	{if isset($U_MODE_POSTED)}
+			<li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+				<span class="pwg-icon pwg-icon-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
+			</a>{/strip}</li>
+	{/if}
+	{if isset($U_MODE_CREATED)}
+			<li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
+				<span class="pwg-icon pwg-icon-camera-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
+			</a>{/strip}</li>
+	{/if}
+	{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
+		</ul>
+	<h2>{$TITLE}</h2>
+	{if isset($chronology_views)}
+	<div class="calendarViews">{'View'|@translate}:
+		<select onchange="document.location = this.options[this.selectedIndex].value;">
+			{foreach from=$chronology_views item=view}
+			<option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
 			{/foreach}
-		</div>
-		{footer_script require='jquery'}{literal}
-jQuery("#sortOrderLink").click(function() {
-	var elt = jQuery("#sortOrderBox");
-	elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5))
-		.css("top", jQuery(this).offset().top + jQuery(this).outerHeight(true))
-		.toggle();
-});
-jQuery("#sortOrderBox").on("mouseleave", function() {
-	jQuery(this).hide();
-});
-		{/literal}{/footer_script}
-		{/strip}</li>
-{/if}
+		</select>
+	</div>
+	{/if}
 
-{if isset($favorite)}
-		<li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
-			<span class="pwg-icon pwg-icon-favorite-del">&nbsp;</span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>
-		</a></li>
-{/if}
-{if isset($U_CADDIE)}
-		<li><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button">
-			<span class="pwg-icon pwg-icon-caddie-add">&nbsp;</span><span class="pwg-button-text">{'Caddie'|@translate}</span>
-		</a></li>
-{/if}
-{if isset($U_EDIT)}
-		<li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button">
-			<span class="pwg-icon pwg-icon-category-edit">&nbsp;</span><span class="pwg-button-text">{'Edit'|@translate}</span>
-		</a></li>
-{/if}
-{if isset($U_SEARCH_RULES)}
-		{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
-		<li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
-			<span class="pwg-icon pwg-icon-help">&nbsp;</span><span class="pwg-button-text">(?)</span>
-		</a></li>
-{/if}
-{if isset($U_SLIDESHOW)}
-		<li>{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
-			<span class="pwg-icon pwg-icon-slideshow">&nbsp;</span><span class="pwg-button-text">{'slideshow'|@translate}</span>
-		</a>{/strip}</li>
-{/if}
-{if isset($U_MODE_FLAT)}
-		<li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
-			<span class="pwg-icon pwg-icon-category-view-flat">&nbsp;</span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>
-		</a>{/strip}</li>
-{/if}
-{if isset($U_MODE_NORMAL)}
-		<li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button">
-			<span class="pwg-icon pwg-icon-category-view-normal">&nbsp;</span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>
-		</a>{/strip}</li>
-{/if}
-{if isset($U_MODE_POSTED)}
-		<li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
-			<span class="pwg-icon pwg-icon-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
-		</a>{/strip}</li>
-{/if}
-{if isset($U_MODE_CREATED)}
-		<li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
-			<span class="pwg-icon pwg-icon-camera-calendar">&nbsp;</span><span class="pwg-button-text">{'Calendar'|@translate}</span>
-		</a>{/strip}</li>
-{/if}
-{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
-	</ul>
-<h2>{$TITLE}</h2>
-{if isset($chronology_views)}
-<div class="calendarViews">{'View'|@translate}:
-	<select onchange="document.location = this.options[this.selectedIndex].value;">
-		{foreach from=$chronology_views item=view}
-		<option value="{$view.VALUE}"{if $view.SELECTED} selected="selected"{/if}>{$view.CONTENT}</option>
-		{/foreach}
-	</select>
-</div>
-{/if}
-
-{if isset($chronology.TITLE)}
-<h2 class="calendarTitle">{$chronology.TITLE}</h2>
-{/if}
+	{if isset($chronology.TITLE)}
+	<h2 class="calendarTitle">{$chronology.TITLE}</h2>
+	{/if}
 {/if}
 		</div>{* <!-- titrePage --> *}
Index: extensions/Slim/template/menubar.tpl
===================================================================
--- extensions/Slim/template/menubar.tpl	(revision 19045)
+++ extensions/Slim/template/menubar.tpl	(revision 19205)
@@ -1,7 +1,6 @@
-{php}	global $Slim;	$this->assign( 'Slim', $Slim );{/php}
-{if ($Slim.style_slim)!=1}
-
-{if !empty($blocks) }
-<div id=nav_wrapper>	
+<div id=menubar>	
+<span id="menu_start">
+		<a href="index.php?/categories"></a>
+</span>
 
 		
@@ -9,5 +8,6 @@
 		<ul id="topnav">	
 				{foreach from=$blocks key=id item=block}
-					<span id="{$id}">
+					<span id="{$id}" >
+					<li class="liSub">
 						{if not empty($block->template)}
 						{include file=$block->template|@get_extent:$id }
@@ -15,13 +15,16 @@
 						{$block->raw_content}
 						{/if}
+					</li>
 					</span>
 				{/foreach}
 		</ul>
 		
+
+
 				<div id="search">
 					<form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
 						<p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
 							<input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" />
-							<input type="submit" value="" id="go"/>	
+							<input type="submit" value=" " id="go"/>	
 						</p>
 					</form>
@@ -30,6 +33,5 @@
 			</div>
 		</div>
-{/if}
-{/if}
 
 
+
Index: extensions/Slim/template/menubar_categories.tpl
===================================================================
--- extensions/Slim/template/menubar_categories.tpl	(revision 19045)
+++ extensions/Slim/template/menubar_categories.tpl	(revision 19205)
@@ -1,12 +1,5 @@
-	<span id="menu_start">
-		<a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
-</span>
-
-
-<li class="liSub" >
-
 	<span class="dd_wrapper">{'Categories'|@translate}</span>
 	
-		<div class="sub" style="width:700px;">
+		<div class="sub" style="width:700px">
 		{assign var='ref_level' value=0}
 			<div id="menu_cat_act">
@@ -21,38 +14,37 @@
 					{/if}
 					{if isset($U_STOP_FILTER)}
-					<a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"><span class="pwg-icon pwg-icon-filter-del"> </span></a>
+					<a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"><span
+					class="pwg-icon pwg-icon-filter-del"> </span></a>
 					{/if}
 				</div>
 
 			</div>
-			
-			
+				
+				
+				{foreach from=$block->data.MENU_CATEGORIES item=cat}
+				{if $cat.LEVEL > $ref_level}
+				<ul class="mcol">
+				{else}
 
-			
-{foreach from=$block->data.MENU_CATEGORIES item=cat}
-	{if $cat.LEVEL > $ref_level}
+						</li>
+							{'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
+						  {/if}
+						   <li {if $cat.SELECTED}class="selected"{/if}class="level{$cat.LEVEL}">
+						   <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}" >{$cat.NAME}   [{$cat.count_images}] </a>
+						  {assign var='ref_level' value=$cat.LEVEL}
+						{/foreach}
+					{'</li></ul>'|@str_repeat:$ref_level}	
 
-		<ul class="mcol">
-	{else}
-		</li>
-			{'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
-	{/if}
-		   <li {if $cat.SELECTED}class="selected"{/if}class="level{$cat.LEVEL}">
-		   <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}" >{$cat.NAME}   [{$cat.count_images}] </a>
-		  {assign var='ref_level' value=$cat.LEVEL}
-		{/foreach}
-	{'</li></ul>'|@str_repeat:$ref_level}	
+						{if isset($block->data.U_UPLOAD)}
+						
+					<ul>
+						
+							<li>
+								<a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a>
+							</li>
 
-
-
-	
-		{if isset($block->data.U_UPLOAD)}
-	<ul>
-			<li>
-				<a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a>
-			</li>
-	</ul>
-		
-	{/if}
+					</ul>
+						
+					{/if}
 		
 
Index: extensions/Slim/template/menubar_identification.tpl
===================================================================
--- extensions/Slim/template/menubar_identification.tpl	(revision 19045)
+++ extensions/Slim/template/menubar_identification.tpl	(revision 19205)
@@ -1,35 +1,18 @@
 {if isset($U_LOGIN)}
-<li class="liSub">
-
-	{*
-	<span class="dd_wrapper">{'Identification'|@translate}</span> 
-	<div class="sub">
-	------option1: le menu se referme quand on perd le hover: problème avec l'auto-completion des navigateurs, pour corriger: attribuer la valeur off à autocomplet de l'input username ------*}
-	
-	
-	
-	
 	<span class="cl_wrapper">{'Identification'|@translate}</span> 
 		<div id="loger">
 			<div class="close">
 			</div> 
-	{*------option2:le menu identification se referme en cliquant l'onglet ou la croix fermer------*}
-	
-	{*<span class="cc_wrapper">{'Identification'|@translate}</span> 
-		<div id="loger">
-			<div class="close">
-			</div> 	
-	------option3:le menu souvre au click et autocomplete est on-----*}
-
-
-	<form method="post" action="{$U_LOGIN}" id="quickconnect">
+						
+			<form method="post" action="{$U_LOGIN}" id="quickconnect">
 			<div id="log">
-			<div class="contenLog">
-			<label for="username">{'Username'|@translate}</label>
-			<input type="text" autocomplete="on" name="username" id="username" value="" style="width:100%">
+			<div>
+			<label for="username">{'Username'|@translate}</label><br>
+			<input type="text" autocomplete="{if ($PwgCarbon.menuident)==1}off{else}on{/if}" name="username" id="username" value="" style="width:100%">
 			</div>
 			
-			<div class="contenLog">
+			<div>
 			<label for="password">{'Password'|@translate}</label>
+			<br>
 			<input type="password" name="password" id="password" style="width:100%">
 			</div>
@@ -54,15 +37,16 @@
 				<li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow">{'Forgot your password?'|@translate}</a></li>
 			</ul>
+
+			
+
 			</form>
 		</div>
-		
-</li>
+
 	
 	{else}
 	
-<li class="liSub">
 
 <span class="dd_wrapper">{'Identification'|@translate}</span>
-					<div style="opacity: 0; display: none; " class="sub">
+					<div class="sub">
 
 	{if isset($USERNAME)}
@@ -91,4 +75,4 @@
 	{/if}
 	</ul>
-</li>
+
 	{/if}
Index: extensions/Slim/template/menubar_menu.tpl
===================================================================
--- extensions/Slim/template/menubar_menu.tpl	(revision 19045)
+++ extensions/Slim/template/menubar_menu.tpl	(revision 19205)
@@ -1,6 +1,4 @@
-
-		<li class="liSub">
-		<span class="dd_wrapper">{'Menu'|@translate}</span>
-<div class="sub">
+<span class="dd_wrapper">{'Menu'|@translate}</span>
+<div class="sub" >
 
 
@@ -14,4 +12,4 @@
 	</ul>
 </div>
-</li>
 
+
Index: extensions/Slim/theme.css
===================================================================
--- extensions/Slim/theme.css	(revision 19045)
+++ extensions/Slim/theme.css	(revision 19205)
@@ -10,6 +10,4 @@
 INPUT[type="submit"]:hover,INPUT[type="reset"]:hover{background:-moz-linear-gradient(center top , #DFDFDF, #EFEFEF);color:#AFAFAF}
 A, INPUT.rateButton{color:#666;text-decoration:none;border:none}
-#go INPUT[type="submit"]{width:140px;margin:10px 20px 20px}
-#quicksearch INPUT[type="submit"]{border:none;height:22px;width:23px;background:url("images/menu/search.png") no-repeat;font-size:13px;cursor:pointer;float:right;margin-left:2px;border-radius:0}
 A:hover{color:#8F8F8F;border:none}
 .commentsList{overflow:inherit}
@@ -50,21 +48,32 @@
 #copyright{font-size:12px;position:fixed;bottom:0;right:10px}
 
-/*=========================================menu======================================================*/
-img, ul#topnav .sub ul .level1 li,ul#topnav .sub ul .level1 li .selected{border:medium none}
-#menubar{width:24em;margin-left:0}
-#menubar DL,.header_notes{background:#FFF}
-#menubar UL{list-style-type:none;list-style-position:inside;padding:0 0 0 2px}
-#menubar a,#menubar dt,div#menubar dl:hover dd,div#menubar ul li:hover ul,div#menubar ul ul li:hover ul,div#menubar ul ul ul li:hover ul,div#menubar ul ul ul ul li:hover ul,div#menubar ul ul ul ul ul li:hover ul{display:block}
-input:focus{outline-style:none}
-#menubar p{color:#757575}
-#nav_wrapper{position:absolute;top:0;left:0;height:24px;min-width:800px;width:100%;z-index:1000;;background:#EFEFEF;margin:auto;padding-top:6px}
-span#menu_start{float:left;display:block;height:30px;width:85px;background:none;margin-top:-6px}
-span#menu_start a{width:52px;height:30px;text-indent:-9999px;display:block;line-height:46px;background:url("images/home_w.png") no-repeat left top;margin:0 20px 0 25px;padding:0}
-span#menu_start a:hover{background-position:left -32px}
-ul#topnav{list-style:none;height:0;position:relative;z-index:999;width:600px;margin:0;padding:0}
-ul#topnav li{float:left;position:relative;background:none;margin:0;padding:0}
-.sub p{color:#4C4C4C;font-size:13px}
-ul#topnav li .sub,ul#topnav li #loger{position:absolute;top:24px;left:8px;float:left;max-width:100em;min-width:200px;display:none;z-index:0;max-height:500px;overflow:auto;background:#FFF;border:1px solid #C8C8C8;border-radius:0 0 10px 10px;opacity:0.5;padding:5px 8px 10px}
-ul#topnav li .sub{z-index:100}
+/*=========================================menu=====================================================*/
+
+#menubar{position:absolute;color:#757575;height:30px;min-width:800px;width:100%;margin:auto;background:#efefef;z-index:1000;top:0;left:0}
+#menubar FORM{margin:0}
+#menubar UL{list-style:none; margin:0}
+.dd_wrapper,.cl_wrapper,.cc_wrapper,#menubar dt,#menubar dt a{float:left;padding:3px 16px 6px;font-weight:normal;font-size:100%;height:21px;line-height:21px;text-decoration:none}
+.dd_wrapper:hover,.cl_wrapper:hover,.cc_wrapper:hover,.activate{z-index:100;color:#8f8f8f;padding:3px 16px 6px;text-shadow:none;cursor:default}
+#menubar dt a, #menubar dt a:hover{z-index:100;padding:0 0;text-shadow:none;cursor:default}
+#menubar dt:hover,#menubar dt a:hover{color:#8f8f8f}
+span#menu_start{width:85px;float:left;display:block;height:30px}
+span#menu_start a{background:url(images/home_w.png) no-repeat left top;width:52px;height:30px;padding:0;margin:0 20px 0 25px;display:block;line-height:46px}
+span#menu_start a:hover{background-position:left -30px}
+span#menu_start a:active{background-position:left -60px}
+#topnav{margin:0;padding:0 2px 0 0;list-style:none;height:30px;position:relative;z-index:999;display:inline-block}
+#topnav .liSub{float:left;position:relative;padding-right:2px}
+#topnav .sub, #topnav #loger{position:absolute;top:30px;margin-left:0;background:#FFF;padding:5px 8px 10px 5px;float:left;max-width:100em;min-width:200px;display:none;max-height:500px;overflow:auto;border-bottom-right-radius:10px;border-bottom-left-radius:10px;box-shadow:0px 0px 5px #5A5A5A;z-index:100}
+#topnav #loger{z-index:50}
+.sub{z-index:100;max-width:600px}
+.sub p{color:#4C4C4C;font-size:13px;text-shadow:none;text-transform:none}
+.sub a{color:#757575}
+.sub a:hover{color:#4c4c4c}
+ul#topnav .sub ul li,ul#topnav #loger ul li,ul#topnav .sub #menuTagCloud div{width:95%;color:#757575;background:none;font-size:10px;margin-bottom:2px;border:1px solid #CBCBCB;border-radius:10px}
+ul#topnav .sub ul li a,ul#topnav #loger ul li a{float:none;text-indent:0;height:auto;margin:0 8px;display:block;text-decoration:none;color:#757575;font-size:1.1em;text-shadow:none;text-transform:none;line-height:17px;padding:0 0 0 15px}
+ul#topnav .sub ul .level1 li,ul#topnav .sub ul .level1 li .selected{border:none;background:none}
+ul#topnav .sub ul li.selected a{background:url(images/menu/navlist_arrow_hover.png) no-repeat 0 4px;color:#4C4C4C;text-decoration:none;border:none}
+ul#topnav .sub ul li a:hover,ul#topnav .sub #menuTagCloud div a:hover{color:#c4c4c4;background:url(images/menu/navlist_arrow_hover.png) no-repeat 0 4px}
+ul#topnav li .sub ul,ul#topnav #loger ul{list-style:none outside none;margin:0 5px 0 10px;padding:0}
+.level2,.level3,.level4,.level5{border:none!important}
 .mcol{width:100%}
 .menubarFilter{margin:0}
@@ -72,19 +81,19 @@
 #filter{width:26px;height:26px;background:none;padding-left:2px}
 #nbImg{height:30px;float:right;line-height:10px}
-ul#topnav li .sub ul,ul#topnav #loger ul{list-style:none outside none;margin:0 5px 0 8px;padding:0}
-ul#topnav .sub ul li,ul#topnav #loger ul li,ul#topnav .sub #menuTagCloud div{color:#757575;background:none;font-size:10px;margin-bottom:2px;border:1px solid #CBCBCB;border-radius:10px 10px 10px 10px;width:95%}
-ul#topnav .sub ul li.selected{font-size:10px;text-decoration:none;border:1px solid #CBCBCB;border-radius:10px 10px 10px 10px}
-ul#topnav .sub ul li.selected a,ul#topnav .sub ul li.selected a:hover{color:#4C4C4C;text-decoration:none;border:none}
-ul#topnav .sub ul li.selected a{background:url("images/menu/navlist_arrow_hover.png") no-repeat0 5px}
-ul#topnav .sub ul li a,ul#topnav #loger ul li a{float:none;text-indent:0;height:auto;display:block;text-decoration:none;color:#757575;font-size:1.1em;text-shadow:none;text-transform:none;line-height:17px;z-index:200;margin:0 8px;padding:0 0 0 10px}
-ul#topnav .sub ul li a:hover,ul#topnav .sub #menuTagCloud div a:hover{color:#4C4C4C;background:url("images/menu/navlist_arrow_hover.png") no-repeat 0 5px transparent;text-decoration:underline}
-span.dd_wrapper,span.cl_wrapper,span.cc_wrapper{float:left;margin-right:16px;padding:0 8px 6px}
-li.liSub:hover span.dd_wrapper,li.liSub:hover span.cl_wrapper,li.liSub:hover span.cc_wrapper,.activate{z-index:100;text-shadow:none;color:#C8C8C8;padding:0 8px 6px}
-.close{height:16px;width:16px;background:url("images/menu/close.png") no-repeat;float:right}
-.close:hover{background:url("images/menu/close.png") no-repeat 0 -16px}
-.contenLog{height:40px}
-#search{position:absolute;width:240px;right:0;margin-top:-2px;height:22px}
-#quicksearch{float:left;width:220px}
-#quickconnect DIV{margin-bottom:8px}
+#menuTagCloud a{text-decoration:none;text-shadow:none;z-index:200}
+#quickconnect{width:225px}
+#search{position:absolute;width:240px;right:0;margin-top:4px;height:22px;display:inline-block}
+#quicksearch{float:left;width:240px}
+#quicksearch input[type=text]{border:1px solid #AFAFAF;float:left;width:172px;height:22px;padding:0 0 0 4px;margin:0 1px 0 0;font-size:100%;color:#757575!important;min-width:0}
+#quicksearch input[type=submit]{float:left;padding:0;border:0 none;height:22px;width:23px;background:url(images/menu/search.png) no-repeat right top;font-size:13px;cursor:pointer;min-width:0;margin-left:2px;border-radius:0 0 0 0;box-shadow:none}
+#quicksearch input[type=submit]:hover{background-position:right bottom}
+#loger{line-height:25px;width:220px;position:absolute;top:30px;background:#FFF;padding:10px;float:left;max-width:100em;min-width:200px;display:none;z-index:0}
+#loger p{margin-bottom:20px}
+#log{margin-bottom:20px}
+#log INPUT[type=password]{height:22px;width:175px}
+#log INPUT[type=text]{width:175px;height:22px}
+#go INPUT[type=submit]{height:24px;width:120px;min-width:inherit;margin-left:42px;margin-top:20px;font-size:1.1em}
+.close{cursor:pointer;height:16px;width:16px;background:url(images/menu/close.png) no-repeat;float:right}
+.close:hover{background:url(images/menu/close.png) no-repeat 0 -16px }
 
 /*=========================================picture page======================================================*/
@@ -201,2 +210,5 @@
 #lbPause,#lbPauseTop{width:10px;height:10px;float:right;margin:0px 0px 1px 8px;border:medium none !important;background:url("images/Lytebox/pause.png") no-repeat 0% 0%}
 #lbClose,#lbPrint,#lbPlay,#lbPause{margin:0px 0px 6px 8px}
+
+/*==========================================plugin=====================================================*/
+#mbContact dd{padding:0!important}
Index: extensions/Slim/theme_black.css
===================================================================
--- extensions/Slim/theme_black.css	(revision 19045)
+++ extensions/Slim/theme_black.css	(revision 19205)
@@ -1,6 +1,6 @@
 BODY{background-color:#000}
 #quickconnect{color:#757575}
-#menubar DL,#imageToolBar,.header_notes {background-color:#000}
-.logcontener{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}
+#menubar,#imageToolBar,.header_notes {background-color:#000}
+.dd_wrapper,.cl_wrapper,.cc_wrapper,#menubar dt,#menubar dt a{color:#fff}
 BODY,H1,H3,INPUT.rateButtonSelected,H2,#menubar DT{color:#fff}
 A,INPUT.rateButton{color:#fff}
