Skip to content

Instantly share code, notes, and snippets.

@dasDaniel
Last active November 25, 2015 22:58
Show Gist options
  • Save dasDaniel/162b87e99b2dd3d54dee to your computer and use it in GitHub Desktop.
Save dasDaniel/162b87e99b2dd3d54dee to your computer and use it in GitHub Desktop.
designer
<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-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="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
#core_field {
left: 750px;
top: 290px;
position: absolute;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 710px;
top: 200px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), lightblue);
}
#paper_tab {
width: 180px;
height: 40px;
left: 710px;
top: 600px;
position: absolute;
}
#paper_tab1 {
width: 120px;
height: 40px;
left: 890px;
top: 600px;
position: absolute;
}
</style>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-input id="core_input" flex></core-input>
</core-field>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div">Header</div>
</core-toolbar>
<section id="section"></section>
</core-header-panel>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>TAB</paper-tab>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>TAB</paper-tab>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment