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
a76a61a7
Commit
a76a61a7
authored
Oct 22, 2013
by
Brian Talbot
Committed by
Diana Huang
Oct 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LMS: revises styling/placement of message for verified status on dashboard
parent
9c65d97f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
17 deletions
+18
-17
lms/static/sass/multicourse/_dashboard.scss
+11
-11
lms/static/sass/views/_verification.scss
+2
-1
lms/templates/dashboard/dashboard_course_listing.html
+5
-5
No files found.
lms/static/sass/multicourse/_dashboard.scss
View file @
a76a61a7
...
...
@@ -419,22 +419,22 @@
// STATE: course mode - verified
&
.verified
{
@extend
%ui-depth2
;
margin-top
:
(
$baseline
*
2
.5
);
border-top
:
1px
solid
$verified-color-lvl3
;
padding-top
:
(
$baseline
*
1
.25
);
background
:
$white
;
// FIXME: bad, but needed selector!
.info
>
hgroup
.date-block
{
top
:
(
$baseline
*
1
.25
);
position
:
relative
;
.cover
{
border-radius
:
(
$baseline
/
10
);
border
:
1px
solid
$verified-color-lvl3
;
border-bottom
:
4px
solid
$verified-color-lvl3
;
padding
:
(
$baseline
/
10
);
}
// course enrollment status message
.sts-enrollment
{
display
:
inline-block
;
position
:
absolute
;
top
:
-28px
;
right
:
(
$baseline
/
2
);
top
:
105px
;
left
:
55px
;
bottom
:
(
$baseline
/
2
);
text-align
:
center
;
.label
{
...
...
@@ -454,8 +454,8 @@
@extend
%copy-badge
;
border-radius
:
0
;
padding
:
(
$baseline
/
4
)
(
$baseline
/
2
)
(
$baseline
/
4
)
$baseline
;
color
:
$white
;
background
:
$verified-color-lvl3
;
color
:
$white
;
}
}
}
...
...
lms/static/sass/views/_verification.scss
View file @
a76a61a7
...
...
@@ -82,10 +82,11 @@
%copy-badge
{
@extend
%t-title8
;
@extend
%t-weight
5
;
@extend
%t-weight
4
;
border-radius
:
(
$baseline
/
5
);
padding
:
(
$baseline
/
2
)
$baseline
;
text-transform
:
uppercase
;
letter-spacing
:
0
.1rem
;
}
// ====================
...
...
lms/templates/dashboard/dashboard_course_listing.html
View file @
a76a61a7
...
...
@@ -30,11 +30,11 @@
% endif
% if enrollment.mode == "verified":
<span
class=
"sts-enrollment"
>
<span
class=
"label"
>
${_("Enrolled as: ")}
</span>
<img
class=
"deco-graphic"
src=
"${static.url('images/vcert-ribbon-s.png')}"
alt=
"ID Verified Ribbon/Badge"
>
<span
class=
"sts-enrollment-value"
>
${_("ID Verified")}
</span>
</span>
<span
class=
"sts-enrollment"
>
<span
class=
"label"
>
${_("Enrolled as: ")}
</span>
<img
class=
"deco-graphic"
src=
"${static.url('images/vcert-ribbon-s.png')}"
alt=
"ID Verified Ribbon/Badge"
>
<span
class=
"sts-enrollment-value"
>
${_("ID Verified")}
</span>
</span>
% endif
<section
class=
"info"
>
...
...
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