diff --git a/cms/static/img/blue-spinner.gif b/cms/static/img/blue-spinner.gif deleted file mode 100644 index 2cee72553a..0000000000 Binary files a/cms/static/img/blue-spinner.gif and /dev/null differ diff --git a/cms/static/img/calendar-icon.png b/cms/static/img/calendar-icon.png deleted file mode 100644 index 5d30a27c01..0000000000 Binary files a/cms/static/img/calendar-icon.png and /dev/null differ diff --git a/cms/static/img/close-icon.png b/cms/static/img/close-icon.png deleted file mode 100644 index 684399725b..0000000000 Binary files a/cms/static/img/close-icon.png and /dev/null differ diff --git a/cms/static/img/collapse-all-icon.png b/cms/static/img/collapse-all-icon.png deleted file mode 100644 index c468778b02..0000000000 Binary files a/cms/static/img/collapse-all-icon.png and /dev/null differ diff --git a/cms/static/img/content-types/chapter.png b/cms/static/img/content-types/chapter.png deleted file mode 100644 index 2903f668d0..0000000000 Binary files a/cms/static/img/content-types/chapter.png and /dev/null differ diff --git a/cms/static/img/content-types/html.png b/cms/static/img/content-types/html.png deleted file mode 100644 index 566d0a232e..0000000000 Binary files a/cms/static/img/content-types/html.png and /dev/null differ diff --git a/cms/static/img/content-types/lab.png b/cms/static/img/content-types/lab.png deleted file mode 100644 index f5b457b8f2..0000000000 Binary files a/cms/static/img/content-types/lab.png and /dev/null differ diff --git a/cms/static/img/content-types/module.png b/cms/static/img/content-types/module.png deleted file mode 100644 index 643c12d1d9..0000000000 Binary files a/cms/static/img/content-types/module.png and /dev/null differ diff --git a/cms/static/img/content-types/problem.png b/cms/static/img/content-types/problem.png deleted file mode 100644 index 198e57d629..0000000000 Binary files a/cms/static/img/content-types/problem.png and /dev/null differ diff --git a/cms/static/img/content-types/problemset.png b/cms/static/img/content-types/problemset.png deleted file mode 100644 index 85576db2ac..0000000000 Binary files a/cms/static/img/content-types/problemset.png and /dev/null differ diff --git a/cms/static/img/content-types/sequential.png b/cms/static/img/content-types/sequential.png deleted file mode 100644 index f0fda6d490..0000000000 Binary files a/cms/static/img/content-types/sequential.png and /dev/null differ diff --git a/cms/static/img/content-types/vertical.png b/cms/static/img/content-types/vertical.png deleted file mode 100644 index 17e4833f8b..0000000000 Binary files a/cms/static/img/content-types/vertical.png and /dev/null differ diff --git a/cms/static/img/content-types/video.png b/cms/static/img/content-types/video.png deleted file mode 100644 index 1c9f0176bc..0000000000 Binary files a/cms/static/img/content-types/video.png and /dev/null differ diff --git a/cms/static/img/content-types/videosequence.png b/cms/static/img/content-types/videosequence.png deleted file mode 100644 index 3a6c85843b..0000000000 Binary files a/cms/static/img/content-types/videosequence.png and /dev/null differ diff --git a/cms/static/img/delete-icon-white.png b/cms/static/img/delete-icon-white.png deleted file mode 100644 index 3a1efd1f97..0000000000 Binary files a/cms/static/img/delete-icon-white.png and /dev/null differ diff --git a/cms/static/img/delete-icon.png b/cms/static/img/delete-icon.png deleted file mode 100644 index 9c7f65daef..0000000000 Binary files a/cms/static/img/delete-icon.png and /dev/null differ diff --git a/cms/static/img/drag-handle.png b/cms/static/img/drag-handle.png deleted file mode 100644 index 3c9c3c1ebc..0000000000 Binary files a/cms/static/img/drag-handle.png and /dev/null differ diff --git a/cms/static/img/due-date-icon.png b/cms/static/img/due-date-icon.png deleted file mode 100644 index 294837a1df..0000000000 Binary files a/cms/static/img/due-date-icon.png and /dev/null differ diff --git a/cms/static/img/dummy-calendar.png b/cms/static/img/dummy-calendar.png deleted file mode 100644 index 4720877235..0000000000 Binary files a/cms/static/img/dummy-calendar.png and /dev/null differ diff --git a/cms/static/img/edit-icon-white.png b/cms/static/img/edit-icon-white.png deleted file mode 100644 index 0469d56c89..0000000000 Binary files a/cms/static/img/edit-icon-white.png and /dev/null differ diff --git a/cms/static/img/edit-icon.png b/cms/static/img/edit-icon.png deleted file mode 100644 index 748d3d2115..0000000000 Binary files a/cms/static/img/edit-icon.png and /dev/null differ diff --git a/cms/static/img/edx-labs-logo-small.png b/cms/static/img/edx-labs-logo-small.png deleted file mode 100644 index 992e158148..0000000000 Binary files a/cms/static/img/edx-labs-logo-small.png and /dev/null differ diff --git a/cms/static/img/expand-collapse-icons.png b/cms/static/img/expand-collapse-icons.png deleted file mode 100644 index a4a1518ec9..0000000000 Binary files a/cms/static/img/expand-collapse-icons.png and /dev/null differ diff --git a/cms/static/img/file-icon.png b/cms/static/img/file-icon.png deleted file mode 100644 index b054232f76..0000000000 Binary files a/cms/static/img/file-icon.png and /dev/null differ diff --git a/cms/static/img/folder-icon.png b/cms/static/img/folder-icon.png deleted file mode 100644 index a98a6b995e..0000000000 Binary files a/cms/static/img/folder-icon.png and /dev/null differ diff --git a/cms/static/img/home-icon-blue.png b/cms/static/img/home-icon-blue.png deleted file mode 100644 index 45b4971a2a..0000000000 Binary files a/cms/static/img/home-icon-blue.png and /dev/null differ diff --git a/cms/static/img/home-icon.png b/cms/static/img/home-icon.png deleted file mode 100644 index be44bc2089..0000000000 Binary files a/cms/static/img/home-icon.png and /dev/null differ diff --git a/cms/static/img/indicator.gif b/cms/static/img/indicator.gif deleted file mode 100755 index 085ccaecaf..0000000000 Binary files a/cms/static/img/indicator.gif and /dev/null differ diff --git a/cms/static/img/large-toggles.png b/cms/static/img/large-toggles.png deleted file mode 100644 index 8c38a77ba0..0000000000 Binary files a/cms/static/img/large-toggles.png and /dev/null differ diff --git a/cms/static/img/list-icon.png b/cms/static/img/list-icon.png deleted file mode 100644 index ab46179cec..0000000000 Binary files a/cms/static/img/list-icon.png and /dev/null differ diff --git a/cms/static/img/log-out-icon.png b/cms/static/img/log-out-icon.png deleted file mode 100644 index 887d59f45d..0000000000 Binary files a/cms/static/img/log-out-icon.png and /dev/null differ diff --git a/cms/static/img/new-folder-icon.png b/cms/static/img/new-folder-icon.png deleted file mode 100644 index 6bcef05c3e..0000000000 Binary files a/cms/static/img/new-folder-icon.png and /dev/null differ diff --git a/cms/static/img/new-unit-icon.png b/cms/static/img/new-unit-icon.png deleted file mode 100644 index ba5d706953..0000000000 Binary files a/cms/static/img/new-unit-icon.png and /dev/null differ diff --git a/cms/static/img/plus-icon-small.png b/cms/static/img/plus-icon-small.png deleted file mode 100644 index 1abb12b6da..0000000000 Binary files a/cms/static/img/plus-icon-small.png and /dev/null differ diff --git a/cms/static/img/plus-icon-white.png b/cms/static/img/plus-icon-white.png deleted file mode 100644 index d2c5263f93..0000000000 Binary files a/cms/static/img/plus-icon-white.png and /dev/null differ diff --git a/cms/static/img/plus-icon.png b/cms/static/img/plus-icon.png deleted file mode 100644 index 3ffa4f2f69..0000000000 Binary files a/cms/static/img/plus-icon.png and /dev/null differ diff --git a/cms/static/img/search-icon.png b/cms/static/img/search-icon.png deleted file mode 100644 index 7368f803d5..0000000000 Binary files a/cms/static/img/search-icon.png and /dev/null differ diff --git a/cms/static/img/sequence-icon.png b/cms/static/img/sequence-icon.png deleted file mode 100644 index f95065b5eb..0000000000 Binary files a/cms/static/img/sequence-icon.png and /dev/null differ diff --git a/cms/static/img/slides-icon.png b/cms/static/img/slides-icon.png deleted file mode 100644 index e1dae5185b..0000000000 Binary files a/cms/static/img/slides-icon.png and /dev/null differ diff --git a/cms/static/img/small-home-icon.png b/cms/static/img/small-home-icon.png deleted file mode 100644 index 5755bf659d..0000000000 Binary files a/cms/static/img/small-home-icon.png and /dev/null differ diff --git a/cms/static/img/small-toggle-icons.png b/cms/static/img/small-toggle-icons.png deleted file mode 100644 index ad6585862e..0000000000 Binary files a/cms/static/img/small-toggle-icons.png and /dev/null differ diff --git a/cms/static/img/small-toggle-off.png b/cms/static/img/small-toggle-off.png deleted file mode 100644 index 2238454bae..0000000000 Binary files a/cms/static/img/small-toggle-off.png and /dev/null differ diff --git a/cms/static/img/small-toggle-on.png b/cms/static/img/small-toggle-on.png deleted file mode 100644 index f744e920c5..0000000000 Binary files a/cms/static/img/small-toggle-on.png and /dev/null differ diff --git a/cms/static/img/spinner-in-field.gif b/cms/static/img/spinner-in-field.gif deleted file mode 100644 index fe2f556f5e..0000000000 Binary files a/cms/static/img/spinner-in-field.gif and /dev/null differ diff --git a/cms/static/img/textbook-icon.png b/cms/static/img/textbook-icon.png deleted file mode 100644 index 11e4abb363..0000000000 Binary files a/cms/static/img/textbook-icon.png and /dev/null differ diff --git a/cms/static/img/upload-icon.png b/cms/static/img/upload-icon.png deleted file mode 100644 index 0a78627f87..0000000000 Binary files a/cms/static/img/upload-icon.png and /dev/null differ diff --git a/cms/static/img/video-icon.png b/cms/static/img/video-icon.png deleted file mode 100644 index 5f8c930d16..0000000000 Binary files a/cms/static/img/video-icon.png and /dev/null differ diff --git a/cms/static/sass/_base.scss b/cms/static/sass/_base.scss index 329ecad33f..26b5e7d90d 100644 --- a/cms/static/sass/_base.scss +++ b/cms/static/sass/_base.scss @@ -569,11 +569,6 @@ hr.divide { } .window { - // border-radius: 3px; - // box-shadow: 0 1px 1px $shadow-l1; - // margin-bottom: $baseline; - // border: 1px solid $gray-l2; - // background: $white; .window-contents { padding: 20px; @@ -615,162 +610,6 @@ hr.divide { } } -// ==================== - -// system notifications -.toast-notification { - @include transition(all $tmg-f2 linear 0s); - @include linear-gradient(top, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)); - @extend %t-copy-sub1; - display: none; - position: fixed; - top: 20px; - right: 20px; - z-index: 99999; - max-width: 350px; - padding: 15px 20px 17px; - border-radius: 3px; - border: 1px solid #333; - background-color: rgba(30, 30, 30, .92); - box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 1px 0 rgba(255, 255, 255, .1) inset; - text-align: center; - color: #fff; - - p, span { - color: #fff; - } - - strong { - @extend %t-copy-base; - @extend %t-strong; - display: block; - margin-bottom: 10px; - text-align: center; - } - - .close-button { - @extend %t-action1; - @extend %t-strong; - position: absolute; - top: 0; - right: 0; - width: 27px; - height: 27px; - line-height: 25px; - color: #aaa; - text-align: center; - - .close-icon { - @extend %t-action2; - @extend %t-strong; - } - } - - .action-button { - @include blue-button; - @include box-sizing(border-box); - @extend %t-action4; - width: 100%; - margin-top: 10px; - text-align: center; - } -} - -.waiting { - position: relative; - - &:before { - content: ''; - display: block; - position: absolute; - top: 0; - left: 0; - z-index: 999998; - width: 100%; - height: 100%; - border-radius: inherit; - background: rgba(255, 255, 255, .9); - } - - &:after { - @extend .spinner-icon; - content: ''; - display: block; - position: absolute; - top: 50%; - left: 50%; - margin-left: -10px; - margin-top: -10px; - z-index: 999999; - } -} - -.waiting-inline { - &:after { - content: ''; - @extend .spinner-icon; - } -} - -.new-button { - @include green-button; - @extend %t-action4; - padding: 8px 20px 10px; - text-align: center; - - &.big { - display: block; - } - - .icon-plus { - margin-top: -2px; - line-height: 0; - } -} - -.view-button { - @include blue-button; - @extend %t-action4; - text-align: center; - - &.big { - display: block; - } - - .icon-eye-open { - @extend %t-action2; - display: inline-block; - vertical-align: middle; - margin-right: 8px; - margin-top: -3px; - line-height: 0; - } -} - -.edit-button.standard, -.delete-button.standard, -.duplicate-button.standard { - @include white-button; - @extend %t-regular; - @extend %t-action4; - float: left; - padding: 3px 10px 4px; - margin-left: 7px; - - .edit-icon, - .delete-icon, - .duplicate-icon{ - margin-right: 4px; - } -} - -.delete-button.standard { - - &:hover { - background-color: tint($orange, 75%); - } -} - .tooltip { @include transition(opacity $tmg-f3 ease-out 0s); @include font-size(12); @@ -818,19 +657,6 @@ hr.divide { @extend %ui-disabled; } -.non-list { - list-style: none; - margin: 0; - padding: 0; -} - -.wrap { - text-wrap: wrap; - white-space: pre-wrap; - white-space: -moz-pre-wrap; - word-wrap: break-word; -} - // ui - semantic + visual divider hr.divider { @extend %cont-text-sr; @@ -922,13 +748,3 @@ body.js { } } } - -// ==================== - -// works in progress & testing -body.hide-wip { - - .wip-box { - display: none; - } -} diff --git a/cms/static/sass/_variables.scss b/cms/static/sass/_variables.scss index c046742721..c310f4296f 100644 --- a/cms/static/sass/_variables.scss +++ b/cms/static/sass/_variables.scss @@ -15,9 +15,7 @@ $fg-min-width: 900px; // ==================== // fonts -$f-serif: 'Bree Serif', Georgia, Cambria, 'Times New Roman', Times, serif; $f-sans-serif: 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif; -$f-decorative: ''; $f-monospace: 'Bitstream Vera Sans Mono', Consolas, Courier, monospace; // ==================== @@ -230,6 +228,3 @@ $body-line-height: golden-ratio(.875em, 1); // carried over from LMS for xmodules $action-primary-active-bg: #1AA1DE; // $m-blue $very-light-text: #fff; - - - diff --git a/cms/static/sass/assets/_content-types.scss b/cms/static/sass/assets/_content-types.scss deleted file mode 100644 index 5ca067bf40..0000000000 --- a/cms/static/sass/assets/_content-types.scss +++ /dev/null @@ -1,69 +0,0 @@ -%content-type { - display: inline-block; - width: 14px; - height: 16px; - padding-left: 14px; - background-position: 8px center; - background-repeat: no-repeat; - vertical-align: middle; -} - -.videosequence-icon { - @extend %content-type; - background-image: url('../img/content-types/videosequence.png'); -} - -.video-icon { - @extend %content-type; - background-image: url('../img/content-types/video.png'); -} - -.problemset-icon { - @extend %content-type; - background-image: url('../img/content-types/problemset.png'); -} - -.problem-icon { - @extend %content-type; - background-image: url('../img/content-types/problem.png'); -} - -.lab-icon { - @extend %content-type; - background-image: url('../img/content-types/lab.png'); -} - -.tab-icon { - @extend %content-type; - background-image: url('../img/content-types/lab.png'); -} - -.html-icon { - @extend %content-type; - background-image: url('../img/content-types/html.png'); -} - -.vertical-icon { - @extend %content-type; - background-image: url('../img/content-types/vertical.png'); -} - -.sequential-icon { - @extend %content-type; - background-image: url('../img/content-types/sequential.png'); -} - -.chapter-icon { - @extend %content-type; - background-image: url('../img/content-types/chapter.png'); -} - -.module-icon { - @extend %content-type; - background-image: url('../img/content-types/module.png'); -} - -.module-icon { - @extend %content-type; - background-image: url('../img/content-types/module.png'); -} diff --git a/cms/static/sass/assets/_graphics.scss b/cms/static/sass/assets/_graphics.scss index a3d5d26ab4..80e9f3d687 100644 --- a/cms/static/sass/assets/_graphics.scss +++ b/cms/static/sass/assets/_graphics.scss @@ -1,148 +1,3 @@ -.expand-collapse-icon { - @include transition(none); - position: relative; - display: inline-block; - width: 9px; - height: 11px; - margin-right: 10px; - background: url(../img/expand-collapse-icons.png) no-repeat; - - &.expand { - top: 1px; - background-position: 0 0; - } - - &.collapse { - top: -1px; - background-position: 0 -11px; - } -} - -.sequence-icon { - display: inline-block; - width: 15px; - height: 9px; - margin-right: 5px; - background: url(../img/sequence-icon.png) no-repeat; -} - -.video-icon { - display: inline-block; - width: 14px; - height: 12px; - margin-right: 5px; - background: url(../img/video-icon.png) no-repeat; -} - -.upload-icon { - display: inline-block; - width: 22px; - height: 13px; - margin-right: 5px; - background: url(../img/upload-icon.png) no-repeat; -} - -.list-icon { - display: inline-block; - width: 14px; - height: 10px; - margin-right: 5px; - background: url(../img/list-icon.png) no-repeat; -} - -.close-icon { - display: inline-block; - width: 13px; - height: 12px; - background: url(../img/close-icon.png) no-repeat; -} - -.home-icon { - display: inline-block; - width: 19px; - height: 16px; - background: url(../img/home-icon.png) no-repeat; -} - -.small-home-icon { - display: inline-block; - width: 16px; - height: 14px; - background: url(../img/small-home-icon.png) no-repeat; -} - -.log-out-icon { - display: inline-block; - width: 15px; - height: 13px; - background: url(../img/log-out-icon.png) no-repeat; -} - -.collapse-all-icon { - display: inline-block; - width: 15px; - height: 9px; - background: url(../img/collapse-all-icon.png) no-repeat; -} - -.calendar-icon { - display: inline-block; - width: 12px; - height: 11px; - margin-right: 5px; - background: url(../img/calendar-icon.png) no-repeat; -} - -.edit-icon { - display: inline-block; - width: 12px; - height: 12px; - margin-right: 2px; - background: url(../img/edit-icon.png) no-repeat; - - &.white { - background: url(../img/edit-icon-white.png) no-repeat; - } -} - -.duplicate-icon { - display: inline-block; - width: 12px; - height: 12px; - margin-right: 2px; -} - -.visibility-toggle { - .toggle-icon { - display: inline-block; - width: 27px; - height: 20px; - background: url(../img/small-toggle-icons.png) no-repeat; - background-position: 0 -34px; - } - - &.hidden .toggle-icon { - background-position: 0 -4px; - } - - &.both .toggle-icon { - background-position: 0 -64px; - } -} - - -.delete-icon { - display: inline-block; - width: 10px; - height: 11px; - margin-right: 2px; - background: url(../img/delete-icon.png) no-repeat; - - &.white { - background: url(../img/delete-icon-white.png) no-repeat; - } -} - .drag-handle { display: inline-block; float: right; @@ -153,98 +8,6 @@ cursor: move; } -.draft-tag, -.public-tag, -.private-tag { - @extend %t-action5; - @extend %t-strong; - margin-left: 3px; - text-transform: uppercase; - color: #a4aab7; -} - -.draft-tag { - color: #9f7d10; -} - -.plus-icon { - display: inline-block; - width: 11px; - height: 11px; - margin-right: 8px; - background: url(../img/plus-icon.png) no-repeat; - - &.white { - background: url(../img/plus-icon-white.png) no-repeat; - } -} - -.plus-icon-small { - display: inline-block; - width: 6px; - height: 6px; - margin-right: 8px; - background: url(../img/plus-icon-small.png) no-repeat center; -} - -.folder-icon { - display: inline-block; - width: 15px; - height: 11px; - margin-right: 4px; - background: url(../img/folder-icon.png) no-repeat; -} - -.new-folder-icon { - display: inline-block; - width: 23px; - height: 11px; - margin-right: 8px; - background: url(../img/new-folder-icon.png) no-repeat; -} - -.file-icon { - display: inline-block; - width: 10px; - height: 11px; - margin-right: 8px; - background: url(../img/file-icon.png) no-repeat; -} - -.new-unit-icon { - display: inline-block; - width: 23px; - height: 12px; - margin-right: 8px; - background: url(../img/new-unit-icon.png) right no-repeat; -} - -.new-policy-icon { - display: inline-block; - width: 23px; - height: 12px; - margin-right: 8px; - background: url(../img/new-unit-icon.png) right no-repeat; -} - -.textbook-icon { - display: inline-block; - width: 32px; - height: 32px; - margin-right: 8px; - vertical-align: middle; - background: url(../img/textbook-icon.png) no-repeat; -} - -.slides-icon { - display: inline-block; - width: 32px; - height: 32px; - margin-right: 8px; - vertical-align: middle; - background: url(../img/slides-icon.png) no-repeat; -} - .large-slide-icon { display: inline-block; width: 100px; @@ -324,20 +87,3 @@ margin-right: 5px; background: url(../img/large-video-icon.png) center no-repeat; } - -.spinner-icon { - display: inline-block; - width: 20px; - height: 20px; - margin-left: 10px; - vertical-align: middle; - background: url(../img/blue-spinner.gif) no-repeat; -} - -.spinner-in-field-icon { - display: inline-block; - width: 14px; - height: 14px; - vertical-align: middle; - background: url(../img/spinner-in-field.gif) no-repeat; -} diff --git a/cms/static/sass/elements/_navigation.scss b/cms/static/sass/elements/_navigation.scss index 70289057ea..6606066f3d 100644 --- a/cms/static/sass/elements/_navigation.scss +++ b/cms/static/sass/elements/_navigation.scss @@ -22,6 +22,29 @@ nav { // ==================== +// skip navigation +.nav-skip { + @include font-size(13); + display: block; + position: absolute; + left: 0px; + top: -($baseline*30); + width: 1px; + height: 1px; + overflow: hidden; + background: $white; + border-bottom: 1px solid $gray-l4; + padding: ($baseline*0.75) ($baseline/2); + + &:focus, &:active { + position: static; + width: auto; + height: auto; + } +} + +// ==================== + // dropdown .nav-dd { diff --git a/cms/static/sass/style-app-extend1.scss b/cms/static/sass/style-app-extend1.scss index 99460e4b29..7dbb6d2a8d 100644 --- a/cms/static/sass/style-app-extend1.scss +++ b/cms/static/sass/style-app-extend1.scss @@ -56,8 +56,5 @@ // base - contexts @import 'contexts/ie'; // ie-specific rules (mostly for known/older bugs) -// temp - inherited -@import 'assets/content-types'; - @import 'developer'; // used for any developer-created scss that needs further polish/refactoring @import 'shame'; // used for any bad-form/orphaned scss diff --git a/cms/static/sass/views/_dashboard.scss b/cms/static/sass/views/_dashboard.scss index fc95b229b5..494500fd4d 100644 --- a/cms/static/sass/views/_dashboard.scss +++ b/cms/static/sass/views/_dashboard.scss @@ -418,8 +418,15 @@ pointer-events: auto; } - .course-title { - color: $orange-d1; + .view-live-button { + @extend %ui-depth3; + @extend %btn-primary-blue; + @extend %sizing; + @include transition(opacity $tmg-f2 ease-in-out 0); + @include box-sizing(border-box); + padding: ($baseline/2); + opacity: 0.0; + pointer-events: none; } .course-metadata { diff --git a/cms/templates/base.html b/cms/templates/base.html index ecd68e593a..8a8a70c0de 100644 --- a/cms/templates/base.html +++ b/cms/templates/base.html @@ -40,7 +40,7 @@ <%block name="header_extras">%block> -
+ <%block name="view_notes">%block> ${_("Skip to this view's content")} diff --git a/common/static/sass/_mixins-inherited.scss b/common/static/sass/_mixins-inherited.scss index 6930abb36b..4bc7b32f32 100644 --- a/common/static/sass/_mixins-inherited.scss +++ b/common/static/sass/_mixins-inherited.scss @@ -296,20 +296,7 @@ } } -@mixin dark-grey-button { - @include button; - border: 1px solid $gray-d2; - border-radius: 3px; - background: -webkit-linear-gradient(top, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0)) $gray-d1; - box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset; - color: $white; - - &:hover, &:focus { - background-color: $gray-d4; - color: $white; - } -} - +// only needed for course updates @mixin edit-box { box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset; padding: 15px 20px; @@ -353,93 +340,6 @@ } } -@mixin tree-view { - border: 0; - background: $white; - - .branch { - margin-bottom: 0; - } - - .branch > .section-item { - border-top: 1px solid #c5cad4; - } - - .section-item { - @include transition(background $tmg-avg ease-in-out 0); - @extend %t-action3; - position: relative; - display: block; - padding: 6px 8px 8px 16px; - background: #edf1f5; - - &:hover, &:focus { - background: $blue-l5; - - .item-actions { - display: block; - } - } - - &.editing { - background: $orange-l4; - } - - .draft-item:after, - .public-item:after, - .private-item:after { - @extend %t-strong; - @extend %t-action5; - margin-left: 3px; - text-transform: uppercase; - } - - .draft-item:after { - content: "- draft"; - } - - .private-item:after { - content: "- private"; - } - - .private-item { - color: $gray-l1; - } - - .draft-item { - color: $yellow-d1; - } - } - - a { - color: $baseFontColor; - - &.new-unit-item { - color: #6d788b; - } - } - - ol { - .section-item { - padding-left: 56px; - } - - .new-unit-item { - margin-left: 56px; - } - } - - ol ol { - .section-item { - padding-left: 96px; - } - - .new-unit-item { - margin-left: 96px; - } - } -} - // ==================== // sunsetted mixins