Skip to content

Instantly share code, notes, and snippets.

@jmgeffroy
Created June 15, 2014 11:46
Show Gist options
  • Save jmgeffroy/c123ae9d7ce3d8e2890b to your computer and use it in GitHub Desktop.
Save jmgeffroy/c123ae9d7ce3d8e2890b to your computer and use it in GitHub Desktop.

Revisions

  1. jmgeffroy created this gist Jun 15, 2014.
    53 changes: 53 additions & 0 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,53 @@
    <link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
    <link rel="import" href="../core-icon-button/core-icon-button.html">

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

    <template>
    <style>
    :host {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    }
    #core_drawer_panel {
    position: absolute;
    top: -10px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    }
    #section {
    background-color: rgb(250, 250, 250);
    box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
    }
    #section1 {
    height: 100%;
    box-sizing: border-box;
    background-color: rgb(221, 221, 221);
    }
    #core_icon {
    height: 24px;
    width: 24px;
    left: 190px;
    top: -50px;
    }
    </style>
    <core-drawer-panel id="core_drawer_panel">
    <section id="section" drawer>
    <core-icon-button icon="menu" id="core_icon_button" theme="core-light-theme"></core-icon-button>
    </section>
    <section id="section1" main></section>
    </core-drawer-panel>
    </template>

    <script>

    Polymer('my-element', {

    });

    </script>

    </polymer-element>