Skip to content

Instantly share code, notes, and snippets.

@HriBB
Last active August 29, 2015 14:11
Show Gist options
  • Save HriBB/6c678590e0f08833a39b to your computer and use it in GitHub Desktop.
Save HriBB/6c678590e0f08833a39b to your computer and use it in GitHub Desktop.
designer
<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-header-panel/core-header-panel.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="ho-frontpage">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
left: 480px;
top: 90px;
position: absolute;
}
#section1 {
left: 640px;
top: 80px;
position: absolute;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 360px;
top: 120px;
position: absolute;
opacity: 1;
background-color: rgb(255, 255, 155);
}
#core_icon {
left: 140px;
top: 0px;
position: absolute;
width: 160px;
height: 160px;
}
#input {
padding: 15px;
left: 40px;
top: 170px;
position: absolute;
width: 120px;
background-color: rgb(255, 255, 255);
}
#input1 {
padding: 15px;
left: 40px;
top: 230px;
position: absolute;
width: 120px;
background-color: rgb(255, 255, 255);
}
#paper_button {
left: 163px;
top: 310px;
position: absolute;
background-color: rgb(255, 154, 154);
}
</style>
<section id="section"></section>
<section id="section1"></section>
<core-header-panel mode="standard" id="core_header_panel">
<core-icon icon="star-outline" id="core_icon"></core-icon>
<input id="input" placeholder="username" is="core-input">
<input id="input1" placeholder="password" is="core-input">
<paper-button id="paper_button">button</paper-button>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment