Created
July 20, 2014 23:46
-
-
Save haubie/1d5e6f1032101ba28fba to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
| <link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
| <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-input/core-input.html"> | |
| <link rel="import" href="../core-menu/core-submenu.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| #core_drawer_panel { | |
| position: absolute; | |
| top: 0px; | |
| right: 0px; | |
| bottom: 0px; | |
| left: 0px; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| #section { | |
| box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
| background-color: rgb(66, 66, 66); | |
| } | |
| #section1 { | |
| height: 100%; | |
| box-sizing: border-box; | |
| background-color: rgb(221, 221, 221); | |
| } | |
| #core_header_panel { | |
| width: 100%; | |
| height: 100%; | |
| position: absolute; | |
| top: 0px; | |
| left: 0px; | |
| } | |
| #core_toolbar { | |
| color: rgb(255, 255, 255); | |
| background-color: rgb(248, 248, 248); | |
| } | |
| #section2 { | |
| height: 1000px; | |
| background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
| } | |
| #core_drawer_panel1 { | |
| right: 0px; | |
| bottom: 0px; | |
| } | |
| #middle_section { | |
| box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
| background-color: rgb(250, 250, 250); | |
| } | |
| #section4 { | |
| height: 100%; | |
| box-sizing: border-box; | |
| background-color: rgb(221, 221, 221); | |
| } | |
| #core_scaffold { | |
| right: 0px; | |
| bottom: 0px; | |
| position: absolute; | |
| top: 0px; | |
| left: 0px; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| #core_header_panel1 { | |
| background-color: rgb(255, 255, 255); | |
| } | |
| #core_toolbar1 { | |
| color: rgb(255, 255, 255); | |
| background-color: rgb(231, 231, 231); | |
| } | |
| #core_menu { | |
| font-size: 16px; | |
| } | |
| #core_card { | |
| width: 230px; | |
| height: 230px; | |
| 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; | |
| margin: 5px; | |
| background-color: rgb(255, 255, 255); | |
| } | |
| #core_card1 { | |
| width: 230px; | |
| height: 230px; | |
| 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; | |
| margin: 5px; | |
| background-color: rgb(255, 255, 255); | |
| } | |
| #core_input { | |
| padding: 15px; | |
| background-color: rgb(255, 255, 255); | |
| } | |
| #core_selector { | |
| width: 100%; | |
| height: 50px; | |
| } | |
| #core_animated_pages { | |
| width: 420px; | |
| height: 582px; | |
| overflow: hidden; | |
| background-color: rgb(238, 238, 238); | |
| } | |
| #core_animated_pages1 { | |
| width: 420px; | |
| height: 582px; | |
| overflow: hidden; | |
| background-color: rgb(238, 238, 238); | |
| } | |
| #core_animated_pages2 { | |
| width: 420px; | |
| height: 582px; | |
| overflow: hidden; | |
| left: 1050px; | |
| top: 490px; | |
| background-color: rgb(238, 238, 238); | |
| } | |
| </style> | |
| <core-drawer-panel selected="main" id="core_drawer_panel" class="right-drawer"> | |
| <section id="section" drawer vertical layout center-justified center> | |
| <core-card id="core_card" layout vertical></core-card> | |
| <core-card id="core_card1" layout vertical> | |
| <core-animated-pages selectedindex="0" notap id="core_animated_pages"> | |
| <section id="section2" layout horizontal center center-justified active> | |
| item | |
| </section> | |
| <section id="section3"> | |
| item 2 | |
| </section> | |
| <section id="section4"> | |
| item 3 | |
| </section> | |
| </core-animated-pages> | |
| </core-card> | |
| </section> | |
| <section id="section1" main> | |
| <core-header-panel mode="standard" id="core_header_panel"> | |
| <core-toolbar id="core_toolbar"> | |
| <div id="div">Main branding</div> | |
| <a href="/">Home</a> | |
| <a href="/symptoms">Symptoms</a> | |
| <a href="#conditions">Conditions</a> | |
| <a href="/remedies">Remedies</a> | |
| </core-toolbar> | |
| <core-scaffold id="core_scaffold"> | |
| <core-header-panel mode="seamed" id="core_header_panel1" navigation flex> | |
| <core-toolbar id="core_toolbar1"> | |
| <core-input placeholder="Search" id="core_input"></core-input> | |
| </core-toolbar> | |
| <core-menu selected="Item1" valueattr="label" selectedindex="0" id="core_menu" theme="core-light-theme"> | |
| <core-item label="Item1" icon="settings" size="24" id="core_item" horizontal center layout active></core-item> | |
| <core-item label="Item2" icon="settings" size="24" id="core_item1" horizontal center layout></core-item> | |
| </core-menu> | |
| <core-selector selected="0" selectedindex="0" class="list"> | |
| <div id="div5" active>Item 0</div> | |
| <div id="div2">Item 1</div> | |
| <div id="div4">Item 2</div> | |
| <div id="div3">Item 3</div> | |
| <div>Item 4</div> | |
| <core-selector selected="0" id="core_selector"></core-selector> | |
| </core-selector> | |
| </core-header-panel> | |
| <div id="div1" tool>Title of current page</div> | |
| <section id="middle_section"> | |
| Body </section> | |
| <core-animated-pages selectedindex="0" notap id="core_animated_pages1"> | |
| <section id="section5" layout horizontal center center-justified active> | |
| </section> | |
| <section id="section6"> | |
| </section> | |
| <section id="section7"> | |
| </section> | |
| </core-animated-pages> | |
| </core-scaffold> | |
| </core-header-panel> | |
| </section> | |
| </core-drawer-panel> | |
| </template> | |
| <script> | |
| Polymer('my-element', { | |
| }); | |
| </script> | |
| </polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment