Skip to content

Instantly share code, notes, and snippets.

@aharonamir
Last active August 29, 2015 14:15
Show Gist options
  • Save aharonamir/eda390b8027336ab5176 to your computer and use it in GitHub Desktop.
Save aharonamir/eda390b8027336ab5176 to your computer and use it in GitHub Desktop.
designer
<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">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 90px;
top: 10px;
position: absolute;
border: 2px;
opacity: 1;
background-color: rgb(66, 66, 66);
}
#toolbar {
box-sizing: border-box;
height: 33%;
position: relative;
color: rgb(255, 255, 255);
font-size: 48px;
opacity: 1;
background-image: url(http://www.wallpaperawesome.com/wallpapers-awesome/wallpapers-people-men-women-child-baby-awesome/wallpaper-looking-at-the-horizon.jpg);
background-color: rgb(255, 255, 255);
background-size: cover;
}
#tiles-container {
padding-left: 3px;
height: 66%;
}
#tile-general {
box-sizing: border-box;
float: left;
height: 48%;
width: 48%;
margin: 2px;
}
#section2 {
background-color: rgb(255, 193, 7);
}
#div2 {
padding: 8px;
color: rgb(255, 255, 255);
height: 25%;
background-color: rgb(255, 235, 59);
}
#div3 {
box-sizing: border-box;
float: left;
height: 48%;
width: 48%;
margin: 2px;
background-color: rgb(185, 246, 202);
}
#div4 {
padding: 11px;
opacity: 0.87;
color: black;
height: 90%;
background-color: rgb(29, 233, 182);
}
#div5 {
box-sizing: border-box;
float: left;
height: 48%;
width: 48%;
margin: 2px;
background-color: rgb(255, 87, 34);
}
#div6 {
color: rgb(255, 255, 255);
padding: 20px;
background-color: rgb(255, 82, 82);
}
#div7 {
box-sizing: border-box;
float: left;
height: 48%;
width: 48%;
margin: 2px;
background-color: rgb(64, 196, 255);
}
#div8 {
padding: 8px;
color: rgb(255, 255, 255);
opacity: 1;
height: 13%;
background-color: rgb(3, 169, 244);
}
#core_icon {
left: 860px;
top: 260px;
position: absolute;
}
#paper_ripple {
margin: 2px;
}
#span {
opacity: 1;
margin: auto;
position: absolute;
left: 20%;
}
#paper_fab {
left: 430px;
top: 130px;
position: absolute;
}
#core_icon2 {
left: 270px;
top: 360px;
position: absolute;
color: white;
}
#core_icon1 {
left: 270px;
top: 550px;
position: absolute;
opacity: 0.56;
color: black;
}
#core_icon3 {
left: 470px;
top: 360px;
position: absolute;
color: white;
}
#core_icon4 {
left: 470px;
top: 550px;
position: absolute;
opacity: 0.56;
color: black;
}
#span1 {
opacity: 0.87;
color: black;
}
</style>
<core-icon src="communication-icons.html" icon="chat" id="core_icon"></core-icon>
<paper-fab icon="settings" id="paper_fab"></paper-fab>
<section id="section" layout vertical designmeta="quiz-demo-grid">
<div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout>
<span id="span">ComMeToo</span>
</div>
<div id="tiles-container" class="tiles-container" layout wrap horizontal center relative center-justified>
<div id="div7" class="tile" layout vertical relative>
<paper-ripple id="paper_ripple" fit></paper-ripple>
<img id="img" src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcRWFrFP8Fs4IhCE1VLIHoaAUJ8yf6GuxTHOTIvPUM_-PSqqnrSUPg"></img>
<section id="section5" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div8" class="title-bottom">Communicate</div>
</div>
<div id="div5" class="tile" layout vertical relative>
<paper-ripple id="paper_ripple" fit></paper-ripple>
<img id="img" src="https://thenypost.files.wordpress.com/2014/04/tv.jpg"></img>
<section id="section4" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div6" class="tile-bottom">Watch</div>
</div>
<div id="tile-general" class="tile" layout vertical relative>
<paper-ripple id="paper_ripple" fit></paper-ripple>
<img id="img" src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfp1/v/t1.0-1/c3.0.320.320/p320x320/10590514_10152740050631289_7669288924248367459_n.jpg?oh=a8e04db22c90fd8705f52b759fa1708a&oe=554A2669&__gda__=1435159321_de909f12cb32d93832c543d026e606e1"></img>
<section id="section2" 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">Me</span>
</div>
</div>
<div id="div3" class="tile" layout vertical relative>
<paper-ripple id="paper_ripple" fit></paper-ripple>
<img id="img" src="http://biznetis.net/wp-content/uploads/2013/10/Fotolia_7150837_L.jpg"></img>
<section id="section3" class="tile-top" flex layout horizontal center center-justified>
</section>
<div id="div4" class="tile-bottom">Locate</div>
</div>
</div>
</section>
<core-icon icon="av:play-arrow" id="core_icon2"></core-icon>
<core-icon icon="av:play-arrow" id="core_icon1"></core-icon>
<core-icon icon="av:play-arrow" id="core_icon3"></core-icon>
<core-icon icon="av:play-arrow" id="core_icon4"></core-icon>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment