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
82f06fcf
Commit
82f06fcf
authored
Jun 28, 2012
by
Galen Frechette
Committed by
Matthew Mongeau
Jul 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleans up course info/profile page
parent
b4d3fa88
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
124 deletions
+37
-124
lms/static/sass/_course_info.scss
+37
-124
lms/static/sass/application.css
+0
-0
No files found.
lms/static/sass/_course_info.scss
View file @
82f06fcf
...
...
@@ -4,8 +4,8 @@
}
header
.course-profile
{
background
:
rgb
(
24
5
,
245
,
245
);
//
@include background-image(linear-gradient(-90deg, rgb(230,230,230), rgb(245,245,245)));
background
:
rgb
(
24
0
,
240
,
240
);
@include
background-image
(
linear-gradient
(
-90deg
,
rgb
(
230
,
230
,
230
)
,
rgb
(
245
,
245
,
245
)));
@include
box-shadow
(
0
1px
80px
0
rgba
(
0
,
0
,
0
,
0
.5
));
border-bottom
:
1px
solid
rgb
(
200
,
200
,
200
);
@include
box-shadow
(
inset
0
1px
5px
0
rgba
(
0
,
0
,
0
,
0
.1
));
...
...
@@ -16,7 +16,7 @@
@include
clearfix
;
margin
:
0
auto
;
max-width
:
1200px
;
padding
:
5
0px
0px
40px
;
padding
:
4
0px
0px
40px
;
position
:
relative
;
width
:
flex-grid
(
12
);
...
...
@@ -41,6 +41,8 @@
z-index
:
2
;
>
hgroup
{
//@include inline-block;
//padding: 0 30px;
position
:
relative
;
hr
{
...
...
@@ -67,9 +69,9 @@
h1
{
font
:
bold
2
.8rem
/
3
.2rem
$sans-serif
;
@include
inline-block
;
margin-right
:
5px
;
margin-bottom
:
0px
;
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0
.6
);
//text-align: center;
span
{
color
:
$lighter-base-font-color
;
...
...
@@ -79,7 +81,7 @@
}
h2
{
@include
inline-block
;
//text-align: center
;
a
{
color
:
$lighter-base-font-color
;
...
...
@@ -92,92 +94,31 @@
}
}
}
.course-dates
{
p
{
color
:
$lighter-base-font-color
;
@include
inline-block
;
font
:
300
1
.2rem
/
1
.6rem
$sans-serif
;
margin-top
:
0px
;
margin-right
:
20px
;
text-transform
:
uppercase
;
&
:last-child
{
margin
:
0
;
}
>
span
{
color
:
$base-font-color
;
font
:
300
1
.2rem
/
1
.6rem
$sans-serif
;
margin-left
:
5px
;
}
}
}
}
.actions
{
float
:
left
;
padding-top
:
5px
;
position
:
relative
;
width
:
flex-grid
(
4
);
z-index
:
2
;
&
:hover
{
.register-wrapper
{
@include
box-shadow
(
0
1px
16px
0
rgba
(
$blue
,
0
.35
));
border-color
:
rgb
(
180
,
180
,
180
);
}
}
.register-wrapper
{
@include
background-image
(
linear-gradient
(
-90deg
,
rgb
(
245
,
245
,
245
)
0%
,
rgb
(
243
,
243
,
243
)
50%
,
rgb
(
237
,
237
,
237
)
50%
,
rgb
(
235
,
235
,
235
)
100%
));
@include
box-sizing
(
border-box
);
@include
box-shadow
(
0
1px
8px
0
rgba
(
0
,
0
,
0
,
0
.1
)
,
inset
0
0
0
1px
rgba
(
255
,
255
,
255
,
0
.9
));
border
:
1px
solid
rgb
(
210
,
210
,
210
);
@include
border-radius
(
4px
);
@include
transition
(
all
,
0
.15s
,
linear
);
padding
:
10px
;
a
.register
{
@include
button
(
shiny
,
$blue
);
@include
box-sizing
(
border-box
);
@include
border-radius
(
3px
);
display
:
block
;
font
:
italic
1
.2rem
/
1
.6rem
$serif
;
margin-bottom
:
10px
;
padding
:
10px
0px
;
position
:
relative
;
text-transform
:
uppercase
;
text-align
:
center
;
width
:
flex-grid
(
12
);
z-index
:
1
;
}
}
.social-sharing
{
padding
:
0px
20px
;
p
{
background
:
rgb
(
245
,
245
,
245
);
@include
box-shadow
(
0
1px
5px
0
rgba
(
0
,
0
,
0
,
0
.075
)
,
inset
0
0
0
1px
rgba
(
255
,
255
,
255
,
0
.9
));
border
:
1px
solid
rgb
(
210
,
210
,
210
);
border-top
:
0
;
@include
border-bottom-radius
(
4px
);
padding
:
5px
10px
;
margin
:
0
auto
;
color
:
$lighter-base-font-color
;
font
:
italic
300
1
.2rem
/
1
.6rem
$serif
;
margin
:
0
0
5px
0
;
text-align
:
center
;
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0
.6
);
&
:last-child
{
margin
:
0
;
}
>
span
{
font
:
normal
1
.2rem
/
1
.6rem
$sans-serif
;
margin-right
:
5px
;
}
}
background
:
rgb
(
230
,
230
,
230
);
height
:
40px
;
}
}
}
...
...
@@ -190,7 +131,8 @@
border-bottom
:
1px
solid
rgb
(
220
,
220
,
220
);
@include
box-sizing
(
border-box
);
@include
clearfix
;
margin
:
40px
0
;
margin-bottom
:
40px
;
//text-align: center;
width
:
flex-grid
(
12
);
&
:
:
after
{
...
...
@@ -200,22 +142,14 @@
}
a
{
border-bottom
:
3px
solid
transparent
;
color
:
$lighter-base-font-color
;
@include
inline-block
;
font
:
normal
1
.2rem
/
1
.6rem
$sans-serif
;
margin
:
0
15px
;
padding
:
0px
5px
15px
;
padding
:
30px
20px
;
text-align
:
center
;
text-transform
:
uppercase
;
&
:first-child
{
margin-left
:
0px
;
}
&
:hover
,
&
.active
{
border-color
:
$pink
;
//background: rgb(240,240,240);
background
:
rgb
(
240
,
240
,
240
);
color
:
$base-font-color
;
}
}
...
...
@@ -241,6 +175,8 @@
width
:
flex-grid
(
8
);
.inner-wrapper
{
//padding: 0 60px;
>
section
{
&
:
:
after
{
...
...
@@ -306,6 +242,25 @@
background
:
rgb
(
245
,
245
,
245
);
margin-bottom
:
20px
;
padding
:
15px
;
&
.dates
{
p
{
border-bottom
:
1px
solid
rgb
(
220
,
220
,
220
);
margin-bottom
:
15px
;
margin-top
:
0px
;
padding-bottom
:
5px
;
&
:last-child
{
border
:
none
;
margin
:
0
;
padding
:
0
;
}
>
span
{
margin-left
:
20px
;
}
}
}
}
.media
{
...
...
@@ -318,53 +273,11 @@
.hero
{
height
:
180px
;
overflow
:
hidden
;
position
:
relative
;
.play-intro
{
@include
background-image
(
linear-gradient
(
-90deg
,
rgba
(
255
,
255
,
255
,
0
.6
)
,
rgba
(
255
,
255
,
255
,
0
.4
)));
@include
border-radius
(
4px
);
@include
box-shadow
(
0
1px
10px
0
rgba
(
0
,
0
,
0
,
0
.2
));
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.3
);
height
:
80px
;
left
:
50%
;
margin-top
:
-40px
;
margin-left
:
-40px
;
position
:
absolute
;
top
:
50%
;
width
:
80px
;
&
:
:
after
{
color
:
$base-font-color
;
content
:
"\25B6"
;
display
:
block
;
font
:
normal
3
.2rem
/
3
.2rem
$sans-serif
;
left
:
50%
;
margin-left
:
-12px
;
margin-top
:
-17px
;
position
:
absolute
;
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0
.8
);
top
:
50%
;
}
}
img
{
min-width
:
100%
;
}
}
&
:hover
{
cursor
:
pointer
;
.play-intro
{
@include
background-image
(
linear-gradient
(
-90deg
,
rgba
(
255
,
255
,
255
,
0
.7
)
,
rgba
(
255
,
255
,
255
,
0
.5
)));
@include
box-shadow
(
0
1px
10px
0
rgba
(
0
,
0
,
0
,
0
.2
));
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.4
);
&
:
:
after
{
color
:
$pink
;
}
}
}
}
}
}
lms/static/sass/application.css
View file @
82f06fcf
This diff is collapsed.
Click to expand it.
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