Skip to content

Instantly share code, notes, and snippets.

@fabienb
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save fabienb/0229b1e6e93c638cab04 to your computer and use it in GitHub Desktop.

Select an option

Save fabienb/0229b1e6e93c638cab04 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_checkbox {
left: 60px;
top: 140px;
position: absolute;
}
#paper_checkbox1 {
left: 60px;
top: 170px;
position: absolute;
width: 70px;
height: 20px;
}
#paper_checkbox2 {
left: 60px;
top: 200px;
position: absolute;
}
#paper_checkbox3 {
left: 60px;
top: 230px;
position: absolute;
}
#paper_checkbox4 {
left: 60px;
top: 260px;
position: absolute;
}
#paper_input {
left: 160px;
top: 50px;
position: absolute;
width: 630px;
height: 60px;
}
#paper_button {
left: 800px;
top: 60px;
position: absolute;
width: 90px;
height: 30px;
background-color: rgb(255, 147, 0);
}
</style>
<paper-checkbox label="SICAVs" id="paper_checkbox"></paper-checkbox>
<paper-checkbox label="Charity Funds" id="paper_checkbox4"></paper-checkbox>
<paper-checkbox label="Investment Trusts" id="paper_checkbox3"></paper-checkbox>
<paper-checkbox label="Life Funds" id="paper_checkbox2"></paper-checkbox>
<paper-checkbox label="OEICs" id="paper_checkbox1"></paper-checkbox>
<paper-input label="Search for Fund or ISIN" floatinglabel id="paper_input"></paper-input>
<paper-button recenteringtouch id="paper_button">Search</paper-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment