Created
June 25, 2014 20:33
-
-
Save fabrizio5680/41b31decc0c6063d13d6 to your computer and use it in GitHub Desktop.
Revisions
-
fabrizio5680 revised this gist
Jun 25, 2014 . 1 changed file with 49 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,7 @@ <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-tooltip/core-tooltip.html"> <link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> <polymer-element name="my-element"> @@ -10,7 +13,52 @@ height: 100%; box-sizing: border-box; } #core_toolbar { right: 0px; left: 560px; color: rgb(255, 255, 255); fill: rgb(255, 255, 255); top: 0px; position: absolute; background-color: rgb(79, 125, 201); } #core_tooltip { left: 780px; top: 440px; position: absolute; } #core_tooltip1 { left: 500px; top: 330px; position: absolute; } #core_drawer_panel { position: absolute; top: 60px; right: 0px; bottom: 0px; left: 0px; } #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); } #section1 { height: 100%; box-sizing: border-box; background-color: rgb(221, 221, 221); } </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> <core-tooltip id="core_tooltip"></core-tooltip> <core-tooltip id="core_tooltip1"></core-tooltip> <core-drawer-panel id="core_drawer_panel"> <section id="section" drawer></section> <section id="section1" main></section> </core-drawer-panel> </template> <script> -
fabrizio5680 created this gist
Jun 25, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ <link rel="import" href="../components/polymer/polymer.html"> <polymer-element name="my-element"> <template> <style> :host { position: absolute; width: 100%; height: 100%; box-sizing: border-box; } </style> </template> <script> Polymer('my-element', { }); </script> </polymer-element>