Unverified Commit 6cd33d68 by Douglas Hall Committed by GitHub

Merge pull request #16448 from edx/douglashall/ENT-749

Fixed enterprise tagline styling.
parents e63cf7ff 174302c1
...@@ -37,14 +37,13 @@ ...@@ -37,14 +37,13 @@
font-size: 14px; font-size: 14px;
text-align: left; text-align: left;
display: inline-block; display: inline-block;
vertical-align: middle;
line-height: normal; line-height: normal;
margin-left: -30px; padding: 15px 0 0 10px;
} }
@media (max-width: $bp-screen-sm) { @include media-breakpoint-down(md) {
.enterprise-tagline { .enterprise-tagline {
width: 200px display: none;
} }
} }
......
...@@ -19,14 +19,6 @@ from branding import api as branding_api ...@@ -19,14 +19,6 @@ from branding import api as branding_api
<img class="logo-image" src="${static.url("images/logo.png")}" alt="${_("{platform_name} Home Page").format(platform_name=static.get_platform_name())}" itemprop="logo" /> <img class="logo-image" src="${static.url("images/logo.png")}" alt="${_("{platform_name} Home Page").format(platform_name=static.get_platform_name())}" itemprop="logo" />
</a> </a>
</div> </div>
% if enable_enterprise_sidebar:
<span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
% if tagline:
${tagline}
% endif
</span>
% endif
% if course and not disable_courseware_header: % if course and not disable_courseware_header:
<div class="course-header"> <div class="course-header">
<span class="provider">${course.display_org_with_default}:</span> <span class="provider">${course.display_org_with_default}:</span>
...@@ -35,3 +27,11 @@ from branding import api as branding_api ...@@ -35,3 +27,11 @@ from branding import api as branding_api
</div> </div>
% endif % endif
</h1> </h1>
% if enable_enterprise_sidebar:
<div class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
% if tagline:
${tagline}
% endif
</div>
% endif
...@@ -19,14 +19,6 @@ from branding import api as branding_api ...@@ -19,14 +19,6 @@ from branding import api as branding_api
<img class="logo" src="${branding_api.get_logo_url(is_secure)}" alt="${_("{platform_name} Home Page").format(platform_name=static.get_platform_name())}"/> <img class="logo" src="${branding_api.get_logo_url(is_secure)}" alt="${_("{platform_name} Home Page").format(platform_name=static.get_platform_name())}"/>
</%block> </%block>
</a> </a>
% if enable_enterprise_sidebar:
<span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
% if tagline:
${tagline}
% endif
</span>
% endif
% if course: % if course:
<div class="course-header"> <div class="course-header">
<span class="provider">${course.display_org_with_default}:</span> <span class="provider">${course.display_org_with_default}:</span>
...@@ -42,3 +34,11 @@ from branding import api as branding_api ...@@ -42,3 +34,11 @@ from branding import api as branding_api
</div> </div>
% endif % endif
</h1> </h1>
% if enable_enterprise_sidebar:
<div class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
% if tagline:
${tagline}
% endif
</div>
% endif
...@@ -21,14 +21,6 @@ from branding import api as branding_api ...@@ -21,14 +21,6 @@ from branding import api as branding_api
</%block> </%block>
</a> </a>
</div> </div>
% if enable_enterprise_sidebar:
<span class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
% if tagline:
${tagline}
% endif
</span>
% endif
% if course: % if course:
<div class="course-header"> <div class="course-header">
<span class="provider">${course.display_org_with_default}:</span> <span class="provider">${course.display_org_with_default}:</span>
...@@ -44,3 +36,11 @@ from branding import api as branding_api ...@@ -44,3 +36,11 @@ from branding import api as branding_api
</div> </div>
% endif % endif
</h1> </h1>
% if enable_enterprise_sidebar:
<div class="enterprise-tagline">
<% tagline = configuration_helpers.get_value('ENTERPRISE_TAGLINE', settings.ENTERPRISE_TAGLINE) %>
% if tagline:
${tagline}
% endif
</div>
% endif
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