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 2018/09/10 10:31:40 UTC

[royale-asjs] branch feature/jewel-snackbar updated: forgot to add theme styles

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

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


The following commit(s) were added to refs/heads/feature/jewel-snackbar by this push:
     new ba9c77c  forgot to add theme styles
ba9c77c is described below

commit ba9c77cc91ef592018cafb9b5c5f803b01f186fe
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Sep 10 12:31:35 2018 +0200

    forgot to add theme styles
---
 .../JewelTheme/src/main/resources/defaults.css     | 54 ++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/frameworks/themes/JewelTheme/src/main/resources/defaults.css b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
index 958f81e..b203d09 100644
--- a/frameworks/themes/JewelTheme/src/main/resources/defaults.css
+++ b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
@@ -832,6 +832,24 @@ a:active {
   padding-right: 0;
 }
 
+.jewel.snackbar.primary .jewel.snackbar-content {
+  background: linear-gradient(#54b7f3, #24a3ef);
+  border: 1px solid #0f88d1;
+  box-shadow: inset 0 1px 0 #9bd5f8;
+  border-radius: 3px;
+}
+.jewel.snackbar.primary .jewel.snackbar-message {
+  color: #FFFFFF;
+}
+.jewel.snackbar.primary .jewel.snackbar-action {
+  color: #E2D70B;
+}
+.jewel.snackbar.primary .jewel.snackbar-action:hover {
+  background: linear-gradient(#3CADF1, #1198e9);
+  border: 1px solid #0d79ba;
+  border: none;
+}
+
 .jewel.button.secondary {
   background: linear-gradient(#f16c42, #ed4812);
   border: 1px solid #be390e;
@@ -872,6 +890,24 @@ a:active {
   color: #f37f59;
 }
 
+.jewel.snackbar.secondary .jewel.snackbar-content {
+  background: linear-gradient(#f16c42, #ed4812);
+  border: 1px solid #be390e;
+  box-shadow: inset 0 1px 0 #f6a389;
+  border-radius: 3px;
+}
+.jewel.snackbar.secondary .jewel.snackbar-message {
+  color: #FFFFFF;
+}
+.jewel.snackbar.secondary .jewel.snackbar-action {
+  color: #E2D70B;
+}
+.jewel.snackbar.secondary .jewel.snackbar-action:hover {
+  background: linear-gradient(#EF5A2A, #d64010);
+  border: 1px solid #a6320d;
+  border: none;
+}
+
 .jewel.button.emphasized {
   background: linear-gradient(#98cc50, #7eb435);
   border: 1px solid #638c29;
@@ -900,4 +936,22 @@ a:active {
   color: silver;
 }
 
+.jewel.snackbar.emphasized .jewel.snackbar-content {
+  background: linear-gradient(#98cc50, #7eb435);
+  border: 1px solid #638c29;
+  box-shadow: inset 0 1px 0 #bbdd8b;
+  border-radius: 3px;
+}
+.jewel.snackbar.emphasized .jewel.snackbar-message {
+  color: #FFFFFF;
+}
+.jewel.snackbar.emphasized .jewel.snackbar-action {
+  color: #E2D70B;
+}
+.jewel.snackbar.emphasized .jewel.snackbar-action:hover {
+  background: linear-gradient(#8CC63C, #71a02f);
+  border: 1px solid #557923;
+  border: none;
+}
+
 /*# sourceMappingURL=defaults.css.map */