Created
July 14, 2014 11:53
-
-
Save kylecorry31/b1ad814a88d338cd8a4e to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_drawer_panel { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#section { | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
background-color: rgb(250, 250, 250); | |
} | |
#section1 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_header_panel { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(8, 117, 20); | |
} | |
#core_pages { | |
width: 100%; | |
height: 100%; | |
border: 1px solid silver; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
} | |
#section2 { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
background-color: rgb(246, 245, 245); | |
} | |
#core_card { | |
width: 100%; | |
height: 300px; | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-left-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card1 { | |
width: 500px; | |
height: 120px; | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-left-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
margin: 8px auto; | |
background-color: rgb(255, 255, 255); | |
} | |
.title { | |
font-size: 32px; | |
font-weight: bold; | |
} | |
#div2 { | |
padding: 16px; | |
} | |
#div1 { | |
padding: 8px; | |
} | |
</style> | |
<core-drawer-panel id="core_drawer_panel"> | |
<section id="section" drawer></section> | |
<section id="mainContentPanel" main> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div">Gongoliers</div> | |
</core-toolbar> | |
<section id="section1"> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="section2" active> | |
<core-card id="core_card" vertical layout center></core-card> | |
<core-card id="core_card1" vertical layout center> | |
<div id="div2" class="title">About</div> | |
<div id="div1" class="info">Ponaganset High School FIRST Robotics Competition team 5112, the Gongoliers.</div> | |
</core-card> | |
</section> | |
<section id="section3">Page Two</section> | |
</core-pages> | |
</section> | |
</core-header-panel> | |
</section> | |
</core-drawer-panel> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment