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
7771c1d1
Commit
7771c1d1
authored
Apr 26, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added styles for headers for tutorials
parent
97775532
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
2 deletions
+36
-2
static/css/application.css
+16
-2
templates/sass/courseware/_courseware.scss
+18
-0
templates/sass/courseware/_sequence-nav.scss
+2
-0
No files found.
static/css/application.css
View file @
7771c1d1
...
...
@@ -134,7 +134,7 @@ input, select {
display
:
table
;
width
:
100%
;
}
h1
.top-header
,
div
.info-wrapper
section
.updates
>
h1
,
div
.profile-wrapper
section
.course-info
header
,
div
.gradebook-wrapper
section
.gradebook-content
h1
,
div
.question-list-header
{
h1
.top-header
,
div
.
course-wrapper
section
.course-content
ol
.vert-mod
>
li
header
,
div
.
info-wrapper
section
.updates
>
h1
,
div
.profile-wrapper
section
.course-info
header
,
div
.gradebook-wrapper
section
.gradebook-content
h1
,
div
.question-list-header
{
background
:
#f3f3f3
;
border-bottom
:
1px
solid
#e3e3e3
;
margin
:
-22.652px
-22.652px
22.652px
;
...
...
@@ -2659,6 +2659,8 @@ body.courseware {
div
.course-wrapper
ul
,
div
.course-wrapper
ol
{
list-style
:
none
;
}
div
.course-wrapper
section
.course-content
{
overflow
:
hidden
;
}
div
.course-wrapper
section
.course-content
h1
{
margin
:
0
0
22.652px
;
}
div
.course-wrapper
section
.course-content
p
{
...
...
@@ -2774,6 +2776,16 @@ div.course-wrapper section.course-content ol.vert-mod > li {
border-bottom
:
1px
solid
#ddd
;
margin-bottom
:
15px
;
padding
:
0
0
15px
;
}
div
.course-wrapper
section
.course-content
ol
.vert-mod
>
li
header
{
margin-bottom
:
0
;
}
div
.course-wrapper
section
.course-content
ol
.vert-mod
>
li
header
h1
{
margin
:
0
;
}
div
.course-wrapper
section
.course-content
ol
.vert-mod
>
li
header
h2
{
float
:
right
;
margin-right
:
0
;
margin-top
:
8px
;
text-align
:
right
;
padding-right
:
0
;
}
div
.course-wrapper
section
.course-content
ol
.vert-mod
>
li
:last-child
{
border-bottom
:
none
;
margin-bottom
:
0
;
...
...
@@ -3499,9 +3511,11 @@ nav.sequence-nav {
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-bottom
:
22.652px
;
position
:
relative
;
}
position
:
relative
;
top
:
-1px
;
}
nav
.sequence-nav
ol
{
border-bottom
:
1px
solid
#e4d080
;
border-top
:
1px
solid
#e4d080
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
templates/sass/courseware/_courseware.scss
View file @
7771c1d1
...
...
@@ -17,6 +17,7 @@ div.course-wrapper {
section
.course-content
{
@extend
.content
;
overflow
:
hidden
;
h1
{
margin
:
0
0
lh
();
...
...
@@ -169,6 +170,23 @@ div.course-wrapper {
margin-bottom
:
15px
;
padding
:
0
0
15px
;
header
{
@extend
h1
.top-header
;
margin-bottom
:
0
;
h1
{
margin
:
0
;
}
h2
{
float
:
right
;
margin-right
:
0
;
margin-top
:
8px
;
text-align
:
right
;
padding-right
:
0
;
}
}
&
:last-child
{
border-bottom
:
none
;
margin-bottom
:
0
;
...
...
templates/sass/courseware/_sequence-nav.scss
View file @
7771c1d1
...
...
@@ -3,9 +3,11 @@ nav.sequence-nav {
@include
box-sizing
(
border-box
);
margin-bottom
:
$body-line-height
;
position
:
relative
;
top
:
-1px
;
ol
{
border-bottom
:
1px
solid
darken
(
$cream
,
20%
);
border-top
:
1px
solid
darken
(
$cream
,
20%
);
@include
box-sizing
(
border-box
);
display
:
table
;
padding-right
:
flex-grid
(
1
,
9
);
...
...
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