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 {
.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;
}
}
// ====================
......
......@@ -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
......
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