Last active
August 29, 2015 14:21
-
-
Save ShockiTV/70298e2277b0238d1571 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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="../paper-radio-group/paper-radio-group.html"> | |
<link rel="import" href="../paper-radio-button/paper-radio-button.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
width: 420px; | |
height: 580px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 260px; | |
top: 90px; | |
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); | |
} | |
#core_card { | |
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; | |
padding: 10px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card1 { | |
position: absolute; | |
width: 390px; | |
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: 15px; | |
top: 47px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card2 { | |
position: absolute; | |
width: 390px; | |
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: 15px; | |
top: 267px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon_button { | |
left: 1720px; | |
top: 640px; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
} | |
#core_card3 { | |
position: absolute; | |
width: 380px; | |
height: 360px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 15px; | |
top: 27px; | |
background-color: rgb(255, 255, 255); | |
} | |
</style> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" center horizontal layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" layout inline flex center-center horizontal>ITEM TWO</paper-tab> | |
<paper-tab id="paper_tab2" inline flex center-center horizontal layout>ITEM THREE</paper-tab> | |
</paper-tabs> | |
<core-animated-pages transitions="scale-up slide-up slide-down cross-fade" selected="{{ $.paper_tabs.selected }}" lastselected="2" selectedindex="0" notap id="core_animated_pages"> | |
<section id="section1" layout horizontal center center-justified active> | |
<core-card id="core_card" layout vertical scale-up slide-up cross-fade> | |
<paper-input label="First Name" id="paper_input"></paper-input> | |
<paper-input label="Last Name" id="paper_input1"></paper-input> | |
</core-card> | |
</section> | |
<section id="section2"> | |
<core-card id="core_card1" layout vertical slide-down cross-fade> | |
<paper-radio-group selected="Small" valueattr="label" selectedindex="0" id="paper_radio_group"> | |
<paper-radio-button checked label="Small" id="paper_radio_button"></paper-radio-button> | |
<paper-radio-button label="Medium" id="paper_radio_button1"></paper-radio-button> | |
<paper-radio-button label="Large" id="paper_radio_button2"></paper-radio-button> | |
</paper-radio-group> | |
</core-card> | |
<core-card id="core_card2" layout vertical slide-up cross-fade> | |
<paper-button id="paper_button">button</paper-button> | |
</core-card> | |
</section> | |
<section id="section3"> | |
<core-card id="core_card3" layout vertical slide-up fade> | |
<google-map latitude="37.82918412351472" longitude="-122.59932112304688" id="google_map"></google-map> | |
</core-card> | |
</section> | |
</core-animated-pages> | |
</section> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment