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


The following commit(s) were added to refs/heads/develop by this push:
     new 09c2d0e  jewel-alert: improve label color and size
09c2d0e is described below

commit 09c2d0e67329c055db01ab35fb213ce38f4dbc1f
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue Mar 12 15:21:10 2019 +0100

    jewel-alert: improve label color and size
---
 frameworks/themes/JewelTheme/src/main/resources/defaults.css       | 5 +++--
 .../themes/JewelTheme/src/main/sass/components-primary/_alert.sass | 7 ++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/frameworks/themes/JewelTheme/src/main/resources/defaults.css 
b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
index 1685754..ce8f02f 100644
--- a/frameworks/themes/JewelTheme/src/main/resources/defaults.css
+++ b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
@@ -105,11 +105,12 @@ hr {
 .jewel.alert .jewel.titlebar {
   padding: 20px 20px 0px 20px;
   height: 50px;
-  color: #5a5a5a;
+  color: #3CADF1;
 }
 .jewel.alert .jewel.titlebar .jewel.label {
-  font-size: 1.9em;
+  font-size: 1.45em !important;
   font-weight: bold;
+  font-color: #3CADF1;
 }
 .jewel.alert .content {
   padding: 20px;
diff --git 
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_alert.sass 
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_alert.sass
index fc39cf0..46dcc4c 100644
--- a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_alert.sass
+++ b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_alert.sass
@@ -27,9 +27,9 @@ $alert-header-height: 50px
 $alert-footer-height: 84px
 $alert-border-radius: 3px
 
-$alert-title-font-size: 1.9em
+$alert-title-font-size: 1.45em
 $alert-title-font-weight: bold
-$alert-title-color: darken($default-font-color, 15%)
+$alert-title-color: $primary-color
 
 $alert-label-font-size: 1.1em
 $alert-label-font-weight: $font-weight-normal
@@ -79,8 +79,9 @@ $alert-modal-opacity: .5
         
         .jewel.label
             font:
-                size: $alert-title-font-size
+                size: $alert-title-font-size !important
                 weight: $alert-title-font-weight
+                color: $primary-color
           
     .content
         // position: absolute

Reply via email to