From 0df9742a20a88d3321a188a412349048378ed989 Mon Sep 17 00:00:00 2001 From: Wang Qiang Date: Mon, 26 Jan 2015 14:44:34 +0800 Subject: [PATCH] CSS for course announcements index --- .../stylesheets/course/announcements.css.scss | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/app/assets/stylesheets/course/announcements.css.scss b/app/assets/stylesheets/course/announcements.css.scss index 4e06a801092..0be51bce5ef 100644 --- a/app/assets/stylesheets/course/announcements.css.scss +++ b/app/assets/stylesheets/course/announcements.css.scss @@ -1,3 +1,24 @@ // Place all the styles related to the course/announcements controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ +.course-announcements { + &.index { + .announcement { + padding-left: 8px; + + .timestamp { + color: #999; + } + + .content { + margin-top: 10px; + } + + &.future { + background-color: #eee; + opacity: 0.9; + padding: 10px; + } + } + } +}