Skip to content

Instantly share code, notes, and snippets.

@hgrecco
Created March 20, 2015 00:00
Show Gist options
  • Save hgrecco/15bc16e7f338ee401771 to your computer and use it in GitHub Desktop.
Save hgrecco/15bc16e7f338ee401771 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<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-tooltip/core-tooltip.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 130px;
top: 150px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_toast {
left: 600px;
top: 420px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: 20px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_tooltip {
left: 490px;
top: 390px;
position: absolute;
}
</style>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>Lista</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center vertical horizontal layout>Nuevo</paper-tab>
</paper-tabs>
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex>Toolbar</div>
</core-toolbar>
<core-tooltip label="I'm a tooltip" id="core_tooltip">
<span id="span">Hover over me.</span>
</core-tooltip>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment