Adjust the theming of separator line in business/fancy themes
The 3D shadow in/out separators are old fashion. Use plain 2px separator
line with background color in all cases (SHADOW_IN/OUT/NONE).
Bug 467591: Separator Label looks different in IE w/ fancy theme
Change-Id: I44cfd4a4fcec299703f0769eb10275fef3f552dd
diff --git a/examples/org.eclipse.rap.design.example/theme/business/business.css b/examples/org.eclipse.rap.design.example/theme/business/business.css
index 86809dc..e55e9de 100644
--- a/examples/org.eclipse.rap.design.example/theme/business/business.css
+++ b/examples/org.eclipse.rap.design.example/theme/business/business.css
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2014 Innoopract Informationssysteme GmbH and others.
+ * Copyright (c) 2008, 2015 Innoopract Informationssysteme GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -521,20 +521,12 @@
Label-SeparatorLine {
background-image: none;
- background-color: transparent;
- border: 1px solid #a4a4a4;
- border-radius: 0px;
+ background-color: #cccccc;
+ border: none;
+ border-radius: 0;
width: 2px;
}
-Label-SeparatorLine[SHADOW_IN] {
- border: 1px inset;
-}
-
-Label-SeparatorLine[SHADOW_OUT] {
- border: 1px outset;
-}
-
/* Link default theme */
Link {
diff --git a/examples/org.eclipse.rap.design.example/theme/fancy/fancy.css b/examples/org.eclipse.rap.design.example/theme/fancy/fancy.css
index b72453a..325f621 100644
--- a/examples/org.eclipse.rap.design.example/theme/fancy/fancy.css
+++ b/examples/org.eclipse.rap.design.example/theme/fancy/fancy.css
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2014 Innoopract Informationssysteme GmbH and others.
+ * Copyright (c) 2008, 2015 Innoopract Informationssysteme GmbH and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -504,20 +504,12 @@
Label-SeparatorLine {
background-image: none;
- background-color: transparent;
- border: 1px solid #a4a4a4;
- border-radius: 0px;
+ background-color: #cccccc;
+ border: none;
+ border-radius: 0;
width: 2px;
}
-Label-SeparatorLine[SHADOW_IN] {
- border: 1px inset;
-}
-
-Label-SeparatorLine[SHADOW_OUT] {
- border: 1px outset;
-}
-
/* Link default theme */
Link {
diff --git a/tests/org.eclipse.rap.rwt.themes.test/src/org/eclipse/rap/rwt/themes/test/business/Label.test.css b/tests/org.eclipse.rap.rwt.themes.test/src/org/eclipse/rap/rwt/themes/test/business/Label.test.css
index 6da92a4..981e0df 100644
--- a/tests/org.eclipse.rap.rwt.themes.test/src/org/eclipse/rap/rwt/themes/test/business/Label.test.css
+++ b/tests/org.eclipse.rap.rwt.themes.test/src/org/eclipse/rap/rwt/themes/test/business/Label.test.css
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2013 EclipseSource and others.
+ * Copyright (c) 2010, 2015 EclipseSource and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -34,18 +34,12 @@
font: 11px Verdana, "Lucida Sans", Arial, Helvetica, sans-serif;
}
-Label-SeparatorLine {
+Label-SeparatorLine,
+Label-SeparatorLine[SHADOW_IN],
+Label-SeparatorLine[SHADOW_OUT] {
background-image: none;
- background-color: transparent;
- border: 1px solid #a4a4a4;
- border-radius: 0px;
+ background-color: #cccccc;
+ border: none;
+ border-radius: 0;
width: 2px;
}
-
-Label-SeparatorLine[SHADOW_IN] {
- border: 1px inset;
-}
-
-Label-SeparatorLine[SHADOW_OUT] {
- border: 1px outset;
-}
\ No newline at end of file
diff --git a/tests/org.eclipse.rap.rwt.themes.test/src/org/eclipse/rap/rwt/themes/test/fancy/Label.test.css b/tests/org.eclipse.rap.rwt.themes.test/src/org/eclipse/rap/rwt/themes/test/fancy/Label.test.css
index 2c9dd18..9c77d8c 100644
--- a/tests/org.eclipse.rap.rwt.themes.test/src/org/eclipse/rap/rwt/themes/test/fancy/Label.test.css
+++ b/tests/org.eclipse.rap.rwt.themes.test/src/org/eclipse/rap/rwt/themes/test/fancy/Label.test.css
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2013 EclipseSource and others.
+ * Copyright (c) 2010, 2015 EclipseSource and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -19,18 +19,12 @@
background-position: left top;
}
-Label-SeparatorLine {
+Label-SeparatorLine,
+Label-SeparatorLine[SHADOW_IN],
+Label-SeparatorLine[SHADOW_OUT] {
background-image: none;
- background-color: transparent;
- border: 1px solid #a4a4a4;
- border-radius: 0px;
+ background-color: #cccccc;
+ border: none;
+ border-radius: 0;
width: 2px;
}
-
-Label-SeparatorLine[SHADOW_IN] {
- border: 1px inset;
-}
-
-Label-SeparatorLine[SHADOW_OUT] {
- border: 1px outset;
-}
\ No newline at end of file