Last active
February 11, 2016 16:48
-
-
Save robertonic/8111e0228ed80f066b5d to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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 href="../core-icon-button/core-icon-button.html" rel="import"> | |
<link href="../core-toolbar/core-toolbar.html" rel="import"> | |
<link href="../core-header-panel/core-header-panel.html" rel="import"> | |
<link href="../paper-button/paper-button.html" rel="import"> | |
<link href="../paper-radio-group/paper-radio-group.html" rel="import"> | |
<link href="../paper-radio-button/paper-radio-button.html" rel="import"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
#design_host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_card { | |
position: absolute; | |
width: 400px; | |
height: 300px; | |
background-color: rgb(255, 255, 255); | |
border-radius: 2px; | |
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.098), 0px 0px 3px rgba(0, 0, 0, 0.098); | |
left: 370px; | |
top: 320px; | |
} | |
#core_header_panel { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
} | |
#core_toolbar { | |
background-color: rgb(79, 125, 201); | |
color: rgb(255, 255, 255); | |
} | |
#paper_icon_button { | |
left: 90px; | |
top: 56px; | |
position: absolute; | |
opacity: 0.4; | |
} | |
#paper_toggle_button { | |
left: 40px; | |
top: 120px; | |
position: absolute; | |
} | |
#paper_button { | |
left: 173px; | |
top: 170px; | |
position: absolute; | |
} | |
#paper_radio_group { | |
left: 20px; | |
top: 100px; | |
position: absolute; | |
} | |
</style> | |
<core-card id="core_card" layout vertical> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div">Header</div> | |
</core-toolbar> | |
<paper-button raised id="paper_button" touch-action="pan-x">Click</paper-button> | |
<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> | |
</core-header-panel> | |
</core-card> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment