Last active
August 29, 2015 14:18
-
-
Save reedjones/f69c72cde5abbe3a9d99 to your computer and use it in GitHub Desktop.
single layout with iframe
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-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/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_toolbar { | |
right: 0px; | |
left: -10px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
background-color: rgb(79, 125, 201); | |
} | |
#paper_fab { | |
left: 10px; | |
top: 550px; | |
position: absolute; | |
} | |
#div1 { | |
left: 770px; | |
top: 550px; | |
position: absolute; | |
} | |
#div2 { | |
left: 930px; | |
top: 550px; | |
position: absolute; | |
} | |
#div3 { | |
left: 850px; | |
top: 550px; | |
position: absolute; | |
} | |
#core_card { | |
position: absolute; | |
width: 800px; | |
height: 400px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 90px; | |
top: 100px; | |
background-color: rgb(255, 255, 255); | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab> | |
<div id="div1" layout horizontal> | |
<paper-fab icon="check" id="paper_fab1"></paper-fab> | |
</div> | |
<div id="div2" layout horizontal> | |
<paper-fab icon="check" id="paper_fab2"></paper-fab> | |
</div> | |
<div id="div3" layout horizontal> | |
<paper-fab icon="check" id="paper_fab3"></paper-fab> | |
</div> | |
<core-card id="core_card" layout vertical></core-card> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
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-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/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_toolbar { | |
right: 0px; | |
left: -10px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 0px; | |
position: absolute; | |
background-color: rgb(79, 125, 201); | |
} | |
#paper_fab { | |
left: 100px; | |
top: 510px; | |
position: absolute; | |
} | |
#div1 { | |
left: 770px; | |
top: 550px; | |
position: absolute; | |
} | |
#div2 { | |
left: 930px; | |
top: 550px; | |
position: absolute; | |
} | |
#div3 { | |
left: 850px; | |
top: 550px; | |
position: absolute; | |
} | |
#core_card { | |
position: absolute; | |
width: 800px; | |
height: 400px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 90px; | |
top: 100px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_tooltip { | |
left: 60px; | |
top: 580px; | |
position: absolute; | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="menu" id="core_icon_button"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
<div id="div1" layout horizontal> | |
<paper-fab icon="check" id="paper_fab1"></paper-fab> | |
</div> | |
<div id="div2" layout horizontal> | |
<paper-fab icon="check" id="paper_fab2"></paper-fab> | |
</div> | |
<div id="div3" layout horizontal> | |
<paper-fab icon="check" id="paper_fab3"></paper-fab> | |
</div> | |
<core-card id="core_card" layout vertical> | |
<content select="iframe"></content> | |
</core-card> | |
<paper-fab icon="av:play-arrow" id="paper_fab"> | |
</paper-fab> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment