Skip to content

Instantly share code, notes, and snippets.

@ismcagdas
Created July 2, 2014 14:26
Show Gist options
  • Save ismcagdas/1cfde6d50ff8978f5506 to your computer and use it in GitHub Desktop.
Save ismcagdas/1cfde6d50ff8978f5506 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map-directions.html">
<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="../core-tooltip/core-tooltip.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../paper-radio-group/paper-radio-group.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map_directions {
left: 830px;
top: 420px;
position: absolute;
}
#google_map_directions1 {
left: 560px;
top: 360px;
position: absolute;
}
#notification_alert {
left: 540px;
top: 410px;
position: absolute;
}
#notification_alert1 {
left: 900px;
top: 510px;
position: absolute;
}
#section {
left: 1170px;
top: 610px;
position: absolute;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: 0px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_tooltip {
left: 810px;
top: 560px;
position: absolute;
}
#paper_checkbox {
left: 710px;
top: 450px;
position: absolute;
}
#div1 {
left: 1080px;
top: 370px;
position: absolute;
}
#paper_icon_button {
left: 960px;
top: 560px;
position: absolute;
}
#paper_item {
left: 980px;
top: 630px;
position: absolute;
}
#paper_input {
left: 630px;
top: 560px;
position: absolute;
}
#section1 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 110px;
top: 140px;
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_progress {
left: 810px;
top: 260px;
position: absolute;
}
#paper_radio_button {
left: 1030px;
top: 400px;
position: absolute;
}
#paper_radio_group {
left: 1160px;
top: 340px;
position: absolute;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 1100px;
top: 440px;
position: absolute;
}
#paper_tab2 {
width: 120px;
height: 40px;
}
#paper_toast {
left: 650px;
top: 320px;
position: absolute;
}
#paper_toggle_button {
left: 780px;
top: 670px;
position: absolute;
}
</style>
<google-map-directions id="google_map_directions"></google-map-directions>
<google-map-directions id="google_map_directions1"></google-map-directions>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert1"></notification-alert>
<section id="section"></section>
<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>
<core-tooltip id="core_tooltip"></core-tooltip>
<div id="div1" layout horizontal>
</div>
<paper-icon-button icon="menu" id="paper_icon_button"></paper-icon-button>
<paper-input label="Type something..." id="paper_input"></paper-input>
<section id="section1" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab" active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1">ITEM TWO</paper-tab>
<paper-tab id="paper_tab2">TAB</paper-tab>
</paper-tabs>
<section id="section2" flex relative>
</section>
</section>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<paper-progress step="1" value="50" ratio="50" id="paper_progress"></paper-progress>
<paper-radio-button label="Radio Button" id="paper_radio_button"></paper-radio-button>
<paper-radio-group selected="Small" valueattr="label" selectedindex="0" id="paper_radio_group">
<paper-radio-button checked label="Small" id="paper_radio_button1"></paper-radio-button>
<paper-radio-button label="Medium" id="paper_radio_button2"></paper-radio-button>
<paper-radio-button label="Large" id="paper_radio_button3"></paper-radio-button>
</paper-radio-group>
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item>
<paper-ripple id="paper_ripple"></paper-ripple>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom"></paper-toast>
<paper-toggle-button id="paper_toggle_button" touch-action="pan-y"></paper-toggle-button>
</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