Skip to content

Instantly share code, notes, and snippets.

@mougua
Created July 30, 2014 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mougua/a61db21488d0a7f24812 to your computer and use it in GitHub Desktop.
Save mougua/a61db21488d0a7f24812 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#ace_element {
width: 400px;
height: 300px;
left: 190px;
top: 90px;
position: absolute;
}
#paper_input {
left: 190px;
top: 420px;
position: absolute;
}
#three_js_cube {
left: 550px;
top: 310px;
position: absolute;
}
#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: 460px;
top: 160px;
background-color: rgb(255, 255, 255);
}
#core_item {
left: 550px;
top: 320px;
position: absolute;
}
#core_scroll_header_panel {
width: 380px;
height: 460px;
left: 390px;
top: 20px;
position: absolute;
}
#core_toolbar {
color: rgb(241, 241, 241);
fill: rgb(241, 241, 241);
background-color: rgb(66, 133, 244);
}
#section {
height: 5000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
</style>
<ace-element value="<polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element>" id="ace_element"><polymer-element name='my-element'>
<template></template>
<script>
Polymer('my-element', {});
</script>
</polymer-element></ace-element>
<paper-input label="Type something..." id="paper_input"></paper-input>
<three-js-cube id="three_js_cube"></three-js-cube>
<core-card id="core_card" layout vertical></core-card>
<core-item label="Item" icon="settings" size="24" id="core_item" horizontal center layout></core-item>
<core-scroll-header-panel condenses headerheight="192" condensedheaderheight="64" id="core_scroll_header_panel">
<core-toolbar id="core_toolbar" class="tall">
<core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
<div id="div" flex></div>
<core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
<core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
<div id="div1" class="bottom indent">Title</div>
</core-toolbar>
<section id="section" content></section>
</core-scroll-header-panel>
</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