diff --git a/editor/svg-editor.css b/editor/svg-editor.css index 5c1aef53..65ce248f 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -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; } diff --git a/editor/svg-editor.html b/editor/svg-editor.html index d6365469..a9e91ea7 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -75,8 +75,11 @@ script type="text/javascript" src="locale/locale.min.js">
- - +
+ + + +