Commit 99a61f15 by Peter Desjardins Committed by GitHub

Merge pull request #13410 from edx/pdesjardins/DOC-2748

Complete the LMS help link - add it to edx.org theme, adjust Sass styling for the theme and for pattern library pages
parents f2fc3a14 c50e0285
...@@ -129,3 +129,15 @@ ...@@ -129,3 +129,15 @@
} }
} }
} }
.doc-link {
@include float(right);
@include margin(($baseline*0.75), ($baseline*0.75), ($baseline*0.75), ($baseline*0.75));
font-size: 14px;
font-weight: bold;
color: $base-font-color;
&:visited {
color: $base-font-color;
}
}
...@@ -10,30 +10,6 @@ ...@@ -10,30 +10,6 @@
width: 100%; width: 100%;
height: 76px; height: 76px;
.doc-link {
position: relative;
@include float(right);
@include margin(($baseline*0.75), ($baseline*0.75), ($baseline*0.75), ($baseline*0.75));
padding: 0;
text-transform: none;
font-size: 14px;
font-weight: bold;
letter-spacing: 0;
color: $base-font-color;
text-decoration: none;
&:hover,
&:focus {
text-decoration: none;
color: $base-font-color;
}
&:visited {
text-decoration: none;
color: $base-font-color;
}
}
.wrapper-header { .wrapper-header {
@include clearfix(); @include clearfix();
height: 40px; height: 40px;
...@@ -906,3 +882,15 @@ ...@@ -906,3 +882,15 @@
color: $link-color !important; color: $link-color !important;
} }
} }
.doc-link {
@include float(right);
@include margin(($baseline*0.75), ($baseline*0.75), ($baseline*0.75), ($baseline*0.75));
font-size: 14px;
font-weight: bold;
color: $base-font-color;
&:visited {
color: $base-font-color;
}
}
...@@ -104,6 +104,10 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -104,6 +104,10 @@ site_status_msg = get_site_status_msg(course_id)
<%include file="user_dropdown.html"/> <%include file="user_dropdown.html"/>
<a href="${get_online_help_info(online_help_token)['doc_url']}"
target="_blank"
class="doc-link">${_("Help")}</a>
% if should_display_shopping_cart_func(): # see shoppingcart.context_processor.user_has_cart_context_processor % if should_display_shopping_cart_func(): # see shoppingcart.context_processor.user_has_cart_context_processor
<ul class="user"> <ul class="user">
<li class="primary"> <li class="primary">
......
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