From b7ce475adbb1df68fb876c8423759fc7238c4868 Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Wed, 22 Aug 2012 09:35:17 -0400 Subject: [PATCH] accordion hovers --- lms/static/sass/course/courseware/_sidebar.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/course/courseware/_sidebar.scss b/lms/static/sass/course/courseware/_sidebar.scss index 2a7c5b6f2f..895977708b 100644 --- a/lms/static/sass/course/courseware/_sidebar.scss +++ b/lms/static/sass/course/courseware/_sidebar.scss @@ -70,8 +70,10 @@ section.course-index { width: 100%; @include box-sizing(border-box); padding: 11px 14px; - @include linear-gradient(top, #f9f9f9, #eee); + @include linear-gradient(top, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0)); + background-color: #eee; @include box-shadow(0 1px 0 #fff inset, 0 -1px 0 rgba(0, 0, 0, .1) inset); + @include transition(background-color .1s); &:first-child { border-radius: 3px 0 0 0; @@ -81,6 +83,10 @@ section.course-index { border-radius: 0 0 0 3px; @include box-shadow(0 1px 0 #fff inset); } + + &:hover { + background-color: #fff + } } ul.ui-accordion-content {