Created
June 25, 2014 22:41
-
-
Save chromy/8ca98012148998491203 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-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/iconsets/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_card { | |
width: 400px; | |
height: 200px; | |
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; | |
position: relative; | |
background-color: rgb(255, 255, 255); | |
} | |
#paper_ripple { | |
width: 300px; | |
height: 300px; | |
left: 1240px; | |
top: 490px; | |
} | |
#description { | |
font-size: 20px; | |
padding: 20px; | |
} | |
#paper_toggle_button { | |
width: 100%; | |
height: 100%; | |
} | |
#paper_button { | |
width: 80%; | |
} | |
#core_header_panel { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section { | |
height: 1000px; | |
width: 600px; | |
margin: 20px; | |
} | |
#play-button { | |
position: absolute; | |
bottom: 0px; | |
right: 0px; | |
margin: 10px; | |
} | |
</style> | |
<core-header-panel id="core_header_panel"> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button id="core_icon_button" icon="menu"></core-icon-button> | |
<div id="div">Header</div> | |
</core-toolbar> | |
<section id="section" vertical layout center> | |
<core-card id="core_card" center class="video_card" horizontal layout> | |
<div id="description">A slightly camp american coaxing a giant owl off a curtain rail and out though a window with a broom.</div> | |
<paper-fab id="play-button" icon="av:play-arrow"></paper-fab> | |
</core-card> | |
</section> | |
</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