Skip to content

Instantly share code, notes, and snippets.

@fariasf
Created July 13, 2014 23:06
Show Gist options
  • Save fariasf/0f2c2165410d0522c985 to your computer and use it in GitHub Desktop.
Save fariasf/0f2c2165410d0522c985 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-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
padding: 10px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#core_icon {
height: 24px;
width: 24px;
}
#core_field {
width: 100%;
background-color: rgb(255, 255, 255);
}
#core_card1 {
width: 300px;
height: auto;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 10px;
background-color: rgb(255, 255, 255);
}
#core_card {
width: 300px;
height: auto;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 10px;
background-color: rgb(255, 255, 255);
}
#core_card2 {
width: 300px;
height: auto;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 10px;
background-color: rgb(255, 255, 255);
}
#core_card3 {
width: 300px;
height: 300px;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
margin: 10px;
position: relative;
background-color: rgb(255, 255, 255);
}
#core_toolbar1 {
right: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
width: 100%;
position: absolute;
top: 100%;
background-color: rgb(79, 125, 201);
}
</style>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"></link>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input placeholder="Buscar..." id="core_input" flex></core-input>
</core-field>
</core-toolbar>
<section id="section" center start-justified vertical layout>
<core-card id="core_card1" layout vertical center>
<h1>Facundo Farias</h1>
<address>
<p>Paroissien 4112 1º B, Saavedra</p>
<p>+54 11 15 3488 1944</p>
</address>
<blockquote>
<small>Preguntar dudas sobre el sistema.</small>
</blockquote>
</core-card>
<core-card id="core_card" layout vertical center>
<h3>
<small>Saldo</small>
</h3>
<h1>$ 2580.-</h1>
</core-card>
<core-card id="core_card2" layout vertical center-justified center>
<h2>Últimos Pedidos</h2>
<table id="table" class="table table-bordered table-striped">
<tbody>
<tr>
<td># 65</td>
<td>04/07</td>
<td>$1150</td>
<td>Aprobado</td>
</tr>
<tr>
<td># 57</td>
<td>12/06</td>
<td>$775</td>
<td>En proceso</td>
</tr>
</tbody>
</table>
</core-card>
<core-card id="core_card3" layout vertical center>
<h1 id="h1">Nuevo Pedido</h1>
<p class="text-left">
Fecha: 14/07/2014
</p>
<p class="text-left">
Entrega estimada: 14/08/2014
</p>
<core-toolbar id="core_toolbar1" end>
<core-icon-button icon="add" id="core_icon_button"></core-icon-button>
<div id="div" flex end>Sin productos - $ 0</div>
</core-toolbar>
</core-card>
</section>
</core-header-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