Last active
August 29, 2015 14:07
-
-
Save ViliamKopecky/ec41689262d1b42ee6ac 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 href="../code-mirror/code-mirror.html" rel="import"> | |
<link href="../chart-js/chart-js.html" rel="import"> | |
<link href="../cool-clock/cool-clock.html" rel="import"> | |
<link href="../google-map/google-map.html" rel="import"> | |
<link href="../core-menu/core-submenu.html" rel="import"> | |
<link href="../core-item/core-item.html" rel="import"> | |
<link href="../core-menu-button/core-menu-button.html" rel="import"> | |
<link href="../core-icons/core-icons.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#code_mirror { | |
width: 810px; | |
height: 420px; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#chart_js { | |
width: 300px; | |
height: 200px; | |
left: 810px; | |
top: 210px; | |
position: absolute; | |
} | |
#cool_clock { | |
width: 400px; | |
height: 300px; | |
left: 830px; | |
top: 20px; | |
position: absolute; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
left: 340px; | |
top: 180px; | |
position: absolute; | |
} | |
#core_menu { | |
font-size: 16px; | |
left: 890px; | |
top: 510px; | |
position: absolute; | |
} | |
#core_menu_button { | |
left: 1020px; | |
top: 460px; | |
position: absolute; | |
} | |
</style> | |
<code-mirror value="<polymer-element name='my-element'> | |
<template></template> | |
<script> | |
Polymer('my-element', {}); | |
</script> | |
</polymer-element>" id="code_mirror"><polymer-element name='my-element'> | |
<template></template> | |
<script> | |
Polymer('my-element', {}); | |
</script> | |
</polymer-element></code-mirror> | |
<chart-js kind="Line" id="chart_js"></chart-js> | |
<cool-clock skin="watermelon" id="cool_clock"></cool-clock> | |
<google-map latitude="37.47037116791365" longitude="-122.3150498828125" id="google_map"></google-map> | |
<core-menu selected="0" selectedindex="0" id="core_menu"> | |
<core-submenu opened active id="core_submenu" label="Topics" icon="settings"> | |
<core-item id="core_item" label="Topic 1" layout center horizontal></core-item> | |
<core-item id="core_item1" label="Topic 2" layout center horizontal></core-item> | |
</core-submenu> | |
<core-submenu id="core_submenu1" label="Favorites" icon="settings"> | |
<core-item id="core_item2" label="Favorite 1" layout center horizontal></core-item> | |
<core-item id="core_item3" label="Favorite 2" layout center horizontal></core-item> | |
<core-item id="core_item4" label="Favorite 3" layout center horizontal></core-item> | |
</core-submenu> | |
</core-menu> | |
<core-menu-button icon="more-vert" selected="0" selectedindex="0" id="core_menu_button"> | |
<core-item id="core_item5" label="Cut" icon="content-cut" layout center horizontal active></core-item> | |
<core-item id="core_item6" label="Copy" icon="content-copy" layout center horizontal></core-item> | |
<core-item id="core_item7" label="Paste" icon="content-paste" layout center horizontal></core-item> | |
</core-menu-button> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment