Skip to content

Instantly share code, notes, and snippets.

@creativeaura
Last active August 29, 2015 14:13
Show Gist options
  • Save creativeaura/d99b55079a9b08812793 to your computer and use it in GitHub Desktop.
Save creativeaura/d99b55079a9b08812793 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../core-tooltip/core-tooltip.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_icon {
height: 64px;
width: 64px;
left: 28px;
top: 30px;
position: absolute;
}
#login_panel {
position: absolute;
width: 330px;
height: 520px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 450px;
top: 210px;
background-color: rgb(255, 255, 255);
}
#div {
position: relative;
}
#paper_fab {
margin: 20px;
}
#paper_progress {
width: 100%;
}
#div1 {
padding: 20px;
margin: 20px 0px;
}
</style>
<core-card id="login_panel" layout vertical>
<paper-progress indeterminate id="paper_progress"></paper-progress>
<div id="div1" vertical layout>
<h1>Login</h1>
<paper-input-decorator label="Email Address" floatinglabel id="login__email" layout vertical>
<input id="email" placeholder="Email Address" type="email" is="core-input" required>
</paper-input-decorator>
<paper-input-decorator label="Password" floatinglabel id="login__password" layout vertical>
<input id="password" placeholder="Password" type="password" is="core-input" required>
</paper-input-decorator>
</div>
<span id="span" flex></span>
<div id="div" layout horizontal end-justified>
<paper-fab icon="lock" id="paper_fab"></paper-fab>
</div>
<section id="section"></section>
<core-tooltip label="I'm a tooltip" id="core_tooltip">
</core-tooltip>
</core-card>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment