Skip to content

Instantly share code, notes, and snippets.

@himanshu-dixit
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save himanshu-dixit/5f74d7eee2a13ebdd38e to your computer and use it in GitHub Desktop.
Save himanshu-dixit/5f74d7eee2a13ebdd38e to your computer and use it in GitHub Desktop.
designer
<link href="../paper-radio-button/paper-radio-button.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
box-sizing: border-box;
position: static;
}
#toolbar {
box-sizing: border-box;
height: 15%;
position: relative;
color: rgb(255, 255, 255);
background-color: rgb(0, 187, 211);
}
#section {
margin: 0px auto;
box-sizing: border-box;
width: 535px;
height: 545px;
position: absolute;
background-color: rgb(255, 255, 255);
border-radius: 4px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.094), 0px 0px 3px rgba(0, 0, 0, 0.094);
font-family: "Open Sans",sans-serif;
}
#div1 {
box-sizing: border-box;
position: relative;
height: 200px;
background-color: rgb(43, 118, 174);
color: rgb(255, 255, 255);
font-size: 32px;
font-weight: 500;
}
#section1 {
background-color: rgb(255, 255, 255);
font-size: 16px;
padding: 12px;
}
#span {
position: relative;
top: 112px;
background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.4);
}
#paper_tabs {
background-color: rgb(0, 188, 212);
color: rgb(255, 255, 255);
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2);
width: 100%;
height: 100%;
}
#paper_tab {
width: 50%;
height: 50%;
}
#paper_tab4 {
width: 250px;
height: 104px;
}
#div {
height: 100%;
width: 100%;
overflow: hidden;
left: 1120px;
top: 540px;
}
#core_card {
width: 490px;
height: 50px;
background-color: rgb(255, 255, 255);
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098);
padding: 10px;
margin: 6px;
}
#paper_radio_button {
position: relative;
top: 15px;
}
</style>
<section id="section" vertical layout>
<div id="div1" hero>
<span id="span">How to fall in love with your partner quickly</span>
</div>
<section id="section1" start flex hero vertical layout>
<core-card id="core_card" vertical layout>
<paper-radio-button checked label="Radio Button" id="paper_radio_button" name="radio"></paper-radio-button>
</core-card>
<core-card id="core_card" vertical layout>
<paper-radio-button checked label="Radio Button" id="paper_radio_button"></paper-radio-button>
</core-card>
<core-card id="core_card" vertical layout>
<paper-radio-button checked label="Radio Button" id="paper_radio_button"></paper-radio-button>
</core-card>
<core-card id="core_card" vertical layout>
<paper-radio-button checked label="Radio Button" id="paper_radio_button"></paper-radio-button>
</core-card>
</section>
</section>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment