Created
July 1, 2014 19:37
-
-
Save serialjoy/b3f86ee4b75c119551ce 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="../paper-radio-group/paper-radio-group.html"> | |
<link rel="import" href="../paper-radio-button/paper-radio-button.html"> | |
<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-header-panel/core-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_card { | |
position: absolute; | |
width: 350px; | |
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: 0px; | |
top: 60px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_header_panel { | |
width: 300px; | |
height: 400px; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
width: 350px; | |
background-color: rgb(79, 125, 201); | |
} | |
#section { | |
height: 1000px; | |
width: 350px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#paper_radio_group { | |
left: 940px; | |
top: 280px; | |
position: absolute; | |
} | |
#paper_radio_button { | |
padding: 20px; | |
} | |
#paper_radio_button2 { | |
left: 20px; | |
padding: 20px; | |
} | |
</style> | |
<paper-radio-group selected="Large" valueattr="label" id="paper_radio_group"> | |
</paper-radio-group> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button1"></core-icon-button> | |
<div id="div">Header</div> | |
</core-toolbar> | |
<core-card id="core_card" layout vertical> | |
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<section id="section"> | |
<paper-radio-button checked label="Small" id="paper_radio_button"></paper-radio-button> | |
<paper-radio-button checked label="Medium" id="paper_radio_button1"></paper-radio-button> | |
<paper-radio-button checked label="Large" id="paper_radio_button2"></paper-radio-button> | |
</section> | |
</core-header-panel> | |
</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