Skip to content

Instantly share code, notes, and snippets.

@xmeta
Last active August 29, 2015 14:07
Show Gist options
  • Save xmeta/3d0e70f16a3b3f9f87d4 to your computer and use it in GitHub Desktop.
Save xmeta/3d0e70f16a3b3f9f87d4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-tooltip/core-tooltip.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-header-panel/core-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#core_toolbar {
right: 0px;
left: 0px;
color: rgb(255, 255, 255);
fill: rgb(255, 255, 255);
top: -4px;
position: absolute;
background-color: rgb(79, 125, 201);
}
#core_tooltip {
left: 620px;
top: 280px;
position: absolute;
}
#core_submenu {
left: 1060px;
top: 630px;
padding: 10px;
}
#core_menu_button {
left: 1040px;
top: 700px;
}
#core_item {
left: 648px;
top: 10px;
position: absolute;
}
#core_item2 {
left: 308px;
top: 10px;
position: absolute;
}
#core_item3 {
left: 458px;
top: 10px;
position: absolute;
}
#core_item4 {
left: 788px;
top: 10px;
position: absolute;
}
#core_menu {
font-size: 16px;
left: 198px;
top: -10px;
position: absolute;
}
#core_submenu2 {
left: 1000px;
top: 620px;
}
#core_menu1 {
font-size: 16px;
left: 1040px;
top: 630px;
}
#core_item10 {
padding: 10px;
}
#core_item9 {
padding: 10px;
}
#core_submenu1 {
padding: 10px;
}
#core_header_panel {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_toolbar1 {
color: rgb(255, 255, 255);
background-color: rgb(79, 125, 201);
}
#section {
height: 1000px;
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
}
#section1 {
width: 100%;
height: 100%;
border: 5px solid rgb(204, 204, 204);
left: 0px;
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);
}
#paper_toast {
left: -315px;
top: -203px;
position: absolute;
}
</style>
<core-tooltip id="core_tooltip"></core-tooltip>
<core-header-panel mode="standard" id="core_header_panel">
<core-toolbar id="core_toolbar1">
<div id="div1">サンプル株式会社</div>
</core-toolbar>
<section id="section">
<paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs">
<paper-tab id="paper_tab3" active>企業情報</paper-tab>
<paper-tab id="paper_tab4">事業内容</paper-tab>
<paper-tab id="paper_tab1" active>プレスリリース</paper-tab>
<paper-tab id="paper_tab5">採用情報</paper-tab>
</paper-tabs>
</section>
</core-header-panel>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment