Last active
August 29, 2015 14:18
-
-
Save octalmage/a9356205f48130d21378 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="../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"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<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-field/core-field.html"> | |
<link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_header_panel { | |
width: 480px; | |
height: 290px; | |
left: 220px; | |
top: 60px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section { | |
height: 800px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#input { | |
padding: 15px; | |
left: 120px; | |
top: 10px; | |
position: absolute; | |
width: 300px; | |
} | |
#paper_radio_group { | |
left: 10px; | |
top: 6px; | |
position: absolute; | |
width: 450px; | |
height: 40px; | |
} | |
#section1 { | |
left: 820px; | |
top: 400px; | |
position: absolute; | |
} | |
#section2 { | |
left: 1090px; | |
top: 510px; | |
} | |
#core_field { | |
left: 190px; | |
top: 86px; | |
position: absolute; | |
} | |
#core_icon { | |
left: 428px; | |
top: 20px; | |
position: absolute; | |
} | |
#paper_checkbox { | |
left: 20px; | |
top: 76px; | |
position: absolute; | |
} | |
#paper_checkbox1 { | |
left: 20px; | |
top: 106px; | |
position: absolute; | |
} | |
#paper_checkbox2 { | |
left: 20px; | |
top: 136px; | |
position: absolute; | |
} | |
</style> | |
<core-header-panel mode="standard" id="core_header_panel"> | |
<core-toolbar id="core_toolbar"> | |
<div id="div">Google Hacks</div> | |
<input id="input" placeholder="Search..." is="core-input"> | |
<core-icon icon="search" id="core_icon"></core-icon> | |
</core-toolbar> | |
<section id="section"> | |
<paper-radio-group selected="Music" valueattr="label" selectedindex="0" id="paper_radio_group"> | |
<paper-radio-button checked label="Music" id="paper_radio_button"></paper-radio-button> | |
<paper-radio-button label="Books" id="paper_radio_button1"></paper-radio-button> | |
<paper-radio-button label="Tools" id="paper_radio_button2"></paper-radio-button> | |
</paper-radio-group> | |
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout> | |
<core-input id="core_input" flex></core-input> | |
</core-field> | |
<paper-checkbox checked label=".mp3" id="paper_checkbox"></paper-checkbox> | |
<paper-checkbox checked label=".wma" id="paper_checkbox1"></paper-checkbox> | |
<paper-checkbox checked label=".mp3" id="paper_checkbox2"></paper-checkbox> | |
</section> | |
</core-header-panel> | |
<section id="section1"></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