Skip to content

Instantly share code, notes, and snippets.

@tieorange
Last active August 29, 2015 14:11
Show Gist options
  • Save tieorange/ca6733b308049a686e0e to your computer and use it in GitHub Desktop.
Save tieorange/ca6733b308049a686e0e to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<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/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-slider/paper-slider.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_fab {
left: 0px;
top: 0px;
position: absolute;
}
#div {
left: 1230px;
top: 590px;
position: absolute;
}
#paper_toast {
left: 1160px;
top: 690px;
position: absolute;
}
#paper_toast1 {
left: 1010px;
top: 740px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 0px;
top: 0px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_input {
left: 10px;
top: 60px;
position: absolute;
width: 250px;
height: 30px;
}
#paper_toast2 {
left: -60px;
top: -150px;
}
#paper_toggle_button {
left: 60px;
top: 10px;
position: absolute;
width: 60px;
height: 20px;
}
#div3 {
position: absolute;
color: rgb(255, 255, 255);
bottom: 50px;
right: 24px;
}
#paper_fab2 {
background-color: rgb(255, 64, 129);
}
#topeka_datasource {
left: 500px;
top: 240px;
position: absolute;
}
#core_menu {
font-size: 16px;
left: 860px;
top: 380px;
position: absolute;
}
#paper_checkbox {
left: 10px;
top: 130px;
position: absolute;
width: 150px;
height: 30px;
}
#paper_item {
left: 840px;
top: 360px;
position: absolute;
}
#paper_ripple {
width: 300px;
height: 300px;
left: 1250px;
top: 530px;
position: absolute;
}
#paper_slider {
left: 150px;
top: 0px;
position: absolute;
width: 100px;
height: 40px;
}
#paper_calculator {
width: 280px;
height: 290px;
left: 0px;
top: 220px;
position: absolute;
}
#core_field {
left: 910px;
top: 200px;
position: absolute;
}
#paper_item1 {
left: 0px;
top: 190px;
position: absolute;
}
</style>
<div id="div" layout horizontal>
</div>
<paper-toast text="Toast!" id="paper_toast" class="core-transition-bottom core-transition" touch-action="none"></paper-toast>
<paper-toast text="Toast!" id="paper_toast1" touch-action="none" class="core-transition-bottom core-transition"></paper-toast>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
<core-menu selected="0" id="core_menu">
</core-menu>
<paper-item id="paper_item" icon="settings" label="Item"></paper-item>
<paper-ripple id="paper_ripple"></paper-ripple>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-input id="core_input" flex></core-input>
</core-field>
<paper-fab icon="av:play-arrow" id="paper_fab"></paper-fab>
<paper-toggle-button checked id="paper_toggle_button"></paper-toggle-button>
<paper-slider value="35" id="paper_slider"></paper-slider>
<paper-input label="How are u doing Christa?" floatinglabel committedvalue="How are u doing?" id="paper_input"></paper-input>
<paper-calculator responsivewidth="2000px" expression="666" id="paper_calculator"></paper-calculator>
<paper-checkbox label="Tuch me. Rape me" id="paper_checkbox"></paper-checkbox>
<paper-item id="paper_item1" icon="settings" label="Item">Yeah, u may calculate some stuff...</paper-item>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment