From e1e41aa7927ebdc5692b21af190a6f952925b03e Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Fri, 13 Apr 2012 11:13:53 -0700 Subject: [PATCH] dropdown menu --- web/viewer.css | 50 ++++++++++++++++++++++++++++++++++++++++++++----- web/viewer.html | 43 +++++++++++++++++++++++++++++++++++++----- 2 files changed, 83 insertions(+), 10 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index a9315c983..b7500a980 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -213,12 +213,20 @@ body { } .dropdownToolbarButton { - min-width: 124px; + min-width: 100px; + max-width: 100px; + overflow: hidden; + background: url(images/toolbarButton-menuArrows.png) no-repeat 95%; } -.dropdownToolbarButton::after { - display: inline-block; - float: right; - content: url(images/toolbarButton-menuArrows.png); + +.dropdownToolbarButton select { + min-width: 120px; + font-size: 12px; + color: hsl(0,0%,95%); + margin:0; + padding:0; + border:none; + background: transparent; } .splitToolbarButton:first-child, @@ -591,3 +599,35 @@ canvas { border-bottom: 1px solid #000000; margin: 0px; } + +#errorWrapper { + background: none repeat scroll 0 0 #FF5555; + color: white; + left: 0; + position: fixed; + right: 0; + top: 30px; + z-index: 1000; + padding: 3px; + font-size: 0.8em; +} + +#errorMessageLeft { + float: left; +} + +#errorMessageRight { + float: right; +} + +#errorMoreInfo { + background-color: #FFFFFF; + color: black; + padding: 3px; + margin: 3px; + width: 98%; +} + +.clearBoth { + clear: both; +} diff --git a/web/viewer.html b/web/viewer.html index 5d4f046c9..7fe5a08ce 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -65,7 +65,21 @@
- + +
@@ -94,6 +108,25 @@ + + @@ -131,7 +164,7 @@ -->
-