Last active
August 29, 2015 14:12
-
-
Save itsashis4u/420cea51b123c5072aba 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-item/core-item.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
top: 0px; | |
left: 0px; | |
} | |
#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_header_panel { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#section2 { | |
height: calc(100vh); | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_header_panel1 { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_toolbar1 { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section3 { | |
height: 1000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#paper_toggle_button { | |
left: 1110px; | |
top: 540px; | |
} | |
#core_item { | |
opacity: 1; | |
height: 60px; | |
} | |
#paper_icon_button { | |
left: 18px; | |
top: 10px; | |
position: absolute; | |
} | |
#div1 { | |
left: 78px; | |
top: 20px; | |
position: absolute; | |
} | |
#paper_fab { | |
left: 1030px; | |
top: 510px; | |
} | |
#paper_button { | |
right: 10px; | |
line-height: 0.5; | |
top: 20px; | |
position: absolute; | |
background-color: rgb(33, 179, 201); | |
} | |
#paper_slider { | |
left: 1200px; | |
top: 380px; | |
} | |
#paper_toast { | |
left: 1130px; | |
top: 470px; | |
} | |
#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: 0px; | |
top: 0px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card1 { | |
position: absolute; | |
width: 300px; | |
height: 200px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 0px; | |
top: 0px; | |
background-color: rgb(255, 255, 255); | |
} | |
#a { | |
left: 10px; | |
top: 290px; | |
position: absolute; | |
} | |
#panel { | |
position: relative; | |
top: 200px; | |
} | |
</style> | |
<core-drawer-panel transition responsivewidth="1360px" selected="main" narrow id="core_drawer_panel" touch-action="pan-y"> | |
<section id="section" drawer> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<section id="section2"> | |
<core-card id="core_card1" layout vertical></core-card> | |
<div id="panel"> | |
<core-item id="core_item" icon="arrow-forward" label="Item1" horizontal center layout one flex start-justified> | |
</core-item> | |
<core-item id="core_item" icon="arrow-forward" label="Item2" horizontal center layout one flex start-justified> | |
<a id="a" href="#" target="_blank"></a> | |
</core-item> | |
<core-item id="core_item" icon="arrow-forward" label="Item3" horizontal center layout one flex start-justified> | |
<a id="a" href="#" target="_blank"></a> | |
</core-item> | |
<core-item id="core_item" icon="arrow-forward" label="Item4" horizontal center layout one flex start-justified> | |
<a id="a" href="#" target="_blank"></a> | |
</core-item> | |
</div> | |
</section> | |
</core-header-panel> | |
</section> | |
<section id="section1" main> | |
<core-header-panel mode="waterfall" id="core_header_panel1"> | |
<core-toolbar id="core_toolbar1"> | |
<paper-icon-button icon="menu" id="paper_icon_button" core-drawer-toggle></paper-icon-button> | |
<div id="div1">Header</div> | |
<paper-button raised id="paper_button">button</paper-button> | |
</core-toolbar> | |
<section id="section3"> | |
</section> | |
</core-header-panel> | |
</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