Created
June 7, 2014 17:43
-
-
Save sjunnesson/bf629bd641e7dc9546e6 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="../code-mirror/code-mirror.html"> | |
<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="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-item/core-item.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: 960px; | |
top: 430px; | |
} | |
#code_mirror { | |
width: 400px; | |
height: 300px; | |
left: 40px; | |
top: 30px; | |
position: absolute; | |
} | |
#core_header_panel { | |
width: 300px; | |
height: 400px; | |
left: 640px; | |
top: 160px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#core_panel { | |
height: 1000px; | |
display: block; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_icon { | |
height: 24px; | |
width: 24px; | |
left: 1060px; | |
top: 190px; | |
position: absolute; | |
} | |
#svg { | |
pointer-events: none; | |
width: 24px; | |
height: 24px; | |
vertical-align: middle; | |
} | |
#core_icon_button1 { | |
left: 1100px; | |
top: 130px; | |
position: absolute; | |
} | |
#core_input { | |
padding: 15px; | |
left: 1170px; | |
top: 320px; | |
position: absolute; | |
} | |
#core_item { | |
left: 1180px; | |
top: 390px; | |
position: absolute; | |
} | |
#core_toolbar1 { | |
right: 0px; | |
left: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
width: 100%; | |
height: 50px; | |
background-color: rgb(79, 125, 201); | |
} | |
</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> | |
<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> | |
<core-panel id="core_panel"></core-panel> | |
</core-header-panel> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
<core-icon-button icon="menu" id="core_icon_button1" theme="core-light-theme"></core-icon-button> | |
<core-input placeholder="Type something..." id="core_input"> | |
</core-input> | |
<core-item label="Core Item" icon="settings" id="core_item" horizontal center layout></core-item> | |
<core-toolbar id="core_toolbar1"> | |
<core-icon-button icon="menu" id="core_icon_button2"></core-icon-button> | |
<div id="div1" flex>Toolbar</div> | |
</core-toolbar> | |
</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