Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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="../core-drawer-panel/core-drawer-panel.html">
- <link rel="import" href="../core-scaffold/core-scaffold.html">
- <link rel="import" href="../core-menu/core-menu.html">
- <link rel="import" href="../core-item/core-item.html">
- <link rel="import" href="../paper-button/paper-button.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">
- <polymer-element name="my-element">
- <template>
- <style>
- #core_header_panel {
- width: 100%;
- height: 100%;
- left: 20px;
- top: 0px;
- position: absolute;
- }
- #core_toolbar {
- background-color: rgb(0, 0, 0);
- color: rgb(255, 255, 255);
- }
- #section {
- height: 100%;
- background: linear-gradient(rgb(214, 227, 231), lightblue);
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- }
- #core_drawer_panel {
- position: absolute;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- #section1 {
- background-color: rgb(250, 250, 250);
- box-shadow: rgba(0, 0, 0, 0.098) 0px 2px 4px, rgba(0, 0, 0, 0.098) 0px 0px 3px;
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- #core_scaffold {
- position: absolute;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- #core_header_panel1 {
- background-color: rgb(255, 255, 255);
- left: 0px;
- top: 6px;
- position: absolute;
- }
- #core_toolbar1 {
- background-color: rgb(255, 255, 255);
- color: rgb(255, 255, 255);
- margin: 23px;
- }
- #core_menu {
- font-size: 16px;
- }
- #core_item {
- background-color: rgb(255, 255, 255);
- }
- #core_icon_button1 {
- left: 1780px;
- top: 710px;
- }
- #paper_icon_button {
- left: 1750px;
- top: 580px;
- }
- #paper_toggle_button {
- left: 1800px;
- top: 790px;
- }
- #div2 {
- height: 100%;
- width: 100%;
- overflow: hidden;
- left: 1820px;
- top: 680px;
- }
- #topeka_app {
- width: 300px;
- height: 300px;
- min-height: 450px;
- left: 1890px;
- top: 500px;
- }
- #topeka_categories {
- width: 300px;
- height: 300px;
- left: 1710px;
- top: 490px;
- }
- #paper_button {
- background-color: rgb(0, 0, 128);
- height: 50px;
- }
- #paper_tabs {
- width: 100%;
- background-color: rgb(0, 188, 212);
- color: rgb(255, 255, 255);
- box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
- left: 0px;
- top: 0px;
- position: absolute;
- height: 100%;
- }
- </style>
- <core-header-panel mode="standard" id="core_header_panel">
- <core-toolbar id="core_toolbar">
- <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
- <div id="div">Header</div>
- </core-toolbar>
- <section id="section">
- <core-drawer-panel transition selected="main" id="core_drawer_panel" touch-action>
- <section id="section1" drawer>
- <core-scaffold id="core_scaffold">
- <div id="div1" tool>Title</div>
- <core-header-panel mode="seamed" id="core_header_panel1" navigation flex>
- <core-toolbar id="core_toolbar1">
- <paper-button id="paper_button" one flex vertical layout>button</paper-button>
- </core-toolbar>
- <core-menu selected="Item2" valueattr="label" selectedindex="1" 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 active></core-item>
- </core-menu>
- </core-header-panel>
- </core-scaffold>
- </section>
- <paper-tabs selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
- <paper-tab id="paper_tab" inline flex center-center horizontal layout active>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>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-drawer-panel>
- </section>
- </core-header-panel>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Add Comment
Please, Sign In to add comment