Created
August 23, 2014 08:31
-
-
Save vorcigernix/c7135f0f0a1e23f0d97a 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 rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../paper-progress/paper-progress.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
core-toolbar { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(15, 157, 88); | |
} | |
core-item { | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(255, 255, 255); | |
} | |
#sitem { | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
color: rgb(51, 51, 51); | |
fill: rgb(51, 51, 51); | |
background-color: rgb(255, 235, 59); | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
#paper_progress { | |
width: 100%; | |
} | |
paper-progress::shadow #activeProgress { | |
background-color: rgb(15, 157, 88); | |
} | |
paper-progress::shadow #progressContainer { | |
background-color: rgb(255, 235, 59); | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<paper-icon-button icon="menu"></paper-icon-button> | |
<span id="span" flex>JSTorrent</span> | |
<paper-icon-button icon="refresh"></paper-icon-button> | |
<paper-icon-button icon="more-vert"></paper-icon-button> | |
</core-toolbar> | |
<div id="sitem"> | |
<div horizontal around-justified layout> | |
<core-item id="core_item" label="Name" flex three horizontal center layout center-justified></core-item> | |
<core-item id="core_item1" label="ETA" flex horizontal center layout center-justified></core-item> | |
<core-item id="core_item2" label="Received" flex horizontal center layout center-justified></core-item> | |
<core-item id="core_item3" label="Size" flex horizontal center layout center-justified></core-item> | |
<core-item id="core_item4" label="Peers" flex horizontal center layout center-justified></core-item> | |
</div> | |
<paper-progress id="paper_progress" value="40"></paper-progress> | |
</div> | |
<div id="sitem"> | |
<div horizontal around-justified layout> | |
<core-item id="core_item" label="Name" flex three horizontal center layout center-justified></core-item> | |
<core-item id="core_item1" label="ETA" flex horizontal center layout center-justified></core-item> | |
<core-item id="core_item2" label="Received" flex horizontal center layout center-justified></core-item> | |
<core-item id="core_item3" label="Size" flex horizontal center layout center-justified></core-item> | |
<core-item id="core_item4" label="Peers" flex horizontal center layout center-justified></core-item> | |
</div> | |
<paper-progress id="paper_progress" value="40"></paper-progress> | |
</div> | |
<core-menu id="core_menu" valueattr="label" theme="core-light-theme"> | |
<core-item id="core_item_start" icon="cloud-download" label="Download" horizontal center layout></core-item> | |
<core-item id="core_item_stop" icon="cancel" label="Stop" horizontal center layout></core-item> | |
<core-item id="core_item_reset" icon="refresh" label="Refresh" horizontal center layout></core-item> | |
<core-item id="core_item_remove" icon="cloud-off" label="Remove" horizontal center layout active></core-item> | |
<core-item id="core_item_settings" icon="settings" label="Settings" horizontal center layout></core-item> | |
</core-menu> | |
</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