Last active
August 29, 2015 14:14
-
-
Save ojarva/01d9db8279e3539cf3eb 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-menu/core-submenu.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_scroll_header_panel { | |
width: 380px; | |
height: 460px; | |
left: 1400px; | |
top: 610px; | |
} | |
#paper_item { | |
left: 1450px; | |
top: 710px; | |
} | |
#paper_button { | |
left: 1350px; | |
top: 650px; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 12px; | |
top: 12px; | |
position: static; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 14px; | |
top: 10px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card1 { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 324px; | |
top: 10px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card2 { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 634px; | |
top: 10px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card3 { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 14px; | |
top: 320px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card4 { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 324px; | |
top: 320px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card5 { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 634px; | |
top: 320px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_header_panel { | |
width: 300px; | |
height: 400px; | |
left: 1420px; | |
top: 620px; | |
} | |
#core_menu_button { | |
left: 1390px; | |
top: 600px; | |
} | |
</style> | |
<core-drawer-panel transition id="core_drawer_panel" touch-action> | |
<section id="section" drawer> | |
<core-menu selected="1" selectedindex="1" id="core_menu"> | |
<core-submenu id="core_submenu" icon="settings" label="Topics"> | |
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item> | |
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu opened active id="core_submenu1" icon="settings" label="Favorites"> | |
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item> | |
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
</section> | |
<section id="section1" main> | |
<core-card id="core_card" layout vertical></core-card> | |
<core-card id="core_card1" layout vertical></core-card> | |
<core-card id="core_card2" layout vertical></core-card> | |
<core-card id="core_card3" layout vertical></core-card> | |
<core-card id="core_card4" layout vertical></core-card> | |
<core-card id="core_card5" layout vertical></core-card> | |
</section> | |
</core-drawer-panel> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment