nouveau style menu_top
[mtweb] / mw / app / out / default / css / style.css
index e144d5b..ef6fbcd 100644 (file)
@@ -39,8 +39,8 @@ body{
 /* --------------------------------------------- HEADER */
 
 #main_header .content{
-  border-bottom: solid 1px #d9d9d9;
-  padding: 10px 0;
+  border-bottom: solid 1px #e9e9e9;
+  padding: 10px 0 3px 0;
 }
 
 #main_header .content h1{
@@ -50,9 +50,6 @@ body{
 #menu_top ul{
   float: right;
   padding-bottom: 0;
-  border: solid 1px #e9e9e9;
-  background-color: #ffffff;
-  margin-top: 0.4em;
 }
 
 #menu_top ul:after{
@@ -65,39 +62,56 @@ body{
   list-style-type: none;
   float: left;
   position: relative;
-  border-left: solid 1px #e9e9e9;
-}
-
-#menu_top ul li:first-child{
-  border-left: none;
+  padding: 2px 5px 0 0;
 }
 
 #menu_top ul li a{
   display: block;
   padding: 5px 10px 5px 10px;
+  white-space : nowrap;
+  border: solid 1px #e9e9e9;
+  background-color: #ffffff;
+  border-radius: 2px;
 }
 
-#menu_top ul li ul{
+#menu_top ul li a:hover{
+  color: #000066;
+  background-color: #f7f7f7;
+}
+
+#menu_top ul li .menu{
+  padding: 11px 0 0 0;
   position: absolute;
   top: 100%;
   left: 0;
   display: none;
-  margin-top: 0;
+  background-image: url(../images/sub_menu.png);
+  background-position: 1em 6px;
+  background-repeat: no-repeat;
+}
+
+#menu_top ul li ul{
+  border: solid 1px #e9e9e9;
+  border-radius: 2px;
+  background-color: #ffffff;
 }
 
 #menu_top ul li ul li{
   float: none;
-  border-left: none;
-  border-bottom: solid 1px #e9e9e9;
+  padding: 0;
 }
 
-#menu_top ul li ul li:last-child{
-  border-bottom: none;
+#menu_top ul li ul li a{
+  border: none;
 }
 
-#menu_top ul li ul li ul{
+#menu_top ul li ul li .menu{
+  padding: 0 0 0 6px;
   top: 0;
   left: 100%;
+  background-image: url(../images/sub_sub_menu.png);
+  background-position: 1px 0.8em;
+  background-repeat: no-repeat;
 }
 
 /* --------------------------------------------- CONTENUS */
@@ -325,6 +339,12 @@ table.admin td.action{
   width: 50px;
 }
 
+.navig{
+  text-align: right;
+  border: solid 1px #d5d5d5;
+  margin: 10px 0;
+  padding: 3px;
+}
 
 /* --------------------------------------------- MESSAGES */
 
@@ -349,7 +369,7 @@ table.admin td.action{
 /* --------------------------------------------- FOOTER */
 
 #main_footer .content{
-  border-top: solid 1px #d9d9d9;
+  border-top: solid 1px #e9e9e9;
   padding-bottom: 20px;
 }