Skip to content

Instantly share code, notes, and snippets.

@lexander
Created June 27, 2014 02:35
Show Gist options
  • Save lexander/bb2cd27a2ac84a097cbb to your computer and use it in GitHub Desktop.
Save lexander/bb2cd27a2ac84a097cbb to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 370px;
top: 450px;
position: absolute;
}
#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: 120px;
top: 60px;
background-color: rgb(255, 255, 255);
}
</style>
<core-card id="core_card" layout vertical>
<paper-radio-group selected="Small" valueattr="label" selectedindex="0" id="paper_radio_group">
<paper-radio-button checked label="Small" id="paper_radio_button"></paper-radio-button>
<paper-radio-button label="Medium" id="paper_radio_button1"></paper-radio-button>
<paper-radio-button label="Large" id="paper_radio_button2"></paper-radio-button>
</paper-radio-group>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
</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