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
b80d1904
Commit
b80d1904
authored
May 17, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make scss urls relative to the directory that they are in
parent
bc823d3b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
sass/courseware/_amplifier.scss
+1
-1
sass/courseware/_video.scss
+3
-3
sass/marketing/_footer.scss
+4
-4
sass/marketing/_header.scss
+5
-5
sass/marketing/_index.scss
+3
-3
No files found.
sass/courseware/_amplifier.scss
View file @
b80d1904
...
...
@@ -228,7 +228,7 @@ section.tool-wrapper {
}
.ui-slider-handle
{
background
:
lighten
(
#586e75
,
5%
)
url('
/static
/images/amplifier-slider-handle.png')
center
no-repeat
;
background
:
lighten
(
#586e75
,
5%
)
url('
..
/images/amplifier-slider-handle.png')
center
no-repeat
;
border
:
1px
solid
darken
(
#002b36
,
8%
);
@include
box-shadow
(
inset
0
1px
0
lighten
(
#586e75
,
20%
));
margin-top
:
-.3em
;
...
...
sass/courseware/_video.scss
View file @
b80d1904
...
...
@@ -192,7 +192,7 @@ section.course-content {
float
:
left
;
a
{
background
:
url('
/static
/images/closed-arrow.png')
10px
center
no-repeat
;
background
:
url('
..
/images/closed-arrow.png')
10px
center
no-repeat
;
border-left
:
1px
solid
#000
;
border-right
:
1px
solid
#000
;
@include
box-shadow
(
1px
0
0
#555
,
inset
1px
0
0
#555
);
...
...
@@ -209,7 +209,7 @@ section.course-content {
width
:
110px
;
&
.open
{
background
:
url('
/static
/images/open-arrow.png')
10px
center
no-repeat
;
background
:
url('
..
/images/open-arrow.png')
10px
center
no-repeat
;
ol
#video_speeds
{
display
:
block
;
...
...
@@ -280,7 +280,7 @@ section.course-content {
}
a
.add-fullscreen
{
background
:
url(
/static
/images/fullscreen.png)
center
no-repeat
;
background
:
url(
..
/images/fullscreen.png)
center
no-repeat
;
border-right
:
1px
solid
#000
;
@include
box-shadow
(
1px
0
0
#555
,
inset
1px
0
0
#555
);
color
:
#797979
;
...
...
sass/marketing/_footer.scss
View file @
b80d1904
...
...
@@ -6,7 +6,7 @@ footer {
div
.footer-wrapper
{
border-top
:
1px
solid
#e5e5e5
;
padding
:
lh
()
0
;
background
:
url('
/static
/images/marketing/mit-logo.png')
right
center
no-repeat
;
background
:
url('
..
/images/marketing/mit-logo.png')
right
center
no-repeat
;
@media
screen
and
(
max-width
:
780px
)
{
background-position
:
left
bottom
;
...
...
@@ -84,15 +84,15 @@ footer {
}
&
.twitter
a
{
background
:
url('
/static
/images/marketing/twitter.png')
0
0
no-repeat
;
background
:
url('
..
/images/marketing/twitter.png')
0
0
no-repeat
;
}
&
.facebook
a
{
background
:
url('
/static
/images/marketing/facebook.png')
0
0
no-repeat
;
background
:
url('
..
/images/marketing/facebook.png')
0
0
no-repeat
;
}
&
.linkedin
a
{
background
:
url('
/static
/images/marketing/linkedin.png')
0
0
no-repeat
;
background
:
url('
..
/images/marketing/linkedin.png')
0
0
no-repeat
;
}
}
}
...
...
sass/marketing/_header.scss
View file @
b80d1904
...
...
@@ -6,10 +6,10 @@ header.announcement {
-webkit-font-smoothing
:
antialiased
;
&
.home
{
background
:
#e3e3e3
url("
/static
/images/marketing/shot-5-medium.jpg")
;
background
:
#e3e3e3
url("
..
/images/marketing/shot-5-medium.jpg")
;
@media
screen
and
(
min-width
:
1200px
)
{
background
:
#e3e3e3
url("
/static
/images/marketing/shot-5-large.jpg")
;
background
:
#e3e3e3
url("
..
/images/marketing/shot-5-large.jpg")
;
}
div
{
...
...
@@ -33,14 +33,14 @@ header.announcement {
}
&
.course
{
background
:
#e3e3e3
url("
/static
/images/marketing/course-bg-small.jpg")
;
background
:
#e3e3e3
url("
..
/images/marketing/course-bg-small.jpg")
;
@media
screen
and
(
min-width
:
1200px
)
{
background
:
#e3e3e3
url("
/static
/images/marketing/course-bg-large.jpg")
;
background
:
#e3e3e3
url("
..
/images/marketing/course-bg-large.jpg")
;
}
@media
screen
and
(
max-width
:
1199px
)
and
(
min-width
:
700px
)
{
background
:
#e3e3e3
url("
/static
/images/marketing/course-bg-medium.jpg")
;
background
:
#e3e3e3
url("
..
/images/marketing/course-bg-medium.jpg")
;
}
div
{
...
...
sass/marketing/_index.scss
View file @
b80d1904
...
...
@@ -222,16 +222,16 @@ section.index-content {
&
.course
{
h2
{
padding-top
:
lh
(
5
);
background
:
url('
/static
/images/marketing/circuits-bg.jpg')
0
0
no-repeat
;
background
:
url('
..
/images/marketing/circuits-bg.jpg')
0
0
no-repeat
;
@include
background-size
(
contain
);
@media
screen
and
(
max-width
:
998px
)
and
(
min-width
:
781px
){
background
:
url('
/static
/images/marketing/circuits-medium-bg.jpg')
0
0
no-repeat
;
background
:
url('
..
/images/marketing/circuits-medium-bg.jpg')
0
0
no-repeat
;
}
@media
screen
and
(
max-width
:
780px
)
{
padding-top
:
lh
(
5
);
background
:
url('
/static
/images/marketing/circuits-bg.jpg')
0
0
no-repeat
;
background
:
url('
..
/images/marketing/circuits-bg.jpg')
0
0
no-repeat
;
}
@media
screen
and
(
min-width
:
500px
)
and
(
max-width
:
781px
)
{
...
...
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