Skip to content

Instantly share code, notes, and snippets.

@alensiljak
Last active August 29, 2015 14:06
Show Gist options
  • Save alensiljak/cfba05ef6571e017f31c to your computer and use it in GitHub Desktop.
Save alensiljak/cfba05ef6571e017f31c to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.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="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.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="../cool-clock/cool-clock.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu {
font-size: 16px;
left: 2px;
top: 282px;
position: absolute;
width: 230px;
height: 410px;
}
#core_submenu {
left: 10px;
top: 180px;
position: absolute;
}
#notification_alert {
left: 590px;
top: 560px;
position: absolute;
}
#notification_alert1 {
left: 880px;
top: 710px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 300px;
top: 150px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#core_icon {
height: 64px;
width: 64px;
left: 188px;
top: 0px;
position: absolute;
}
#core_icon1 {
height: 70px;
width: 70px;
left: 8px;
top: 0px;
position: absolute;
}
#core_field {
left: 340px;
top: 120px;
position: absolute;
}
#core_ajax {
left: 1200px;
top: 50px;
position: absolute;
}
#core_ajax1 {
left: 1130px;
top: 80px;
position: absolute;
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#core_header_panel1 {
background-color: rgb(255, 255, 255);
}
#core_toolbar1 {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu1 {
font-size: 16px;
}
#cool_clock {
width: 400px;
height: 300px;
left: 310px;
top: 310px;
position: absolute;
}
</style>
<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>
<core-ajax handleas="json" method="GET" id="core_ajax" hidden></core-ajax>
<core-ajax url="www.google.com" handleas="json" method="GET" id="core_ajax1"></core-ajax>
<core-scaffold responsivewidth="250px" id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel1" navigation flex>
<core-toolbar id="core_toolbar1">
<core-icon icon="category-icons:science" id="core_icon1" designmeta="topeka-icon"></core-icon>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
</core-toolbar>
<core-menu selected="Item2" valueattr="label" selectedindex="1" id="core_menu1" theme="core-light-theme">
<core-item id="core_item8" icon="settings" label="Item1" horizontal center layout></core-item>
<core-item id="core_item9" icon="settings" label="Item2" horizontal center layout active></core-item>
</core-menu>
<core-submenu id="core_submenu" icon="settings" label="Topics">
<core-item id="core_item" label="Topic 1" horizontal center layout></core-item>
<core-item id="core_item1" label="Topic 2" horizontal center layout></core-item>
</core-submenu>
<core-menu selected="0" selectedindex="0" id="core_menu" vertical layout>
<core-submenu opened active id="core_submenu1" icon="settings" label="Favorites">
<core-item id="core_item2" label="Favorite 1" horizontal center layout></core-item>
<core-item id="core_item3" label="Favorite 2" horizontal center layout></core-item>
<core-item id="core_item4" label="Favorite 3" horizontal center layout></core-item>
</core-submenu>
</core-menu>
</core-header-panel>
<div id="div1" tool>Title</div>
<paper-tabs selected="2" selectedindex="2" 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" active>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4">ITEM FIVE</paper-tab>
</paper-tabs>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon icon="search" id="core_icon2"></core-icon>
<core-input willvalidate placeholder="text input" id="core_input" flex></core-input>
</core-field>
<cool-clock skin="Cold" id="cool_clock"></cool-clock>
</core-scaffold>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment