Created
July 16, 2014 19:51
-
-
Save agozie/88857879affac75cea2e 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-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/iconsets/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#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: 410px; | |
top: 80px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
right: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#paper_fab { | |
position: absolute; | |
top: 40px; | |
right: 10px; | |
background-color: rgb(112, 184, 255); | |
} | |
#div1 { | |
margin: 10px; | |
} | |
#section { | |
padding: 10px; | |
} | |
#div2 { | |
margin: 10px; | |
} | |
#div4 { | |
padding: 5px; | |
} | |
#div5 { | |
padding: 5px; | |
} | |
#div6 { | |
padding: 5px; | |
} | |
#div7 { | |
padding: 5px; | |
} | |
</style> | |
<core-card id="core_card" layout vertical> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div" flex>New Odd</div> | |
</core-toolbar> | |
<paper-fab fill="{{ }}" icon="add-circle" id="paper_fab"></paper-fab> | |
<section id="section" horizontal layout center-justified> | |
<div id="div1" vertical layout start-justified> | |
<h2 id="h2">Draws</h2> | |
<div id="div3" horizontal layout start-justified> | |
<div id="div4"> | |
<paper-input label="From" floatinglabel error="Input is not a number!" validate="^[0-9]*$" id="paper_input"></paper-input> | |
</div> | |
<div id="div5"> | |
<paper-input label="To" floatinglabel error="Input is not a number!" validate="^[0-9]*$" id="paper_input1"></paper-input> | |
</div> | |
</div> | |
</div> | |
<div id="div2" vertical layout start-justified> | |
<h2>Odds</h2> | |
<div horizontal layout start-justified> | |
<div id="div6"> | |
<paper-input label="From" floatinglabel error="Input is not a number!" validate="^[0-9]*$" id="paper_input2"></paper-input> | |
</div> | |
<div id="div7"> | |
<paper-input label="To" floatinglabel error="Input is not a number!" validate="^[0-9]*$" id="paper_input1"></paper-input> | |
</div> | |
</div> | |
</div> | |
</section> | |
</core-card> | |
</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