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
60e6d80c
Commit
60e6d80c
authored
9 years ago
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PR feedback for styles
parent
566c0f57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
22 deletions
+10
-22
lms/static/sass/course/courseware/_sidebar.scss
+10
-22
No files found.
lms/static/sass/course/courseware/_sidebar.scss
View file @
60e6d80c
...
...
@@ -6,9 +6,10 @@
// reseting bolded fonts for the course index
h3
{
font-weight
:
normal
;
@extend
%t-regular
;
}
// we're targetting the .class now, instead of the #id
.accordion
{
@extend
%t-copy-sub1
;
...
...
@@ -19,9 +20,9 @@
@include
linear-gradient
(
top
,
$sidebar-chapter-bg-top
,
$sidebar-chapter-bg-bottom
);
@include
transition
(
background-color
.1s
linear
0s
);
width
:
100%
!
important
;
padding
:
0
;
border
:
0
;
border-radius
:
0
;
padding
:
0
;
box-shadow
:
0
1px
0
$white
inset
,
0
-1px
0
$shadow-l1
inset
;
background-color
:
$sidebar-chapter-bg
;
color
:
$link-color
;
...
...
@@ -43,37 +44,26 @@
@extend
%t-title6
;
position
:
relative
;
padding
:
(
$baseline
*.
75
)
$baseline
(
$baseline
*.
75
)
(
$baseline
*
2
);
margin
:
0
;
border-radius
:
0
;
box-shadow
:
none
;
color
:
$link-color
;
&
:first-child
{
border
:
none
;
}
.icon
{
position
:
absolute
;
@include
left
(
$baseline
);
top
:
18px
;
font-size
:
90%
;
top
:
$baseline
;
color
:
$gray-d1
;
}
}
}
.chapter-content-container
{
display
:
none
;
display
:
none
;
// programmatically shown when the section is open; closed at the start
padding
:
0
14px
(
$baseline
/
2
)
14px
;
border-bottom
:
1px
solid
$shadow-l1
;
background
:
$white
;
.chapter-menu
{
margin
:
0
;
padding
:
0
(
$baseline
*.
75
);
border
:
none
;
border-radius
:
0
;
background
:
transparent
;
background
:
inherit
;
overflow
:
hidden
;
.menu-item
{
...
...
@@ -81,9 +71,7 @@
@include
padding
((
$baseline
/
4
)
(
$baseline
/
2
));
margin
:
(
$baseline
/
5
)
0
;
border-radius
:
(
$baseline
/
5
);
border-bottom
:
0
;
background
:
transparent
;
text-decoration
:
none
;
background
:
inherit
;
a
{
position
:
relative
;
...
...
@@ -93,7 +81,6 @@
p
{
@extend
%t-action3
;
@extend
%t-strong
;
margin-bottom
:
0
;
font-family
:
$sans-serif
;
&
.subtitle
{
...
...
@@ -104,6 +91,7 @@
color
:
$gray-d1
;
&
:empty
{
// hide empty subtitles
display
:
none
;
}
...
...
@@ -135,10 +123,9 @@
&
.graded
{
.menu-icon
{
@include
right
(
$baseline
/
4
);
@include
right
(
0
);
position
:
absolute
;
bottom
:
0
;
margin
:
auto
;
}
}
...
...
@@ -146,6 +133,7 @@
@extend
%t-strong
;
background
:
linear-gradient
(
to
bottom
,
$gray-l4
,
#d6d6d6
);
// pre-existing; but not sure where it appears
&
:after
{
@extend
%t-regular
;
@include
transition
(
none
);
...
...
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