Skip to content

Instantly share code, notes, and snippets.

@hpcorona
Last active August 29, 2015 14:06
Show Gist options
  • Save hpcorona/904ed2573b0a4f51e629 to your computer and use it in GitHub Desktop.
Save hpcorona/904ed2573b0a4f51e629 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 640px;
height: 480px;
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;
left: 90px;
top: 70px;
padding: 10px;
background-color: rgb(255, 255, 255);
}
#img {
width: 320px;
height: 240px;
left: 10px;
top: 10px;
}
#div2 {
padding: 10px;
}
</style>
<core-card id="core_card" layout vertical>
<div id="div1" layout horizontal>
<img id="img" src="una_imagen.png"></img>
<div id="div2" layout vertical>
<h2>Titulo</h2>
<div id="div">Descripción del Formato</div>
<div id="div3" layout horizontal>
<core-icon icon="print" id="core_icon"></core-icon>
<div id="div4">Formato de Reporte</div>
</div>
<div layout horizontal>
<core-icon icon="file-upload" id="core_icon"></core-icon>
<div id="div5">Salidas</div>
</div>
<div layout horizontal>
<core-icon icon="extension" id="core_icon"></core-icon>
<div id="div6">M.P. y P.T.</div>
</div>
<paper-icon-button label="Descargar" icon="cloud-download" id="paper_icon_button"></paper-icon-button>
</div>
</div>
<div id="div7" layout horizontal>
</div>
</core-card>
</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