Skip to content

Instantly share code, notes, and snippets.

@lumue
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 lumue/70dae4bf8b607d46dacd to your computer and use it in GitHub Desktop.
Save lumue/70dae4bf8b607d46dacd to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.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-menu/core-submenu.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="getdown-webconsole-application">
<template>
<style>
:host {
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
}
#core_menu {
font-size: 16px;
}
#list-item {
padding: 5px;
background-color: rgb(255, 255, 255);
}
#section {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
#list-item-action {
padding: 10px;
}
.h1 {
font-size: 18px;
}
#list-item-status {
padding: 10px;
width: 100%;
}
#paper_shadow {
margin: 10px;
}
#add_download {
width: 100%;
height: 100%;
padding: 10px;
font-size: 16px;
opacity: 1;
background-color: rgb(255, 255, 255);
}
#paper_fab1 {
background-color: rgb(18, 15, 235);
}
#paper_input {
width: 100%;
}
#add-form-action {
margin: 10px;
}
#add-form-input {
width: 92%;
}
</style>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu selected="Downloads" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme">
<core-item id="core_item" icon="file-download" label="Downloads" horizontal center layout active></core-item>
<core-item id="core_item1" icon="folder-open" label="Files" horizontal center layout></core-item>
<core-item id="core_item1" icon="settings" label="Settings" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>getdown</div>
<section id="section" class="content">
<paper-shadow id="paper_shadow1">
<section id="add_download" horizontal layout>
<section id="add-form-input">
<paper-input label="url" id="paper_input" start one flex></paper-input>
</section>
<section id="add-form-action">
<paper-fab icon="av:queue" id="paper_fab1"></paper-fab>
</section>
</section>
</paper-shadow>
<paper-shadow id="paper_shadow">
<div id="list-item" start one flex horizontal layout start-justified>
<section id="list-item-action">
<paper-fab icon="av:pause" id="paper_fab" start></paper-fab>
</section>
<section id="list-item-status">
<h1 id="h1">The Big Bang Theory - S01E01.mp4</h1>
<p id="p">downloading</p>
<paper-progress step="1" value="80" ratio="80" id="paper_progress"></paper-progress>
</section>
</div>
</paper-shadow>
<paper-shadow id="paper_shadow">
<div id="list-item" start one flex horizontal layout start-justified>
<section id="list-item-action">
<paper-fab icon="av:play-arrow" id="paper_fab" start></paper-fab>
</section>
<section id="list-item-status">
<h1 id="h1">The Big Bang Theory - S01E01.mp4</h1>
<p id="p">pending</p>
<paper-progress step="1" id="paper_progress"></paper-progress>
</section>
<section id="list-item-actions">
<core-icon icon="reorder" id="core_icon"></core-icon>
</section>
</div>
</paper-shadow>
</section>
</core-scaffold>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment