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
5b9609ab
Commit
5b9609ab
authored
Feb 07, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - soft landing: various fixes/tweaks
parent
fedd0aac
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
16 deletions
+30
-16
cms/static/js/base.js
+1
-1
cms/static/sass/_cms_mixins.scss
+2
-2
cms/static/sass/_header.scss
+23
-9
cms/templates/widgets/footer.html
+1
-1
cms/templates/widgets/header.html
+3
-3
No files found.
cms/static/js/base.js
View file @
5b9609ab
...
...
@@ -63,7 +63,7 @@ $(document).ready(function() {
});
// general link management - new window/tab
$
(
'a[rel="external"]'
).
attr
(
'title'
,
'This link will open in a new browser
/window
tab'
).
click
(
function
(
e
)
{
$
(
'a[rel="external"]'
).
attr
(
'title'
,
'This link will open in a new browser
window/
tab'
).
click
(
function
(
e
)
{
window
.
open
(
$
(
this
).
attr
(
'href'
));
e
.
preventDefault
();
});
...
...
cms/static/sass/_cms_mixins.scss
View file @
5b9609ab
...
...
@@ -28,7 +28,7 @@
}
}
&
:hover
{
&
:hover
,
&
.active
{
@include
box-shadow
(
0
1px
0
rgba
(
255
,
255
,
255
,
.3
)
inset
,
0
1px
1px
rgba
(
0
,
0
,
0
,
.15
));
}
}
...
...
@@ -41,7 +41,7 @@
background-color
:
$blue
;
color
:
#fff
;
&
:hover
{
&
:hover
,
&
.active
{
background-color
:
#62aaf5
;
color
:
#fff
;
}
...
...
cms/static/sass/_header.scss
View file @
5b9609ab
...
...
@@ -63,12 +63,9 @@ nav .nav-item {
vertical-align
:
top
;
}
.branding
,
.info-course
{
margin
:
0
(
$baseline
*
0
.75
)
0
0
;
}
.branding
{
position
:
relative
;
margin
:
0
(
$baseline
*
0
.75
)
0
0
;
padding-right
:
(
$baseline
*
0
.75
);
a
{
...
...
@@ -85,7 +82,7 @@ nav .nav-item {
// specific elements - course name/info
.info-course
{
position
:
relative
;
margin
-top
:
-3px
;
margin
:
-3px
(
$baseline
/
2
)
0
0
;
padding-right
:
(
$baseline
*
0
.75
);
@include
font-size
(
14
);
...
...
@@ -475,8 +472,9 @@ nav .nav-item {
.nav-item.is-current
,
body
.howitworks
.nav-not-signedin-hiw
,
body
.signin
.nav-not-signedin-signin
,
body
.signup
.nav-not-signedin-signup
,
//
dashboard
body
.dashboard
.nav-account-dashboard
,
//
course
content
body
.course.outline
.nav-course-courseware
.title
,
...
...
@@ -509,10 +507,26 @@ body.course.export .nav-course-tools-export,
{
color
:
$blue
!
important
;
color
:
$blue
;
a
{
color
:
$blue
;
}
}
body
.signup
.nav-not-signedin-signin
{
a
{
background-color
:
#d9e3ee
;
color
:
#6d788b
;
}
}
body
.signin
.nav-not-signedin-signup
{
a
{
color
:
$blue
!
important
;
background-color
:
#62aaf5
;
color
:
#fff
;
}
}
...
...
cms/templates/widgets/footer.html
View file @
5b9609ab
...
...
@@ -3,7 +3,7 @@
<div
class=
"wrapper-footer wrapper"
>
<footer
class=
"primary"
role=
"contentinfo"
>
<div
class=
"colophon"
>
<p>
©
2013
<a
href=
"http://www.edx.org"
rel=
"external"
>
edX
</a>
. All rights re
vers
ed.
</p>
<p>
©
2013
<a
href=
"http://www.edx.org"
rel=
"external"
>
edX
</a>
. All rights re
serv
ed.
</p>
</div>
<nav
class=
"nav-peripheral"
>
...
...
cms/templates/widgets/header.html
View file @
5b9609ab
...
...
@@ -84,9 +84,9 @@
<div
class=
"wrapper wrapper-nav-sub"
>
<div
class=
"nav-sub"
>
<ul>
<li
class=
"nav-item
"
><a
href=
"${reverse('course_index', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}
"
>
My Courses
</a></li>
<li
class=
"nav-item
"
><a
href=
"http://help.edge.edx.org/"
rel=
"external"
>
Help
</a></li>
<li
class=
"nav-item
"
><a
class=
"action action-logout"
href=
"${reverse('logout')}"
>
Logo
ut
</a></li>
<li
class=
"nav-item
nav-account-dashboard"
><a
href=
"#
"
>
My Courses
</a></li>
<li
class=
"nav-item
nav-account-help"
><a
href=
"http://help.edge.edx.org/"
rel=
"external"
>
Studio
Help
</a></li>
<li
class=
"nav-item
nav-account-signout"
><a
class=
"action action-signout"
href=
"${reverse('logout')}"
>
Sign O
ut
</a></li>
</ul>
</div>
</div>
...
...
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