Commit ba6b0cf4 by Giulio Gratta

Changes for Help Modal to work on Stanford Site

- moved zendesk endpoint to new condition
- some help modal styling
parent 07c8e4ac
...@@ -225,7 +225,7 @@ mark { ...@@ -225,7 +225,7 @@ mark {
.help-tab { .help-tab {
@include transform(rotate(-90deg)); @include transform(rotate(-90deg));
@include transform-origin(0 0); @include transform-origin(0 0);
top: 50%; top: 250px;
left: 0; left: 0;
position: fixed; position: fixed;
z-index: 99; z-index: 99;
...@@ -244,7 +244,7 @@ mark { ...@@ -244,7 +244,7 @@ mark {
&:hover, &:focus { &:hover, &:focus {
color: #fff; color: #fff;
background: #1D9DD9; background: $link-color;
} }
} }
} }
...@@ -273,13 +273,24 @@ mark { ...@@ -273,13 +273,24 @@ mark {
&:hover, &:focus { &:hover, &:focus {
color: #fff; color: #fff;
background: #1D9DD9; background: $link-color;
} }
} }
} }
#feedback_form textarea[name="details"] { #feedback_form {
height: 150px; input, textarea {
font: normal 1em/1.4em $sans-serif;
}
textarea[name="details"] {
height: 150px;
}
}
#feedback_success_wrapper {
p {
padding: 0 20px 20px 20px;
}
} }
// ==================== // ====================
......
...@@ -68,6 +68,9 @@ urlpatterns = ('', # nopep8 ...@@ -68,6 +68,9 @@ urlpatterns = ('', # nopep8
url(r'^i18n/', include('django.conf.urls.i18n')), url(r'^i18n/', include('django.conf.urls.i18n')),
url(r'^embargo$', 'student.views.embargo', name="embargo"), 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"): # if settings.FEATURES.get("MULTIPLE_ENROLLMENT_ROLES"):
...@@ -122,9 +125,6 @@ if not settings.FEATURES["USE_CUSTOM_THEME"]: ...@@ -122,9 +125,6 @@ if not settings.FEATURES["USE_CUSTOM_THEME"]:
# Favicon # Favicon
(r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/static/images/favicon.ico'}), (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 # Only enable URLs for those marketing links actually enabled in the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment