Created
August 20, 2014 17:46
-
-
Save jicksta/0134e7944cc6dd798c8d 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="../paper-button/paper-button.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="note-editor"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_toolbar { | |
right: 0px; | |
left: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
background-color: rgb(79, 125, 201); | |
} | |
#editor-buttons-bold { | |
left: 0px; | |
top: 60px; | |
position: absolute; | |
} | |
#editor-buttons-italic { | |
left: 20px; | |
top: 60px; | |
position: absolute; | |
} | |
#editor-fields-title { | |
left: 0px; | |
top: 90px; | |
position: absolute; | |
} | |
#editor-fields-body { | |
left: 0px; | |
top: 140px; | |
position: absolute; | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button id="core_icon_button" icon="menu"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
<paper-button label="B" id="editor-buttons-bold"></paper-button> | |
<paper-button label="I" id="editor-buttons-italic"></paper-button> | |
<paper-input inputvalue="Тати & Джей's European Travels" id="editor-fields-title" label="Type something..."></paper-input> | |
<paper-input multiline rows="15" id="editor-fields-body" label="Type something..."></paper-input> | |
</template> | |
<script> | |
Polymer('note-editor', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment