Commit c8f1d49c by Brian Talbot

Merge pull request #22 from edx/fix/btalbot/edx.org-accessibility

Fix/btalbot/edx.org accessibility
parents c865641f eca9eede
lms/static/images/bg-banner-login.png

42.4 KB | W: | H:

lms/static/images/bg-banner-login.png

19.1 KB | W: | H:

lms/static/images/bg-banner-login.png
lms/static/images/bg-banner-login.png
lms/static/images/bg-banner-login.png
lms/static/images/bg-banner-login.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -46,8 +46,9 @@ $m-gray: rgb(153,153,153); ...@@ -46,8 +46,9 @@ $m-gray: rgb(153,153,153);
$m-gray-d1: rgb(102,102,102); $m-gray-d1: rgb(102,102,102);
$m-gray-d2: rgb(51,51,51); $m-gray-d2: rgb(51,51,51);
$m-gray-a1: rgb(80,80,80); $m-gray-a1: rgb(80,80,80);
$m-blue: rgb(85, 151, 221); $m-blue: rgb(65, 116, 170);
$m-blue-l1: rgb(230,245,252); // $m-blue: rgb(85, 151, 221); (used in marketing redesign)
$m-blue-l1: rgb(85, 151, 221);
$m-blue-d1: shade($m-blue,15%); $m-blue-d1: shade($m-blue,15%);
$m-blue-s1: saturate($m-blue,15%); $m-blue-s1: saturate($m-blue,15%);
$m-pink: rgb(204,51,102); $m-pink: rgb(204,51,102);
...@@ -122,4 +123,4 @@ $modal-bg-color: rgb(245,245,245); ...@@ -122,4 +123,4 @@ $modal-bg-color: rgb(245,245,245);
//----------------- //-----------------
$homepage-bg-image: '../images/homepage-bg.jpg'; $homepage-bg-image: '../images/homepage-bg.jpg';
$video-thumb-url: '../images/courses/video-thumb.jpg'; $video-thumb-url: '../images/courses/video-thumb.jpg';
\ No newline at end of file
...@@ -148,8 +148,8 @@ ...@@ -148,8 +148,8 @@
} }
&:hover, &:active { &:hover, &:active {
border-bottom: 1px dotted $m-blue-s1; border-bottom: 1px dotted $m-blue-l1;
color: $m-blue-s1; color: $m-blue-l1;
} }
} }
...@@ -339,11 +339,11 @@ ...@@ -339,11 +339,11 @@
&.is-focused { &.is-focused {
label { label {
color: $m-blue-s1; color: $m-blue-l1;
} }
.tip { .tip {
color: $m-blue-s1; color: $m-blue-l1;
} }
} }
......
...@@ -317,13 +317,13 @@ header.global { ...@@ -317,13 +317,13 @@ header.global {
} }
// page-based nav states // page-based nav states
.view-howitworks .nav-global-01, .view-howitworks .nav-global-01,
.view-courses .nav-global-02, .view-courses .nav-global-02,
.view-schools .nav-global-03, .view-schools .nav-global-03,
.view-register .nav-global-04 { .view-register .nav-global-04 {
a { a {
text-decoration: none; text-decoration: none;
color: $m-blue-s1 !important; color: $m-blue-s1 !important;
} }
} }
<%inherit file="main.html" /> <%inherit file="main.html" />
<%namespace name='static' file='static_content.html'/> <%namespace name='static' file='static_content.html'/>
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%! from django.utils.translation import ugettext as _ %>
<%block name="title"><title>Log into your edX Account</title></%block> <%block name="title"><title>Log into your edX Account</title></%block>
<%block name="js_extra"> <%block name="js_extra">
...@@ -77,14 +80,14 @@ ...@@ -77,14 +80,14 @@
<section class="introduction"> <section class="introduction">
<header> <header>
<h1 class="sr">Log Into Your Account</h1> <h1 class="sr">${_("Log Into Your Account")}</h1>
</header> </header>
</section> </section>
<section class="login container"> <section class="login container">
<section role="main" class="content"> <section role="main" class="content">
<header> <header>
<h2 class="sr">Login Form</h2> <h2 class="sr">${_("Login Form")}</h2>
</header> </header>
<form role="form" id="login-form" method="post" data-remote="true" action="/login_ajax"> <form role="form" id="login-form" method="post" data-remote="true" action="/login_ajax">
......
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
<%namespace name='static' file='static_content.html'/> <%namespace name='static' file='static_content.html'/>
<%namespace file='main.html' import="login_query"/> <%namespace file='main.html' import="login_query"/>
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%! from django.utils import html %> <%! from django.utils import html %>
<%! from django_countries.countries import COUNTRIES %> <%! from django_countries.countries import COUNTRIES %>
<%! from django.utils.translation import ugettext as _ %>
<%! from student.models import UserProfile %> <%! from student.models import UserProfile %>
<%! from datetime import date %> <%! from datetime import date %>
<%! import calendar %> <%! import calendar %>
...@@ -81,14 +83,14 @@ ...@@ -81,14 +83,14 @@
<section class="introduction"> <section class="introduction">
<header> <header>
<h1 class="sr">Register for edX</h1> <h1 class="sr">${_("Register for edX")}</h1>
</header> </header>
</section> </section>
<section class="register container"> <section class="register container">
<section role="main" class="content"> <section role="main" class="content">
<header> <header>
<h2 class="sr">Registration Form</h2> <h2 class="sr">${_("Welcome! Register below to create your edX account")}</h2>
</header> </header>
<form role="form" id="register-form" method="post" data-remote="true" action="/create_account"> <form role="form" id="register-form" method="post" data-remote="true" action="/create_account">
...@@ -262,10 +264,10 @@ ...@@ -262,10 +264,10 @@
<div class="cta cta-help"> <div class="cta cta-help">
<h3>Need Help?</h3> <h3>Need Help?</h3>
<p>Need help in registering with edX? <p>Need help in registering with edX?
<a href="${marketing_link('FAQ')}"> <a href="${marketing_link('FAQ')}">
View our FAQs for answers to commonly asked questions. View our FAQs for answers to commonly asked questions.
</a> </a>
Once registered, most questions can be answered in the course specific discussion forums or through the FAQs.</p> Once registered, most questions can be answered in the course specific discussion forums or through the FAQs.</p>
</div> </div>
</aside> </aside>
......
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