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">
- <link rel="import" href="../topeka-elements/category-images.html">
- <link rel="import" href="../core-icon/core-icon.html">
- <link rel="import" href="../core-icons/core-icons.html">
- <link rel="import" href="../core-icons/av-icons.html">
- <link rel="import" href="../paper-fab/paper-fab.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- top: 0px;
- left: 0px;
- }
- #core_scaffold {
- position: absolute;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- #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;
- }
- #section {
- box-sizing: border-box;
- width: 420px;
- height: 582px;
- left: 260px;
- top: 70px;
- position: absolute;
- }
- #section1 {
- background-color: rgb(255, 255, 141);
- }
- #core_icon {
- height: 256px;
- width: 256px;
- z-index: 100;
- opacity: 0.5;
- }
- #div1 {
- box-sizing: border-box;
- position: relative;
- height: 80px;
- padding: 24px;
- color: rgb(255, 255, 255);
- font-size: 32px;
- background-color: rgb(255, 235, 59);
- }
- #div3 {
- position: absolute;
- color: rgb(255, 255, 255);
- bottom: 50px;
- right: 24px;
- }
- #paper_fab {
- background-color: rgb(255, 64, 129);
- }
- </style>
- <core-scaffold id="core_scaffold" end-justified>
- <core-header-panel mode="seamed" id="core_header_panel" navigation flex>
- <core-toolbar id="core_toolbar"></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="div" tool>Title</div>
- <section id="section" layout vertical>
- <section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
- <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
- </section>
- <div id="div1" class="bottom" hero hero-id="bottom">
- <span id="span">General Knowledge</span>
- </div>
- <div id="div2" hero class="dummy"></div>
- <div id="div3" class="fab fab-0">
- <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
- </div>
- </section>
- </core-scaffold>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement