Skip to content

Instantly share code, notes, and snippets.

@ChristBKK
Created May 9, 2015 20:56
Show Gist options
  • Save ChristBKK/801ea87e7c284372cb68 to your computer and use it in GitHub Desktop.
Save ChristBKK/801ea87e7c284372cb68 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.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-input/paper-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="../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;
}
#topeka_app1 {
width: 300px;
height: 300px;
min-height: 450px;
left: 1120px;
top: 500px;
}
#core_card {
width: 300px;
height: 300px;
border-radius: 2px;
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
padding: 20px;
opacity: 1;
background-color: rgb(255, 255, 255);
}
#paper_radio_button {
left: 1170px;
top: 480px;
}
#paper_toggle_button {
left: 1210px;
top: 550px;
}
#paper_checkbox {
left: 1210px;
top: 470px;
}
#paper_input {
width: 100%;
height: 50%;
}
#section3 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 90px;
top: 10px;
position: absolute;
}
#paper_tabs {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#section {
left: 60px;
top: 150px;
position: absolute;
}
#section1 {
left: -55px;
top: 37px;
position: absolute;
}
#section2 {
left: -75px;
top: 27px;
position: absolute;
}
#section5 {
left: 125px;
top: -3px;
position: absolute;
}
#section6 {
left: 235px;
top: 57px;
position: absolute;
}
#core_animated_pages {
width: 420px;
height: 582px;
overflow: hidden;
left: -5px;
top: -3px;
position: absolute;
background-color: rgb(238, 238, 238);
}
#section10 {
box-sizing: border-box;
width: 420px;
height: 582px;
left: 10px;
top: 10px;
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_icon {
height: 128px;
width: 128px;
}
#div {
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;
}
#section12 {
background-color: rgb(255, 255, 141);
}
#core_icon1 {
height: 128px;
width: 128px;
}
#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);
}
#core_icon2 {
height: 128px;
width: 128px;
}
#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);
}
#core_icon3 {
height: 128px;
width: 128px;
}
#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);
}
#core_icon4 {
height: 128px;
width: 128px;
}
#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);
}
#core_icon5 {
height: 128px;
width: 128px;
}
#div10 {
padding: 8px;
color: rgb(255, 255, 255);
background-color: rgb(126, 87, 194);
}
</style>
<section id="section3" layout vertical>
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>Sportangebot</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section4" flex relative>
<section id="section1">
<section id="section" layout horizontal center center-justified>
</section>
</section>
<section id="section2">
</section>
<section id="section5" layout horizontal center center-justified>
</section>
<section id="section6">
</section>
<core-animated-pages transitions="slide-up slide-down fade tile-cascade" selected="{{ $.paper_tabs.selected }}" lastselected="0" selectedindex="1" notap id="core_animated_pages">
<section id="section7" layout horizontal center center-justified>
<core-card id="core_card" layout vertical slide-up>
<paper-input label="Age" value="test" committedvalue="test" id="paper_input2"></paper-input>
<paper-input label="Sports" value="test" committedvalue="test" id="paper_input1"></paper-input>
<paper-input label="Town" value="test" committedvalue="test" id="paper_input"></paper-input>
<div id="div1" layout horizontal end-justified>
<paper-fab icon="check" id="paper_fab1"></paper-fab>
</div>
</core-card>
</section>
<section id="section8" active>
<section id="section10" layout vertical designmeta="quiz-demo-grid">
<div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout slide-down>
<span id="span">Sportarten</span>
</div>
<div id="tiles-container" class="tiles-container" layout wrap horizontal around-justified center relative tile-cascade fade>
<div id="tile-profile" class="tile" layout vertical relative>
<section id="section11" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:food" id="core_icon" designmeta="topeka-icon"></core-icon>
</section>
<div id="div" class="tile-bottom">Basketball</div>
</div>
<div id="tile-general" class="tile" layout vertical relative>
<section id="section12" class="tile-top" flex layout horizontal center center-justified hero hero-id="top">
<core-icon icon="category-icons:knowledge" id="core_icon1" cross-fade-delayed designmeta="topeka-icon"></core-icon>
</section>
<div id="div2" class="tile-bottom" hero hero-id="bottom">
<span id="span1">General Knowledge</span>
</div>
</div>
<div id="div3" class="tile" layout vertical relative>
<section id="section13" 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="div4" class="tile-bottom">
Category 2
</div>
</div>
<div id="div5" class="tile" layout vertical relative>
<section id="section14" 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="div6" class="tile-bottom">
Category 3
</div>
</div>
<div id="div7" class="tile" layout vertical relative>
<section id="section15" 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="div8" class="tile-bottom">
Category 4
</div>
</div>
<div id="div9" class="tile" layout vertical relative>
<section id="section16" class="tile-top" flex layout horizontal center center-justified>
<core-icon icon="category-icons:music" id="core_icon5" designmeta="topeka-icon"></core-icon>
</section>
<div id="div10" class="tile-bottom">
Category 5
</div>
</div>
</div>
</section>
</section>
<section id="section9">
</section>
</core-animated-pages>
</section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment