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
aaf95ddb
Commit
aaf95ddb
authored
Apr 08, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - course link: roughed in new markup/location of course link to share
parent
146f09b7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
28 deletions
+52
-28
cms/static/sass/elements/_forms.scss
+44
-3
cms/static/sass/views/_settings.scss
+8
-25
cms/templates/settings.html
+0
-0
No files found.
cms/static/sass/elements/_forms.scss
View file @
aaf95ddb
...
@@ -30,7 +30,49 @@ textarea.text {
...
@@ -30,7 +30,49 @@ textarea.text {
}
}
}
}
// forms - specific
// ====================
// forms - fields - not editable
.field.is-not-editable
{
&
label
.is-focused
{
color
:
$gray-d2
;
}
input
,
textarea
{
pointer-events
:
none
;
}
}
// ====================
// field with error
.field.error
{
input
,
textarea
{
border-color
:
$red
;
}
}
// ====================
// forms - additional UI
form
{
.note
{
@include
box-sizing
(
border-box
);
padding
:
$baseline
;
background
:
$gray-l4
;
}
.note-promotion
{
}
}
// ====================
// forms - grandfathered
input
.search
{
input
.search
{
padding
:
6px
15px
8px
30px
;
padding
:
6px
15px
8px
30px
;
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
...
@@ -73,4 +115,4 @@ code {
...
@@ -73,4 +115,4 @@ code {
background-color
:
#edf1f5
;
background-color
:
#edf1f5
;
@include
box-shadow
(
0
1px
2px
rgba
(
0
,
0
,
0
,
0
.1
)
inset
);
@include
box-shadow
(
0
1px
2px
rgba
(
0
,
0
,
0
,
0
.1
)
inset
);
font-family
:
Monaco
,
monospace
;
font-family
:
Monaco
,
monospace
;
}
}
\ No newline at end of file
cms/static/sass/views/_settings.scss
View file @
aaf95ddb
...
@@ -161,7 +161,7 @@ body.course.settings {
...
@@ -161,7 +161,7 @@ body.course.settings {
@include
placeholder
(
$gray-l4
);
@include
placeholder
(
$gray-l4
);
@include
font-size
(
16
);
@include
font-size
(
16
);
@include
size
(
100%
,
100%
);
@include
size
(
100%
,
100%
);
padding
:
(
$baseline
/
2
);
padding
:
(
$baseline
/
2
);
&
.long
{
&
.long
{
}
}
...
@@ -212,7 +212,7 @@ body.course.settings {
...
@@ -212,7 +212,7 @@ body.course.settings {
padding
:
$baseline
;
padding
:
$baseline
;
&
:last-child
{
&
:last-child
{
padding-bottom
:
$baseline
;
padding-bottom
:
$baseline
;
}
}
.actions
{
.actions
{
...
@@ -238,22 +238,6 @@ body.course.settings {
...
@@ -238,22 +238,6 @@ body.course.settings {
}
}
}
}
// not editable fields
.field.is-not-editable
{
&
label
.is-focused
{
color
:
$gray-d2
;
}
}
// field with error
.field.error
{
input
,
textarea
{
border-color
:
$red
;
}
}
// specific fields - basic
// specific fields - basic
&
.basic
{
&
.basic
{
...
@@ -322,7 +306,7 @@ body.course.settings {
...
@@ -322,7 +306,7 @@ body.course.settings {
}
}
}
}
}
}
// specific fields - overview
// specific fields - overview
#field-course-overview
{
#field-course-overview
{
...
@@ -468,7 +452,7 @@ body.course.settings {
...
@@ -468,7 +452,7 @@ body.course.settings {
}
}
}
}
}
}
.grade-specific-bar
{
.grade-specific-bar
{
height
:
50px
!
important
;
height
:
50px
!
important
;
}
}
...
@@ -479,7 +463,7 @@ body.course.settings {
...
@@ -479,7 +463,7 @@ body.course.settings {
li
{
li
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
height
:
50px
;
height
:
50px
;
text-align
:
right
;
text-align
:
right
;
@include
border-radius
(
2px
);
@include
border-radius
(
2px
);
...
@@ -600,8 +584,8 @@ body.course.settings {
...
@@ -600,8 +584,8 @@ body.course.settings {
}
}
#field-course-grading-assignment-shortname
,
#field-course-grading-assignment-shortname
,
#field-course-grading-assignment-totalassignments
,
#field-course-grading-assignment-totalassignments
,
#field-course-grading-assignment-gradeweight
,
#field-course-grading-assignment-gradeweight
,
#field-course-grading-assignment-droppable
{
#field-course-grading-assignment-droppable
{
width
:
flex-grid
(
2
,
6
);
width
:
flex-grid
(
2
,
6
);
}
}
...
@@ -734,4 +718,4 @@ body.course.settings {
...
@@ -734,4 +718,4 @@ body.course.settings {
.content-supplementary
{
.content-supplementary
{
width
:
flex-grid
(
3
,
12
);
width
:
flex-grid
(
3
,
12
);
}
}
}
}
\ No newline at end of file
cms/templates/settings.html
View file @
aaf95ddb
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