Last active
August 29, 2015 14:13
-
-
Save ftchirou/61ed87257ce1f14d2262 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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="../paper-button/paper-button.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; | |
} | |
#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: 100%; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
margin: auto; | |
padding: 250px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_card { | |
position: absolute; | |
width: 370px; | |
height: 220px; | |
border-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
left: 280px; | |
top: 46px; | |
background-color: rgb(255, 255, 255); | |
} | |
#section1 { | |
width: 35%; | |
height: 100%; | |
background-color: rgb(45, 199, 175); | |
} | |
#section2 { | |
width: 65%; | |
height: 100%; | |
padding: 10px; | |
opacity: 1; | |
} | |
#input { | |
padding: 15px; | |
left: -409.5px; | |
top: -110px; | |
position: absolute; | |
} | |
#paper_button { | |
left: 300px; | |
top: 180px; | |
position: absolute; | |
} | |
#paper_button1 { | |
left: 230px; | |
top: 180px; | |
position: absolute; | |
} | |
#paper_fab { | |
left: 1430px; | |
top: 926px; | |
position: absolute; | |
} | |
</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">Projects</div> | |
</core-toolbar> | |
<section id="section" horizontal layout center start-justified> | |
<core-card id="core_card" horizontal layout> | |
<section id="section1"></section> | |
<section id="section2"> | |
<h1 id="h1">Project name</h1> | |
<p id="p">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> | |
<p id="p2">Organization</p> | |
<p id="p1">Creation Date</p> | |
<paper-button id="paper_button" start-justified>open</paper-button> | |
<paper-button id="paper_button1">edit</paper-button> | |
</section> | |
</core-card> | |
<paper-fab icon="content:add" id="paper_fab"></paper-fab> | |
</section> | |
</core-header-panel> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment