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/03/05 19:06:08 UTC

[royale-asjs] 06/15: textbutton css in theme

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

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

commit 820fa8b97dac100a71546e571e1943e50136dc4d
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sat Feb 24 17:46:25 2018 +0100

    textbutton css in theme
---
 .../projects/Vivid/src/main/resources/defaults.css | 24 +----------
 frameworks/themes/VividBlueTheme/pom.xml           |  4 ++
 .../src/main/resources/TextButton.css              | 49 ++++++++++++++++++++++
 3 files changed, 55 insertions(+), 22 deletions(-)

diff --git a/frameworks/projects/Vivid/src/main/resources/defaults.css b/frameworks/projects/Vivid/src/main/resources/defaults.css
index ee46fc1..5fed6d5 100644
--- a/frameworks/projects/Vivid/src/main/resources/defaults.css
+++ b/frameworks/projects/Vivid/src/main/resources/defaults.css
@@ -33,30 +33,10 @@ TextField {
 /*
 * Vivid TextButton
 */
-
 TextButton {
-	/* Background: */
-	background-color: #D8D8D8;
-	border: 1px solid #979797;
-	border-radius: 3px;
-
-	/* TextField: */
-	font-family: 'Lato', sans-serif;
-	font-size: 13px;
-	color: #646D7A;
-}
-
-TextButton:hover {
-    background-color: #CFCFCF;
-    vertical-align: middle;
-    border: none;
-    border-radius: 6px;
-}
-
-TextButton:active {
-    background-color: #77CEFF;
-    color: #FFFFFF;
 }
+TextButton:hover {}
+TextButton:active {}
 
 /*
 * Vivid Slider
diff --git a/frameworks/themes/VividBlueTheme/pom.xml b/frameworks/themes/VividBlueTheme/pom.xml
index 5017d0e..e0cc7cb 100644
--- a/frameworks/themes/VividBlueTheme/pom.xml
+++ b/frameworks/themes/VividBlueTheme/pom.xml
@@ -50,6 +50,10 @@
               <path>../src/main/resources/defaults.css</path>
             </include-file>
             <include-file>
+              <name>TextButton.css</name>
+              <path>../src/main/resources/TextButton.css</path>
+            </include-file>
+            <include-file>
               <name>TextField.css</name>
               <path>../src/main/resources/TextField.css</path>
             </include-file>
diff --git a/frameworks/themes/VividBlueTheme/src/main/resources/TextButton.css b/frameworks/themes/VividBlueTheme/src/main/resources/TextButton.css
new file mode 100644
index 0000000..05ca704
--- /dev/null
+++ b/frameworks/themes/VividBlueTheme/src/main/resources/TextButton.css
@@ -0,0 +1,49 @@
+/*
+ *
+ *  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.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+@namespace "library://ns.apache.org/royale/vivid";
+/*@namespace svg "library://ns.apache.org/royale/svg";*/
+ 
+/*
+* Vivid TextButton
+*/
+
+TextButton {
+	/* Background: */
+	background-color: #D8D8D8;
+	border: 1px solid #979797;
+	border-radius: 3px;
+
+	/* TextField: */
+	font-family: 'Lato', sans-serif;
+	font-size: 13px;
+	color: #646D7A;
+}
+
+TextButton:hover {
+    background-color: #CFCFCF;
+    vertical-align: middle;
+    border: none;
+    border-radius: 6px;
+}
+
+TextButton:active {
+    background-color: #77CEFF;
+    color: #FFFFFF;
+}
\ No newline at end of file

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