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
d41f5042
Commit
d41f5042
authored
Apr 05, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - resolving margin-top issue with views that don't have a masthead
parent
1a68d516
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
23 deletions
+24
-23
cms/static/sass/views/_subsection.scss
+7
-4
cms/static/sass/views/_unit.scss
+17
-19
No files found.
cms/static/sass/views/_subsection.scss
View file @
d41f5042
...
...
@@ -3,6 +3,10 @@
body
.course.subsection
{
.main-wrapper
{
margin-top
:
(
$baseline
*
2
);
}
.unit-settings
{
.window-contents
{
padding
:
10px
20px
;
...
...
@@ -100,7 +104,7 @@ body.course.subsection {
}
.window-contents
{
display
:
none
;
display
:
none
;
}
}
...
...
@@ -286,7 +290,7 @@ body.course.subsection {
background-position
:
0
-50px
;
.hidden
{
background-position
:
0
-5px
;
background-position
:
0
-5px
;
}
}
}
...
...
@@ -396,4 +400,4 @@ body.course.subsection {
}
}
}
}
\ No newline at end of file
}
cms/static/sass/views/_unit.scss
View file @
d41f5042
...
...
@@ -3,9 +3,8 @@
body
.course.unit
{
.unit
.main-wrapper
{
@include
clearfix
();
margin
:
40px
;
.main-wrapper
{
margin-top
:
(
$baseline
*
2
);
}
//Problem Selector tab menu requirements
...
...
@@ -31,7 +30,7 @@ body.course.unit {
}
.unit-body
{
.unit-name-input
{
padding
:
20px
40px
;
...
...
@@ -44,7 +43,7 @@ body.course.unit {
font-size
:
20px
;
}
}
.breadcrumbs
{
border-radius
:
3px
3px
0
0
;
border-bottom
:
1px
solid
#cbd1db
;
...
...
@@ -189,10 +188,10 @@ body.course.unit {
@include
clearfix
;
a
{
position
:
relative
;
position
:
relative
;
border
:
1px
solid
$darkGreen
;
background
:
tint
(
$green
,
20%
);
color
:
#fff
;
color
:
#fff
;
&
:hover
{
background
:
$brightGreen
;
...
...
@@ -254,8 +253,8 @@ body.course.unit {
@include
transition
(
none
);
&
:hover
{
background
:
tint
(
$green
,
30%
);
color
:
#fff
;
background
:
tint
(
$green
,
30%
);
color
:
#fff
;
@include
transition
(
background-color
.15s
);
}
}
...
...
@@ -263,7 +262,7 @@ body.course.unit {
li
{
border
:none
;
border-bottom
:
1px
dashed
$lightGrey
;
color
:
#fff
;
color
:
#fff
;
}
li
:first-child
{
...
...
@@ -326,7 +325,7 @@ body.course.unit {
}
}
// specific editor types
// specific editor types
.empty
{
a
{
...
...
@@ -337,20 +336,20 @@ body.course.unit {
&
:hover
{
background
:
tint
(
$green
,
30%
);
background
:
tint
(
$green
,
30%
);
color
:
#fff
;
}
}
}
}
.new-component
{
.new-component
{
text-align
:
center
;
h5
{
color
:
$darkGreen
;
}
}
}
}
...
...
@@ -374,7 +373,7 @@ body.course.unit {
&
.editing
{
border
:
1px
solid
$lightBluishGrey2
;
z-index
:
auto
;
.drag-handle
,
.component-actions
{
display
:
none
;
...
...
@@ -434,7 +433,7 @@ body.course.unit {
label
{
display
:
inline-block
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
...
...
@@ -528,7 +527,7 @@ body.course.unit {
}
.window-contents
{
display
:
none
;
display
:
none
;
}
}
...
...
@@ -678,4 +677,4 @@ body.unit {
padding-top
:
0
;
}
}
}
\ No newline at end of file
}
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