From 6b17659195154b0ff4a55002bc830c1c8be0b819 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 13 Dec 2012 13:35:58 -0500 Subject: [PATCH] styling - settings layout and delete buttons --- .../client_templates/course_grade_policy.html | 2 +- cms/static/sass/_settings.scss | 28 +++---------------- 2 files changed, 5 insertions(+), 25 deletions(-) diff --git a/cms/static/client_templates/course_grade_policy.html b/cms/static/client_templates/course_grade_policy.html index 92fc32c2d8..c9a21280dd 100644 --- a/cms/static/client_templates/course_grade_policy.html +++ b/cms/static/client_templates/course_grade_policy.html @@ -65,5 +65,5 @@ - Delete + Delete diff --git a/cms/static/sass/_settings.scss b/cms/static/sass/_settings.scss index c753d6e85f..6a31f7ec64 100644 --- a/cms/static/sass/_settings.scss +++ b/cms/static/sass/_settings.scss @@ -147,7 +147,7 @@ border: none; @include box-shadow(none); padding: 0; - color: $darkGrey; + color: $darkGrey !important; font-weight: bold; background: #fff; } @@ -291,10 +291,6 @@ width: 100%; } } - - .remove-item { - float: right; - } } } @@ -305,6 +301,7 @@ margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dotted $lightGrey; + @include clearfix(); &:last-child { border: 0; @@ -393,20 +390,8 @@ // editing controls - removing - .remove-item { - clear: both; - display: block; - margin-top: 10px; - opacity: 0.75; - font-size: 13px; - text-align: right; - @include transition(opacity 0.25s ease-in-out); - - - &:hover { - color: $blue; - opacity: 0.99; - } + .delete-button { + float: right; } // editing controls - preview @@ -500,11 +485,6 @@ .course-grading-assignment-list-item { - .row:nth-child(4) { - border: none; - margin-bottom: 0; - padding-bottom: 0; - } } .input-list {