From a121cfeb8f9c7ad504cb3a75de2a7c272f8eddeb Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Tue, 30 Aug 2011 07:23:47 +0000 Subject: Fixes zero width buttons inside segment compound style for IE7 svn changeset:20724/svn branch:6.7 --- .../VAADIN/themes/chameleon/compound/segment/segment.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'WebContent') diff --git a/WebContent/VAADIN/themes/chameleon/compound/segment/segment.css b/WebContent/VAADIN/themes/chameleon/compound/segment/segment.css index ad4431eeff..a529bff173 100644 --- a/WebContent/VAADIN/themes/chameleon/compound/segment/segment.css +++ b/WebContent/VAADIN/themes/chameleon/compound/segment/segment.css @@ -1,15 +1,16 @@ .v-horizontallayout-segment .v-button { - border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; + border-radius: 0; border-left-width: 0; zoom: 1; + overflow: visible; } .v-horizontallayout-segment .v-button .v-button-wrap { - border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; + border-radius: 0; zoom: 1; } @@ -18,6 +19,8 @@ -webkit-border-bottom-left-radius: 3px; -moz-border-radius-topleft: 3px; -moz-border-radius-bottomleft: 3px; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; border-left-width: 1px; } @@ -26,6 +29,8 @@ -webkit-border-bottom-left-radius: 2px; -moz-border-radius-topleft: 2px; -moz-border-radius-bottomleft: 2px; + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; } .v-horizontallayout-segment .last { @@ -33,6 +38,8 @@ -webkit-border-bottom-right-radius: 3px; -moz-border-radius-topright: 3px; -moz-border-radius-bottomright: 3px; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; } .v-horizontallayout-segment .last .v-button-wrap { @@ -40,4 +47,6 @@ -webkit-border-bottom-right-radius: 2px; -moz-border-radius-topright: 2px; -moz-border-radius-bottomright: 2px; + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; } \ No newline at end of file -- cgit v1.2.3