Advertisement
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-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">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #core_scroll_header_panel {
- width: 100%;
- height: 100%;
- left: 0px;
- top: 0px;
- position: absolute;
- }
- #core_toolbar {
- color: rgb(241, 241, 241);
- fill: rgb(241, 241, 241);
- background-color: rgb(66, 133, 244);
- }
- #section {
- height: 100%;
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
- }
- #paper_tabs {
- color: rgb(255, 255, 255);
- box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
- width: 60%;
- left: 278px;
- top: 0px;
- position: absolute;
- height: 100%;
- background-color: rgb(0, 128, 255);
- }
- </style>
- <core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel">
- <core-toolbar id="core_toolbar" class="tall">
- <core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
- <div id="div" one flex></div>
- <core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
- <core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
- <div id="div1" class="bottom indent">Title</div>
- <paper-tabs selected="3" selectedindex="3" id="paper_tabs" horizontal center layout center-justified>
- <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>ITEM THREE</paper-tab>
- <paper-tab id="paper_tab3" inline flex center-center horizontal layout active>ITEM FOUR</paper-tab>
- <paper-tab id="paper_tab4" inline flex center-center horizontal layout>ITEM FIVE</paper-tab>
- </paper-tabs>
- </core-toolbar>
- <section id="section" content horizontal layout></section>
- </core-scroll-header-panel>
- </template>
- <script>
- Polymer({
- showRoad: function () {
- this.$.google_map.mapType="roadmap";
- },
- showSat: function () {
- this.$.google_map.mapType="satellite";
- }
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement