Skip to content

Instantly share code, notes, and snippets.

@megamegax
Created July 28, 2014 05:24
Show Gist options
  • Save megamegax/ba80d7f8852d41d76892 to your computer and use it in GitHub Desktop.
Save megamegax/ba80d7f8852d41d76892 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../notification-elements/notification-alert.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-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.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;
top: 0px;
left: 0px;
}
#paper_tab3 {
left: 1130px;
top: 440px;
position: absolute;
}
#paper_tab2 {
left: 710px;
top: 100px;
position: absolute;
}
#notification_alert {
left: 790px;
top: 500px;
position: absolute;
}
#div {
left: 890px;
top: 250px;
position: absolute;
}
#core_scaffold {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}
#core_header_panel {
background-color: rgb(255, 255, 255);
}
#core_toolbar {
color: rgb(255, 255, 255);
background-color: rgb(241, 197, 0);
}
#core_menu {
font-size: 16px;
}
#core_card {
width: 300px;
height: 300px;
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;
background-color: rgb(255, 255, 255);
}
#core_icon {
height: 100%;
width: 100%;
}
#image {
height: 100px;
width: 100px;
opacity: 1;
background-image: url(http://www.click4skill.hu/_img/logo.png);
background-size: 100px 100px;
background-position: 50% 50%;
}
</style>
<paper-tab id="paper_tab3">ITEM FOUR</paper-tab>
<paper-tab id="paper_tab2">ITEM THREE</paper-tab>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<div id="div" layout horizontal>
</div>
<core-scaffold id="core_scaffold">
<div id="div1" tool>Click4Skill</div>
<core-card id="core_card" layout vertical></core-card>
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar">
<core-icon src="http://www.click4skill.hu/_img/logo.png" size="100" id="image" center horizontal layout around-justified></core-icon>
</core-toolbar>
<core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme">
<core-item label="Item1" icon="settings" size="24" id="core_item" horizontal center layout active></core-item>
<core-item label="Item2" icon="settings" size="24" id="core_item1" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
</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