From f983867e6b21590a6778cac59106a317dbd6f6e5 Mon Sep 17 00:00:00 2001 From: Brittany Cheng Date: Tue, 14 Aug 2012 16:28:45 -0700 Subject: [PATCH] moderator styles --- lms/static/sass/_discussion.scss | 29 ++++++++++++++++++++-- lms/templates/discussion/user_profile.html | 4 +-- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/lms/static/sass/_discussion.scss b/lms/static/sass/_discussion.scss index f8047b0eee..e0ada43475 100644 --- a/lms/static/sass/_discussion.scss +++ b/lms/static/sass/_discussion.scss @@ -131,6 +131,30 @@ $tag-text-color: #5b614f; text-align: right; color: #9a9a9a; } + +//user profile + + .sidebar-username { + font-size: 1.5em; + font-weight: bold; + line-height: 1.5em; + } + + .sidebar-user-roles { + color: darkGray; + font-style: italic; + margin-bottom: 15px; + } + + .sidebar-threads-count, .sidebar-comments-count { + + span { + font-size: 1.5em; + font-weight: bold; + line-height: 1.5em; + margin-right: 10px; + } + } } .discussion-non-content { @@ -424,7 +448,6 @@ $tag-text-color: #5b614f; .search-wrapper-inline { display: inline-block; - margin-bottom: 6%; margin-top: 3%; width: 80%; } @@ -770,7 +793,7 @@ $tag-text-color: #5b614f; &.inline-discussion, .forum-discussion { .new-post-form { - margin: 24px 60px; + margin: -30px 60px 24px 60px; .post-options { margin: 8px 0 16px 0; @@ -778,11 +801,13 @@ $tag-text-color: #5b614f; label { margin-right: 15px; + display: inline; } } .post-control { overflow: hidden; + margin: 0 0 5% 0; } } } diff --git a/lms/templates/discussion/user_profile.html b/lms/templates/discussion/user_profile.html index 01d9c66c61..99d5ca5e26 100644 --- a/lms/templates/discussion/user_profile.html +++ b/lms/templates/discussion/user_profile.html @@ -29,8 +29,8 @@ - - + + % if check_permissions_by_view(user, course.id, content=None, name='update_moderator_status'): % if "Moderator" in role_names: Revoke Moderator provileges