Last active
August 29, 2015 14:08
-
-
Save udarapathmin/96551346824b1438375b 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-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.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="../core-item/core-item.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; | |
} | |
html, body { | |
height: 100%; | |
margin: 0px; | |
font-family: RobotoDraft, sans-serif; | |
background-color: rgb(229, 229, 229); | |
} | |
#core_toolbar { | |
right: 0px; | |
left: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
background-color: rgb(174, 0, 4); | |
} | |
#core_card { | |
position: absolute; | |
width: 400px; | |
height: 500px; | |
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: 200px; | |
top: 80px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_field { | |
left: 50px; | |
top: 270px; | |
position: absolute; | |
border: 1px solid rgb(221, 221, 221); | |
} | |
#core_field1 { | |
left: 50px; | |
top: 320px; | |
position: absolute; | |
border: 1px solid rgb(221, 221, 221); | |
} | |
#core_icon2 { | |
left: 5%; | |
top: 1%; | |
position: absolute; | |
width: 240px; | |
height: 200px; | |
} | |
#core_item { | |
left: 5%; | |
top: 220px; | |
position: absolute; | |
width: 150px; | |
height: 40px; | |
font-family: sans-serif; | |
font-size: 25px; | |
} | |
#core_item_header { | |
font-family: sans-serif; | |
font-size: 16px; | |
} | |
#div1 { | |
width: 80%; | |
margin: 50px auto; | |
} | |
#paper_button { | |
left: 50px; | |
top: 375px; | |
position: absolute; | |
width: 100px; | |
height: 40px; | |
color: rgb(255, 255, 255); | |
text-align: center; | |
background: rgb(240, 167, 63); | |
} | |
#paper_button1 { | |
left: 153px; | |
top: 375px; | |
position: absolute; | |
width: 100px; | |
height: 40px; | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<div id="div" flex start>Treats n Stuff | Admin Login </div> | |
</core-toolbar> | |
<div id="div1" layout vertical center> | |
<core-card id="core_card"> | |
<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 willvalidate placeholder="Username" id="core_input" flex></core-input> | |
</core-field> | |
<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 willvalidate placeholder="Password" id="core_input1" flex></core-input> | |
</core-field> | |
<core-icon src="http://udara.site50.net/images/tnslogo.png" icon="search" id="core_icon2"></core-icon> | |
<core-item id="core_item" label="Admin Login" horizontal center layout></core-item> | |
<paper-button label="Login" id="paper_button"></paper-button> | |
<paper-button label="Clear" id="paper_button1"></paper-button> | |
</core-card> | |
</div> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment