Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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">
- <link rel="import" href="../core-input/core-input.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #core_header_panel {
- width: 100%;
- height: 100%;
- left: 0px;
- top: 0px;
- position: absolute;
- }
- #core_toolbar {
- color: rgb(255, 255, 255);
- background-color: rgb(79, 125, 201);
- }
- #section {
- height: 1000px;
- background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230));
- }
- #core_card {
- position: absolute;
- width: 100%;
- height: 100%;
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- left: 0px;
- top: 0px;
- background-color: rgb(255, 255, 255);
- }
- #input {
- padding: 15px;
- }
- #input1 {
- padding: 15px;
- }
- #input2 {
- padding: 15px;
- }
- </style>
- <core-header-panel mode="standard" id="core_header_panel">
- <core-toolbar id="core_toolbar">
- <core-icon-button icon="menu" id="core_icon_button"></core-icon-button>
- <div id="div">Header</div>
- </core-toolbar>
- <section id="section">
- <core-card id="core_card" layout vertical>
- <input id="input" placeholder="Company" is="core-input">
- <input id="input1" placeholder="Website" is="core-input">
- <input id="input2" placeholder="type something..." is="core-input">
- </core-card>
- </section>
- </core-header-panel>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement