Skip to content

Instantly share code, notes, and snippets.

@degliwe
Created August 10, 2014 15:12
Show Gist options
  • Save degliwe/f98d5dfee8916a382ef3 to your computer and use it in GitHub Desktop.
Save degliwe/f98d5dfee8916a382ef3 to your computer and use it in GitHub Desktop.
designer
<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="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_header_panel {
width: 540px;
height: 700px;
left: 10px;
top: 10px;
position: absolute;
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(255, 170, 0);
}
#section {
height: 1000px;
background: rgb(200, 200, 200);
}
#core_card {
width: 95%;
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;
margin: 20px;
background-color: rgb(255, 255, 255);
}
#paper_tab1 {
height: 100%;
width: 120px;
}
</style>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar">
<div id="div">Kilo</div>
<paper-tab id="paper_tab1">Team</paper-tab>
</core-toolbar>
<section id="section" vertical layout center start-justified>
<core-card id="core_card">
<kilo-player src="90cf4bf0977af95dfa7362a4162de7c0" width="480px" height="133.33333333333331%"></kilo-player>
</core-card>
</section>
<paper-tab id="paper_tab">ITEM ONE</paper-tab>
</core-header-panel>
</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