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
50e8b0a8
Commit
50e8b0a8
authored
Jul 23, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #261 from MITx/kf-multicourse-design
Added some design changes to the homepage header
parents
3087ec6c
8eeeac71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
128 deletions
+12
-128
lms/static/sass/_home.scss
+12
-128
No files found.
lms/static/sass/_home.scss
View file @
50e8b0a8
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
border-bottom
:
1px
solid
rgb
(
80
,
80
,
80
);
border-bottom
:
1px
solid
rgb
(
80
,
80
,
80
);
@include
box-shadow
(
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.9
)
,
inset
0
-1px
5px
0
rgba
(
0
,
0
,
0
,
0
.1
));
@include
box-shadow
(
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.9
)
,
inset
0
-1px
5px
0
rgba
(
0
,
0
,
0
,
0
.1
));
@include
clearfix
;
@include
clearfix
;
height
:
4
3
0px
;
height
:
4
6
0px
;
margin-top
:
-69px
;
margin-top
:
-69px
;
overflow
:
hidden
;
overflow
:
hidden
;
padding
:
0px
;
padding
:
0px
;
...
@@ -17,10 +17,11 @@
...
@@ -17,10 +17,11 @@
.outer-wrapper
{
.outer-wrapper
{
@extend
.animation-home-header-pop-up
;
@extend
.animation-home-header-pop-up
;
margin
:
0
auto
;
margin
:
0
auto
;
padding
:
2
0
0px
10px
0px
;
padding
:
2
4
0px
10px
0px
;
position
:
relative
;
position
:
relative
;
max-width
:
1200px
;
max-width
:
1200px
;
min-width
:
760px
;
min-width
:
760px
;
@include
clearfix
;
}
}
.title
{
.title
{
...
@@ -30,29 +31,16 @@
...
@@ -30,29 +31,16 @@
@include
box-shadow
(
0
4px
25px
0
rgba
(
0
,
0
,
0
,
0
.5
));
@include
box-shadow
(
0
4px
25px
0
rgba
(
0
,
0
,
0
,
0
.5
));
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
height
:
120px
;
height
:
120px
;
@include
inline-block
;
margin-left
:
grid-width
(
2
)
+
$gw-gutter
;
margin-left
:
grid-width
(
1
)
+
$gw-gutter
;
float
:
left
;
margin-right
:
$gw-gutter
;
position
:
relative
;
position
:
relative
;
text-align
:
center
;
text-align
:
center
;
@include
transition
(
all
,
0
.2s
,
linear
);
@include
transition
(
all
,
0
.2s
,
linear
);
vertical-align
:
top
;
vertical-align
:
top
;
&
:hover
{
&
:hover
{
height
:
165px
;
>
hgroup
{
h1
{
border-bottom
:
1px
solid
rgb
(
200
,
200
,
200
);
padding-bottom
:
10px
;
}
h2
{
opacity
:
0
;
}
}
.actions
{
.actions
{
opacity
:
1
;
display
:
none
;
}
}
}
}
...
@@ -80,123 +68,21 @@
...
@@ -80,123 +68,21 @@
text-transform
:
lowercase
;
text-transform
:
lowercase
;
}
}
}
}
}
.actions
{
.actions
{
@include
clearfix
;
display
:
none
;
@include
box-sizing
(
border-box
);
left
:
0px
;
opacity
:
0
;
padding
:
20px
30px
0px
;
position
:
absolute
;
@include
transition
(
opacity
,
0
.2s
,
linear
);
top
:
75px
;
width
:
flex-grid
(
12
);
.main-cta
{
float
:
left
;
margin-right
:
flex-gutter
();
width
:
flex-grid
(
6
);
>
a
.find-courses
{
@include
button
(
shiny
,
$blue
);
@include
box-sizing
(
border-box
);
@include
border-radius
(
3px
);
display
:
block
;
font
:
normal
1
.2rem
/
1
.6rem
$sans-serif
;
letter-spacing
:
1px
;
padding
:
10px
0px
;
text-transform
:
uppercase
;
text-align
:
center
;
width
:
flex-grid
(
12
);
&
:hover
{
color
:
rgb
(
255
,
255
,
255
);
}
}
}
.secondary-actions
{
@include
box-sizing
(
border-box
);
@include
clearfix
;
float
:
left
;
width
:
flex-grid
(
6
);
.social-sharing
{
@include
box-sizing
(
border-box
);
float
:
left
;
height
:
44px
;
margin-right
:
flex-gutter
();
position
:
relative
;
text-align
:
center
;
width
:
flex-grid
(
12
);
&
:hover
{
.sharing-message
{
opacity
:
1
;
top
:
50px
;
}
}
.sharing-message
{
@include
background-image
(
linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0
.9
)
0%
,
rgba
(
0
,
0
,
0
,
0
.7
)
100%
));
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.5
);
@include
border-radius
(
4px
);
@include
box-shadow
(
0
4px
25px
0
rgba
(
0
,
0
,
0
,
0
.5
));
@include
box-sizing
(
border-box
);
color
:
rgb
(
255
,
255
,
255
);
float
:
right
;
font-family
:
$serif
;
font-size
:
0
.9em
;
font-style
:
italic
;
left
:
50%
;
margin-left
:
-110px
;
opacity
:
0
;
padding
:
6px
10px
;
position
:
absolute
;
text-align
:
center
;
@include
transition
(
all
,
0
.15s
,
ease-out
);
top
:
25px
;
width
:
220px
;
&
:hover
{
opacity
:
0
;
}
}
.share
{
height
:
44px
;
@include
inline-block
;
margin-right
:
10px
;
opacity
:
0
.5
;
@include
transition
(
all
,
0
.15s
,
linear
);
width
:
44px
;
&
:hover
{
opacity
:
1
;
}
img
{
width
:
100%
;
}
&
:last-child
{
margin-right
:
0px
;
}
}
}
}
}
}
}
.media
{
.media
{
background
:
#FFF
;
background
:
#FFF
;
background
:
rgba
(
255
,
255
,
255
,
0
.93
);
background
:
rgba
(
255
,
255
,
255
,
0
.93
);
border
:
1px
solid
rgb
(
100
,
100
,
100
);
border
:
1px
solid
rgb
(
100
,
100
,
100
);
border-left
:
0
;
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
@include
box-shadow
(
0
4px
25px
0
rgba
(
0
,
0
,
0
,
0
.5
));
//
@include box-shadow(0 4px 25px 0 rgba(0,0,0, 0.5));
height
:
120px
;
height
:
120px
;
@include
inline-block
;
float
:
left
;
padding
:
4px
;
padding
:
4px
;
position
:
relative
;
position
:
relative
;
vertical-align
:
top
;
vertical-align
:
top
;
...
@@ -249,8 +135,6 @@
...
@@ -249,8 +135,6 @@
}
}
&
:hover
{
&
:hover
{
cursor
:
pointer
;
.play-intro
{
.play-intro
{
@include
background-image
(
linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0
.75
)
,
rgba
(
0
,
0
,
0
,
0
.8
)));
@include
background-image
(
linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0
.75
)
,
rgba
(
0
,
0
,
0
,
0
.8
)));
@include
box-shadow
(
0
1px
12px
0
rgba
(
0
,
0
,
0
,
0
.5
));
@include
box-shadow
(
0
1px
12px
0
rgba
(
0
,
0
,
0
,
0
.5
));
...
...
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