From 2b93148869577abbe30d59eb02a7a17a17bc56e5 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 31 Dec 2013 09:10:50 -0700 Subject: [PATCH] fix invisible titles for module items locked by sequence the css rule to display the non-link title ("locked_title") was not being applied because the default rule was more specific test plan: - create a module with multiple items - add a completion requirement to (at least) the first item - view the modules page as a student - the later module items should still have titles fixes CNVS-10078 Change-Id: I9485eb477cc74e9aaced312cdf58a551ed7b3fe0 Reviewed-on: https://gerrit.instructure.com/27992 Tested-by: Jenkins Reviewed-by: Bracken Mosbacker Product-Review: Bracken Mosbacker QA-Review: Matt Fairbourn --- app/stylesheets/g_context_modules.sass | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/stylesheets/g_context_modules.sass b/app/stylesheets/g_context_modules.sass index 2be5d9c924d..5d99c8a5e19 100644 --- a/app/stylesheets/g_context_modules.sass +++ b/app/stylesheets/g_context_modules.sass @@ -215,13 +215,14 @@ $context_module_bg_color: #f2f3f4 .incomplete_item_icon display: none &.after_current_position - +opacity(0.5) - .title - display: none - .locked_title - display: inline-block - .completion_requirement - color: #aaa + .item_name + +opacity(0.5) + .title + display: none + .locked_title + display: inline-block + .completion_requirement + color: #aaa .module_item_icons vertical-align: top padding-top: 2px