This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/royalesite in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 87ba0687841bf01bbb000644009eb877fea34d79 Author: Alex Harui <aha...@apache.org> AuthorDate: Thu Feb 1 23:14:08 2018 -0800 tune up site components --- .../RoyaleSite/src/main/resources/defaults.css | 13 ++++++ .../royale/org/apache/royale/site/DocTopBar.as | 53 ---------------------- .../royale/site/{TopBar.mxml => DocTopBar.mxml} | 4 +- .../main/royale/org/apache/royale/site/TopBar.mxml | 2 +- 4 files changed, 16 insertions(+), 56 deletions(-) diff --git a/frameworks/projects/RoyaleSite/src/main/resources/defaults.css b/frameworks/projects/RoyaleSite/src/main/resources/defaults.css index 91edb96..ed282a3 100644 --- a/frameworks/projects/RoyaleSite/src/main/resources/defaults.css +++ b/frameworks/projects/RoyaleSite/src/main/resources/defaults.css @@ -125,7 +125,11 @@ rs|MainPage { } rs|DocPage { + width: 100%; background-image: url('http://royale.codeoscopic.com/wp-content/uploads/2017/10/page-bg-1-1920x300.png'); + background-size: 100%; + background-repeat: no-repeat; + margin-top: 0px; } rs|SocialButtons { @@ -138,6 +142,8 @@ rs|SocialButtons { display: inline; margin-right: 20px; line-height: 70px; + color: inherit; + font-size: 16px; } rs|DocSocialButtons { @@ -153,6 +159,11 @@ rs|TopBar { } rs|DocTopBar { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + padding-left: 54px; + padding-right: 54px; color: #fff; } @@ -173,10 +184,12 @@ rs|TopMenuButton { font-family: 'Signika'; line-height: 70px; letter-spacing: 1px; + color: inherit; } .TopMenuButtonContent { text-decoration: none; + color:inherit; } rs|DocTopMenu { diff --git a/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/DocTopBar.as b/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/DocTopBar.as deleted file mode 100644 index 6e87650..0000000 --- a/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/DocTopBar.as +++ /dev/null @@ -1,53 +0,0 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// 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. -// -//////////////////////////////////////////////////////////////////////////////// -package org.apache.royale.site -{ - import org.apache.royale.core.UIBase; - COMPILE::JS - { - import org.apache.royale.core.WrappedHTMLElement; - } - - /** - * The DocTopBar displays the top bar for the Royale - * documentation page. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion Royale 0.0 - */ - public class DocTopBar extends TopBar - { - /** - * Constructor. - * - * @langversion 3.0 - * @playerversion Flash 10.2 - * @playerversion AIR 2.6 - * @productversion Royale 0.0 - */ - public function DocTopBar() - { - super(); - - typeNames = "DocTopBar TopBar"; - } - } -} diff --git a/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/TopBar.mxml b/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/DocTopBar.mxml similarity index 91% copy from frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/TopBar.mxml copy to frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/DocTopBar.mxml index cda29bd..28b71c4 100644 --- a/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/TopBar.mxml +++ b/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/DocTopBar.mxml @@ -22,8 +22,8 @@ limitations under the License. xmlns:js="library://ns.apache.org/royale/basic" xmlns:rs="library://ns.apache.org/royale/site" xmlns:local="*" - className="TopBar"> - <Img className="logo" src="http://royale.codeoscopic.com/wp-content/uploads/2017/11/apache-royale-tm-logo-default.png" /> + className="DocTopBar TopBar"> + <Img className="logo" src="http://royale.codeoscopic.com/wp-content/uploads/2018/01/apache-royale-tm-logo-light.svg" /> <rs:TopMenu /> <rs:SocialButtons /> </Div> \ No newline at end of file diff --git a/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/TopBar.mxml b/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/TopBar.mxml index cda29bd..4d08ff5 100644 --- a/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/TopBar.mxml +++ b/frameworks/projects/RoyaleSite/src/main/royale/org/apache/royale/site/TopBar.mxml @@ -23,7 +23,7 @@ limitations under the License. xmlns:rs="library://ns.apache.org/royale/site" xmlns:local="*" className="TopBar"> - <Img className="logo" src="http://royale.codeoscopic.com/wp-content/uploads/2017/11/apache-royale-tm-logo-default.png" /> + <Img className="logo" src="http://royale.codeoscopic.com/wp-content/uploads/2018/01/apache-royale-tm-logo-dark.svg" /> <rs:TopMenu /> <rs:SocialButtons /> </Div> \ No newline at end of file -- To stop receiving notification emails like this one, please contact aha...@apache.org.