Created
July 23, 2014 23:15
-
-
Save spdrman/4e0579dbc5c82b477e0b 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-toast/paper-toast.html"> | |
<link rel="import" href="../core-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.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; | |
background-color: rgb(150, 200, 250); | |
} | |
#paper_toast { | |
left: 830px; | |
top: 630px; | |
position: absolute; | |
} | |
#paper_toast1 { | |
left: 500px; | |
top: 590px; | |
position: absolute; | |
} | |
#paper_toast2 { | |
left: 600px; | |
top: 570px; | |
position: absolute; | |
} | |
#paper_toast3 { | |
left: 620px; | |
top: 660px; | |
position: absolute; | |
} | |
#paper_toast4 { | |
left: 530px; | |
top: 610px; | |
position: absolute; | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#paper_input { | |
left: 1030px; | |
top: 760px; | |
} | |
#core_icon1 { | |
height: 24px; | |
width: 24px; | |
} | |
#core_card { | |
width: 330px; | |
height: 40px; | |
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: 480px; | |
top: 180px; | |
position: absolute; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_card1 { | |
width: 330px; | |
height: 40px; | |
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: 480px; | |
top: 240px; | |
position: absolute; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon_button { | |
left: 970px; | |
top: 570px; | |
} | |
#core_menu_button { | |
left: 1000px; | |
top: 630px; | |
} | |
#paper_button { | |
left: 480px; | |
top: 300px; | |
position: absolute; | |
width: 330px; | |
height: 30px; | |
opacity: 1; | |
background-color: rgb(225, 245, 254); | |
} | |
#paper_button1 { | |
left: 480px; | |
top: 350px; | |
position: absolute; | |
width: 330px; | |
height: 30px; | |
opacity: 1; | |
background-color: rgb(208, 248, 206); | |
} | |
</style> | |
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast1" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast2" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast3" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast4" class="core-transition core-transition-bottom"></paper-toast> | |
<core-card id="core_card" layout vertical> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="account-box" id="core_icon"></core-icon> | |
<core-input placeholder="User Email" id="core_input" flex></core-input> | |
</core-field> | |
</core-card> | |
<core-card id="core_card1" layout vertical> | |
<core-field id="core_field1" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="lock" id="core_icon1"></core-icon> | |
<core-input placeholder="Password" type="password" required invalid id="core_input1" flex class="invalid"></core-input> | |
</core-field> | |
</core-card> | |
<paper-button label="Sign In" raisedbutton id="paper_button"></paper-button> | |
<paper-button label="Register" raisedbutton id="paper_button1"></paper-button> | |
</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