royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosrov...@apache.org
Subject [royale-asjs] 08/12: change from scss to sass syntax
Date Fri, 09 Mar 2018 22:21:32 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 1391decb35a998607d77a1eed9ce879c58de6a7e
Author: Carlos Rovira <carlosrovira@apache.org>
AuthorDate: Thu Mar 8 17:52:07 2018 +0100

    change from scss to sass syntax
---
 frameworks/themes/JewelTheme/pom.xml               |  4 +--
 .../JewelTheme/src/main/resources/defaults.css     |  1 -
 .../sass/defaults.scss => sass/defaults.sass}      | 31 ++++++++++------------
 3 files changed, 16 insertions(+), 20 deletions(-)

diff --git a/frameworks/themes/JewelTheme/pom.xml b/frameworks/themes/JewelTheme/pom.xml
index 7232d7f..f577bab 100644
--- a/frameworks/themes/JewelTheme/pom.xml
+++ b/frameworks/themes/JewelTheme/pom.xml
@@ -87,9 +87,9 @@
           <resources>
               <resource>
                   <source>
-                      <directory>${basedir}/src/main/resources/sass</directory>
+                      <directory>${basedir}/src/main/sass</directory>
                       <includes>
-                          <include>**/*.scss</include>
+                          <include>**/*.sass</include>
                       </includes>
                   </source>
                   <destination>${basedir}/src/main/resources</destination>
diff --git a/frameworks/themes/JewelTheme/src/main/resources/defaults.css b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
index ea29ba4..f19b819 100644
--- a/frameworks/themes/JewelTheme/src/main/resources/defaults.css
+++ b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
@@ -1,5 +1,4 @@
 /*
- *
  *  Licensed to the Apache Software Foundation (ASF) under one or more
  *  contributor license agreements.  See the NOTICE file distributed with
  *  this work for additional information regarding copyright ownership.
diff --git a/frameworks/themes/JewelTheme/src/main/resources/sass/defaults.scss b/frameworks/themes/JewelTheme/src/main/sass/defaults.sass
similarity index 68%
rename from frameworks/themes/JewelTheme/src/main/resources/sass/defaults.scss
rename to frameworks/themes/JewelTheme/src/main/sass/defaults.sass
index b31b1ab..a861598 100644
--- a/frameworks/themes/JewelTheme/src/main/resources/sass/defaults.scss
+++ b/frameworks/themes/JewelTheme/src/main/sass/defaults.sass
@@ -17,25 +17,22 @@
  *
  */
 
- @namespace j "library://ns.apache.org/royale/jewel";
- @namespace "http://www.w3.org/1999/xhtml";
+@namespace j "library://ns.apache.org/royale/jewel"
+@namespace "http://www.w3.org/1999/xhtml"
 
- .royale *, .royale *:before, .royale *:after {
-	 -moz-box-sizing: border-box;
-	 -webkit-box-sizing: border-box;
-	 box-sizing: border-box;
+.royale *, .royale *:before, .royale *:after
+	-moz-box-sizing: border-box
+	-webkit-box-sizing: border-box
+	box-sizing: border-box
 	/* fonts: ClassReference("org.apache.royale.jewel.JewelThemeFontInject"); */
- }
 
- .royale {
-	padding: 10px;
-	margin: 10px;
- }
+.royale
+	padding: 10px
+	margin: 10px
 
-$font-stack:    'Lato-Bold', sans-serif;
-$primary-color: #333;
+$font-stack: 'Lato-Bold', sans-serif
+$primary-color: #333
 
-body {
-  font: 100% $font-stack;
-  color: $primary-color;
-}
\ No newline at end of file
+body
+	font: 100% $font-stack
+	color: $primary-color

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

Mime
View raw message