Created
December 11, 2014 07:43
-
-
Save thomasfl/f0e70d1a2e0a626e1cd2 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.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="../core-menu-button/core-menu-button.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_header_panel { | |
width: 430px; | |
height: 550px; | |
left: 50px; | |
top: 40px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section { | |
height: 1000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_card { | |
position: absolute; | |
width: 380px; | |
height: 290px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 10px; | |
top: 16px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_menu_button { | |
left: 20px; | |
top: 336px; | |
position: absolute; | |
} | |
#section1 { | |
box-sizing: border-box; | |
width: 420px; | |
height: 582px; | |
left: 620px; | |
top: 40px; | |
position: absolute; | |
} | |
#section2 { | |
background-color: rgb(255, 255, 141); | |
} | |
#core_icon { | |
height: 256px; | |
width: 256px; | |
z-index: 100; | |
} | |
#div1 { | |
box-sizing: border-box; | |
position: relative; | |
height: 80px; | |
padding: 24px; | |
color: rgb(255, 255, 255); | |
font-size: 32px; | |
background-color: rgb(255, 235, 59); | |
} | |
#div3 { | |
position: absolute; | |
color: rgb(255, 255, 255); | |
bottom: 50px; | |
right: 24px; | |
} | |
#paper_fab { | |
background-color: rgb(255, 64, 129); | |
} | |
</style> | |
<section id="section1" layout vertical> | |
<section id="section2" 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="div1" class="bottom" hero hero-id="bottom"> | |
<span id="span">General Knowledge</span> | |
</div> | |
<div id="div2" hero class="dummy"></div> | |
<div id="div3" class="fab fab-0"> | |
</div> | |
</section> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div">Numbercom</div> | |
</core-toolbar> | |
<section id="section"> | |
<core-card id="core_card" layout vertical> | |
<paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab> | |
</core-card> | |
<core-menu-button opened id="core_menu_button" icon="more-vert" selected="0" relative> | |
<core-item id="core_item" icon="content-cut" label="Cut" horizontal center layout></core-item> | |
<core-item id="core_item1" icon="content-copy" label="Copy" horizontal center layout></core-item> | |
<core-item id="core_item2" icon="content-paste" label="Paste" horizontal center layout></core-item> | |
</core-menu-button> | |
</section> | |
</core-header-panel> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment