Last active
August 29, 2015 14:08
-
-
Save goteguru/945bfbf8fc0ac5682f0a 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="../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-menu-button/core-menu-button.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../speech-mic/speech-mic.html"> | |
<link rel="import" href="../cool-clock/cool-clock.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#cool_clock { | |
width: 170px; | |
height: 170px; | |
left: 50px; | |
top: 76px; | |
position: absolute; | |
} | |
#core_header_panel { | |
width: 300px; | |
height: 400px; | |
left: 130px; | |
top: 10px; | |
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_icon { | |
left: 228px; | |
top: 20px; | |
position: absolute; | |
} | |
#core_menu_button { | |
left: 248px; | |
top: 10px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: -386px; | |
top: -20px; | |
position: absolute; | |
} | |
#paper_toast { | |
left: 1390px; | |
top: 620px; | |
} | |
#speech_mic { | |
left: 188px; | |
top: 10px; | |
position: absolute; | |
} | |
</style> | |
<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">Header</div> | |
<core-menu-button icon="more-vert" selected="2" selectedindex="2" id="core_menu_button"> | |
<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 active></core-item> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu opened active id="core_submenu" icon="settings" label="Topics"> | |
<core-item id="core_item3" label="Topic 1" horizontal center layout></core-item> | |
<core-item id="core_item4" label="Topic 2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" icon="settings" label="Favorites"> | |
<core-item id="core_item5" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item6" label="Favorite 2" horizontal center layout></core-item> | |
<core-item id="core_item7" label="Favorite 3" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
</core-menu-button> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<speech-mic id="speech_mic"></speech-mic> | |
</core-toolbar> | |
<section id="section"> | |
<cool-clock skin="Sand" id="cool_clock" horizontal layout></cool-clock> | |
</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