Skip to content
Snippets Groups Projects
Commit 4d137446 authored by Brian Talbot's avatar Brian Talbot Committed by Carlos Andrés Rocha
Browse files

added new visual status to course listings on edx.org

parent 89527281
No related merge requests found
......@@ -24,6 +24,31 @@
width: 100%;
@include transition(all, 0.15s, linear);
.status {
background: $blue;
color: white;
font-size: 10px;
left: 10px;
padding: 2px 10px;
@include border-radius(2px);
position: absolute;
text-transform: uppercase;
top: -6px;
z-index: 100;
}
.status:after {
border-bottom: 6px solid shade($blue, 50%);
border-right: 6px solid transparent;
content: "";
display: block;
height: 0;
position: absolute;
right: -6px;
top: 0;
width: 0;
}
a:hover {
text-decoration: none;
}
......
......@@ -5,6 +5,7 @@
%>
<%page args="course" />
<article id="${course.id}" class="course">
<span class="status">New</span>
<a href="${reverse('about_course', args=[course.id])}">
<div class="inner-wrapper">
<header class="course-preview">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment