diff options
author | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-11-10 08:15:56 +0000 |
---|---|---|
committer | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-11-10 08:15:56 +0000 |
commit | ffca827b68c8bc87982f35923dc332628023f73f (patch) | |
tree | 0b215f74a16e69a82f2da352b645771965a89052 /WebContent/VAADIN | |
parent | ff991344bb16604fd60a1302c370edcaaf8f9cd1 (diff) | |
download | vaadin-framework-ffca827b68c8bc87982f35923dc332628023f73f.tar.gz vaadin-framework-ffca827b68c8bc87982f35923dc332628023f73f.zip |
MenuBar fixes for IE6
Fixed shadow offset for IE6
svn changeset:9692/svn branch:6.2
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r-- | WebContent/VAADIN/themes/base/menubar/menubar.css | 6 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/base/shadow/shadow.css | 4 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/base/styles.css | 10 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/menubar/menubar.css | 6 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/styles.css | 16 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/runo/styles.css | 10 |
6 files changed, 38 insertions, 14 deletions
diff --git a/WebContent/VAADIN/themes/base/menubar/menubar.css b/WebContent/VAADIN/themes/base/menubar/menubar.css index 909d714f13..e3e6becd6c 100644 --- a/WebContent/VAADIN/themes/base/menubar/menubar.css +++ b/WebContent/VAADIN/themes/base/menubar/menubar.css @@ -50,6 +50,12 @@ height: 100%; font-size: 0.9em; } +.v-ie6 .v-menubar-submenu .v-menubar-submenu-indicator { + position: absolute; + right: 0; + margin-right: 0; + margin-top: -2px; +} .v-menubar-menuitem-disabled { color: #999; } diff --git a/WebContent/VAADIN/themes/base/shadow/shadow.css b/WebContent/VAADIN/themes/base/shadow/shadow.css index bc67f3cc59..209dd0e235 100644 --- a/WebContent/VAADIN/themes/base/shadow/shadow.css +++ b/WebContent/VAADIN/themes/base/shadow/shadow.css @@ -80,6 +80,6 @@ .v-ie6 .v-shadow { background: #000; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2) alpha(opacity=20); - margin-top: -3px; - margin-left: -4px; + margin-top: -2px; + margin-left: -2px; }
\ No newline at end of file diff --git a/WebContent/VAADIN/themes/base/styles.css b/WebContent/VAADIN/themes/base/styles.css index 27afc8c299..6d075d5c50 100644 --- a/WebContent/VAADIN/themes/base/styles.css +++ b/WebContent/VAADIN/themes/base/styles.css @@ -673,6 +673,12 @@ div.v-app-loading { height: 100%; font-size: 0.9em; } +.v-ie6 .v-menubar-submenu .v-menubar-submenu-indicator { + position: absolute; + right: 0; + margin-right: 0; + margin-top: -2px; +} .v-menubar-menuitem-disabled { color: #999; } @@ -1069,8 +1075,8 @@ div.v-progressindicator-indeterminate-disabled { .v-ie6 .v-shadow { background: #000; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2) alpha(opacity=20); - margin-top: -3px; - margin-left: -4px; + margin-top: -2px; + margin-left: -2px; } .v-slider { diff --git a/WebContent/VAADIN/themes/reindeer/menubar/menubar.css b/WebContent/VAADIN/themes/reindeer/menubar/menubar.css index 787453d15c..13f4fa72b0 100644 --- a/WebContent/VAADIN/themes/reindeer/menubar/menubar.css +++ b/WebContent/VAADIN/themes/reindeer/menubar/menubar.css @@ -26,7 +26,7 @@ padding: 4px 0; } .v-menubar-submenu .v-menubar-menuitem { - padding: 1px 15px 1px 10px; + padding: 1px 20px 1px 10px; height: 16px; line-height: 16px; } @@ -41,9 +41,9 @@ background-image: url(img/menu-sel-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */ } .v-menubar-submenu .v-menubar-submenu-indicator { - background: transparent url(img/submenu-icon.png) no-repeat right 50%; + background: transparent url(img/submenu-icon.png) no-repeat right bottom; width: 16px; - margin: 0 -15px 0 5px; + margin: 0 -20px 0 5px; text-indent: -999px; vertical-align: middle; } diff --git a/WebContent/VAADIN/themes/reindeer/styles.css b/WebContent/VAADIN/themes/reindeer/styles.css index 02fbb27d08..010a2f51ba 100644 --- a/WebContent/VAADIN/themes/reindeer/styles.css +++ b/WebContent/VAADIN/themes/reindeer/styles.css @@ -673,6 +673,12 @@ div.v-app-loading { height: 100%; font-size: 0.9em; } +.v-ie6 .v-menubar-submenu .v-menubar-submenu-indicator { + position: absolute; + right: 0; + margin-right: 0; + margin-top: -2px; +} .v-menubar-menuitem-disabled { color: #999; } @@ -1069,8 +1075,8 @@ div.v-progressindicator-indeterminate-disabled { .v-ie6 .v-shadow { background: #000; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2) alpha(opacity=20); - margin-top: -3px; - margin-left: -4px; + margin-top: -2px; + margin-left: -2px; } .v-slider { @@ -3033,7 +3039,7 @@ td.v-datefield-calendarpanel-nextyear { padding: 4px 0; } .v-menubar-submenu .v-menubar-menuitem { - padding: 1px 15px 1px 10px; + padding: 1px 20px 1px 10px; height: 16px; line-height: 16px; } @@ -3052,9 +3058,9 @@ td.v-datefield-calendarpanel-nextyear { background-position: left -423px; } .v-menubar-submenu .v-menubar-submenu-indicator { - background: transparent url(menubar/img/submenu-icon.png) no-repeat right 50%; + background: transparent url(menubar/img/submenu-icon.png) no-repeat right bottom; width: 16px; - margin: 0 -15px 0 5px; + margin: 0 -20px 0 5px; text-indent: -999px; vertical-align: middle; } diff --git a/WebContent/VAADIN/themes/runo/styles.css b/WebContent/VAADIN/themes/runo/styles.css index cb949ff131..6d58d82006 100644 --- a/WebContent/VAADIN/themes/runo/styles.css +++ b/WebContent/VAADIN/themes/runo/styles.css @@ -673,6 +673,12 @@ div.v-app-loading { height: 100%; font-size: 0.9em; } +.v-ie6 .v-menubar-submenu .v-menubar-submenu-indicator { + position: absolute; + right: 0; + margin-right: 0; + margin-top: -2px; +} .v-menubar-menuitem-disabled { color: #999; } @@ -1069,8 +1075,8 @@ div.v-progressindicator-indeterminate-disabled { .v-ie6 .v-shadow { background: #000; filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2) alpha(opacity=20); - margin-top: -3px; - margin-left: -4px; + margin-top: -2px; + margin-left: -2px; } .v-slider { |