Last active
August 29, 2015 14:11
-
-
Save nakosung/40292c3e1e2181b8455d 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="../paper-slider/paper-slider.html"> | |
<link rel="import" href="../ace-element/ace-element.html"> | |
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-toast/paper-toast.html"> | |
<link rel="import" href="../paper-ripple/paper-ripple.html"> | |
<link rel="import" href="../paper-calculator/paper-calculator.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
left: 430px; | |
top: 140px; | |
position: absolute; | |
} | |
#paper_slider { | |
left: 840px; | |
top: 140px; | |
position: absolute; | |
} | |
#paper_slider1 { | |
left: 840px; | |
top: 190px; | |
position: absolute; | |
} | |
#paper_slider2 { | |
left: 850px; | |
top: 240px; | |
position: absolute; | |
} | |
#ace_element { | |
width: 400px; | |
height: 300px; | |
left: 880px; | |
top: 340px; | |
position: absolute; | |
} | |
#section { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 210px; | |
top: 50px; | |
position: absolute; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
#paper_toast { | |
left: 1090px; | |
top: 610px; | |
position: absolute; | |
} | |
#paper_toast1 { | |
left: 740px; | |
top: 570px; | |
position: absolute; | |
} | |
#paper_toast2 { | |
left: -215px; | |
top: -103px; | |
position: absolute; | |
} | |
#paper_toast3 { | |
left: -215px; | |
top: -103px; | |
position: absolute; | |
} | |
#paper_toast4 { | |
left: -215px; | |
top: -103px; | |
position: absolute; | |
} | |
#paper_toast5 { | |
left: -215px; | |
top: -103px; | |
position: absolute; | |
} | |
#paper_ripple { | |
width: 300px; | |
height: 300px; | |
left: 35px; | |
top: 407px; | |
position: absolute; | |
} | |
#paper_calculator { | |
width: 400px; | |
height: 560px; | |
left: 5px; | |
top: -3px; | |
position: absolute; | |
} | |
</style> | |
<paper-slider value="66" id="paper_slider"></paper-slider> | |
<paper-slider id="paper_slider1"></paper-slider> | |
<paper-slider id="paper_slider2"></paper-slider> | |
<ace-element id="ace_element">function test() { | |
var x = true; | |
}</ace-element> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout> | |
<paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab> | |
</paper-tabs> | |
<section id="section1" flex relative> | |
<paper-toast text="Toast!" id="paper_toast2" touch-action="none" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast3" touch-action="none" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast4" touch-action="none" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast5" touch-action="none" class="core-transition core-transition-bottom"></paper-toast> | |
<paper-ripple id="paper_ripple"></paper-ripple> | |
<paper-calculator responsivewidth="2000px" id="paper_calculator"></paper-calculator> | |
</section> | |
</section> | |
<google-map latitude="{{ $.paper_slider.value }}" longitude="{{ $.paper_slider1.value }}" zoom="{{ $.paper_slider2.value }}" id="google_map"></google-map> | |
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast> | |
<paper-toast text="Toast!" id="paper_toast1" touch-action="none" class="core-transition core-transition-bottom"></paper-toast> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment