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-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-input/core-input.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #core_card {
- position: absolute;
- width: 360px;
- height: 600px;
- border-radius: 2px;
- box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
- left: 370px;
- top: 90px;
- background-color: rgb(255, 255, 255);
- }
- #paper_fab {
- left: 290px;
- top: 530px;
- position: absolute;
- }
- #core_toolbar {
- right: 0px;
- left: 0px;
- color: rgb(255, 255, 255);
- fill: rgb(255, 255, 255);
- top: 0px;
- position: absolute;
- background-color: rgb(79, 125, 201);
- }
- #title {
- left: 15px;
- padding: 15px;
- position: absolute;
- top: 80px;
- font-family: menlo;
- }
- #input {
- padding: 15px;
- left: 80px;
- top: 80px;
- position: absolute;
- }
- </style>
- <core-card id="core_card">
- <core-toolbar id="core_toolbar">
- <div id="div" flex>New</div>
- </core-toolbar>
- <paper-fab icon="add" id="paper_fab"></paper-fab>
- <div id="title">Title:</div>
- <input id="input" placeholder="type something..." is="core-input">
- </core-card>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement