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
799a6846
Commit
799a6846
authored
Jul 30, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #315 from MITx/hotfix/kfiedler/css-fixes
Hotfix/kfiedler/css fixes
parents
432fdd18
a2271d4e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
10 deletions
+35
-10
lms/static/sass/multicourse/_course_about.scss
+7
-6
lms/static/sass/multicourse/_dashboard.scss
+21
-0
lms/templates/dashboard.html
+5
-4
lms/templates/portal/course_about.html
+2
-0
No files found.
lms/static/sass/multicourse/_course_about.scss
View file @
799a6846
...
...
@@ -27,14 +27,17 @@
max-width
:
1200px
;
min-width
:
760px
;
position
:
relative
;
width
:
100%
;
z-index
:
2
;
>
div
.table
{
display
:
table
;
width
:
100%
;
}
.intro
{
@include
box-sizing
(
border-box
);
@include
clearfix
;
float
:
left
;
display
:
table-cell
;
vertical-align
:
middle
;
padding
:
20px
20px
;
position
:
relative
;
width
:
flex-grid
(
8
)
+
flex-gutter
();
...
...
@@ -130,9 +133,7 @@
.media
{
background
:
transparent
;
@include
box-sizing
(
border-box
);
display
:
block
;
float
:
right
;
height
:
180px
;
display
:
table-cell
;
padding
:
20px
;
position
:
relative
;
width
:
flex-grid
(
4
);
...
...
lms/static/sass/multicourse/_dashboard.scss
View file @
799a6846
...
...
@@ -2,6 +2,27 @@
@include
clearfix
;
padding
:
60px
0px
120px
;
.dashboard-banner
{
background
:
$yellow
;
border
:
1px
solid
rgb
(
200
,
200
,
200
);
@include
box-shadow
(
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.6
));
padding
:
10px
;
margin-bottom
:
30px
;
&
:empty
{
display
:
none
;
background-color
:
#FFF
;
}
h2
{
margin-bottom
:
0
;
}
p
{
margin-bottom
:
0
;
}
}
.profile-sidebar
{
background
:
transparent
;
float
:
left
;
...
...
lms/templates/dashboard.html
View file @
799a6846
...
...
@@ -34,10 +34,11 @@
<section
class=
"container dashboard"
>
<section
class=
"dashboard-banner"
>
${message}
<br/>
</section>
%if message:
<section
class=
"dashboard-banner"
>
${message}
</section>
%endif
<section
class=
"profile-sidebar"
>
<header
class=
"profile"
>
...
...
lms/templates/portal/course_about.html
View file @
799a6846
...
...
@@ -51,6 +51,7 @@
<section
class=
"course-info"
>
<header
class=
"course-profile"
>
<div
class=
"intro-inner-wrapper"
>
<div
class=
"table"
>
<section
class=
"intro"
>
<hgroup>
<h1>
${course.number}: ${get_course_about_section(course, "title")}
<a
href=
"${reverse('university_profile', args=[course.org])}"
>
${get_course_about_section(course, "university")}
</a></h1>
...
...
@@ -84,6 +85,7 @@
</div>
% endif
</div>
</div>
</header>
<section
class=
"container"
>
...
...
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