Made more improvements to main menu

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1204 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-01-13 15:05:53 +00:00
parent 1b88da95f8
commit fc41d62a66
3 changed files with 51 additions and 13 deletions

View File

@@ -236,6 +236,9 @@
position: absolute;
top: 4px;
left: 4px;
}
#svg_editor #main_icon {
padding: 0px;
width: 44px;
height: 30px;
@@ -244,9 +247,11 @@
-webkit-border-radius: 8px;
}
#svg_editor #main_button:hover {
top: 2px;
left: 2px;
#svg_editor #main_icon:hover,
#svg_editor #main_icon.down {
top: -2px;
left: -2px;
position: relative;
padding: 1px 0 2px 1px;
border-left: 1px #fcd9ba solid;
border-top: 1px #fcd9ba solid;
@@ -255,8 +260,23 @@
background-color: #FFC;
}
#svg_editor #main_icon.down {
background-color: #f4e284;
border-top: 1px solid #630;
border-left: 1px solid #630;
top: -1px;
left: -1px;
}
#svg_editor #main_icon span {
position: absolute;
width: 100%;
height: 100%;
display: block;
z-index: 2;
}
#svg_editor #main_menu {
/* position: */
z-index: 1;
background: #E8E8E8;
position: relative;
@@ -266,6 +286,9 @@
-webkit-box-shadow: #555 1px 1px 4px;
font-size: 1.1em;
display: none;
overflow: hidden;
border: 1px outset gray;
clear: both;
}
#svg_editor #main_menu ul,
@@ -303,7 +326,9 @@
height: 32px;
}
#main_button > div {
#main_icon > div {
float: left;
}