Skip to content

Instantly share code, notes, and snippets.

@JGSolutions
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JGSolutions/ed5dbf7dd6767aedeb72 to your computer and use it in GitHub Desktop.
Save JGSolutions/ed5dbf7dd6767aedeb72 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../notification-elements/notification-alert.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-scroll-header-panel/core-scroll-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#notification_alert {
left: 1060px;
top: 360px;
position: absolute;
}
#core_scroll_header_panel {
width: 520px;
height: 760px;
left: 490px;
top: 70px;
position: absolute;
}
#section {
height: 5000px;
left: -20px;
top: 260px;
position: absolute;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#paper_tabs {
width: 520px;
color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
left: 0px;
top: 190px;
position: absolute;
height: 60px;
background-color: rgb(0, 188, 212);
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 1080px;
top: 320px;
position: absolute;
}
#core_selector {
left: 170px;
top: 410px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
border-radius: 50%;
overflow: hidden;
}
#core_icon1 {
height: 64px;
width: 64px;
margin: 0px 8px;
border-radius: 50%;
overflow: hidden;
}
#core_icon2 {
height: 64px;
width: 64px;
border-radius: 50%;
overflow: hidden;
}
</style>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<core-scroll-header-panel prevscrolltop="400" headermargin="128" condenses headerheight="192" id="core_scroll_header_panel">
<section id="section" content></section>
<paper-tabs selected="2" selectedindex="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-tab id="paper_tab2" inline flex center-center horizontal layout active>ITEM THREE</paper-tab>
<paper-tab id="paper_tab3" inline flex center-center horizontal layout>ITEM FOUR</paper-tab>
<paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
</paper-tabs>
<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-scroll-header-panel>
<topeka-app selected="profile" disableleaderboard id="topeka_app" vertical layout></topeka-app>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment