Skip to content

Instantly share code, notes, and snippets.

@abhinavsinghvi
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save abhinavsinghvi/9fc34c73a88e44e745b4 to your computer and use it in GitHub Desktop.

Select an option

Save abhinavsinghvi/9fc34c73a88e44e745b4 to your computer and use it in GitHub Desktop.

Revisions

  1. abhinavsinghvi revised this gist Sep 14, 2014. 1 changed file with 49 additions and 4 deletions.
    53 changes: 49 additions & 4 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,15 @@
    <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-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="../core-menu/core-submenu.html">
    <link rel="import" href="../core-input/core-input.html">
    <link rel="import" href="../paper-progress/paper-progress.html">
    <link rel="import" href="../paper-slider/paper-slider.html">
    <link rel="import" href="../paper-radio-button/paper-radio-button.html">
    <link rel="import" href="../paper-toggle-button/paper-toggle-button.html">

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

    @@ -26,9 +35,9 @@
    background-color: rgb(255, 255, 255);
    }
    #core_header_panel {
    width: 300px;
    height: 400px;
    left: 40px;
    width: 1000px;
    height: 1000px;
    left: 10px;
    top: 20px;
    position: absolute;
    }
    @@ -40,13 +49,49 @@
    height: 1000px;
    background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
    }
    #core_input {
    padding: 15px;
    }
    #core_scaffold {
    right: 0px;
    bottom: 0px;
    }
    #core_header_panel1 {
    background-color: rgb(255, 255, 255);
    }
    #core_toolbar1 {
    color: rgb(255, 255, 255);
    background-color: rgb(79, 125, 201);
    }
    #core_menu {
    font-size: 16px;
    }
    </style>
    <core-header-panel mode="standard" id="core_header_panel">
    <section id="section">
    <core-toolbar id="core_toolbar">
    <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
    <div id="div">Abhinav</div>
    <div id="div">Appointment Booking</div>
    <core-scaffold id="core_scaffold">
    <core-header-panel mode="seamed" id="core_header_panel1" navigation flex>
    <core-toolbar id="core_toolbar1"></core-toolbar>
    <core-menu valueattr="label" 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></core-item>
    </core-menu>
    </core-header-panel>
    <div id="div1" tool>Title</div>
    </core-scaffold>
    </core-toolbar>
    <section id="section1"></section>
    <section id="section2"></section>
    <core-input willvalidate placeholder="Type something..." id="core_input"></core-input>
    <paper-progress id="paper_progress"></paper-progress>
    <paper-slider value="63" id="paper_slider"></paper-slider>
    <paper-radio-button label="Radio Button" id="paper_radio_button"></paper-radio-button>
    <paper-radio-button label="Radio Button" id="paper_radio_button1"></paper-radio-button>
    <paper-toggle-button id="paper_toggle_button"></paper-toggle-button>
    <section id="section3"></section>
    </section>
    </core-header-panel>
    </template>
  2. abhinavsinghvi created this gist Sep 14, 2014.
    62 changes: 62 additions & 0 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,62 @@
    <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">

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

    <template>
    <style>
    :host {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    }
    #core_card {
    position: absolute;
    width: 300px;
    height: 300px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
    left: 1020px;
    top: 410px;
    background-color: rgb(255, 255, 255);
    }
    #core_header_panel {
    width: 300px;
    height: 400px;
    left: 40px;
    top: 20px;
    position: absolute;
    }
    #core_toolbar {
    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));
    }
    </style>
    <core-header-panel mode="standard" id="core_header_panel">
    <section id="section">
    <core-toolbar id="core_toolbar">
    <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
    <div id="div">Abhinav</div>
    </core-toolbar>
    </section>
    </core-header-panel>
    </template>

    <script>

    Polymer('my-element', {

    });

    </script>

    </polymer-element>