From c2e44c62992ac09d0f7aa530e0682f0f8645f2c3 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Tue, 30 Aug 2011 08:45:05 +0000 Subject: [PATCH] Fixed unwanted 24bit png gradients for IE6 (Chameleon theme) svn changeset:20732/svn branch:6.7 --- .../VAADIN/themes/chameleon/components/menubar/menubar.css | 4 ++++ .../chameleon/components/notification/notification.css | 7 ++++++- .../VAADIN/themes/chameleon/components/selects/selects.css | 4 ++++ .../VAADIN/themes/chameleon/components/table/table.css | 4 ++++ .../chameleon/compound/sidebar-menu/sidebar-menu.css | 5 +++++ 5 files changed, 23 insertions(+), 1 deletion(-) diff --git a/WebContent/VAADIN/themes/chameleon/components/menubar/menubar.css b/WebContent/VAADIN/themes/chameleon/components/menubar/menubar.css index 00c8ed2457..00b062f8d6 100644 --- a/WebContent/VAADIN/themes/chameleon/components/menubar/menubar.css +++ b/WebContent/VAADIN/themes/chameleon/components/menubar/menubar.css @@ -25,4 +25,8 @@ .v-menubar-submenu .v-menubar-menuitem-selected { background-image: url(../../img/grad-light-top2.png); background-position: 0 -1px; + } + +.v-ie6 .v-menubar-submenu .v-menubar-menuitem-selected { + background-image: none; } \ No newline at end of file diff --git a/WebContent/VAADIN/themes/chameleon/components/notification/notification.css b/WebContent/VAADIN/themes/chameleon/components/notification/notification.css index 12d5d67c62..1e4268cf92 100644 --- a/WebContent/VAADIN/themes/chameleon/components/notification/notification.css +++ b/WebContent/VAADIN/themes/chameleon/components/notification/notification.css @@ -1,10 +1,11 @@ div.v-Notification { - border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; + border-radius: 0; font-size: 100%; -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.7); -moz-box-shadow: 0 2px 5px rgba(0,0,0,.7); + box-shadow: 0 2px 5px rgba(0,0,0,.7); } .v-Notification p { @@ -46,6 +47,10 @@ div.v-Notification-tray { text-shadow: 0 1px 1px rgba(0,0,0,.5); } +.v-ie6 .v-Notification-tray { + background-image: none; + } + .v-Notification-tray h1 { font-size: 14px; line-height: 18px; diff --git a/WebContent/VAADIN/themes/chameleon/components/selects/selects.css b/WebContent/VAADIN/themes/chameleon/components/selects/selects.css index 1d690f2035..170a4bb991 100644 --- a/WebContent/VAADIN/themes/chameleon/components/selects/selects.css +++ b/WebContent/VAADIN/themes/chameleon/components/selects/selects.css @@ -126,6 +126,10 @@ body .v-filterselect-suggestpopup-big td { background-position: 0 -1px; } +.v-ie6 .v-filterselect-suggestmenu .gwt-menuItem-selected { + background-image: none; + } + .v-filterselect-suggestpopup-small .v-filterselect-status { font-size: .8em; } diff --git a/WebContent/VAADIN/themes/chameleon/components/table/table.css b/WebContent/VAADIN/themes/chameleon/components/table/table.css index b1aa9bef39..1511beb913 100644 --- a/WebContent/VAADIN/themes/chameleon/components/table/table.css +++ b/WebContent/VAADIN/themes/chameleon/components/table/table.css @@ -52,6 +52,10 @@ div.v-table-focus-slot-left { background-position: 0 -1px; } +.v-ie6 .v-table tr.v-selected { + background-image: none; + } + div.v-table-focus-slot-right { background: transparent; border-right: 2px solid #b3b3b3; diff --git a/WebContent/VAADIN/themes/chameleon/compound/sidebar-menu/sidebar-menu.css b/WebContent/VAADIN/themes/chameleon/compound/sidebar-menu/sidebar-menu.css index e2ab7f2080..83b736584f 100644 --- a/WebContent/VAADIN/themes/chameleon/compound/sidebar-menu/sidebar-menu.css +++ b/WebContent/VAADIN/themes/chameleon/compound/sidebar-menu/sidebar-menu.css @@ -33,6 +33,11 @@ color: #fff; } +.v-ie6 .sidebar-menu .tab-selected, +.v-ie6 .sidebar-menu .selected { + background-image: none; + } + .sidebar-menu .tab-selected:focus, .sidebar-menu .selected:focus { outline: none; -- 2.39.5