Created
July 11, 2014 22:15
-
-
Save Viktorminator/ccc2ffb393958e13b935 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="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../core-menu/core-submenu.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_menu { | |
font-size: 16px; | |
left: 70px; | |
top: 70px; | |
position: absolute; | |
} | |
#core_submenu { | |
width: 200px; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button> | |
<span id="span" flex>Title</span> | |
<paper-icon-button icon="search" id="paper_icon_button3"></paper-icon-button> | |
<paper-icon-button icon="refresh" id="paper_icon_button1"></paper-icon-button> | |
<paper-icon-button icon="more-vert" id="paper_icon_button2"></paper-icon-button> | |
</core-toolbar> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu active label="Блог" icon="book" valueattr="name" id="core_submenu"> | |
<core-item label="Laravel" icon="laravel" size="24" id="core_item" center horizontal layout></core-item> | |
<core-item label="Meteor" icon="meteor" size="24" id="core_item1" horizontal center layout></core-item> | |
<core-item label="Polymer" icon="polymer" size="24" id="core_item2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu label="О нас" icon="about-us" valueattr="name" id="core_submenu1" selected="0"> | |
<core-item label="Портфолио" icon="folio" size="24" id="core_item3" center horizontal layout></core-item> | |
</core-submenu> | |
</core-menu> | |
</template> | |
<script> | |
Polymer('my-element', { | |
f: 'book' | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment