Skip to content

Instantly share code, notes, and snippets.

@MrTiggr
Last active August 29, 2015 14:06
Show Gist options
  • Save MrTiggr/0c42daa39eb01bd7fcd5 to your computer and use it in GitHub Desktop.
Save MrTiggr/0c42daa39eb01bd7fcd5 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/social-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,200italic,300italic" rel="stylesheet" type="text/css">
<template>
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,200italic,300italic" rel="stylesheet" type="text/css">
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
background-image: url(http://e5r1.com/pacs/Login-screen.jpg);
background-size: 100%;
}
#actLogo {
width: 100%;
position: relative;
top: 20%;
}
#controls {
width: 100%;
position: relative;
margin-top:50px;
}
#prompt {
font-family: 'Source Sans Pro', sans-serif;
color: white;
font-size: 2em;
margin-top:50px;
}
#uname, #pwd {
font-family: 'Source Sans Pro', sans-serif;
display: inline-block;
width: 20em;
height: 32px;
margin-right: 20px;
padding-top: 10px;
background: white;
}
#paper_button {
font-family: 'Source Sans Pro', sans-serif;
display: inline-block;
color: white;
top: -10px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
border: 1px solid white;
background-color: rgb(14, 26, 38);
width:10em;
}
#core_icon {
left: 910px;
top: 510px;
position: absolute;
}
</style>
<div id="actLogo">
<center id="center">
<img id="img" src="/pacs/logo.png">
<div id="prompt">Enter your login and password to login to access the application</div>
<div id="controls">
<div id="uname">
<paper-input label="Username" id="paper_input"></paper-input>
</div>
<div id="pwd">
<paper-input label="Password" id="paper_input1"></paper-input>
</div>
<paper-button label="login" raisedbutton icon="social:people" id="paper_button"></paper-button>
</div>
</center>
</div>
</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