Last active
August 29, 2015 14:07
-
-
Save yask123/2990ae66d8e5741c9da8 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="../cool-clock/cool-clock.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.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="../core-pages/core-pages.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_field { | |
left: 1200px; | |
top: 450px; | |
} | |
#core_pages { | |
width: 720px; | |
height: 530px; | |
border: 1px solid silver; | |
left: 230px; | |
top: -80px; | |
position: absolute; | |
} | |
#section { | |
left: -161px; | |
top: -1px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 271px; | |
top: 21px; | |
position: absolute; | |
} | |
#core_submenu { | |
left: 39px; | |
top: 19px; | |
position: absolute; | |
} | |
#core_submenu1 { | |
left: 229px; | |
top: 19px; | |
position: absolute; | |
} | |
#section2 { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: 79px; | |
top: 9px; | |
position: absolute; | |
} | |
#toolbar { | |
box-sizing: border-box; | |
height: 15%; | |
position: absolute; | |
color: rgb(255, 255, 255); | |
font-size: 48px; | |
left: -91px; | |
top: 479px; | |
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; | |
} | |
#section4 { | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon1 { | |
height: 128px; | |
width: 128px; | |
} | |
#div1 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(255, 235, 59); | |
} | |
#div2 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(185, 246, 202); | |
} | |
#core_icon2 { | |
height: 128px; | |
width: 128px; | |
} | |
#div3 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(15, 157, 88); | |
} | |
#div4 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(255, 138, 128); | |
} | |
#core_icon3 { | |
height: 128px; | |
width: 128px; | |
} | |
#div5 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(219, 68, 55); | |
} | |
#div6 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(130, 177, 255); | |
} | |
#core_icon4 { | |
height: 128px; | |
width: 128px; | |
} | |
#div7 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(66, 133, 244); | |
} | |
#div8 { | |
box-sizing: border-box; | |
float: left; | |
height: 30%; | |
width: 48%; | |
margin: 3px; | |
background-color: rgb(179, 136, 255); | |
} | |
#core_icon5 { | |
height: 128px; | |
width: 128px; | |
} | |
#div9 { | |
padding: 8px; | |
color: rgb(255, 255, 255); | |
background-color: rgb(126, 87, 194); | |
} | |
#cool_clock { | |
width: 400px; | |
height: 300px; | |
left: 60px; | |
top: 40px; | |
position: absolute; | |
} | |
#core_menu1 { | |
font-size: 16px; | |
left: 140px; | |
top: 190px; | |
position: absolute; | |
} | |
#core_animated_pages { | |
width: 420px; | |
height: 582px; | |
overflow: hidden; | |
left: -20px; | |
top: 230px; | |
position: absolute; | |
background-color: rgb(238, 238, 238); | |
} | |
</style> | |
<cool-clock skin="Tor" id="cool_clock"></cool-clock> | |
<core-menu selected="0" selectedindex="0" id="core_menu1"> | |
<core-submenu opened active id="core_submenu2" icon="settings" label="Topics"> | |
<core-item id="core_item5" label="Topic 1" horizontal center layout></core-item> | |
<core-item id="core_item6" label="Topic 2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu3" icon="settings" label="Favorites"> | |
<core-item id="core_item7" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item8" label="Favorite 2" horizontal center layout></core-item> | |
<core-item id="core_item9" label="Favorite 3" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-animated-pages selectedindex="0" notap id="core_animated_pages"> | |
<section id="section9" layout horizontal center center-justified active> | |
</section> | |
<section id="section10"> | |
</section> | |
<section id="section11"> | |
</section> | |
</core-animated-pages> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element><core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="section1" active> | |
<section id="section"> | |
<core-menu selected="0" id="core_menu"> | |
</core-menu> | |
<core-submenu id="core_submenu" icon="settings" label="Topics" horizontal layout> | |
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item> | |
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" icon="settings" label="Favorites"> | |
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item> | |
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item> | |
</core-submenu> | |
</section> | |
<section id="section2" 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="section3" 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"> Meal</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_icon1" cross-fade-delayed designmeta="topeka-icon"></core-icon> | |
</section> | |
<div id="div1" class="tile-bottom" hero hero-id="bottom"> | |
<span id="span1">Books</span> | |
</div> | |
</div> | |
<div id="div2" 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_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="section6" 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="section7" 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="section8" 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="div9" class="tile-bottom"> | |
Category 5 | |
</div> | |
</div> | |
</div> | |
</section> | |
<div id="toolbar" class="tall-toolbar categories" horizontal center-justified center layout> | |
</div> | |
</section> | |
</core-pages> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment