Last active
August 29, 2015 14:12
-
-
Save simonegiacomelli/4cac8244296d40b79c4d 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="../ace-element/ace-element.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.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="../paper-button/paper-button.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../paper-calculator/paper-calculator.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
top: 0px; | |
left: 0px; | |
} | |
#ace_element { | |
width: 400px; | |
height: 300px; | |
left: 810px; | |
top: 220px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 230px; | |
top: 0px; | |
position: absolute; | |
} | |
#paper_button { | |
left: 130px; | |
top: 20px; | |
position: absolute; | |
} | |
#paper_fab { | |
left: 50px; | |
top: 10px; | |
position: absolute; | |
} | |
#section { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 740px; | |
top: 50px; | |
position: absolute; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
#paper_calculator { | |
width: 400px; | |
height: 560px; | |
left: 50px; | |
top: 200px; | |
position: absolute; | |
} | |
</style> | |
<ace-element id="ace_element">function test() { | |
var x = true; | |
}</ace-element> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout active>ITEM TWO</paper-tab> | |
</paper-tabs> | |
<section id="section1" flex relative> | |
</section> | |
</section> | |
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab> | |
<paper-button id="paper_button">button</paper-button> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu opened active id="core_submenu" icon="settings" label="Topics"> | |
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item> | |
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" icon="settings" label="Favorites"> | |
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item> | |
<core-item id="core_item3" label="Beccato" horizontal center layout></core-item> | |
<core-item id="core_item4" label="Favorite 3" horizontal center layout active></core-item> | |
</core-submenu> | |
</core-menu> | |
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment