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
f1e1f9e7
Commit
f1e1f9e7
authored
Nov 08, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
in progress field layout styling
parent
8f2ab522
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
26 deletions
+43
-26
cms/static/sass/_settings.scss
+34
-17
cms/templates/settings.html
+9
-9
No files found.
cms/static/sass/_settings.scss
View file @
f1e1f9e7
...
@@ -64,16 +64,16 @@
...
@@ -64,16 +64,16 @@
}
}
&
:focus
{
&
:focus
{
@include
linear-gradient
(
tint
(
$blue
,
80%
)
,
tint
(
$blue
,
90%
));
border-color
:
$blue
;
border-color
:
$blue
;
outline
:
0
;
outline
:
0
;
}
}
}
}
.field
{
.field
{
background
:
#b6eab1
;
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
top
;
vertical-align
:
top
;
m
in
-width
:
400px
;
m
ax
-width
:
400px
;
input
{
input
{
display
:
block
;
display
:
block
;
...
@@ -87,12 +87,7 @@
...
@@ -87,12 +87,7 @@
@include
clearfix
();
@include
clearfix
();
div
{
div
{
float
:
left
;
margin-right
:
20px
;
&
:last-child
{
margin-right
:
0
;
}
}
}
.delete-icon
{
.delete-icon
{
...
@@ -102,12 +97,27 @@
...
@@ -102,12 +97,27 @@
}
}
}
}
&
.element-stacked
{
.element-stacked
{
div
{
margin-bottom
:
20px
;
&
:last-child
{
margin-bottom
:
0
;
}
}
}
}
&
.element-multi
{
.element-multi
{
div
{
float
:
left
;
margin-right
:
20px
;
&
:last-child
{
margin-right
:
0
;
}
}
}
}
}
}
...
@@ -137,19 +147,29 @@
...
@@ -137,19 +147,29 @@
}
}
.row
{
.row
{
margin-bottom
:
20
px
;
margin-bottom
:
15
px
;
padding
:
0
;
padding
-bottom
:
15px
;
border-bottom
:
none
;
border-bottom
:
1px
solid
$lightGrey
;
&
:last-child
{
&
:last-child
{
margin-bottom
:
0
;
margin-bottom
:
0
;
padding-bottom
:
0
;
border-bottom
:
none
;
}
}
.tip
{
.tip
{
color
:
$mediumGrey
;
color
:
$mediumGrey
;
font-size
:
13px
;
}
.tip-inline
{
display
:
inline-block
;
display
:
inline-block
;
margin-left
:
10px
;
margin-left
:
10px
;
font-size
:
13px
;
}
.tip-stacked
{
display
:
block
;
margin
:
10px
0
0
200px
;
}
}
}
}
...
@@ -158,10 +178,7 @@
...
@@ -158,10 +178,7 @@
}
}
>
section
{
>
section
{
padding-bottom
:
60px
;
margin-bottom
:
100px
;
margin-bottom
:
40px
;
border-radius
:
3px
;
border-bottom
:
1px
solid
$lightGrey
;
@include
clearfix
;
@include
clearfix
;
header
{
header
{
...
...
cms/templates/settings.html
View file @
f1e1f9e7
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
<li><a
href=
"#"
class=
"is-shown"
data-section=
"details"
>
Course Details
</a></li>
<li><a
href=
"#"
class=
"is-shown"
data-section=
"details"
>
Course Details
</a></li>
<li><a
href=
"#"
data-section=
"staff"
>
Staff
</a></li>
<li><a
href=
"#"
data-section=
"staff"
>
Staff
</a></li>
<li><a
href=
"#"
data-section=
"grading"
>
Grading
</a></li>
<li><a
href=
"#"
data-section=
"grading"
>
Grading
</a></li>
<li><a
href=
"#"
data-section=
"handouts"
>
Handouts
&
Guides
</a></li>
<li><a
href=
"#"
data-section=
"handouts"
>
Handouts
</a></li>
<li><a
href=
"#"
data-section=
"problems"
>
Problems
</a></li>
<li><a
href=
"#"
data-section=
"problems"
>
Problems
</a></li>
</ul>
</ul>
</nav>
</nav>
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Course Number:
</label>
<label>
Course Number:
</label>
<input
type=
"text"
class=
"short course-number-input"
>
<input
type=
"text"
class=
"short course-number-input"
>
<span
class=
"tip"
>
e.g. 101x
</span>
<span
class=
"tip
tip-inline
"
>
e.g. 101x
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Course Description:
</label>
<label>
Course Description:
</label>
...
@@ -136,13 +136,13 @@
...
@@ -136,13 +136,13 @@
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Classes Start Date:
</label>
<label>
Classes Start Date:
</label>
<input
type=
"text"
class=
"date course-start-date-input"
>
<input
type=
"text"
class=
"date course-start-date-input"
>
<span
class=
"tip"
>
First day the class begins
</span>
<span
class=
"tip
tip-inline
"
>
First day the class begins
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Classes End Date:
</label>
<label>
Classes End Date:
</label>
<input
type=
"text"
class=
"date course-end-date-input"
>
<input
type=
"text"
class=
"date course-end-date-input"
>
<span
class=
"tip"
>
Last day of class activty
</span>
<span
class=
"tip
tip-inline
"
>
Last day of class activty
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
<section
class=
"settings-details-marketing"
>
<section
class=
"settings-details-marketing"
>
<header>
<header>
<h3>
Introducing Your Course
</h3>
<h3>
Introducing Your Course
</h3>
<span
class=
"detail"
>
How your course will be shown to students considering taking it
</span>
<span
class=
"detail"
>
Information for perspective students
</span>
</header>
</header>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Course Statement:
</label>
<label>
Course Statement:
</label>
<textarea
class=
"long course-shortdescription"
></textarea>
<textarea
class=
"long course-shortdescription"
></textarea>
<span
class=
"tip"
>
Used to introduce your class to perspective students
</span>
<span
class=
"tip
tip-stacked
"
>
Used to introduce your class to perspective students
</span>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
<span
class=
"label-micro"
>
Textbook URL
</span>
<span
class=
"label-micro"
>
Textbook URL
</span>
</div>
</div>
<
!-- <a href="#" class="delete-icon remove-textbook-data"></a> --
>
<
a
href=
"#"
class=
"delete-icon remove-textbook-data"
></a
>
</li>
</li>
</ol>
</ol>
...
@@ -261,11 +261,11 @@
...
@@ -261,11 +261,11 @@
</header>
</header>
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Frequently Asked Questions:
</label>
<label>
<abbr
title=
"Frequently Asked Questions"
>
FAQs
</abbr>
</label>
<div
class=
"field"
>
<div
class=
"field"
>
<ol
class=
"input-list course-faq-list"
>
<ol
class=
"input-list course-faq-list"
>
<li
class=
"element course-faq-list-element"
>
<li
class=
"element
element-stacked
course-faq-list-element"
>
<div
class=
"course-faq-question"
>
<div
class=
"course-faq-question"
>
<input
type=
"text"
class=
"long course-faq-question-input"
>
<input
type=
"text"
class=
"long course-faq-question-input"
>
<span
class=
"label-micro"
>
Question
</span>
<span
class=
"label-micro"
>
Question
</span>
...
...
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