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

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

commit e41c70dc2103699a596a2885c648d1d4c00efb64
Author: Alex Harui <aha...@apache.org>
AuthorDate: Thu Feb 22 22:34:25 2018 -0800

    use global selector properly
---
 examples/royale/RoyaleStore/src/main/royale/beige.css | 16 +---------------
 examples/royale/RoyaleStore/src/main/royale/main.css  | 10 ++++------
 2 files changed, 5 insertions(+), 21 deletions(-)

diff --git a/examples/royale/RoyaleStore/src/main/royale/beige.css 
b/examples/royale/RoyaleStore/src/main/royale/beige.css
index fd71f53..92746fd 100755
--- a/examples/royale/RoyaleStore/src/main/royale/beige.css
+++ b/examples/royale/RoyaleStore/src/main/royale/beige.css
@@ -25,26 +25,12 @@
 
 /*
 //----------------------------
-//  Global styles
-//----------------------------
-*/
-.global
-{
-    highlightAlphas:        .5, .25;
-    borderColor:            #939A9D;
-    headerColors:           #A65904, #E68701;
-    themeColor:             #75B1CE;
-    rollOverColor:          #D6E6EE;
-    selectionColor:         #B8D5E4;
-}
-
-/*
-//----------------------------
 // Type selectors
 //----------------------------
 */
 Application
 {
+    borderColor:            #939A9D;
     backgroundColor:           #EAE6DD;
     backgroundImage:        "assets/beige_background.jpg";
 }
diff --git a/examples/royale/RoyaleStore/src/main/royale/main.css 
b/examples/royale/RoyaleStore/src/main/royale/main.css
index 2117039..ddb5a30 100755
--- a/examples/royale/RoyaleStore/src/main/royale/main.css
+++ b/examples/royale/RoyaleStore/src/main/royale/main.css
@@ -26,18 +26,16 @@
 //  Global styles
 //----------------------------
 */
-.global {
-    IStatesImpl:            
ClassReference("org.apache.royale.core.StatesWithTransitionsImpl");
-    color:                  #170505;
-    fillAlphas:             1.00, 1.00; /* last pair are for OVER state */
-    fillColors:                    #FFFFFF, #DDDDDD, #FFFFFF, #EEEEEE;
-}
 
 global {
     IStatesImpl:            
ClassReference("org.apache.royale.core.StatesWithTransitionsImpl");
        IEffectTimer:                   
ClassReference("org.apache.royale.utils.EffectTimer");
 }
 
+basic|Application {
+    color:                  #170505;
+}
+
 /*
 //----------------------------
 // Type selectors

-- 
To stop receiving notification emails like this one, please contact
aha...@apache.org.

Reply via email to