Last active
August 29, 2015 14:08
-
-
Save 0xcaff/ee7308077e2ce3bc1454 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="../paper-progress/paper-progress.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
p { | |
font-family: Roboto, sans-serif; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
background-color: rgb(0, 188, 212); | |
} | |
.list-container { | |
margin-top: 8px; | |
} | |
core-card { | |
margin: 0px auto; | |
max-width: 8in; | |
min-height: 0.4in; | |
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; | |
background-color: rgb(255, 255, 255); | |
} | |
core-card .in { | |
padding: 0px 16px; | |
} | |
paper-progress { | |
width: 100%; | |
} | |
paper-progress::shadow #activeProgress { | |
background-color: rgb(0, 151, 167); | |
} | |
#paper_progress { | |
width: 100%; | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div" flex>JS Torrent</div> | |
<core-icon-button icon="add" id="add"></core-icon-button> | |
<core-icon-button icon="help" id="help"></core-icon-button> | |
<core-icon-button icon="settings" id="settings"></core-icon-button> | |
</core-toolbar> | |
<div class="list-container"> | |
<core-card id="core_card" layout vertical> | |
<div id="div1" class="in"> | |
<p id="p">Iron Man 2 (2010) [1080p]</p> | |
</div> | |
<paper-progress value="50" ratio="50" id="paper_progress"></paper-progress> | |
</core-card> | |
</div> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment