Created
July 16, 2014 15:12
-
-
Save davewhitley/d3e78962e9f6c8952a5b 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-field/core-field.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-menu-button/core-menu-button.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> | |
<link rel="import" href="../core-tooltip/core-tooltip.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_field { | |
left: 330px; | |
top: 310px; | |
position: absolute; | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-left-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 320px; | |
top: 390px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon1 { | |
height: 24px; | |
width: 24px; | |
left: 580px; | |
top: 830px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 370px; | |
top: 810px; | |
position: absolute; | |
} | |
#core_menu_button { | |
left: 590px; | |
top: 910px; | |
position: absolute; | |
} | |
#core_pages { | |
width: 400px; | |
height: 400px; | |
border: 1px solid silver; | |
left: 170px; | |
top: 750px; | |
position: absolute; | |
} | |
#section2 { | |
left: 630px; | |
top: 710px; | |
position: absolute; | |
} | |
#section3 { | |
left: 660px; | |
top: 750px; | |
position: absolute; | |
} | |
#core_selector { | |
width: 100%; | |
height: 50px; | |
left: 130px; | |
top: 180px; | |
position: absolute; | |
} | |
#core_toolbar { | |
right: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
opacity: 1; | |
background-color: rgb(203, 88, 72); | |
} | |
#core_tooltip { | |
left: 660px; | |
top: 630px; | |
position: absolute; | |
} | |
#core_tooltip1 { | |
left: 670px; | |
top: 500px; | |
position: absolute; | |
} | |
</style> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-input placeholder="text input" id="core_input" flex></core-input> | |
</core-field> | |
<core-card id="core_card" layout vertical> | |
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button> | |
</core-card> | |
<core-icon icon="search" id="core_icon1"></core-icon> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu active label="Topics" icon="settings" valueattr="name" id="core_submenu"> | |
<core-item label="Topic 1" size="24" id="core_item" horizontal center layout></core-item> | |
<core-item label="Topic 2" size="24" id="core_item1" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu label="Favorites" icon="settings" valueattr="name" id="core_submenu1"> | |
<core-item label="Favorite 1" size="24" id="core_item2" horizontal center layout></core-item> | |
<core-item label="Favorite 2" size="24" id="core_item3" horizontal center layout></core-item> | |
<core-item label="Favorite 3" size="24" id="core_item4" horizontal center layout></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-menu-button icon="more-vert" selected="0" valueattr="name" id="core_menu_button"> | |
<core-item label="Cut" icon="content-cut" size="24" id="core_item5" horizontal center layout active></core-item> | |
<core-item label="Copy" icon="content-copy" size="24" id="core_item6" horizontal center layout></core-item> | |
<core-item label="Paste" icon="content-paste" size="24" id="core_item7" horizontal center layout></core-item> | |
</core-menu-button> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="section" active>Page One</section> | |
<section id="section1">Page Two</section> | |
</core-pages> | |
<section id="section2"></section> | |
<section id="section3"></section> | |
<core-selector selected="0" id="core_selector"></core-selector> | |
<core-tooltip id="core_tooltip"></core-tooltip> | |
<core-tooltip id="core_tooltip1"></core-tooltip> | |
<core-toolbar id="core_toolbar" three flex> | |
<core-icon-button icon="menu" id="core_icon_button1"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment