Created
June 27, 2014 09:45
-
-
Save mamged/8f91b45eb02b93d3044e 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-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
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; | |
left: 170px; | |
top: 50px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_drawer_panel { | |
right: 0px; | |
bottom: 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_icon { | |
position: absolute; | |
} | |
</style> | |
<core-card id="core_card" layout vertical> | |
<core-drawer-panel selected="main" id="core_drawer_panel"> | |
<section id="section" drawer> | |
<section id="section1" main></section> | |
</section> | |
<core-icon src="http://www.geek.com/wp-content/themes/geek7/images/geek.png" icon="search" id="core_icon" class="vdv" dvd horizontal layout center start-justified wrap two flex></core-icon> | |
</core-drawer-panel> | |
</core-card> | |
</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