Created
June 29, 2014 21:21
-
-
Save Frans-Willem/85b1f46a2b3314238fb5 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-scroll-header-panel/core-scroll-header-panel.html"> | |
<link rel="import" href="../core-item/core-item.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; | |
} | |
#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_drawer_panel1 { | |
right: 0px; | |
bottom: 0px; | |
} | |
#section2 { | |
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); | |
} | |
#section3 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_selector { | |
width: 100%; | |
height: 50px; | |
} | |
#core_scroll_header_panel { | |
width: 100%; | |
height: 100%; | |
} | |
#core_toolbar { | |
color: rgb(241, 241, 241); | |
fill: rgb(241, 241, 241); | |
background-color: rgb(66, 133, 244); | |
} | |
#section4 { | |
height: 5000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
</style> | |
<core-drawer-panel id="core_drawer_panel"> | |
<section id="section" drawer> | |
<core-scroll-header-panel condenses headerheight="64" condensedheaderheight="64" id="core_scroll_header_panel"> | |
<section id="section4" content> | |
<core-selector selected="2" selectedindex="2" id="core_selector"> | |
<core-item label="Item 1" icon="settings" id="core_item1" horizontal center layout></core-item> | |
<core-item label="Item 2" icon="settings" id="core_item2" horizontal center layout></core-item> | |
<core-item label="Item 3" icon="settings" id="core_item3" horizontal center layout active></core-item> | |
</core-selector> | |
</section> | |
</core-scroll-header-panel> | |
</section> | |
<section id="section1" main> | |
<core-drawer-panel id="core_drawer_panel1"> | |
<section id="section3" main></section> | |
<section id="section2" drawer> | |
<core-scroll-header-panel condenses headerheight="64" condensedheaderheight="64" id="core_scroll_header_panel"> | |
<section id="section4" content> | |
<core-selector selected="2" selectedindex="2" id="core_selector"> | |
<core-item label="Item 1" icon="settings" id="core_item1" horizontal center layout></core-item> | |
<core-item label="Item 2" icon="settings" id="core_item2" horizontal center layout></core-item> | |
<core-item label="Item 3" icon="settings" id="core_item3" horizontal center layout active></core-item> | |
</core-selector> | |
</section> | |
</core-scroll-header-panel> | |
</section> | |
</core-drawer-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