Skip to content

Instantly share code, notes, and snippets.

@CORE-
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CORE-/208a791bdb77929d2965 to your computer and use it in GitHub Desktop.
Save CORE-/208a791bdb77929d2965 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.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="../topeka-elements/category-icons.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.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: 0px;
top: 0px;
position: absolute;
}
#section1 {
background-color: rgb(255, 255, 141);
}
#core_icon {
height: 256px;
width: 256px;
z-index: 100;
}
#div {
box-sizing: border-box;
position: relative;
height: 80px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#div2 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab {
background-color: rgb(255, 64, 129);
}
#section2 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 420px;
top: 0px;
position: absolute;
}
#toolbar {
box-sizing: border-box;
height: 15%;
position: relative;
color: rgb(255, 255, 255);
font-size: 48px;
background-color: rgb(0, 187, 211);
}
#tiles-container {
padding-left: 3px;
height: 85%;
}
#tile-profile {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(204, 204, 204);
}
#core_icon1 {
height: 128px;
width: 128px;
}
#div3 {
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;
}
#section4 {
background-color: rgb(255, 255, 141);
}
#core_icon2 {
height: 128px;
width: 128px;
}
#div4 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(255, 235, 59);
}
#div5 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(185, 246, 202);
}
#core_icon3 {
height: 128px;
width: 128px;
}
#div6 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(15, 157, 88);
}
#div7 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(255, 138, 128);
}
#core_icon4 {
height: 128px;
width: 128px;
}
#div8 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(219, 68, 55);
}
#div9 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(130, 177, 255);
}
#core_icon5 {
height: 128px;
width: 128px;
}
#div10 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(66, 133, 244);
}
#div11 {
box-sizing: border-box;
float: left;
height: 30%;
width: 48%;
margin: 3px;
background-color: rgb(179, 136, 255);
}
#core_icon6 {
height: 128px;
width: 128px;
}
#div12 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(126, 87, 194);
}
#section9 {
box-sizing: border-box;
width: 420px;
height: 390px;
left: 840px;
top: 0px;
position: absolute;
}
#div13 {
box-sizing: border-box;
position: relative;
height: 240px;
padding: 24px;
color: rgb(255, 255, 255);
font-size: 32px;
background-color: rgb(255, 235, 59);
}
#section10 {
padding: 24px;
font-size: 16px;
background-color: rgb(238, 238, 238);
}
#section11 {
box-sizing: border-box;
width: 420px;
height: 180px;
left: 840px;
top: 400px;
position: absolute;
background-color: rgb(255, 255, 141);
}
#div14 {
box-sizing: border-box;
position: relative;
height: 150px;
width: 150px;
color: rgb(255, 255, 255);
font-size: 100px;
background-color: rgb(255, 235, 59);
}
#paper_calculator {
width: 420px;
height: 650px;
left: 0px;
top: 580px;
position: absolute;
}
#paper_checkbox {
left: 440px;
top: 600px;
position: absolute;
}
#paper_checkbox1 {
left: 440px;
top: 630px;
position: absolute;
}
#paper_fab1 {
left: 560px;
top: 590px;
position: absolute;
}
#div15 {
left: 830px;
top: 590px;
position: absolute;
}
#paper_fab2 {
left: 630px;
top: 590px;
position: absolute;
}
#paper_icon_button {
left: 710px;
top: 590px;
position: absolute;
}
#paper_input {
left: 760px;
top: 590px;
position: absolute;
}
#paper_item {
left: 710px;
top: 630px;
position: absolute;
}
#paper_progress {
left: 720px;
top: 680px;
position: absolute;
}
#paper_radio_group {
left: 430px;
top: 660px;
position: absolute;
}
#paper_slider {
left: 710px;
top: 700px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 1030px;
top: 590px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_toggle_button {
left: 440px;
top: 700px;
position: absolute;
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 1680px;
top: 630px;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
background-color: rgb(238, 238, 238);
}
</style>
<section id="section" layout vertical>
<section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
</section>
<div id="div" class="bottom" hero hero-id="bottom">
<span id="span">General Knowledge</span>
</div>
<div id="div1" hero class="dummy"></div>
<div id="div2" class="fab fab-0">
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
</div>
</section>
<section id="section2" layout vertical designmeta="quiz-demo-grid">
<div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout>
<span id="span1">Quiz Demo</span>
</div>
<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="section3" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:food" id="core_icon1" designmeta="topeka-icon"></core-icon>
</section>
<div id="div3" class="tile-bottom">
Category 1
</div>
</div>
<div id="tile-general" class="tile" layout vertical relative>
<section id="section4" class="tile-top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-icons:knowledge" id="core_icon2" cross-fade-delayed designmeta="topeka-icon"></core-icon>
<paper-button label="Button" id="paper_button"></paper-button>
</section>
<div id="div4" class="tile-bottom" hero hero-id="bottom">
<span id="span2">General Knowledge</span>
</div>
</div>
<div id="div5" class="tile" layout vertical relative>
<section id="section5" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:history" id="core_icon3" designmeta="topeka-icon"></core-icon>
</section>
<div id="div6" class="tile-bottom">
Category 2
</div>
</div>
<div id="div7" class="tile" layout vertical relative>
<section id="section6" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:geography" id="core_icon4" designmeta="topeka-icon"></core-icon>
</section>
<div id="div8" class="tile-bottom">
Category 3
</div>
</div>
<div id="div9" class="tile" layout vertical relative>
<section id="section7" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:entertainment" id="core_icon5" designmeta="topeka-icon"></core-icon>
</section>
<div id="div10" class="tile-bottom">
Category 4
</div>
</div>
<div id="div11" class="tile" layout vertical relative>
<section id="section8" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:music" id="core_icon6" designmeta="topeka-icon"></core-icon>
</section>
<div id="div12" class="tile-bottom">
Category 5
</div>
</div>
</div>
</section>
<section id="section9" layout vertical>
<div id="div13" hero>
<span id="span3">What's your name?</span>
</div>
<section id="section10" hero flex>
<span id="span4">My name is</span>
</section>
<core-animated-pages selectedindex="0" notap id="core_animated_pages">
<section id="section12" layout horizontal center center-justified active>
</section>
<section id="section13">
</section>
<section id="section14">
</section>
</core-animated-pages>
</section>
<section id="section11" layout vertical center center-justified>
<div id="div14" hero layout vertical center center-justified>
<span id="span5">+8</span>
</div>
</section>
<paper-checkbox label="Checkbox 2" id="paper_checkbox1"></paper-checkbox>
<paper-checkbox label="Checkbox 1" id="paper_checkbox"></paper-checkbox>
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator>
<div id="div15" layout horizontal>
</div>
<paper-fab icon="av:play-arrow" id="paper_fab1"></paper-fab>
<paper-fab icon="check" id="paper_fab2"></paper-fab>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<paper-input label="Type something..." willvalidate id="paper_input" layout vertical></paper-input>
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item>
<paper-progress secondaryprogress="40" value="30" ratio="30" id="paper_progress"></paper-progress>
<paper-radio-group selected="Medium" valueattr="label" selectedindex="1" id="paper_radio_group">
<paper-radio-button label="Small" id="paper_radio_button2"></paper-radio-button>
<paper-radio-button checked label="Medium" id="paper_radio_button3"></paper-radio-button>
<paper-radio-button label="Large" id="paper_radio_button4"></paper-radio-button>
</paper-radio-group>
<paper-slider secondaryprogress="50" value="30" step="10" id="paper_slider"></paper-slider>
<paper-tabs selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2">ITEM THREE</paper-tab>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
</paper-tabs>
<paper-toggle-button id="paper_toggle_button"></paper-toggle-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment