Skip to content

Instantly share code, notes, and snippets.

@vorcigernix
Created July 14, 2014 15:45
Show Gist options
  • Save vorcigernix/35d4f7bd6418716bc2e6 to your computer and use it in GitHub Desktop.
Save vorcigernix/35d4f7bd6418716bc2e6 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-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<polymer-element name="my-element">
<template>
<style>
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: relative;
background-color: rgb(142, 78, 201);
}
#core_icon {
height: 24px;
width: 24px;
}
#core_drawer_panel {
position: relative;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_toolbar1 {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: relative;
background-color: rgb(217, 217, 217);
}
#core_subtoolbar {
opacity: 0.8;
background-color: rgb(110, 66, 119);
}
</style>
<core-toolbar id="core_toolbar" class="medium-tall">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex></div>
<core-icon icon="settings" id="core_icon"></core-icon>
</core-toolbar>
<core-toolbar id="core_subtoolbar" horizontal layout center-justified center>
<core-icon-button icon="history" id="history_icon_button">days old</core-icon-button>
<paper-slider pin secondaryprogress="5" immediatevalue="30" value="30" min="5" max="50" step="5" id="paper_slider"></paper-slider>
<core-icon-button icon="create" id="changed_icon_button">unchanged</core-icon-button>
<paper-slider pin secondaryprogress="1" immediatevalue="5" value="5" min="1" max="20" id="paper_slider"></paper-slider>
</core-toolbar>
</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