Skip to content

Instantly share code, notes, and snippets.

@ngbinh
Last active August 29, 2015 14:06
Show Gist options
  • Save ngbinh/7510ca48f6269563e71a to your computer and use it in GitHub Desktop.
Save ngbinh/7510ca48f6269563e71a 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="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-profile.html">
<link rel="import" href="../paper-toast/paper-toast.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-progress/paper-progress.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="../core-menu/core-submenu.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_icon {
height: 64px;
width: 64px;
left: 1080px;
top: 630px;
position: absolute;
}
#core_selector {
left: 1580px;
top: 730px;
position: absolute;
}
#core_icon1 {
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_icon2 {
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_icon3 {
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;
}
#topeka_profile {
width: 300px;
height: 300px;
left: 1460px;
top: 1020px;
position: relative;
}
#topeka_profile1 {
width: 300px;
height: 300px;
left: 230px;
top: 440px;
position: absolute;
}
#core_icon4 {
height: 64px;
width: 64px;
left: 1390px;
top: 800px;
position: absolute;
}
#paper_toast {
left: 1360px;
top: 300px;
position: absolute;
}
#paper_input {
left: 1480px;
top: 320px;
position: absolute;
}
#paper_tabs {
width: 480px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 1670px;
top: 440px;
position: absolute;
background-color: rgb(0, 188, 212);
}
#paper_progress {
left: 1080px;
top: 330px;
position: absolute;
}
#core_scaffold {
position: absolute;
top: 210px;
right: 0px;
bottom: 0px;
left: 490px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#core_menu {
font-size: 16px;
}
</style>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar"></core-icon>
<core-selector selected="0" selectedindex="0" id="core_selector" flex layout horizontal>
<core-icon icon="avatars:avatar-1" id="core_icon1" designmeta="topeka-avatar" active></core-icon>
<core-icon icon="avatars:avatar-2" id="core_icon2" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-3" id="core_icon3" designmeta="topeka-avatar"></core-icon>
</core-selector>
<topeka-profile id="topeka_profile" center horizontal layout wrap-reverse></topeka-profile>
<topeka-profile id="topeka_profile1" center layout vertical></topeka-profile>
<core-icon icon="avatars:avatar-1" id="core_icon4" designmeta="topeka-avatar"></core-icon>
<paper-toast text="Toast!" id="paper_toast" class="core-transition core-transition-bottom" touch-action="none"></paper-toast>
<paper-input label="Type something..." willvalidate id="paper_input" layout vertical></paper-input>
<paper-tabs 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">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-progress id="paper_progress"></paper-progress>
<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu valueattr="label" id="core_menu" theme="core-light-theme">
<core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
<core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>Title</div>
</core-scaffold>
</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