Last active
October 19, 2015 23:24
-
-
Save ptdixon/c6b069aa1d77d6f46c2f to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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; | |
top: 0px; | |
left: 0px; | |
} | |
#core_header_panel { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
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), lightblue); | |
} | |
#core_card { | |
position: absolute; | |
width: 300px; | |
height: 300px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 10px; | |
top: 26px; | |
background-color: rgb(255, 255, 255); | |
} | |
#code_mirror { | |
width: 400px; | |
height: 300px; | |
left: 330px; | |
top: 26px; | |
position: absolute; | |
} | |
#code_mirror1 { | |
width: 400px; | |
height: 300px; | |
left: 760px; | |
top: 26px; | |
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">Header</div> | |
</core-toolbar> | |
<section id="section"> | |
<core-card id="core_card" layout vertical></core-card> | |
<code-mirror value="<polymer-element name='my-element'> | |
<template></template> | |
<script> | |
Polymer('my-element', {}); | |
</script> | |
</polymer-element>" id="code_mirror"> | |
<polymer-element id="polymer_element1" name="my-element"> | |
<template id="template1"></template> | |
<script async text=" | |
Polymer('my-element', {}); | |
" id="script1"> | |
Polymer('my-element', {}); | |
</script> | |
</polymer-element> | |
</code-mirror> | |
<code-mirror value="<polymer-element name='my-element'> | |
<template></template> | |
<script> | |
Polymer('my-element', {}); | |
</script> | |
</polymer-element>" id="code_mirror1"> | |
<polymer-element id="polymer_element" name="my-element"> | |
<template id="template"></template> | |
<script async text=" | |
Polymer('my-element', {}); | |
" 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