You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2017/01/10 08:24:54 UTC

[03/35] git commit: [flex-asjs] [refs/heads/develop] - First cut of Flex Team Page using FlexJS and MDL library (WIP)

First cut of Flex Team Page using FlexJS and MDL library (WIP)


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d10a3925
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d10a3925
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d10a3925

Branch: refs/heads/develop
Commit: d10a3925b43b982108e600c2c3bc67cc30a730db
Parents: 64b46a8
Author: OmPrakash Muppirala <bi...@gmail.com>
Authored: Tue Jan 3 02:16:30 2017 -0800
Committer: OmPrakash Muppirala <bi...@gmail.com>
Committed: Tue Jan 3 02:16:30 2017 -0800

----------------------------------------------------------------------
 examples/flexjs/FlexTeamPage_MDL/pom.xml        | 109 +++++++++++++++++
 .../FlexTeamPage_MDL/src/main/flex/App.mxml     |  35 ++++++
 .../src/main/flex/MainView.mxml                 |  45 +++++++
 .../flex/itemRenderers/MemberItemRenderer.mxml  |  81 ++++++++++++
 .../src/main/flex/models/MembersModel.as        |  81 ++++++++++++
 .../src/main/flex/vos/MemberVO.as               |  41 +++++++
 .../src/main/resources/assets/transparent.jpg   | Bin 0 -> 344605 bytes
 .../main/resources/mdl-js-index-template.html   |  34 ++++++
 .../src/main/resources/mdl-styles.css           | 122 +++++++++++++++++++
 9 files changed, 548 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/pom.xml b/examples/flexjs/FlexTeamPage_MDL/pom.xml
new file mode 100644
index 0000000..1d59ee1
--- /dev/null
+++ b/examples/flexjs/FlexTeamPage_MDL/pom.xml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.flex.flexjs.examples</groupId>
+    <artifactId>examples-flexjs</artifactId>
+    <version>0.8.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>FlexTeamPage_MDL</artifactId>
+  <version>0.8.0-SNAPSHOT</version>
+  <packaging>swf</packaging>
+
+  <name>Apache Flex - FlexJS: Examples: FlexJS: FlexTeamPage_MDL</name>
+
+  <properties>
+    <!-- Customize MDL colors using this the tool at : https://getmdl.io/customize/index.html -->
+    <primary>indigo</primary>
+    <accent>pink</accent>
+  </properties>
+
+  <build>
+    <sourceDirectory>src/main/flex</sourceDirectory>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.flex.flexjs.compiler</groupId>
+        <artifactId>flexjs-maven-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <mainClass>App.mxml</mainClass>
+          <htmlTemplate>${basedir}/target/javascript/bin/js-debug/mdl-js-index-template.html</htmlTemplate>
+          <additionalCompilerOptions>-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css</additionalCompilerOptions>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>MaterialDesignLite</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>FontAwesome</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Network</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Core</artifactId>
+      <version>0.8.0-SNAPSHOT</version>
+      <type>swc</type>
+    </dependency>
+
+    <!-- Needed for Flash compilation -->
+    <dependency>
+      <groupId>com.adobe.flash.framework</groupId>
+      <artifactId>playerglobal</artifactId>
+      <version>20.0</version>
+      <type>swc</type>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+</project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/src/main/flex/App.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/src/main/flex/App.mxml b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/App.mxml
new file mode 100644
index 0000000..93f3429
--- /dev/null
+++ b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/App.mxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+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.
+
+-->
+
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+                xmlns:js="library://ns.apache.org/flexjs/basic"
+                xmlns:local="*"
+                xmlns="http://www.w3.org/1999/xhtml">
+    
+     <fx:Style source="../../main/resources/mdl-styles.css"/>
+
+    <js:valuesImpl>
+        <js:SimpleCSSValuesImpl />
+    </js:valuesImpl>
+    
+    <js:initialView>
+        <local:MainView/>
+    </js:initialView>
+</js:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/src/main/flex/MainView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/src/main/flex/MainView.mxml b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/MainView.mxml
new file mode 100644
index 0000000..4c53118
--- /dev/null
+++ b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/MainView.mxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+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.
+
+-->
+<basic:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+            xmlns:basic="library://ns.apache.org/flexjs/basic" xmlns:models="models.*"
+            xmlns:mdl="library://ns.apache.org/flexjs/mdl" xmlns:binding="org.apache.flex.binding.*">
+
+    <basic:beads>
+        <basic:ViewDataBinding />
+    </basic:beads>
+
+    <basic:model>
+        <models:MembersModel/>
+    </basic:model>
+
+    <basic:Container width="100%" height="100%" className="container">
+        <basic:H1 text="FlexJS Team page"></basic:H1>
+        <mdl:List labelField="name" className="memberListItemRenderer membersList">
+            <mdl:beads>
+                <binding:SimpleBinding
+                        sourceID="model"
+                        sourcePropertyName="members"
+                        destinationPropertyName="dataProvider"
+                        eventName="membersChanged"
+                            />
+            </mdl:beads>
+        </mdl:List>
+    </basic:Container>
+</basic:View>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/src/main/flex/itemRenderers/MemberItemRenderer.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/src/main/flex/itemRenderers/MemberItemRenderer.mxml b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/itemRenderers/MemberItemRenderer.mxml
new file mode 100644
index 0000000..da4a07c
--- /dev/null
+++ b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/itemRenderers/MemberItemRenderer.mxml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+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.
+
+-->
+<mdl:ListItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
+                      xmlns:js="library://ns.apache.org/flexjs/basic"
+                      xmlns:mdl="library://ns.apache.org/flexjs/mdl"
+                      xmlns:fa="library://ns.apache.org/flexjs/fa"
+                      xmlns="http://www.w3.org/1999/xhtml"
+                      xmlns:components="components.*" >
+
+    <fx:Script>
+		<![CDATA[
+        import vos.MemberVO;
+
+        [Bindable("dataChange")]
+        public function get member():MemberVO{
+            return data as MemberVO;
+        }
+
+        ]]>
+	</fx:Script>
+
+    <mdl:beads>
+        <js:ItemRendererDataBinding />
+    </mdl:beads>
+
+    <mdl:Card className="demo-card-wide" shadow="8">
+        <mdl:CardTitle>
+            <mdl:CardTitleText text="{member.name}"/>
+            <js:H6 text="{member.apacheID}"></js:H6>
+        </mdl:CardTitle>
+        <mdl:CardSupportingText>
+            <js:Container className="cardRow1">
+                <js:HTMLText html="{member.bio}" className="bio" />
+                <js:Image url="http://flex.apache.org/{member.photoURL}" className="photo" />
+            </js:Container>
+            <!--<js:TextNode text="{member.bio}"/>-->
+        </mdl:CardSupportingText>
+        <mdl:Spacer height="20" />
+        <mdl:CardActions border="true">
+            <mdl:Button colored="true" fab="true" ripple="true" raised="false" primary="true">
+                <mdl:materialIcon>
+                    <js:I className="fa fa-twitter" />
+                </mdl:materialIcon>
+            </mdl:Button>
+            <mdl:Button colored="true" fab="true" ripple="true" raised="false" accent="true">
+                <mdl:materialIcon>
+                    <js:I className="fa fa-linkedin" />
+                </mdl:materialIcon>
+            </mdl:Button>
+            <mdl:Button colored="true" fab="true" ripple="true" raised="false">
+                <mdl:materialIcon>
+                    <js:I className="fa fa-facebook" />
+                </mdl:materialIcon>
+            </mdl:Button>
+            <mdl:Button colored="true" fab="true" ripple="true" raised="false">
+                <mdl:materialIcon>
+                    <js:I className="fa fa-github" />
+                </mdl:materialIcon>
+            </mdl:Button>
+        </mdl:CardActions>
+    </mdl:Card>
+
+</mdl:ListItemRenderer>
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/src/main/flex/models/MembersModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/src/main/flex/models/MembersModel.as b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/models/MembersModel.as
new file mode 100644
index 0000000..9eec224
--- /dev/null
+++ b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/models/MembersModel.as
@@ -0,0 +1,81 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 models
+{
+import org.apache.flex.events.Event;
+import org.apache.flex.events.EventDispatcher;
+import org.apache.flex.html.TextNode;
+import org.apache.flex.net.HTTPService;
+
+import vos.MemberVO;
+
+[Event(name="membersChanged", type="org.apache.flex.events.Event")]
+
+public class MembersModel extends EventDispatcher
+{
+
+    private var _members:Array = [];
+
+    public function MembersModel() {
+        loadMembers();
+    }
+
+    protected function loadMembers():void {
+        var httpService:HTTPService = new HTTPService();
+        httpService.url = 'http://flex.apache.org/team/team.json';
+        httpService.addEventListener("complete", handleLoadComplete);
+        httpService.addEventListener("ioError", handleError);
+        httpService.send();
+    }
+
+    protected function handleLoadComplete(event:Event):void
+    {
+        var responseStr:String = event.target._element.response;
+        //Remove the comments
+        responseStr = responseStr.substr(responseStr.indexOf('{'),responseStr.length);
+        var response:Object = JSON.parse(responseStr);
+        createMemberVOs(response.members);
+    }
+
+    protected function handleError(event:Event):void
+    {
+        trace('Error loading team.json from http://flex.apache.org/team/team.json');
+    }
+
+    protected function createMemberVOs(membersArr:Array):void {
+        var v:Array = membersArr.map(function(memberObj):MemberVO {
+            return new MemberVO(memberObj.name,memberObj.apacheID,memberObj.photoURL,memberObj.bio,memberObj.twitter,memberObj.linkedIn,memberObj.facebook);
+        });
+        this.members = v;
+    }
+
+
+    public function set members(v:Array):void {
+        _members = v;
+        dispatchEvent( new Event("membersChanged") );
+        var t:TextNode = new TextNode();
+    }
+
+    public function get members():Array
+    {
+        return _members;
+    }
+
+}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/src/main/flex/vos/MemberVO.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/src/main/flex/vos/MemberVO.as b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/vos/MemberVO.as
new file mode 100644
index 0000000..e558bc2
--- /dev/null
+++ b/examples/flexjs/FlexTeamPage_MDL/src/main/flex/vos/MemberVO.as
@@ -0,0 +1,41 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 vos {
+    public class MemberVO {
+
+        public function MemberVO(name:String,apacheID:String,photoURL:String,bio:String,twitter:String,linkedIn:String,facebook:String){
+            this.name = name;
+            this.apacheID = apacheID;
+            this.photoURL = photoURL;
+            this.bio = bio;
+            this.twitter = twitter;
+            this.linkedIn = linkedIn;
+            this.facebook = facebook;
+        }
+
+        [Bindable] public var name:String;
+        [Bindable] public var title:String;
+        [Bindable] public var apacheID:String;
+        [Bindable] public var photoURL:String;
+        [Bindable] public var bio:String;
+        [Bindable] public var twitter:String;
+        [Bindable] public var linkedIn:String;
+        [Bindable] public var facebook:String;
+    }
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/src/main/resources/assets/transparent.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/src/main/resources/assets/transparent.jpg b/examples/flexjs/FlexTeamPage_MDL/src/main/resources/assets/transparent.jpg
new file mode 100644
index 0000000..879edf5
Binary files /dev/null and b/examples/flexjs/FlexTeamPage_MDL/src/main/resources/assets/transparent.jpg differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/src/main/resources/mdl-js-index-template.html
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/src/main/resources/mdl-js-index-template.html b/examples/flexjs/FlexTeamPage_MDL/src/main/resources/mdl-js-index-template.html
new file mode 100644
index 0000000..d329f95
--- /dev/null
+++ b/examples/flexjs/FlexTeamPage_MDL/src/main/resources/mdl-js-index-template.html
@@ -0,0 +1,34 @@
+<!--
+  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.
+-->
+<!DOCTYPE html>
+<html>
+<head>
+	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+	<meta name="Custom Template for injecting custom style CSS">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"">
+	<link rel="stylesheet" type="text/css" href="${application}.css">
+  <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
+  <link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.${primary}-${accent}.min.css">
+  <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
+  <script defer src="https://code.getmdl.io/1.2.1/material.min.js"></script>
+${head}
+</head>
+<body>
+${body}
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d10a3925/examples/flexjs/FlexTeamPage_MDL/src/main/resources/mdl-styles.css
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexTeamPage_MDL/src/main/resources/mdl-styles.css b/examples/flexjs/FlexTeamPage_MDL/src/main/resources/mdl-styles.css
new file mode 100644
index 0000000..df17bef
--- /dev/null
+++ b/examples/flexjs/FlexTeamPage_MDL/src/main/resources/mdl-styles.css
@@ -0,0 +1,122 @@
+/*
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 "http://www.w3.org/1999/xhtml";
+@namespace js "library://ns.apache.org/flexjs/basic";
+@namespace mdl "library://ns.apache.org/flexjs/mdl";
+
+.flexjs *, . flexjs *:before, . flexjs *:after {
+    -moz-box-sizing: border-box;
+    -webkit-box-sizing: border-box;
+    box-sizing: border-box;
+}
+
+.page-content
+{
+	padding: 10px;
+	margin: 10px;
+}
+
+js|Image
+{
+	vertical-align: top;
+	IBeadModel: ClassReference("org.apache.flex.html.beads.models.ImageModel");
+	IBeadView:  ClassReference("org.apache.flex.html.beads.ImageView");
+}
+
+
+
+.memberListItemRenderer
+{
+    width: auto;
+    IItemRenderer: ClassReference("itemRenderers.MemberItemRenderer");
+}
+.layoutTransparent {
+  background: url('assets/transparent.jpg') center / cover;
+  color: white;
+}
+
+/* card wide */
+.demo-card-wide.mdl-card {
+    width: 600px;
+    height:350px;
+}
+.demo-card-wide > .mdl-card__title {
+  layout: flex;
+    flex-direction: row;
+    align-items: center;
+    justify-content: space-between;
+}
+
+@media (min-width: 600px) and (max-width: 959px) {
+    .demo-card-wide.mdl-card {
+        height: auto;
+    }
+}
+
+@media (max-width: 599px) {
+    .demo-card-wide.mdl-card {
+        height: auto;
+    }
+}
+
+.demo-card-wide > .mdl-card__menu {
+}
+
+.mdl-card__actions {
+    display: flex !important;
+    flex-direction: row;
+    justify-content: space-between;
+    min-height: 75px;
+}
+
+
+.mdl-card__supporting-text {
+    width:100% !important;
+}
+
+.cardRow1 {
+    display: flex !important;
+    flex-direction: row;
+}
+
+.membersList {
+    display: flex !important;
+    flex-direction: row;
+    flex-wrap: wrap;
+    justify-content: space-around;
+}
+
+.memberCardMedia {
+    background-color: #fff;
+}
+
+.bio {
+    padding: 10px;
+    font-size: 12px;
+    max-height: 300px;
+    overflow-y: auto;
+}
+
+.photo {
+    max-width: 150px;
+    max-height: 150px;
+}
\ No newline at end of file