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-animated-pages/core-animated-pages.html">
- <link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
- <link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
- <link rel="import" href="../core-animated-pages/transitions/slide-down.html">
- <link rel="import" href="../core-animated-pages/transitions/slide-up.html">
- <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
- <link rel="import" href="../paper-button/paper-button.html">
- <link rel="import" href="../paper-toast/paper-toast.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-scroll-header-panel/core-scroll-header-panel.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">
- <link rel="import" href="../core-tooltip/core-tooltip.html">
- <link rel="import" href="../paper-checkbox/paper-checkbox.html">
- <link rel="import" href="../paper-toggle-button/paper-toggle-button.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- box-sizing: border-box;
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- font-family: roboto;
- font-size: 20px;
- background-color: rgb(0, 0, 0);
- }
- paper-tab::shadow #ink {
- color: rgb(0, 0, 255);
- }
- #paper_tabs {
- font-size: 25px;
- color: rgb(255, 255, 255);
- box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
- position: relative;
- width: 100%;
- background-color: rgb(21, 21, 21);
- }
- paper-tabs::shadow #selectionBar {
- background-color: rgb(0, 0, 255);
- }
- #core_card1 {
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- opacity: 1;
- background-color: rgb(46, 46, 46);
- }
- #core_card2 {
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- left: 20px;
- margin: 20px;
- background-color: rgb(21, 21, 21);
- }
- #h1 {
- color: rgb(255, 255, 255);
- }
- #core_animated_pages {
- overflow: hidden;
- width: 100%;
- height: 100%;
- position: absolute;
- left: -20px;
- top: 180px;
- background-color: rgb(10, 10, 10);
- }
- #core_card3 {
- width: 97%;
- 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;
- left: 20px;
- top: 20px;
- position: absolute;
- background-color: rgb(36, 36, 36);
- }
- #core_card4 {
- position: absolute;
- width: 97%;
- height: 400px;
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- left: 20px;
- top: 20px;
- background-color: rgb(59, 59, 59);
- }
- #core_card5 {
- position: absolute;
- width: 350px;
- 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;
- left: 20px;
- top: 20px;
- background-color: rgb(96, 96, 96);
- }
- #paper_button {
- margin: 50px;
- padding: 25px;
- font-size: 15px;
- background-color: rgb(143, 143, 143);
- }
- paper-toast {
- bottom: 15%;
- left: 35%;
- width: 25%;
- font-size: 58px;
- background-color: rgb(0, 0, 0);
- }
- #core_card7 {
- 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(25, 25, 25);
- }
- #core_card9 {
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- margin: 20px;
- padding: 20px;
- background-color: rgb(147, 147, 147);
- }
- #paper_button1 {
- margin: 0px;
- background-color: rgb(126, 126, 126);
- }
- #div {
- margin: 20px;
- position: relative;
- left: 5px;
- }
- #paper_fab1 {
- background-color: rgb(134, 0, 255);
- }
- #paper_fab2 {
- left: 20px;
- position: relative;
- background-color: rgb(42, 0, 255);
- }
- #paper_fab4 {
- color: rgb(0, 0, 0);
- left: 60px;
- background-color: rgb(255, 254, 0);
- }
- #paper_fab3 {
- position: relative;
- left: 40px;
- }
- #core_toolbar {
- color: rgb(241, 241, 241);
- fill: rgb(241, 241, 241);
- background-color: rgb(18, 18, 18);
- }
- #section3 {
- height: 5000px;
- background: linear-gradient(rgb(0, 0, 0), rgb(60, 60, 60));
- }
- #paper_toast {
- outline: none;
- z-index: 12;
- box-sizing: border-box;
- position: absolute;
- }
- #iframe {
- width: 100%;
- height: 100%;
- position: absolute;
- }
- #paper_toggle_button {
- margin: 40px;
- }
- #paper_radio_group {
- left: 1050px;
- top: 310px;
- }
- #core_card6 {
- width: 150px;
- height: 150px;
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- left: 73%;
- top: 20px;
- position: absolute;
- background-color: rgb(111, 111, 111);
- }
- #core_card8 {
- width: 90%;
- height: 80%;
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- position: relative;
- margin: 5px;
- background-color: rgb(136, 136, 136);
- }
- #paper_button2 {
- width: 100px;
- height: 100px;
- background-color: rgb(199, 199, 199);
- }
- #paper_toast1 {
- left: 40%;
- position: absolute;
- }
- </style>
- <core-card id="core_card" layout vertical>
- <core-card id="core_card1" horizontal layout center one flex>
- <core-card id="core_card2" layout vertical center center-justified one flex>
- <h1 id="h1" center-justified center horizontal layout one flex>
- <font face="roboto">X 1 </font>
- </h1>
- <paper-tabs selected="{{ selected }}" selectedindex="2" id="paper_tabs" horizontal center layout one flex>
- <paper-tab id="paper_tab" inline flex center-center horizontal layout>toast test</paper-tab>
- <paper-tab id="paper_tab1" inline flex center-center horizontal layout>layout idea</paper-tab>
- <paper-tab id="paper_tab2" inline flex center-center horizontal layout active>cool buttons</paper-tab>
- </paper-tabs>
- </core-card>
- </core-card>
- </core-card>
- <core-animated-pages transitions="slide-from-right" selected="{{ selected }}" lastselected="0" selectedindex="2" notap id="core_animated_pages" horizontal layout>
- <section id="section" layout horizontal center center-justified>
- <core-card id="core_card3" layout vertical>
- <center id="center">
- <paper-button raised id="paper_button" horizontal layout start center-justified one flex>Hold down the button</paper-button>
- </center>
- <paper-toast text="TEST" id="paper_toast" class="core-transition-bottom core-transition" touch-action="none" center-justified horizontal layout start></paper-toast>
- </core-card>
- </section>
- <core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel" one flex>
- <core-toolbar id="core_toolbar" class="tall">
- <core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button>
- <div id="div1" flex></div>
- <core-icon-button icon="search" id="core_icon_button1"></core-icon-button>
- <core-icon-button icon="more-vert" id="core_icon_button2"></core-icon-button>
- <div id="div2" class="bottom indent">X1 - version 1.2</div>
- </core-toolbar>
- <section id="section3" content></section>
- </core-scroll-header-panel>
- <section id="section1" active>
- <core-card id="core_card4" layout vertical>
- <core-card id="core_card5" layout vertical>
- <core-card id="core_card9" layout vertical one flex>
- <paper-button raised active="{{ $.paper_toast1.opened }}" focused="{{ $.paper_checkbox.checked }}" toggle id="paper_button1" one flex vertical layout center center-justified>Hold down this button! :3</paper-button>
- </core-card>
- <div id="div" layout horizontal center one flex>
- <paper-fab icon="check" id="paper_fab1"></paper-fab>
- <paper-fab icon="reply" id="paper_fab2"></paper-fab>
- <paper-fab icon="favorite" id="paper_fab3"></paper-fab>
- <paper-fab icon="add" id="paper_fab4"></paper-fab>
- </div>
- </core-card>
- <core-card id="core_card7" center start-justified vertical layout>
- <core-tooltip label="This button doesn't do anything yet." id="core_tooltip">
- </core-tooltip>
- </core-card>
- <core-card id="core_card6" center-justified vertical layout start>
- <core-card id="core_card8" center center-justified horizontal layout>
- <paper-button active="{{ $.paper_checkbox.checked }}" toggle id="paper_button2" vertical layout center-justified center>Button that toggles stuff</paper-button>
- </core-card>
- </core-card>
- <paper-checkbox label="click me" id="paper_checkbox" horizontal layout center center-justified></paper-checkbox>
- <paper-toggle-button checked="{{ $.paper_checkbox.checked }}" id="paper_toggle_button" horizontal layout end center-justified touch-action="pan-y"></paper-toggle-button>
- <paper-toast text="Well howdy there!! :3" duration="5000" opened="{{ $.paper_button.active }}" narrowmode id="paper_toast1" touch-action="none" class="core-transition-bottom core-transition fit-bottom" horizontal layout center center-justified></paper-toast>
- </core-card>
- </section>
- <section id="section2">
- </section>
- <section id="section3">
- </section>
- </core-animated-pages>
- </template>
- <script>
- Polymer({
- selected: 2
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement