Skip to content

Instantly share code, notes, and snippets.

@Nasawa
Created May 1, 2015 17:40
Show Gist options
  • Save Nasawa/cb3589bdd1b43d46a685 to your computer and use it in GitHub Desktop.
Save Nasawa/cb3589bdd1b43d46a685 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-header-panel/core-header-panel.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 1680px;
top: 610px;
}
#section {
left: 1130px;
top: 660px;
position: absolute;
}
#section1 {
left: 1180px;
top: 610px;
position: absolute;
}
#paper_toggle_button {
left: 1700px;
top: 670px;
}
#core_icon {
height: 100px;
width: 100px;
position: relative;
}
#core_drawer_panel {
position: absolute;
top: 750px;
right: 0px;
bottom: 0px;
left: 1670px;
}
#core_field {
left: 1700px;
top: 720px;
}
#core_header_panel {
width: 300px;
height: 400px;
left: 580px;
top: 250px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section2 {
height: 1000px;
padding: 10px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
.grid_card {
position: relative;
width: 90%;
height: 100px;
margin: 10px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
background-color: rgb(255, 255, 255);
}
.small_grid {
width: 50px;
height: 50px;
}
#core_icon_button1 {
left: 1710px;
top: 730px;
}
#core_tooltip {
left: 1650px;
top: 720px;
}
#core_toolbar1 {
right: 0px;
left: 1670px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 720px;
background-color: rgb(79, 125, 201);
}
#core_submenu {
left: 1650px;
top: 660px;
}
#core_selector {
width: 100%;
height: 50px;
left: 1640px;
top: 620px;
}
#section3 {
left: 1650px;
top: 620px;
}
#core_ajax {
left: 1690px;
top: 580px;
}
#ace_element {
width: 400px;
height: 300px;
left: 1780px;
top: 580px;
}
#yt_search_video {
width: 300px;
height: 300px;
left: 1770px;
top: 650px;
}
#topeka_datasource {
left: 1630px;
top: 740px;
}
#div1 {
height: 100%;
width: 100%;
overflow: hidden;
left: 1230px;
top: 610px;
position: absolute;
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 1740px;
top: 730px;
}
#paper_button {
left: 1720px;
top: 700px;
}
#paper_fab {
left: 1740px;
top: 740px;
}
#paper_fab1 {
left: 210px;
top: 266px;
position: absolute;
}
</style>
<section id="section"></section>
<section id="section1"></section>
<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="section2" vertical layout start-justified start>
<core-card id="core_card0" class="grid_card" start horizontal layout start-justified wrap>
<core-icon icon="search" id="core_icon" horizontal layout></core-icon>
<core-icon icon="search" id="core_icon0" class="small_grid"></core-icon>
<core-icon icon="search" id="core_icon1" class="small_grid"></core-icon>
<core-icon icon="search" id="core_icon2" class="small_grid"></core-icon>
<core-icon icon="search" id="core_icon3" class="small_grid"></core-icon>
<core-icon icon="search" id="core_icon4" class="small_grid"></core-icon>
<core-icon icon="search" id="core_icon5" class="small_grid"></core-icon>
</core-card>
<core-card id="core_card1" class="grid_card" layout vertical></core-card>
<core-card id="core_card2" class="grid_card" layout vertical></core-card>
<core-card id="core_card3" class="grid_card" layout vertical></core-card>
<core-card id="core_card4" class="grid_card" layout vertical></core-card>
<core-card id="core_card5" class="grid_card" layout vertical></core-card>
<core-card id="core_card6" class="grid_card" layout vertical></core-card>
<core-card id="core_card7" class="grid_card" layout vertical></core-card>
<core-card id="core_card8" class="grid_card" layout vertical></core-card>
<paper-fab icon="av:play-arrow" id="paper_fab1"></paper-fab>
</section>
</core-header-panel>
<div id="div1" layout horizontal>
<paper-fab icon="check" id="paper_fab"></paper-fab>
</div>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment