Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
982d22df
Commit
982d22df
authored
Sep 25, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edx.org/LMS: revises graphic-based login and registration banner text to render with system text
parent
47621b56
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
9 deletions
+51
-9
lms/static/images/bg-banner-account.png
+0
-0
lms/static/sass/base/_variables.scss
+6
-2
lms/static/sass/multicourse/_account.scss
+37
-5
lms/templates/login.html
+4
-1
lms/templates/register.html
+4
-1
No files found.
lms/static/images/bg-banner-account.png
0 → 100644
View file @
982d22df
17.7 KB
lms/static/sass/base/_variables.scss
View file @
982d22df
...
...
@@ -215,6 +215,10 @@ $action-secondary-active-focused-shadow: $m-pink-d2;
$action-secondary-disabled-bg
:
$m-gray-d3
;
$action-secondary-disabled-fg
:
$white
;
// HEADER: graphic-based page titles
$header-graphic-super-color
:
$m-blue-d1
;
$header-graphic-sub-color
:
$m-gray-d2
;
// ====================
// MISC: visual horizontal rules
...
...
@@ -279,8 +283,8 @@ $footer_margin: ($baseline/4) 0 ($baseline*1.5) 0;
// IMAGES: backgrounds
$homepage-bg-image
:
'../images/homepage-bg.jpg'
;
$login-banner-image
:
url(../images/bg-banner-
login
.png)
;
$register-banner-image
:
url(../images/bg-banner-
register
.png)
;
$login-banner-image
:
url(../images/bg-banner-
account
.png)
;
$register-banner-image
:
url(../images/bg-banner-
account
.png)
;
$video-thumb-url
:
'../images/courses/video-thumb.jpg'
;
...
...
lms/static/sass/multicourse/_account.scss
View file @
982d22df
...
...
@@ -117,11 +117,43 @@
.introduction
{
padding
:
(
$baseline
*
2
)
$baseline
0
$baseline
;
header
h1
{
@extend
%heading-2
;
margin-bottom
:
$baseline
;
padding-bottom
:
$baseline
;
text-align
:
left
;
header
{
position
:
relative
;
// CASE: normal typographical headings
h1
{
@extend
%heading-2
;
margin-bottom
:
$baseline
;
padding-bottom
:
$baseline
;
text-align
:
left
;
}
// CASE: marketing/imageery-based headings
.title
{
position
:
absolute
;
top
:
(
$baseline
*
2
.5
);
left
:(
$baseline
*
1
.5
);
.title-super
,
.title-sub
{
@extend
%t-weight1
;
display
:
block
;
letter-spacing
:
0
;
}
.title-super
{
@include
font-size
(
26
);
@include
line-height
(
18
);
text-transform
:
uppercase
;
color
:
$header-graphic-super-color
;
}
.title-sub
{
@include
font-size
(
20
);
margin-left
:
(
$baseline
*
2
);
text-transform
:
lowercase
;
color
:
$header-graphic-sub-color
;
}
}
}
}
}
...
...
lms/templates/login.html
View file @
982d22df
...
...
@@ -94,7 +94,10 @@
<section
class=
"introduction"
>
<header>
<h1
class=
"sr"
>
${_("Please log in to access your account and courses")}
</h1>
<h1
class=
"title"
>
<span
class=
"title-super"
>
${_("Please log in")}
</span>
<span
class=
"title-sub"
>
${_("to access your account and courses")}
</span>
</h1>
</header>
</section>
...
...
lms/templates/register.html
View file @
982d22df
...
...
@@ -90,7 +90,10 @@
<section
class=
"introduction"
>
<header>
<h1
class=
"sr"
>
${_("Welcome! Register below to create your {platform_name} account").format(platform_name=settings.PLATFORM_NAME)}
</h1>
<h1
class=
"title"
>
<span
class=
"title-super"
>
${_("Welcome!")}
</span>
<span
class=
"title-sub"
>
${_("Register below to create your {platform_name} account").format(platform_name=settings.PLATFORM_NAME)}
</span>
</h1>
</header>
</section>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment