Created
July 24, 2014 17:07
-
-
Save bgurmendi/a38dd7777915b9e98ad0 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-pages/core-pages.html"> | |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.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="../paper-button/paper-button.html"> | |
<link rel="import" href="../paper-slider/paper-slider.html"> | |
<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-icons/iconsets/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_pages { | |
width: 400px; | |
height: 400px; | |
border: 1px solid silver; | |
left: 70px; | |
top: 70px; | |
position: absolute; | |
} | |
#core_pages1 { | |
width: 400px; | |
height: 400px; | |
border: 1px solid silver; | |
left: 530px; | |
top: 50px; | |
position: absolute; | |
} | |
#core_toolbar { | |
right: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#paper_slider1 { | |
left: 1150px; | |
top: 450px; | |
} | |
#core_card { | |
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; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
} | |
#core_icon1 { | |
height: 24px; | |
width: 24px; | |
} | |
#core_icon2 { | |
height: 24px; | |
width: 24px; | |
} | |
#core_icon3 { | |
height: 24px; | |
width: 24px; | |
} | |
</style> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages1"> | |
<section id="section2" active> | |
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast1" class="core-transition core-transition-bottom"></paper-toast> | |
<core-menu selected="1" selectedindex="1" id="core_menu"> | |
<core-submenu 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 active selected="0" label="Favorites" icon="settings" valueattr="name" id="core_submenu1"> | |
<core-item label="Favorite 1" size="24" id="core_item2" horizontal center layout active></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> | |
</section> | |
<section id="section3">Page Two</section> | |
</core-pages> | |
<core-pages selected="0" selectedindex="0" notap id="core_pages"> | |
<section id="section" active> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
<paper-button label="Paper Button" id="paper_button"></paper-button> | |
<paper-slider immediatevalue="23" value="23" id="paper_slider"></paper-slider> | |
<core-card id="core_card" layout vertical> | |
<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-field id="core_field1" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon1"></core-icon> | |
<core-input placeholder="text input" id="core_input1" flex></core-input> | |
</core-field> | |
<core-field id="core_field2" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon2"></core-icon> | |
<core-input placeholder="text input" id="core_input2" flex></core-input> | |
</core-field> | |
<core-field id="core_field3" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-icon icon="search" id="core_icon3"></core-icon> | |
<core-input placeholder="text input" id="core_input3" flex></core-input> | |
</core-field> | |
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab> | |
</core-card> | |
</section> | |
<section id="section1">Page Two</section> | |
</core-pages> | |
</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