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
0475f4cc
Commit
0475f4cc
authored
Aug 21, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new sequence nav; tweaked video box
parent
4e6d7bab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
14 deletions
+27
-14
common/lib/xmodule/xmodule/css/sequence/display.scss
+23
-10
common/lib/xmodule/xmodule/css/video/display.scss
+4
-4
No files found.
common/lib/xmodule/xmodule/css/sequence/display.scss
View file @
0475f4cc
...
...
@@ -4,9 +4,9 @@ nav.sequence-nav {
@extend
.topbar
;
border
:
1px
solid
#ccc
;
height
:
44px
;
@include
linear-gradient
(
top
,
#
f6f6f6
,
#e6e6e6
);
@include
linear-gradient
(
top
,
#
eee
,
#ddd
);
@include
border-radius
(
25px
);
margin
:
0
-20px
30px
;
margin
:
-4px
-20px
30px
;
position
:
relative
;
@include
box-shadow
(
0
1px
0
#fff
inset
);
...
...
@@ -16,7 +16,7 @@ nav.sequence-nav {
height
:
100%
;
margin
:
0
;
padding-left
:
3px
;
padding-right
:
flex-grid
(
1
,
9
)
;
padding-right
:
90px
;
width
:
100%
;
a
{
...
...
@@ -28,8 +28,8 @@ nav.sequence-nav {
min-width
:
20px
;
a
{
width
:
3
5
px
;
height
:
3
5
px
;
width
:
3
4
px
;
height
:
3
4
px
;
margin
:
4px
auto
;
background-position
:
center
10px
;
background-repeat
:
no-repeat
;
...
...
@@ -52,6 +52,17 @@ nav.sequence-nav {
background-color
:
#fff
;
z-index
:
9
;
// &:after {
// content: '▲';
// position: absolute;
// top: 28px;
// left: 50%;
// z-index: 9999;
// margin-left: -5px;
// font-size: 12px;
// color: #aaa;
// }
&
:hover
{
background-color
:
#fff
;
background-repeat
:
no-repeat
;
...
...
@@ -172,7 +183,7 @@ nav.sequence-nav {
right
:
0
;
top
:
0
;
width
:
81px
;
margin
-right
:
5px
;
margin
:
5px
5px
0
0
;
border
:
none
;
border-bottom
:
0
;
@include
border-radius
(
3px
3px
0
0
);
...
...
@@ -180,24 +191,24 @@ nav.sequence-nav {
li
{
float
:
left
;
margin-bottom
:
0
;
height
:
3
5
px
;
height
:
3
4
px
;
width
:
40px
;
&
.prev
,
&
.next
{
@include
linear-gradient
(
top
,
#ccc
,
#888
);
@include
box-shadow
(
0
-1px
0
rgba
(
0
,
0
,
0
,
.2
)
inset
);
a
{
background-position
:
center
;
background-repeat
:
no-repeat
;
display
:
block
;
height
:
3
5
px
;
height
:
3
4
px
;
width
:
40px
;
text-indent
:
-9999px
;
@include
transition
(
all
,
.2s
,
$ease-in-out-quad
);
&
:hover
{
opacity
:
.5
;
background-color
:
#f4f4f4
;
}
&
.disabled
{
...
...
@@ -212,6 +223,7 @@ nav.sequence-nav {
a
{
background-image
:
url('../images/sequence-nav/previous-icon.png')
;
background-position
:
center
10px
;
}
}
...
...
@@ -219,8 +231,9 @@ nav.sequence-nav {
border-radius
:
0
35px
35px
0
;
a
{
border-left
:
1px
solid
lighten
(
$border-color
,
10%
)
;
border-left
:
1px
solid
#888
;
background-image
:
url('../images/sequence-nav/next-icon.png')
;
background-position
:
center
10px
;
}
}
}
...
...
common/lib/xmodule/xmodule/css/video/display.scss
View file @
0475f4cc
div
.video
{
@include
clearfix
();
background
:
#f3f3f3
;
border-bottom
:
1px
solid
#e1e1e1
;
border-top
:
1px
solid
#e1e1e1
;
display
:
block
;
margin
:
0
0
0
(
-
(
lh
()));
padding
:
6px
lh
();
margin
:
0
-12px
;
padding
:
12px
;
border-radius
:
5px
;
article
.video-wrapper
{
float
:
left
;
...
...
@@ -401,6 +400,7 @@ div.video {
overflow
:
auto
;
width
:
flex-grid
(
3
,
9
);
margin
:
0
;
font-size
:
14px
;
li
{
border
:
0
;
...
...
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