Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../core-scaffold/core-scaffold.html">
- <link rel="import" href="../core-header-panel/core-header-panel.html">
- <link rel="import" href="../core-menu/core-menu.html">
- <link rel="import" href="../core-item/core-item.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-menu/core-submenu.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #core_scroll_header_panel {
- width: 380px;
- height: 460px;
- left: 990px;
- top: 310px;
- }
- #core_scaffold {
- position: absolute;
- top: 360px;
- right: 0px;
- bottom: 0px;
- left: 850px;
- }
- #core_header_panel {
- background-color: rgb(255, 255, 255);
- }
- #core_toolbar {
- color: rgb(255, 255, 255);
- background-color: rgb(79, 125, 201);
- }
- #core_menu {
- font-size: 16px;
- }
- #core_scaffold1 {
- position: absolute;
- top: 340px;
- right: 0px;
- bottom: 0px;
- left: 700px;
- }
- #core_header_panel1 {
- background-color: rgb(255, 255, 255);
- }
- #core_toolbar1 {
- color: rgb(255, 255, 255);
- background-color: rgb(79, 125, 201);
- }
- #core_menu1 {
- font-size: 16px;
- }
- #core_scaffold2 {
- position: absolute;
- top: -40px;
- right: 0px;
- bottom: 0px;
- left: 190px;
- }
- </style>
- <core-scaffold id="core_scaffold">
- <core-header-panel id="core_header_panel" navigation flex>
- <core-toolbar id="core_toolbar"></core-toolbar>
- <core-menu id="core_menu" valueattr="label" theme="core-light-theme">
- <core-item id="core_item" icon="settings" label="Item1"></core-item>
- <core-item id="core_item1" icon="settings" label="Item2"></core-item>
- </core-menu>
- </core-header-panel>
- <div id="div" tool>Title</div>
- </core-scaffold>
- <core-scaffold id="core_scaffold1">
- <core-header-panel id="core_header_panel1" navigation flex>
- <core-toolbar id="core_toolbar1"></core-toolbar>
- <core-menu id="core_menu1" valueattr="label" theme="core-light-theme">
- <core-item id="core_item2" icon="settings" label="Item1"></core-item>
- <core-item id="core_item3" icon="settings" label="Item2"></core-item>
- </core-menu>
- </core-header-panel>
- <div id="div1" tool>Title</div>
- </core-scaffold>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement