Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../paper-tabs/paper-tabs.html">
- <link rel="import" href="../paper-tabs/paper-tab.html">
- <link rel="import" href="../core-icons/core-icons.html">
- <link rel="import" href="../paper-item/paper-item.html">
- <polymer-element name="my-element">
- <template>
- <style>
- #section {
- width: 100%;
- height: 100%;
- border: 5px solid rgb(204, 204, 204);
- left: 0px;
- top: 0px;
- position: absolute;
- }
- #paper_tabs {
- color: rgb(255, 255, 255);
- box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
- background-color: rgb(0, 188, 212);
- }
- #core_item {
- left: 5px;
- top: 7px;
- position: absolute;
- }
- #core_card {
- width: 300px;
- height: 300px;
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- background-color: rgb(255, 255, 255);
- }
- :host {
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- #Område a {
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- </style>
- <section id="section" layout vertical>
- <paper-tabs noink nobar selected="2" selectedindex="2" id="paper_tabs" center horizontal layout>
- <paper-tab id="Oversikt" inline flex center-center layout horizontal>Översikt</paper-tab>
- <paper-tab id="Område A" inline flex center-center horizontal layout>Område A</paper-tab>
- <paper-tab id="Område B" inline flex center-center horizontal layout active>Område B</paper-tab>
- </paper-tabs>
- <core-card id="core_card" layout vertical>
- <paper-item id="paper_item" icon="settings" label="Item">Översikt</paper-item>
- </core-card>
- </section>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement