Skip to content

Instantly share code, notes, and snippets.

@b-malone
Last active March 19, 2017 04:26
Show Gist options
  • Save b-malone/0fb747b2db8cc0de305fbe343f849db4 to your computer and use it in GitHub Desktop.
Save b-malone/0fb747b2db8cc0de305fbe343f849db4 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/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scaffold {
position: absolute;
top: 260px;
right: 0px;
bottom: 0px;
left: 250px;
}
#section {
left: 820px;
top: 530px;
position: absolute;
}
#core_selector {
width: 100%;
height: 50px;
left: 890px;
top: 450px;
}
#core_toolbar {
background-color: rgb(66, 133, 244);
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
left: 0px;
top: 0px;
position: relative;
}
#core_drawer_panel {
position: absolute;
top: 470px;
right: 0px;
bottom: 0px;
left: 1020px;
}
#section1 {
box-sizing: border-box;
width: 760px;
height: 700px;
left: 310px;
top: 210px;
position: absolute;
}
#tiles-container {
padding-left: 3px;
height: 85%;
position: absolute;
width: 85%;
left: 80px;
top: 300px;
border: 2px solid black;
}
#tile-profile {
background-color: rgb(204, 204, 204);
box-sizing: border-box;
float: left;
height: 120px;
width: 340px;
margin: 3px;
position: absolute;
left: 180px;
top: 300px;
}
#section2 {
width: 340px;
height: 120px;
}
#core_icon {
height: 60px;
width: 60px;
}
#tile-general {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#section3 {
background-color: rgb(255, 255, 141);
position: absolute;
width: 340px;
height: 120px;
left: 180px;
top: 580px;
}
#div4 {
background-color: rgb(185, 246, 202);
box-sizing: border-box;
float: left;
height: 120px;
width: 340px;
margin: 3px;
position: absolute;
left: 170px;
top: 450px;
}
#section4 {
position: absolute;
width: 340px;
height: 120px;
left: 170px;
top: 480px;
}
#div5 {
background-color: rgb(15, 157, 88);
padding: 8px;
color: rgb(255, 255, 255);
left: 540px;
top: 500px;
position: absolute;
}
#div6 {
background-color: rgb(255, 138, 128);
box-sizing: border-box;
float: left;
height: 120px;
width: 340px;
margin: 3px;
left: 530px;
top: 560px;
position: absolute;
}
#section5 {
position: absolute;
width: 340px;
height: 120px;
}
#div7 {
background-color: rgb(219, 68, 55);
padding: 8px;
color: rgb(255, 255, 255);
}
#div8 {
background-color: rgb(130, 177, 255);
box-sizing: border-box;
float: left;
height: 120px;
width: 340px;
margin: 3px;
position: absolute;
left: 540px;
top: 300px;
}
#section6 {
left: 640px;
top: 310px;
position: absolute;
}
#div9 {
background-color: rgb(66, 133, 244);
padding: 8px;
color: rgb(255, 255, 255);
}
#div10 {
background-color: rgb(179, 136, 255);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#div11 {
background-color: rgb(126, 87, 194);
padding: 8px;
color: rgb(255, 255, 255);
}
#section8 {
box-sizing: border-box;
width: 420px;
height: 630px;
background-color: rgb(255, 255, 141);
left: 1240px;
top: 620px;
}
#core_item {
left: 1140px;
top: 620px;
}
#core_field {
position: relative;
width: 40px;
height: 40px;
}
#notification_alert {
left: 890px;
top: 280px;
position: absolute;
}
#notification_alert1 {
left: 930px;
top: 620px;
position: absolute;
}
#paper_item1 {
left: 940px;
top: 600px;
position: absolute;
}
#paper_input {
left: 1070px;
top: 560px;
}
#core_drawer_panel1 {
position: absolute;
top: 420px;
right: 0px;
bottom: 0px;
left: 1360px;
}
#paper_item2 {
left: 30px;
top: 230px;
position: absolute;
}
</style>
<section id="section"></section>
<core-toolbar id="core_toolbar" class="tall">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex></div>
<core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
<core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
<div id="div1" class="bottom indent">Home</div>
</core-toolbar>
<section id="section1" layout vertical designmeta="quiz-demo-grid">
</section>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<paper-item id="paper_item1" icon="settings" label="Item"></paper-item>
<div id="tile-profile" class="tile" layout vertical relative>
<section id="section2" class="tile-top" flex layout horizontal center center-justified>
</section>
</div>
<div id="div4" class="tile" layout vertical relative>
</div>
<section id="section4" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div5" class="tile-bottom">
Category 2
</div>
<section id="section3" class="tile-top" flex center center-justified hero hero-id="top" vertical layout>
<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_icon" center></core-icon>
<span id="span1">General Knowledge</span>
</section>
<div id="div6" class="tile" layout vertical relative>
<section id="section5" class="tile-top" flex layout horizontal center center-justified>
<div id="div7" class="tile-bottom">
Category 3
</div>
</section>
</div>
<section id="section6" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div8" class="tile" layout vertical relative>
<div id="div9" class="tile-bottom">
Category 4
</div>
</div>
<paper-item id="paper_item2" icon="settings" label="Item">SouthWestern Washington Amphibians Monitoring Project is an all volunteer program dedicated to empowering community members to assess and preserve the unique ecological resources for our community.</paper-item>
<div id="tiles-container" class="tiles-container" layout wrap horizontal around-justified center relative>
<div id="tile-general" class="tile" layout vertical relative>
</div>
<div id="div10" class="tile" layout vertical relative>
<section id="section7" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div11" class="tile-bottom">
Category 5
</div>
</div>
</div>
</template>
<script>
Polymer({
home: 'category-icons:tvmovies'
});
</script>
</polymer-element><core-drawer-panel transition id="core_drawer_panel" touch-action class="drag-element">
<section drawer></section>
<section main></section>
</core-drawer-panel>
<paper-input label="Type something..." id="paper_input" class="drag-element"></paper-input>
<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/category-icons.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_scaffold {
position: absolute;
top: 260px;
right: 0px;
bottom: 0px;
left: 250px;
}
#section {
left: 820px;
top: 530px;
position: absolute;
}
#core_selector {
width: 100%;
height: 50px;
left: 890px;
top: 450px;
}
#core_toolbar {
background-color: rgb(66, 133, 244);
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
left: 0px;
top: 0px;
position: relative;
}
#core_drawer_panel {
position: absolute;
top: 470px;
right: 0px;
bottom: 0px;
left: 1020px;
}
#section1 {
box-sizing: border-box;
width: 760px;
height: 700px;
left: 310px;
top: 210px;
position: absolute;
}
#tiles-container {
padding-left: 3px;
height: 85%;
position: absolute;
width: 760px;
left: 150px;
top: 210px;
}
#tile-profile {
background-color: rgb(204, 204, 204);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#core_icon {
height: 60px;
width: 60px;
}
#div2 {
background-color: rgb(170, 170, 170);
padding: 8px;
color: rgb(255, 255, 255);
}
#tile-general {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#section3 {
background-color: rgb(255, 255, 141);
position: absolute;
width: 340px;
height: 120px;
left: 540px;
top: 300px;
}
#div4 {
background-color: rgb(185, 246, 202);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#div5 {
background-color: rgb(15, 157, 88);
padding: 8px;
color: rgb(255, 255, 255);
}
#div6 {
background-color: rgb(255, 138, 128);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#div7 {
background-color: rgb(219, 68, 55);
padding: 8px;
color: rgb(255, 255, 255);
}
#div8 {
background-color: rgb(130, 177, 255);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#div9 {
background-color: rgb(66, 133, 244);
padding: 8px;
color: rgb(255, 255, 255);
}
#div10 {
background-color: rgb(179, 136, 255);
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#div11 {
background-color: rgb(126, 87, 194);
padding: 8px;
color: rgb(255, 255, 255);
}
#section8 {
box-sizing: border-box;
width: 420px;
height: 630px;
background-color: rgb(255, 255, 141);
left: 1240px;
top: 620px;
}
#core_item {
left: 1140px;
top: 620px;
}
#core_field {
position: relative;
width: 40px;
height: 40px;
}
</style>
<section id="section"></section>
<core-toolbar id="core_toolbar" class="tall">
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
<div id="div" flex></div>
<core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
<core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
<div id="div1" class="bottom indent">Home</div>
</core-toolbar>
<section id="section1" layout vertical designmeta="quiz-demo-grid">
</section>
<div id="tiles-container" class="tiles-container" layout wrap horizontal around-justified center relative>
<div id="tile-profile" class="tile" layout vertical relative>
<section id="section2" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div2" class="tile-bottom">
Category 1
</div>
</div>
<div id="tile-general" class="tile" layout vertical relative>
</div>
<div id="div4" class="tile" layout vertical relative>
<section id="section4" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div5" class="tile-bottom">
Category 2
</div>
</div>
<div id="div6" class="tile" layout vertical relative>
<section id="section5" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div7" class="tile-bottom">
Category 3
</div>
</div>
<div id="div8" class="tile" layout vertical relative>
<section id="section6" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div9" class="tile-bottom">
Category 4
</div>
</div>
<div id="div10" class="tile" layout vertical relative>
<section id="section7" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div11" class="tile-bottom">
Category 5
</div>
</div>
</div>
<section id="section3" class="tile-top" flex center center-justified hero hero-id="top" vertical layout>
<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_icon" center></core-icon>
<span id="span1">General Knowledge</span>
</section>
</template>
<script>
Polymer({
home: 'category-icons:tvmovies'
});
</script>
</polymer-element><core-drawer-panel transition id="core_drawer_panel" touch-action class="drag-element">
<section drawer></section>
<section main></section>
</core-drawer-panel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment