You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/12/12 23:47:29 UTC

[royale-asjs] 28/42: jewel-datagrid: decorate data grid item renderers with a separator light line

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit d5ca90d2a90bbb71e8e1cc267b2dee5d83928c18
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Dec 6 18:15:40 2019 +0100

    jewel-datagrid: decorate data grid item renderers with a separator light line
---
 frameworks/projects/Jewel/src/main/resources/defaults.css         | 3 +++
 frameworks/projects/Jewel/src/main/sass/components/_datagrid.sass | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css b/frameworks/projects/Jewel/src/main/resources/defaults.css
index 90e0c5b..2c37850 100644
--- a/frameworks/projects/Jewel/src/main/resources/defaults.css
+++ b/frameworks/projects/Jewel/src/main/resources/defaults.css
@@ -505,6 +505,9 @@ j|ComboBoxPopUp {
   border-left: 0px;
   border-bottom-right-radius: 0.25rem;
 }
+.jewel.datagrid .jewel.list.column .jewel.item {
+  border-bottom: 1px solid #efefef;
+}
 
 j|DataGrid {
   IChangePropagator: ClassReference("org.apache.royale.jewel.supportClasses.datagrid.DataGridColumnChangePropagator");
diff --git a/frameworks/projects/Jewel/src/main/sass/components/_datagrid.sass b/frameworks/projects/Jewel/src/main/sass/components/_datagrid.sass
index 4679d9d..bcc7d16 100644
--- a/frameworks/projects/Jewel/src/main/sass/components/_datagrid.sass
+++ b/frameworks/projects/Jewel/src/main/sass/components/_datagrid.sass
@@ -41,6 +41,10 @@ $border-radius: .25rem
         &.last
             border-left: 0px
             border-bottom-right-radius: $border-radius
+        
+        .jewel.item
+            border-bottom: 1px solid #efefef
+
 
 j|DataGrid
     IChangePropagator: ClassReference("org.apache.royale.jewel.supportClasses.datagrid.DataGridColumnChangePropagator")