Skip to content

Instantly share code, notes, and snippets.

@mcarv63
Created July 23, 2015 08:02
Show Gist options
  • Select an option

  • Save mcarv63/8cad1cbac32fa64b17d8 to your computer and use it in GitHub Desktop.

Select an option

Save mcarv63/8cad1cbac32fa64b17d8 to your computer and use it in GitHub Desktop.

Revisions

  1. mcarv63 created this gist Jul 23, 2015.
    99 changes: 99 additions & 0 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,99 @@
    <link rel="import" href="../core-icon-button/core-icon-button.html">
    <link rel="import" href="../core-toolbar/core-toolbar.html">
    <link rel="import" href="../paper-tabs/paper-tabs.html">
    <link rel="import" href="../paper-tabs/paper-tab.html">
    <link rel="import" href="../core-icons/core-icons.html">
    <link rel="import" href="../core-icons/av-icons.html">
    <link rel="import" href="../paper-fab/paper-fab.html">

    <polymer-element name="my-element">

    <template>
    <style>
    :host {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    }
    #core_toolbar {
    right: 0px;
    left: 0px;
    color: rgb(255, 255, 255);
    fill: rgb(255, 255, 255);
    top: 0px;
    position: absolute;
    background-color: rgb(79, 125, 201);
    }
    #paper_tabs {
    width: 480px;
    color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
    left: 510px;
    top: 90px;
    position: absolute;
    background-color: rgb(0, 188, 212);
    }
    #div1 {
    left: 710px;
    top: 510px;
    position: absolute;
    }
    #section {
    width: 420px;
    height: 630px;
    border: 5px solid rgb(204, 204, 204);
    left: 130px;
    top: 190px;
    position: absolute;
    }
    #paper_tabs1 {
    color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
    background-color: rgb(0, 188, 212);
    }
    #core_card {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
    left: 65px;
    top: 117px;
    background-color: rgb(255, 255, 255);
    }
    </style>
    <core-toolbar id="core_toolbar">
    <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
    <div id="div" flex>Toolbar</div>
    </core-toolbar>
    <paper-tabs selected="4" selectedindex="4" 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>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 active>ITEM FIVE</paper-tab>
    </paper-tabs>
    <div id="div1" layout horizontal>
    <paper-fab icon="check" id="paper_fab"></paper-fab>
    </div>
    <section id="section" layout vertical>
    <paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs1" horizontal center layout>
    <paper-tab id="paper_tab5" inline flex center-center horizontal layout>ITEM ONE</paper-tab>
    <paper-tab id="paper_tab6" inline flex center-center horizontal layout active>ITEM TWO</paper-tab>
    </paper-tabs>
    <section id="section1" flex relative>
    <core-card id="core_card" layout vertical></core-card>
    </section>
    </section>
    </template>

    <script>

    Polymer({

    });

    </script>

    </polymer-element>