Skip to content

Instantly share code, notes, and snippets.

@DuckThom
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save DuckThom/2bdd645803b9dc4a1ea3 to your computer and use it in GitHub Desktop.

Select an option

Save DuckThom/2bdd645803b9dc4a1ea3 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="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scroll_header_panel3 {
width: 380px;
height: 460px;
left: 1400px;
top: 570px;
}
#core_toolbar1 {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 1170px;
top: 470px;
position: absolute;
}
#core_selector {
width: 100%;
height: 50px;
left: 1130px;
top: 600px;
}
#core_submenu {
left: 1330px;
top: 630px;
}
#core_tooltip {
left: 1270px;
top: 570px;
}
#input {
padding: 15px;
left: 540px;
top: 280px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
left: 1018px;
top: 0px;
position: absolute;
}
#core_card1 {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 424px;
top: 370px;
background-color: rgb(255, 255, 255);
}
#core_card2 {
position: absolute;
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
left: 64px;
top: 370px;
background-color: rgb(255, 255, 255);
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1200px;
top: 510px;
}
#section {
left: 1180px;
top: 620px;
}
#core_drawer_panel {
position: absolute;
top: 60px;
right: 0px;
bottom: 0px;
left: 0px;
background-color: rgb(241, 241, 241);
}
#section1 {
height: 100%;
box-sizing: border-box;
background-color: rgb(221, 221, 221);
}
#core_field {
left: 988px;
top: 10px;
position: absolute;
}
#core_icon1 {
left: 968px;
top: 20px;
position: absolute;
}
</style>
<core-toolbar id="core_toolbar1">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div1" flex>Site title</div>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<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-icon icon="search" id="core_icon1"></core-icon>
</core-toolbar>
<core-drawer-panel transition selected="drawer" id="core_drawer_panel" touch-action>
<section id="section" drawer></section>
<section id="section1" main>
<core-card id="core_card2" layout vertical></core-card>
<core-card id="core_card1" layout vertical></core-card>
</section>
</core-drawer-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment