Last active
August 29, 2015 14:07
-
-
Save aktowns/d0ae36f72e9307bd060e 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-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../code-mirror/code-mirror.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#code_mirror { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_header_panel { | |
width: 820px; | |
height: 620px; | |
left: 220px; | |
top: 90px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section { | |
height: 1000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_icon_button1 { | |
left: 768px; | |
top: 10px; | |
position: absolute; | |
} | |
</style> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div">REPL</div> | |
<core-icon-button icon="refresh" id="core_icon_button1" theme="core-light-theme"></core-icon-button> | |
</core-toolbar> | |
<section id="section"> | |
<code-mirror value=" | |
Polymer('my-element', {}); | |
" id="code_mirror"> | |
<polymer-element id="polymer_element" name="my-element"> | |
<template id="template"></template> | |
<script id="script"> | |
Polymer('my-element', {}); | |
</script> | |
</polymer-element> | |
</code-mirror> | |
</section> | |
</core-header-panel> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment