<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html><html lang='en' class=''>
<head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/Pustur/pen/gaZJKm?limit=all&page=57&q=app" />
<link href='https://fonts.googleapis.com/css?family=Quicksand:400,700' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css'>
<style class="cp-pen-styles">html,
body {
height: 100%;
}
body {
background-color: #2d3352;
font-family: "Quicksand";
color: #555;
font-size: 11px;
}
h1,
h2 {
font-weight: 700;
}
.uppercase {
text-transform: uppercase;
letter-spacing: 0.05rem;
}
.icon {
cursor: pointer;
}
.container {
min-height: 100%;
margin-left: -150px;
padding: 20px 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.screen {
width: 280px;
height: 497.7777777778px;
-webkit-box-shadow: 0 0 80px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 80px rgba(0, 0, 0, 0.3);
}
.menu-view {
background-color: #3E486D;
position: relative;
-webkit-transform: scale(0.9);
transform: scale(0.9);
-webkit-transform-origin: 150% 50%;
transform-origin: 150% 50%;
}
.menu-view .menu-item {
height: 76.5811965812px;
line-height: 76.5811965812px;
color: white;
border-left: 2px solid transparent;
cursor: pointer;
}
.menu-view .menu-item > * {
text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
.menu-view .menu-item > *:not(.badge) {
opacity: 0.5;
}
.menu-view .menu-item .icon {
margin: 2px 1.5rem auto 1.5rem;
}
.menu-view .menu-item .badge {
background-color: #FD7F72;
padding: 5px 11px;
margin-left: 2rem;
border-radius: 999px;
}
.menu-view .menu-item:hover {
background-color: #373f60;
}
.menu-view .menu-item.active {
background-color: #313857;
border-color: #FD7F72;
}
.menu-view .menu-item.active .text {
opacity: 1;
}
.list-view {
background-color: white;
position: relative;
}
.list-view header {
height: 50px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: space between;
-ms-flex-pack: space between;
justify-content: space between;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.list-view header .icon {
padding: 1.5rem;
}
.list-view header h1 {
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
text-align: center;
}
.list-view .list-item {
background-color: #FD7F72;
color: white;
position: relative;
}
.list-view .list-item .regrade {
top: 0;
right: 0;
bottom: 0;
left: 0;
position: absolute;
line-height: 86px;
padding-left: 1.5rem;
cursor: pointer;
}
.list-view .list-item .card {
height: 86px;
position: relative;
background-color: white;
color: #555;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
cursor: pointer;
-webkit-transition: z-index 0.5s ease, -webkit-box-shadow 0.5s ease, -webkit-transform 0.5s ease, -webkit-transform-origin 0.5s ease;
transition: z-index 0.5s ease, -webkit-box-shadow 0.5s ease, -webkit-transform 0.5s ease, -webkit-transform-origin 0.5s ease;
transition: box-shadow 0.5s ease, transform 0.5s ease, transform-origin 0.5s ease, z-index 0.5s ease;
transition: box-shadow 0.5s ease, transform 0.5s ease, transform-origin 0.5s ease, z-index 0.5s ease, -webkit-box-shadow 0.5s ease, -webkit-transform 0.5s ease, -webkit-transform-origin 0.5s ease;
}
.list-view .list-item .card .thumbnail {
-webkit-box-flex: 0;
-ms-flex: 0 0 44px;
flex: 0 0 44px;
margin: 0 16px;
}
.list-view .list-item .card .thumbnail img {
width: 100%;
border-radius: 999px;
}
.list-view .list-item .card .details {
height: 44px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.list-view .list-item .card .details .name {
font-size: 12px;
}
.list-view .list-item .card .details > *:not(.name) {
opacity: 0.6;
}
.list-view .list-item .card:hover {
background-color: #f2f2f2;
}
.list-view .list-item .card.active {
z-index: 3;
-webkit-transform: scale(1.2);
transform: scale(1.2);
-webkit-transform-origin: -180% 50%;
transform-origin: -180% 50%;
-webkit-box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}
</style></head><body>
<div class="container">
<div class="screen menu-view">
<nav>
<ul>
<li class="menu-item"><span class="icon">o</span><span class="text uppercase">Dashboard</span>
</li>
<li class="menu-item"><span class="icon">o</span><span class="text uppercase">Notifications</span><span class="badge">12</span>
</li>
<li class="menu-item"><span class="icon">o</span><span class="text uppercase">Directory</span>
</li>
<li class="active menu-item"><span class="icon">o</span><span class="text uppercase">Students</span>
</li>
<li class="menu-item"><span class="icon">o</span><span class="text uppercase">Settings</span>
</li>
</ul>
</nav>
</div>
<div class="screen list-view">
<header>
<div class="icon menu">o</div>
<h1 class="uppercase">Students</h1>
<div class="icon search">o</div>
</header>
<section>
<ul>
<li class="list-item">
<div class="regrade uppercase">Regrade</div>
<div class="card">
<div class="thumbnail"><img src="https://unsplash.it/200/200?random=#{random}"/>
</div>
<div class="details">
<h2 class="name">Mick Chairo</h2>
<p class="teacher">Theacher: Amir Mohammed</p>
<p class="time-info">Due in 4 days</p>
</div>
</div>
</li>
<li class="list-item">
<div class="regrade uppercase">Regrade</div>
<div class="card active">
<div class="thumbnail"><img src="https://unsplash.it/200/200?random=#{random}"/>
</div>
<div class="details">
<h2 class="name">Dom Diano</h2>
<p class="teacher">Theacher: Amir Mohammed</p>
<p class="time-info">Due in 4 days</p>
</div>
</div>
</li>
<li class="list-item">
<div class="regrade uppercase">Regrade</div>
<div class="card">
<div class="thumbnail"><img src="https://unsplash.it/200/200?random=#{random}"/>
</div>
<div class="details">
<h2 class="name">Michele Rea</h2>
<p class="teacher">Theacher: Amir Mohammed</p>
<p class="time-info">Due in 4 days</p>
</div>
</div>
</li>
<li class="list-item">
<div class="regrade uppercase">Regrade</div>
<div class="card">
<div class="thumbnail"><img src="https://unsplash.it/200/200?random=#{random}"/>
</div>
<div class="details">
<h2 class="name">Jan Roberto</h2>
<p class="teacher">Theacher: Amir Mohammed</p>
<p class="time-info">Due in 4 days</p>
</div>
</div>
</li>
<li class="list-item">
<div class="regrade uppercase">Regrade</div>
<div class="card">
<div class="thumbnail"><img src="https://unsplash.it/200/200?random=#{random}"/>
</div>
<div class="details">
<h2 class="name">Reandra Loni</h2>
<p class="teacher">Theacher: Amir Mohammed</p>
<p class="time-info">Due in 4 days</p>
</div>
</div>
</li>
</ul>
</section>
</div>
</div>
<script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script >$(document).ready(function() {
var $cards = $('.card');
$menuItems = $('.menu-item');
$cards.on('click', function() {
$(this).toggleClass('active');
});
$menuItems.on('click', function() {
$menuItems.each(function() {
$(this).removeClass('active');
})
$(this).addClass('active');
});
});
//# sourceURL=pen.js
</script>
</body></html>