Skip to content

Instantly share code, notes, and snippets.

@gimite
Created August 19, 2014 14:18
Show Gist options
  • Save gimite/e172a683420e43be7bc7 to your computer and use it in GitHub Desktop.
Save gimite/e172a683420e43be7bc7 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_card {
position: absolute;
width: 300px;
height: 300px;
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;
left: 300px;
top: 30px;
background-color: rgb(255, 255, 255);
}
#section {
left: 780px;
top: 350px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 730px;
top: 330px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_tab5 {
width: 480px;
height: 150px;
left: 730px;
top: 380px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 90px;
top: 350px;
position: absolute;
}
#notification_alert {
left: 920px;
top: 200px;
position: absolute;
}
#notification_alert1 {
left: 880px;
top: 120px;
position: absolute;
}
</style>
<core-card id="core_card" layout vertical>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon id="core_icon" icon="search"></core-icon>
<core-input placeholder="text input" inputvalue="aaaa" value="aaaa" id="core_input" flex></core-input>
</core-field>
<paper-button label="Paper Button" id="paper_button">
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
<paper-checkbox label="click me" id="paper_checkbox1"></paper-checkbox>
</paper-button>
<paper-checkbox label="click me" id="paper_checkbox2"></paper-checkbox>
<div id="div" layout horizontal>
<paper-fab icon="check" id="paper_fab1"></paper-fab>
</div>
<paper-toggle-button id="paper_toggle_button"></paper-toggle-button>
</core-card>
<section id="section"></section>
<paper-tabs id="paper_tabs" selected="0">
<paper-tab id="paper_tab" active>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">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
</paper-tabs>
<paper-tab id="paper_tab5">TAB</paper-tab>
<google-map id="google_map"></google-map>
<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>
</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