Last active
August 29, 2015 14:10
-
-
Save jonsatrom/5a7771c84507896b74e9 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-ajax/core-ajax.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../paper-progress/paper-progress.html"> | |
<link rel="import" href="../paper-ripple/paper-ripple.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<link rel="import" href="../smoothie-chart/smoothie-chart.html"> | |
<link rel="import" href="../yt-video/yt-search-video.html"> | |
<link rel="import" href="../cool-clock/cool-clock.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
box-sizing: border-box; | |
} | |
#section { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: 380px; | |
top: 130px; | |
position: absolute; | |
} | |
#toolbar { | |
box-sizing: border-box; | |
height: 15%; | |
position: absolute; | |
color: rgb(255, 255, 255); | |
font-size: 48px; | |
background-color: rgb(0, 187, 211); | |
left: 580px; | |
top: 20px; | |
} | |
#tiles-container { | |
padding-left: 3px; | |
height: 85%; | |
} | |
#tile-profile { | |
background-color: rgb(204, 204, 204); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
} | |
#core_icon { | |
height: 128px; | |
width: 128px; | |
left: 620px; | |
top: 20px; | |
position: absolute; | |
} | |
#div { | |
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; | |
} | |
#section2 { | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon1 { | |
height: 128px; | |
width: 128px; | |
} | |
#div1 { | |
background-color: rgb(255, 235, 59); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#div2 { | |
background-color: rgb(185, 246, 202); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
} | |
#core_icon2 { | |
height: 128px; | |
width: 128px; | |
left: 910px; | |
top: 150px; | |
position: absolute; | |
} | |
#div3 { | |
background-color: rgb(15, 157, 88); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#div4 { | |
background-color: rgb(255, 138, 128); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
} | |
#core_icon3 { | |
height: 128px; | |
width: 128px; | |
} | |
#div5 { | |
background-color: rgb(219, 68, 55); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#div6 { | |
background-color: rgb(130, 177, 255); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
} | |
#core_icon4 { | |
height: 128px; | |
width: 128px; | |
} | |
#div7 { | |
background-color: rgb(66, 133, 244); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#div8 { | |
background-color: rgb(179, 136, 255); | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
} | |
#core_icon5 { | |
height: 128px; | |
width: 128px; | |
} | |
#div9 { | |
background-color: rgb(126, 87, 194); | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
} | |
#paper_button { | |
left: 800px; | |
top: 310px; | |
position: absolute; | |
} | |
#core_ajax { | |
left: 1020px; | |
top: 340px; | |
position: absolute; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
background-color: rgb(255, 255, 255); | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-left-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 760px; | |
top: 640px; | |
} | |
#core_header_panel { | |
width: 300px; | |
height: 400px; | |
left: 70px; | |
top: 90px; | |
position: absolute; | |
} | |
#core_toolbar { | |
background-color: rgb(79, 125, 201); | |
color: rgb(255, 255, 255); | |
} | |
#section7 { | |
height: 1000px; | |
background-image: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_animated_pages { | |
width: 420px; | |
height: 582px; | |
overflow: hidden; | |
background-color: rgb(238, 238, 238); | |
left: 920px; | |
top: 20px; | |
position: absolute; | |
} | |
#input { | |
padding: 15px; | |
} | |
#paper_fab { | |
left: 860px; | |
top: 460px; | |
position: absolute; | |
} | |
#paper_icon_button { | |
left: 840px; | |
top: 520px; | |
position: absolute; | |
} | |
#paper_progress { | |
left: 820px; | |
top: 580px; | |
position: absolute; | |
} | |
#paper_ripple { | |
width: 300px; | |
height: 300px; | |
left: 970px; | |
top: 470px; | |
position: absolute; | |
} | |
#paper_checkbox { | |
left: 810px; | |
top: 210px; | |
position: absolute; | |
} | |
#smoothie_chart { | |
left: 220px; | |
top: 670px; | |
position: absolute; | |
} | |
#yt_search_video { | |
width: 300px; | |
height: 300px; | |
left: 170px; | |
top: 520px; | |
position: absolute; | |
} | |
#cool_clock { | |
width: 400px; | |
height: 300px; | |
left: 1120px; | |
top: 500px; | |
position: absolute; | |
} | |
</style> | |
<div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout> | |
<span id="span">Quiz Demo</span> | |
</div> | |
<section id="section" layout vertical designmeta="quiz-demo-grid"> | |
<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="section1" class="tile-top" flex layout horizontal center center-justified> | |
<core-ajax handleas="json" method="GET" id="core_ajax1" hidden></core-ajax> | |
</section> | |
<div id="div" class="tile-bottom"> | |
Category 1 | |
</div> | |
</div> | |
<div id="tile-general" class="tile" layout vertical relative> | |
<section id="section2" class="tile-top" flex layout horizontal center center-justified hero hero-id="top"> | |
<span id="span1">General Knowledge</span> | |
</section> | |
<div id="div1" class="tile-bottom" hero hero-id="bottom"> | |
</div> | |
</div> | |
<div id="div2" class="tile" layout vertical relative> | |
<section id="section3" class="tile-top" flex layout horizontal center center-justified> | |
<core-icon icon="category-icons:history" id="core_icon2" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div3" class="tile-bottom"> | |
Category 2 | |
</div> | |
</div> | |
<div id="div4" class="tile" layout vertical relative> | |
<section id="section4" class="tile-top" flex layout horizontal center center-justified> | |
<core-icon icon="category-icons:geography" id="core_icon3" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div5" class="tile-bottom"> | |
Category 3 | |
</div> | |
</div> | |
<div id="div6" class="tile" layout vertical relative> | |
<section id="section5" class="tile-top" flex layout horizontal center center-justified> | |
<core-icon icon="category-icons:entertainment" id="core_icon4" designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div7" class="tile-bottom"> | |
Category 4 | |
</div> | |
</div> | |
<div id="div8" class="tile" layout vertical relative> | |
<section id="section6" class="tile-top" flex layout horizontal center center-justified> | |
<core-icon icon="category-icons:music" id="core_icon5" designmeta="topeka-icon"></core-icon> | |
<core-icon-button icon="menu" id="core_icon_button1" theme="core-light-theme"></core-icon-button> | |
</section> | |
<div id="div9" class="tile-bottom"> | |
Category 5 | |
</div> | |
</div> | |
</div> | |
</section> | |
<core-icon icon="category-icons:food" id="core_icon" designmeta="topeka-icon"></core-icon> | |
<paper-button id="paper_button">button</paper-button> | |
<core-card id="core_card" layout vertical> | |
<input id="input" placeholder="type something..." is="core-input"> | |
</core-card> | |
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab> | |
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button> | |
<paper-progress id="paper_progress"></paper-progress> | |
<paper-ripple id="paper_ripple"></paper-ripple> | |
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox> | |
<smoothie-chart id="smoothie_chart"></smoothie-chart> | |
<yt-search-video id="yt_search_video"></yt-search-video> | |
<cool-clock id="cool_clock"></cool-clock> | |
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment