Last active
August 29, 2015 14:06
-
-
Save rikbosch/2a13cab0c08047d1a7df 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="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../google-map/google-map.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="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#notification_alert { | |
left: 800px; | |
top: 500px; | |
position: absolute; | |
} | |
#notification_alert1 { | |
left: 720px; | |
top: 470px; | |
position: absolute; | |
} | |
#google_map { | |
width: 1150px; | |
height: 420px; | |
display: block; | |
left: 30px; | |
top: 90px; | |
position: absolute; | |
} | |
#core_toolbar { | |
right: 0px; | |
left: 20px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 20px; | |
position: absolute; | |
background-color: rgb(79, 125, 201); | |
} | |
#paper_tabs { | |
width: 1170px; | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
left: 20px; | |
top: 540px; | |
position: absolute; | |
height: 50px; | |
background-color: rgb(0, 188, 212); | |
} | |
#paper_toast { | |
left: 650px; | |
top: 710px; | |
position: absolute; | |
} | |
#paper_toast1 { | |
left: 410px; | |
top: 650px; | |
position: absolute; | |
} | |
#paper_input { | |
left: 70px; | |
top: 650px; | |
position: absolute; | |
} | |
#paper_item { | |
left: 630px; | |
top: 650px; | |
position: absolute; | |
} | |
</style> | |
<p>{{greeting}}</p> | |
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button active icon="menu" id="core_icon_button" class="selected"></core-icon-button> | |
<div id="div" flex>Toolbar</div> | |
</core-toolbar> | |
<google-map id="google_map"></google-map> | |
<paper-tabs selected="3" selectedindex="3" id="paper_tabs"> | |
<paper-tab id="paper_tab">ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1">ITEM TWO</paper-tab> | |
<paper-tab id="paper_tab2">ITEM THREE</paper-tab> | |
<paper-tab id="paper_tab3" active>{{ greeting }}</paper-tab> | |
<paper-tab id="paper_tab4">ITEM 5</paper-tab> | |
</paper-tabs> | |
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast> | |
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item> | |
<paper-input label="Type something..." willvalidate inputvalue="{{ name }}" value="{{ name }}" id="paper_input" layout vertical></paper-input> | |
</template> | |
<script> | |
Polymer('my-element', { | |
ready: function (){ | |
}, | |
get greeting(){ | |
return 'hello' + this.name; | |
}, | |
name: '' | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment