Skip to content

Instantly share code, notes, and snippets.

@tobiasstrebitzer
Last active November 23, 2015 01:38
Show Gist options
  • Save tobiasstrebitzer/cd2c6081d897ce4a0a9f to your computer and use it in GitHub Desktop.
Save tobiasstrebitzer/cd2c6081d897ce4a0a9f 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="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
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);
}
#section1 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 60px;
top: 56px;
position: absolute;
}
#tiles-container {
padding-left: 3px;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
width: 100%;
}
#tile-profile {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(204, 204, 204);
}
#div1 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(170, 170, 170);
}
#tile-general {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
}
#section3 {
background-color: rgb(255, 255, 141);
}
#div2 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(255, 235, 59);
}
#div3 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(185, 246, 202);
}
#div4 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(15, 157, 88);
}
#div5 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(255, 138, 128);
}
#div6 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(219, 68, 55);
}
#div7 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(130, 177, 255);
}
#div8 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(66, 133, 244);
}
#div9 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(179, 136, 255);
}
#div10 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(126, 87, 194);
}
</style>
<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">Issues</div>
</core-toolbar>
<section id="section">
<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="div1" class="tile-bottom">Issue 1</div>
</div>
<div id="tile-general" class="tile" layout vertical relative>
<section id="section3" class="tile-top" flex layout horizontal center center-justified hero hero-id="top">
</section>
<div id="div2" class="tile-bottom" hero hero-id="bottom">
<span id="span1">Issue 2</span>
</div>
</div>
<div id="div3" class="tile" layout vertical relative>
<section id="section4" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div4" class="tile-bottom">Issue 3</div>
</div>
<div id="div5" class="tile" layout vertical relative>
<section id="section5" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div6" class="tile-bottom">Issue 4</div>
</div>
<div id="div7" class="tile" layout vertical relative>
<section id="section6" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div8" class="tile-bottom">Issue 5</div>
</div>
<div id="div9" class="tile" layout vertical relative>
<section id="section7" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div10" class="tile-bottom">Issue 6</div>
</div>
</div>
</section>
</core-header-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