Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../core-drawer-panel/core-drawer-panel.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">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #section {
- box-sizing: border-box;
- width: 100%;
- height: 100%;
- left: 0px;
- top: 0px;
- position: absolute;
- border: 1px;
- background-color: rgb(255, 255, 255);
- }
- #tiles-container {
- padding-left: 3px;
- height: 85%;
- }
- #tile-profile {
- box-sizing: border-box;
- float: left;
- height: 30%;
- width: 48%;
- margin: 3px;
- background-color: rgb(204, 204, 204);
- }
- #core_icon {
- height: 128px;
- width: 128px;
- }
- #div {
- padding: 8px;
- color: rgb(255, 255, 255);
- background-color: rgb(0, 128, 255);
- }
- #tile-general {
- box-sizing: border-box;
- float: left;
- height: 30%;
- width: 48%;
- margin: 3px;
- }
- #section2 {
- background-color: rgb(255, 255, 141);
- }
- #core_icon1 {
- height: 128px;
- width: 128px;
- }
- #div1 {
- padding: 8px;
- color: rgb(255, 255, 255);
- background-color: rgb(255, 235, 59);
- }
- #div2 {
- box-sizing: border-box;
- float: left;
- height: 30%;
- width: 48%;
- margin: 3px;
- background-color: rgb(185, 246, 202);
- }
- #core_icon2 {
- height: 128px;
- width: 128px;
- }
- #div3 {
- padding: 8px;
- color: rgb(255, 255, 255);
- background-color: rgb(15, 157, 88);
- }
- #div4 {
- box-sizing: border-box;
- float: left;
- height: 30%;
- width: 48%;
- margin: 3px;
- background-color: rgb(255, 138, 128);
- }
- #core_icon3 {
- height: 128px;
- width: 128px;
- }
- #div5 {
- padding: 8px;
- color: rgb(255, 255, 255);
- background-color: rgb(219, 68, 55);
- }
- #div6 {
- box-sizing: border-box;
- float: left;
- height: 30%;
- width: 48%;
- margin: 3px;
- background-color: rgb(130, 177, 255);
- }
- #core_icon4 {
- height: 128px;
- width: 128px;
- }
- #div7 {
- padding: 8px;
- color: rgb(255, 255, 255);
- background-color: rgb(66, 133, 244);
- }
- #div8 {
- box-sizing: border-box;
- float: left;
- height: 30%;
- width: 48%;
- margin: 3px;
- background-color: rgb(179, 136, 255);
- }
- #core_icon5 {
- height: 128px;
- width: 128px;
- }
- #div9 {
- padding: 8px;
- color: rgb(255, 255, 255);
- background-color: rgb(126, 87, 194);
- }
- #core_drawer_panel {
- position: absolute;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- #section1 {
- height: 100%;
- box-sizing: border-box;
- background-color: rgb(221, 221, 221);
- }
- #core_header_panel {
- width: 100%;
- height: 100%;
- left: 0px;
- top: 0px;
- position: absolute;
- background-color: rgb(255, 255, 255);
- }
- #core_toolbar {
- color: rgb(255, 255, 255);
- opacity: 1;
- background-color: rgb(0, 128, 255);
- }
- #toolBarHeader {
- background-color: rgb(0, 128, 255);
- }
- #mainPageMenu {
- background-color: rgb(0, 128, 255);
- }
- </style>
- <core-drawer-panel transition id="mainPageDrawer" touch-action>
- <section id="section" drawer></section>
- <section id="section1" main>
- <core-header-panel mode="standard" id="core_header_panel">
- <core-toolbar id="toolBarHeader" center>
- <core-icon-button icon="menu" id="mainPageMenu" paper-drawer-toggle></core-icon-button>
- <div id="div">Header</div>
- </core-toolbar>
- <section id="section2"></section>
- </core-header-panel>
- </section>
- </core-drawer-panel>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement