This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch feature/jewel-ui-set in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/jewel-ui-set by this push: new d7f0b3d latest changes to Alert d7f0b3d is described below commit d7f0b3dad5c64ec6b947612edc014f6e5415d9f8 Author: Carlos Rovira <carlosrov...@apache.org> AuthorDate: Sat Mar 31 23:37:14 2018 +0200 latest changes to Alert --- .../projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as | 2 +- frameworks/themes/JewelTheme/src/main/resources/defaults.css | 4 ++-- frameworks/themes/JewelTheme/src/main/sass/components/_alert.sass | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as index f8375f6..1363127 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as @@ -241,7 +241,7 @@ package org.apache.royale.jewel * @playerversion AIR 2.6 * @productversion Royale 0.9.3 */ - static public function show(message:String, title:String="", flags:uint=Alert.OK, parent:Object = null, modal:Boolean = true, showCloseButton:Boolean = false) : Alert + static public function show(message:String, title:String="", flags:uint=Alert.OK, parent:Object = null, modal:Boolean = true) : Alert { var alert:Alert = new Alert(); alert.message = message; diff --git a/frameworks/themes/JewelTheme/src/main/resources/defaults.css b/frameworks/themes/JewelTheme/src/main/resources/defaults.css index 5c08d9d..9f658c1 100644 --- a/frameworks/themes/JewelTheme/src/main/resources/defaults.css +++ b/frameworks/themes/JewelTheme/src/main/resources/defaults.css @@ -67,7 +67,7 @@ div { min-height: 240px; border: 0px solid; border-radius: 3px; - box-shadow: 0px 0px 65px 0px rgba(0, 0, 0, 0.8); + box-shadow: 0px 20px 65px 0px rgba(0, 0, 0, 0.8); background-color: #FFFFFF; } .jewel.alert .jewel.titlebar { @@ -110,7 +110,7 @@ div { justify-content: flex-end; } .jewel.alert .jewel.controlbar > * { - flex: 1 1 auto; + flex: 0 0 100px; } .jewel.alert + .backdrop { background-color: rgba(0, 0, 0, 0.5); diff --git a/frameworks/themes/JewelTheme/src/main/sass/components/_alert.sass b/frameworks/themes/JewelTheme/src/main/sass/components/_alert.sass index 2352aed..c431453 100644 --- a/frameworks/themes/JewelTheme/src/main/sass/components/_alert.sass +++ b/frameworks/themes/JewelTheme/src/main/sass/components/_alert.sass @@ -55,7 +55,7 @@ $alert-modal-opacity: .5 border: 0px solid border-radius: $alert-border-radius - box-shadow: 0px 0px 65px 0px rgba(0,0,0,0.8) + box-shadow: 0px 20px 65px 0px rgba(0,0,0,0.8) background-color: #FFFFFF .jewel.titlebar @@ -115,7 +115,7 @@ $alert-modal-opacity: .5 // > *:first-child // margin-left: 0px > * - flex: 1 1 auto + flex: 0 0 100px //margin-left: 6px + .backdrop -- To stop receiving notification emails like this one, please contact carlosrov...@apache.org.