From commits-return-2433-archive-asf-public=cust-asf.ponee.io@royale.apache.org Sun Feb 25 09:34:00 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1BF8E18077A for ; Sun, 25 Feb 2018 09:33:59 +0100 (CET) Received: (qmail 75400 invoked by uid 500); 25 Feb 2018 08:33:59 -0000 Mailing-List: contact commits-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@royale.apache.org Delivered-To: mailing list commits@royale.apache.org Received: (qmail 75383 invoked by uid 99); 25 Feb 2018 08:33:58 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Feb 2018 08:33:58 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 4AB0C84BB0; Sun, 25 Feb 2018 08:33:56 +0000 (UTC) Date: Sun, 25 Feb 2018 08:34:03 +0000 To: "commits@royale.apache.org" Subject: [royale-asjs] 07/08: test SVG as background in TextButton, but is not copied to final SWC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: carlosrovira@apache.org In-Reply-To: <151954763658.14369.1693622820585435582@gitbox.apache.org> References: <151954763658.14369.1693622820585435582@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: royale-asjs X-Git-Refname: refs/heads/feature/vivid-ui-set X-Git-Reftype: branch X-Git-Rev: fec48cae77bec94759ebfbb12c920f07f4d13fa6 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180225083357.4AB0C84BB0@gitbox.apache.org> 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 fec48cae77bec94759ebfbb12c920f07f4d13fa6 Author: Carlos Rovira AuthorDate: Sat Feb 24 18:53:43 2018 +0100 test SVG as background in TextButton, but is not copied to final SWC --- .../src/main/resources/TextButton.css | 14 ++++-- .../src/main/resources/assets/buttonbackground.svg | 57 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 3 deletions(-) diff --git a/frameworks/themes/VividBlueTheme/src/main/resources/TextButton.css b/frameworks/themes/VividBlueTheme/src/main/resources/TextButton.css index 05ca704..8e688fc 100644 --- a/frameworks/themes/VividBlueTheme/src/main/resources/TextButton.css +++ b/frameworks/themes/VividBlueTheme/src/main/resources/TextButton.css @@ -26,16 +26,24 @@ TextButton { /* Background: */ - background-color: #D8D8D8; + background: url(assets/buttonbackground.svg) no-repeat top left; + background-size: contain; + border: none; + + /*background-color: #D8D8D8; border: 1px solid #979797; - border-radius: 3px; + border-radius: 3px;*/ /* TextField: */ font-family: 'Lato', sans-serif; font-size: 13px; - color: #646D7A; + color: #fff; } +/*.no-svg .main-header { + background-image: url(logo.png); +}*/ + TextButton:hover { background-color: #CFCFCF; vertical-align: middle; diff --git a/frameworks/themes/VividBlueTheme/src/main/resources/assets/buttonbackground.svg b/frameworks/themes/VividBlueTheme/src/main/resources/assets/buttonbackground.svg new file mode 100644 index 0000000..f7f225d --- /dev/null +++ b/frameworks/themes/VividBlueTheme/src/main/resources/assets/buttonbackground.svg @@ -0,0 +1,57 @@ + + + + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- To stop receiving notification emails like this one, please contact carlosrovira@apache.org.