From ba6b0cf4e7284c9796e4f60012c73cd602b313a8 Mon Sep 17 00:00:00 2001 From: Giulio Gratta Date: Wed, 30 Apr 2014 11:06:10 -0700 Subject: [PATCH] Changes for Help Modal to work on Stanford Site - moved zendesk endpoint to new condition - some help modal styling --- lms/static/sass/base/_base.scss | 21 ++++++++++++++++----- lms/urls.py | 6 +++--- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/lms/static/sass/base/_base.scss b/lms/static/sass/base/_base.scss index 0655a9198d..c7f978e617 100644 --- a/lms/static/sass/base/_base.scss +++ b/lms/static/sass/base/_base.scss @@ -225,7 +225,7 @@ mark { .help-tab { @include transform(rotate(-90deg)); @include transform-origin(0 0); - top: 50%; + top: 250px; left: 0; position: fixed; z-index: 99; @@ -244,7 +244,7 @@ mark { &:hover, &:focus { color: #fff; - background: #1D9DD9; + background: $link-color; } } } @@ -273,13 +273,24 @@ mark { &:hover, &:focus { color: #fff; - background: #1D9DD9; + background: $link-color; } } } -#feedback_form textarea[name="details"] { - height: 150px; +#feedback_form { + input, textarea { + font: normal 1em/1.4em $sans-serif; + } + textarea[name="details"] { + height: 150px; + } +} + +#feedback_success_wrapper { + p { + padding: 0 20px 20px 20px; + } } // ==================== diff --git a/lms/urls.py b/lms/urls.py index b489295468..3660be9d77 100644 --- a/lms/urls.py +++ b/lms/urls.py @@ -68,6 +68,9 @@ urlpatterns = ('', # nopep8 url(r'^i18n/', include('django.conf.urls.i18n')), url(r'^embargo$', 'student.views.embargo', name="embargo"), + + # Feedback Form endpoint + url(r'^submit_feedback$', 'util.views.submit_feedback'), ) # if settings.FEATURES.get("MULTIPLE_ENROLLMENT_ROLES"): @@ -122,9 +125,6 @@ if not settings.FEATURES["USE_CUSTOM_THEME"]: # Favicon (r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/images/favicon.ico'}), - - url(r'^submit_feedback$', 'util.views.submit_feedback'), - ) # Only enable URLs for those marketing links actually enabled in the