From c41d8146c7deb0f8eae8735ceb497b3bd1b9b30d Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Mon, 10 Feb 2014 13:30:41 -0500 Subject: [PATCH] LMS: simplifying language settings modal controls UI --- lms/static/sass/elements/_controls.scss | 23 ------------------- lms/static/sass/shared/_modal.scss | 20 ---------------- .../modal/_modal-settings-language.html | 11 +++------ 3 files changed, 3 insertions(+), 51 deletions(-) diff --git a/lms/static/sass/elements/_controls.scss b/lms/static/sass/elements/_controls.scss index a7028efa22..d7f1376d93 100644 --- a/lms/static/sass/elements/_controls.scss +++ b/lms/static/sass/elements/_controls.scss @@ -237,29 +237,6 @@ } } -// ==================== - -%btn-reset { - background: none; - border: none; - font-size: inherit; - box-shadow: none; - text-shadow: none; -} - -// button that appears visually as a link -%btn-link { - @extend %btn-reset; - color: $link-color; - text-decoration: none; - @include transition(all 0.1s linear 0s); - - &:hover, &:focus { - color: $link-color; - text-decoration: underline; - } -} - // ==================== // application: canned actions diff --git a/lms/static/sass/shared/_modal.scss b/lms/static/sass/shared/_modal.scss index a6ce70251e..f8c63775bb 100644 --- a/lms/static/sass/shared/_modal.scss +++ b/lms/static/sass/shared/_modal.scss @@ -342,25 +342,5 @@ .list-input { margin-bottom: $baseline; } - - .list-actions { - - .action-item { - @extend %wipe-last-child; - display: inline-block; - vertical-align: middle; - margin-right: ($baseline/4); - } - - .action-submit { - color: $white; - padding-top: ($baseline/3); - padding-bottom: ($baseline/3); - } - - .action-cancel { - @extend %btn-link; - } - } } diff --git a/lms/templates/modal/_modal-settings-language.html b/lms/templates/modal/_modal-settings-language.html index 1c1a26d9fd..96c85cbfdb 100644 --- a/lms/templates/modal/_modal-settings-language.html +++ b/lms/templates/modal/_modal-settings-language.html @@ -35,14 +35,9 @@ - +
+ +