Skip to content

Instantly share code, notes, and snippets.

@ramainen
Last active August 29, 2015 14:09
Show Gist options
  • Save ramainen/95314a9e38b6b7b421ce to your computer and use it in GitHub Desktop.
Save ramainen/95314a9e38b6b7b421ce to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#smoothie_chart {
left: 960px;
top: 520px;
}
#notification_alert {
left: 940px;
top: 430px;
}
#cool_clock {
width: 400px;
height: 300px;
left: 1040px;
top: 520px;
}
#core_selector {
left: 20px;
top: 600px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon1 {
height: 64px;
width: 64px;
margin: 0px 8px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon2 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#paper_button {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
#core_field {
left: 510px;
top: 250px;
position: absolute;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 710px;
top: 270px;
position: absolute;
}
#section2 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 30px;
top: 0px;
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);
}
#core_card {
position: absolute;
width: 450px;
height: 230px;
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: 530px;
top: 100px;
background-color: rgb(255, 255, 255);
}
#paper_checkbox1 {
left: 135px;
top: 137px;
position: absolute;
}
#paper_input1 {
left: 75px;
top: 257px;
position: absolute;
}
#paper_item {
left: 121.53125px;
top: 207px;
position: absolute;
}
#paper_calculator {
width: 400px;
height: 560px;
left: 490px;
top: 350px;
position: absolute;
}
#paper_toggle_button {
left: -38.46875px;
top: -53px;
position: absolute;
}
#section4 {
width: 420px;
height: 630px;
border: 5px solid rgb(204, 204, 204);
left: 1080px;
top: 160px;
position: absolute;
}
#paper_tabs1 {
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
background-color: rgb(0, 188, 212);
}
#paper_toggle_button1 {
left: 480px;
top: 660px;
position: absolute;
}
</style>
<core-selector selected="0" selectedindex="0" id="core_selector" flex layout horizontal>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar" active></core-icon>
<core-icon icon="avatars:avatar-2" id="core_icon1" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-3" id="core_icon2" designmeta="topeka-avatar"></core-icon>
</core-selector>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon3"></core-icon>
<core-input id="core_input" flex></core-input>
</core-field>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section" active>Page One</section>
<section id="section1">Page Two</section>
</core-pages>
<core-card id="core_card" layout vertical>
<core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button>
<paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
</core-card>
<section id="section2" layout vertical>
<paper-tabs noink nobar selected="2" id="paper_tabs" horizontal center layout>
<paper-tab id="paper_tab" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
<paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section3" flex relative>
<paper-checkbox label="click me" id="paper_checkbox1"></paper-checkbox>
<paper-input label="Type something..." floatinglabel id="paper_input1"></paper-input>
<paper-button raised id="paper_button">
<paper-item label="Item" icon="settings" id="paper_item" center horizontal layout></paper-item>
<paper-toggle-button id="paper_toggle_button"></paper-toggle-button>
</paper-button>
</section>
</section>
<paper-calculator id="paper_calculator" responsivewidth="2000px"></paper-calculator>
<section id="section4" layout vertical>
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs1" horizontal center layout>
<paper-tab id="paper_tab2" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
</paper-tabs>
<section id="section5" flex relative>
</section>
</section>
<paper-toggle-button id="paper_toggle_button1"></paper-toggle-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment