Last active
August 29, 2015 14:07
-
-
Save ahmedali2/269641a8187640a075aa 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-scroll-header-panel/core-scroll-header-panel.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<polymer-element name="course-profile"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial; | |
} | |
#core_card { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-left-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); | |
} | |
#core_scroll_header_panel { | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
} | |
#core_toolbar { | |
color: rgb(241, 241, 241); | |
fill: rgb(241, 241, 241); | |
background-color: rgb(66, 133, 244); | |
} | |
#section { | |
height: 5000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
.course_header { | |
width: 100%; | |
border: 1px solid green; | |
text-align: left; | |
} | |
.course_header > h3 { | |
font-size: 1.9rem; | |
} | |
.course_header > h5 { | |
font-size: 1.3rem; | |
} | |
.course_details > h3 { | |
font-size: 1.1rem; | |
opacity: 0.8; | |
} | |
.middle { | |
width: 100%; | |
} | |
</style> | |
<core-card id="core_card" layout vertical> | |
<core-scroll-header-panel headermargin="128" condenses headerheight="192" id="core_scroll_header_panel"> | |
<core-toolbar id="core_toolbar" class="tall"> | |
<core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button> | |
<div id="div" 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="header_container" class="middle indent" layout vertical> | |
<div id="div1" layout horizontal class="course_header" justified center> | |
<h3 id="h3" flex two> | |
<span>SAT II Biology</span> | |
</h3> | |
<h5 flex>Ahmed Ali</h5> | |
</div> | |
<div id="div2" layout horizontal justified center class="course_details"> | |
<h3 flex center> | |
<core-icon icon="drive-file"></core-icon> | |
<span>18</span> | |
</h3> | |
<h3 flex center> | |
<core-icon icon="social:person"></core-icon> | |
<span>200</span> | |
</h3> | |
<h3 flex center> | |
<core-icon icon="favorite"></core-icon> | |
<span>200</span> | |
</h3> | |
</div> | |
</div> | |
</core-toolbar> | |
<section id="section" content></section> | |
</core-scroll-header-panel> | |
</core-card> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment