Skip to content

Instantly share code, notes, and snippets.

@abhihebbar
Last active August 29, 2015 14:12
Show Gist options
  • Save abhihebbar/da5255a480693dc8b21e to your computer and use it in GitHub Desktop.
Save abhihebbar/da5255a480693dc8b21e to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
width: 100%;
height: 100%;
box-sizing: border-box;
position: absolute;
}
#core_pages {
width: 100%;
height: 100%;
border: 1px solid silver;
background-color: rgb(238, 238, 238);
}
#core_icon {
left: 269px;
top: 29px;
position: absolute;
}
#core_card {
position: absolute;
width: 420px;
height: 390px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 599px;
top: 229px;
background-color: rgb(255, 255, 255);
}
.second-header {
padding: 20px 30px;
margin: 0px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: rgb(221, 221, 221);
}
.third-header {
color: rgb(120, 120, 120);
margin-top: 0px;
}
form .input-fields {
padding: 30px;
}
#input {
padding: 15px;
margin: 0px 30px;
border: 1px solid rgb(221, 221, 221);
}
label {
width: 100%;
color: rgb(120, 120, 120);
margin-top: 20px;
}
paper-input {
width: 100%;
}
.link-fg {
color: rgb(0, 119, 204);
}
.link-bg {
background-color: rgb(0, 119, 204);
}
.link {
margin-bottom: 10px;
text-decoration: none;
}
#paper_button {
margin: 20px 30px;
color: rgb(255, 255, 255);
border-top-width: 1px;
border-top-style: solid;
border-top-color: rgb(221, 221, 221);
border-radius: 20px;
}
.login-btn {
border-top-width: 1px;
border-top-style: solid;
border-top-color: rgb(221, 221, 221);
}
</style>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>
<core-icon icon="android" id="core_icon"></core-icon>
<core-card id="core_card" layout vertical>
<h2 id="h2" class="second-header">Login</h2>
<form id="form">
<div class="input-fields">
<h3 id="h3" class="third-header">Welcome</h3>
<label id="label" for="Useranme" horizontal layout>Username</label>
<paper-input label="Username" id="paper_input" type="text"></paper-input>
<label id="label1" for="Password" horizontal layout>Password</label>
<paper-input label="Password" id="paper_input1" type="password"></paper-input>
<a id="a" href="/" target="_blank" class="link-fg link" horizontal layout>Forgot your password?</a>
</div>
<div class="login-btn">
<paper-button id="paper_button" class="link-bg white-fg" horizontal layout center-justified>Login</paper-button>
</div>
</form>
</core-card>
</section>
</core-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment