Created
June 30, 2014 15:45
-
-
Save sabarasaba/cf8fdb3fc6ce5c5d0041 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="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/iconsets/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
left: 1130px; | |
top: 580px; | |
position: absolute; | |
} | |
#section1 { | |
left: 510px; | |
top: 360px; | |
position: absolute; | |
} | |
#core_drawer_panel { | |
position: absolute; | |
top: 640px; | |
right: 0px; | |
bottom: 0px; | |
left: 1650px; | |
} | |
#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_card { | |
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; | |
background-color: rgb(255, 255, 255); | |
} | |
#paper_input { | |
padding: 15px; | |
} | |
#section4 { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 430px; | |
top: 100px; | |
position: absolute; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
#core_animated_pages { | |
width: 420px; | |
height: 582px; | |
overflow: hidden; | |
background-color: rgb(238, 238, 238); | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
} | |
#paper_input1 { | |
padding: 15px; | |
} | |
</style> | |
<section id="section"></section> | |
<section id="section1"></section> | |
<section id="section4" layout vertical> | |
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs"> | |
<paper-tab id="paper_tab" active>Login</paper-tab> | |
<paper-tab id="paper_tab1">Dashboard</paper-tab> | |
</paper-tabs> | |
<section id="section5" flex relative> | |
<core-animated-pages transitions="slide-up slide-down" selected="{{ $.paper_tabs.selected }}" selectedindex="0" notap id="core_animated_pages"> | |
<section id="section6" layout horizontal center center-justified active> | |
<core-card id="core_card" layout vertical slide-down> | |
<paper-input label="Username" error="Only letters, yo" inputvalue="asdf123" value="asdf123" validate="^[A-Za-z]*$" invalid id="paper_input" class="invalid"></paper-input> | |
<paper-input label="Type something..." type="password" id="paper_input1"></paper-input> | |
<div id="div" layout horizontal end-justified> | |
<paper-fab icon="check" id="paper_fab"></paper-fab> | |
</div> | |
</core-card> | |
</section> | |
<section id="section7"> | |
<google-map id="google_map" slide-up></google-map> | |
</section> | |
<section id="section8"> | |
</section> | |
</core-animated-pages> | |
</section> | |
</section> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element><core-drawer-panel id="core_drawer_panel" class="drag-element"> | |
<section id="section2" drawer></section> | |
<section id="section3" main></section> | |
</core-drawer-panel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment