Skip to content

Instantly share code, notes, and snippets.

@ayr-ton
Created July 16, 2014 22:25
Show Gist options
  • Save ayr-ton/9608daaa9017f8495d94 to your computer and use it in GitHub Desktop.
Save ayr-ton/9608daaa9017f8495d94 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_drawer_panel {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section {
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(250, 250, 250);
}
#core_header_panel {
width: 300px;
height: 400px;
}
#core_drawer_panel1 {
position: absolute;
top: 350px;
right: 0px;
bottom: 0px;
left: 1370px;
}
#core_field {
left: 1400px;
top: 340px;
}
#core_item {
left: 1380px;
top: 340px;
}
#core_menu {
font-size: 16px;
left: 1420px;
top: 320px;
}
#core_menu_button {
left: 1390px;
top: 340px;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1390px;
top: 320px;
}
#core_scaffold {
position: absolute;
top: 300px;
right: 0px;
bottom: 0px;
left: 1330px;
}
#core_selector {
width: 100%;
height: 50px;
left: 1390px;
top: 320px;
}
#core_submenu {
left: 1270px;
top: 350px;
}
#paper_tab {
width: 120px;
height: 40px;
left: 1380px;
top: 340px;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_input {
padding: 15px;
}
#paper_slider1 {
left: 1340px;
top: 350px;
}
</style>
<core-drawer-panel selected="main" id="core_drawer_panel">
<section id="section" drawer>
<core-toolbar id="core_toolbar">
<div id="div">Controle de Ponto</div>
</core-toolbar>
<core-input type="date" readonly id="dia"></core-input>
<paper-input label="Carga diária:" floatinglabel id="carga"></paper-input>
<paper-input label="Entrada:" floatinglabel id="entrada"></paper-input>
<paper-input label="Saída Almoço:" floatinglabel id="almoco"></paper-input>
<paper-input label="Retorno Almoço:" floatinglabel id="retorno"></paper-input>
<core-input placeholder="Expediente vai até..." readonly id="expediente"></core-input>
<paper-input label="Saída:" floatinglabel readonly id="saida"></paper-input>
</section>
<paper-slider immediatevalue="0" id="paper_slider"></paper-slider>
</core-drawer-panel>
</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