Improve css for rcp
authorStéphane Leroy <sleroy@argeo.org>
Mon, 26 Oct 2020 12:41:38 +0000 (12:41 +0000)
committerStéphane Leroy <sleroy@argeo.org>
Mon, 26 Oct 2020 12:41:38 +0000 (12:41 +0000)
org.argeo.suite.theme.default/rap/work.css
org.argeo.suite.theme.default/swt/app.css
org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteStyle.java

index 937d2992ced2e914b25163149f2fe74b550a17eb..22e2f244e1e49aeece42990c32d8a7194e001c3a 100644 (file)
@@ -82,7 +82,7 @@ Composite.argeo-suite-mainTabBody {
 
 .argeo-suite-mainTab {
        background-color: #eee;
-       border: 1px solid #bbb;
+       border: 1px solid #888;
 }
 
 ToolItem.argeo-suite-mainTab {
@@ -90,8 +90,13 @@ ToolItem.argeo-suite-mainTab {
        background-color: #eee;
 }
 
+ToolItem.argeo-suite-mainTab:hover {
+       border: 1px solid #fff;
+}
+
+
 Button.argeo-suite-mainTab {
-       border: none;
+       border: 1px solid #eee;
        background-color: #eee;
 }
 
@@ -109,13 +114,32 @@ Button.argeo-suite-mainTab:hover {
        color: white;
        /*background-color: #00294b;*/
        background-color: #5882b5;
-       border: 1px solid #00294b;
+       border:1px solid #888;
 }
 
 ToolItem.argeo-suite-mainTabSelected {
-       border: none;
+       border: 1px solid #5882b5;
+}
+
+ToolItem.argeo-suite-mainTabSelected:hover {
+       border: 1px solid white;
 }
 
 Button.argeo-suite-mainTabSelected {
        border: none;
-}
\ No newline at end of file
+}
+
+Sash {
+  border: 1px solid white;
+  background-image: none;
+  background-color: white;
+}
+
+Sash:hover {
+  border: 1px solid #5882b5;
+  background-color: #5882b5;
+}
+
+TreeItem{
+       background-color:#f00;
+} 
\ No newline at end of file
index 937d2992ced2e914b25163149f2fe74b550a17eb..3a7b671bc15a53dcdecdfc7ea8a1e74cfb0265ec 100644 (file)
@@ -4,7 +4,7 @@
 }
 
 .argeo-suite-headerTitle {
-       font: bold 18px sans-serif;
+       font: bold 14px sans-serif;
        color: white;
        background-color: #00294b;
 }
@@ -14,7 +14,7 @@
 }
 
 Label.argeo-suite-leadPane {
-       font: 14px sans-serif;
+       font: 11px sans-serif;
        color: #888;
        background-color: #eee;
 }
@@ -24,7 +24,7 @@ Button.argeo-suite-leadPane:hover {
 }
 
 .argeo-suite-recentItems {
-       font: bold 14px sans-serif;
+       font: bold 13px sans-serif;
        color: white;
        background-color: #00294b;
        padding: 8px 16px;
@@ -32,11 +32,11 @@ Button.argeo-suite-leadPane:hover {
 
 .argeo-suite-titleContainer {
        background-color: #00294b;
-       padding: 6px 8px 4px 8px;
 }
 
 .argeo-suite-titleLabel {
-       font: bold 14px sans-serif;
+       font: bold 13px sans-serif;
+       margin: 6px 8px 4px 8px;
        color: white;
        background-color: #00294b;
 }
@@ -44,12 +44,16 @@ Button.argeo-suite-leadPane:hover {
 .argeo-suite-subTitleLabel {
        font: italic 14px sans-serif;
        color: #777;
-       padding: 4px 8px;
+       margin: 4px 8px;
+}
+
+.argeo-suite-formLine{
+       padding: 4px 8px 4px 16px;
 }
 
 .argeo-suite-simpleLabel {
-       font: bold 14px sans-serif;
-       padding: 0 0 0 8px;
+       font: normal 11px sans-serif;
+       border:8px solid #eee;
 }
 
 .argeo-suite-simpleText {
@@ -57,7 +61,7 @@ Button.argeo-suite-leadPane:hover {
 }
 
 .argeo-suite-titleCell {
-       font: bold 14px sans-serif;
+       font: bold 11px sans-serif;
        background-color: #ddd;
 }
 
index 4e825ece20f7add51df43e3b6deefd27eec8660f..24a8221a7cd18ada1a9c5d97d49ae3e195e8b057 100644 (file)
@@ -11,7 +11,7 @@ public enum SuiteStyle implements CmsStyle {
        // Lead pane
        leadPane, leadPaneItem,
        // Group composite
-       titleContainer, titleLabel, subTitleLabel,
+       titleContainer, titleLabel, subTitleLabel,formLine,
        // Forms elements
        simpleLabel, simpleText,
        // table