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
0342a650
Commit
0342a650
authored
Feb 21, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Plain Diff
Merged in bug fix and Reda's changes
parents
3ce85573
4838ab1b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
90 additions
and
24 deletions
+90
-24
sass/discussion/_answers.scss
+3
-3
sass/discussion/_discussion.scss
+43
-7
sass/discussion/_question-view.scss
+3
-3
sass/discussion/_questions.scss
+34
-9
sass/discussion/_tags.scss
+2
-2
simplewiki_edit.html
+5
-0
No files found.
sass/discussion/_answers.scss
View file @
0342a650
...
...
@@ -26,7 +26,7 @@ div.answer-controls {
&
:before
{
content
:
'|'
;
color
:
darken
(
#F6EFD4
,
10%
)
;
color
:
#ccc
;
font-size
:
16px
;
}
}
...
...
@@ -131,11 +131,11 @@ div.answer-actions {
text-decoration
:
none
;
&
.question-delete
{
color
:
$mit-red
;
//
color: $mit-red;
}
&
.question-edit
,
&
.permant-link
{
color
:
darken
(
#F6EFD4
,
45%
);;
//
color: darken(#F6EFD4, 45%);;
}
}
...
...
sass/discussion/_discussion.scss
View file @
0342a650
...
...
@@ -20,11 +20,11 @@
}
.action-link
{
a
{
color
:
darken
(
#F6EFD4
,
50%
)
;
color
:
$mit-red
;
&
:hover
{
text-decoration
:
none
;
color
:
darken
(
#F6EFD4
,
7
0%
);
color
:
darken
(
$mit-red
,
2
0%
);
}
}
}
...
...
@@ -62,14 +62,50 @@ body.askbot {
margin-bottom
:
70px
;
}
// span, a {
// text-decoration: none;
// color: #888;
// font-weight: bold;
// }
}
}
}
}
}
// Autocomplete
.acInput
{
width
:
200px
;
}
.acResults
{
background-color
:
#fff
;
border
:
1px
solid
#ababab
;
overflow
:
hidden
;
padding
:
0px
;
@include
box-shadow
(
0
2px
2px
#bbb
);
ul
{
list-style-position
:
outside
;
list-style
:
none
;
margin
:
0
;
padding
:
0
;
width
:
100%
;
}
li
{
cursor
:
pointer
;
display
:
block
;
font
:
menu
;
margin
:
0px
;
overflow
:
hidden
;
padding
:
5px
10px
;
text-align
:
left
;
border-top
:
1px
solid
#eee
;
width
:
100%
;
}
}
.acLoading
{
background
:
url('../images/indicator.gif')
right
center
no-repeat
;
}
.acSelect
{
background-color
:
$mit-red
;
color
:
#fff
;
}
sass/discussion/_question-view.scss
View file @
0342a650
...
...
@@ -72,7 +72,7 @@ div.question-header {
width
:
flex-grid
(
4
,
8
);
a
{
color
:
darken
(
#F6EFD4
,
50%
);
//
color: darken(#F6EFD4, 50%);
&
.question-delete
{
color
:
$mit-red
;
...
...
@@ -80,7 +80,7 @@ div.question-header {
}
span
.sep
{
color
:
darken
(
#F6EFD4
,
10%
)
;
color
:
#ccc
;
}
}
}
...
...
@@ -275,7 +275,7 @@ div.question-header {
}
.counter
{
color
:
#888
;
display
:
block
;
display
:
none
;
float
:
right
;
margin-top
:
5px
;
text-align
:
right
;
...
...
sass/discussion/_questions.scss
View file @
0342a650
...
...
@@ -3,6 +3,7 @@ div.question-list-header {
margin-bottom
:
15px
;
overflow
:
hidden
;
width
:
flex-grid
(
9
,
9
);
@extend
h1
.top-header
;
section
.question-list-meta
{
display
:
block
;
...
...
@@ -14,6 +15,9 @@ div.question-list-header {
float
:
left
;
}
h1
{
margin
:
0
;
}
span
.label
{
color
:
#555
;
}
...
...
@@ -43,7 +47,7 @@ div.question-list-header {
&
:before
{
content
:
'|'
;
color
:
darken
(
#F6EFD4
,
10%
)
;
color
:
#ccc
;
font-size
:
16px
;
}
}
...
...
@@ -54,8 +58,7 @@ div.question-list-header {
section
.question-tags-list
{
display
:
block
;
min-height
:
26px
;
overflow
:
hidden
;
padding-top
:
5px
;
padding-top
:
15px
;
width
:
100%
;
div
{
...
...
@@ -65,6 +68,7 @@ div.question-list-header {
div
.back
{
margin-right
:
10px
;
margin-top
:
4px
;
a
{
color
:
#555
;
...
...
@@ -74,6 +78,14 @@ div.question-list-header {
div
.tags-list
{
}
ul
.tags
li
{
background
:
#fff
;
&
:before
{
border-color
:
transparent
#fff
transparent
transparent
;
}
}
}
}
...
...
@@ -81,12 +93,26 @@ ul.question-list, div#question-list {
width
:
flex-grid
(
9
,
9
);
li
.single-question
{
border-
top
:
1px
solid
#eee
;
border-
bottom
:
1px
solid
#eee
;
list-style
:
none
;
padding
:
10px
0
;
padding
:
10px
3%
;
margin-left
:
-3%
;
width
:
100%
;
&
:hover
{
background
:
#fbfbfb
;
background
:
#F3F3F3
;
ul
.tags
li
{
background
:
#fff
;
&
:before
{
border-color
:
transparent
#fff
transparent
transparent
;
}
}
}
&
:first-child
{
border-top
:
0
;
}
div
{
...
...
@@ -132,7 +158,7 @@ ul.question-list, div#question-list {
li
{
@include
linear-gradient
(
#fff
,
#f5f5f5
);
border
:
1px
solid
#
eee
;
border
:
1px
solid
#
ddd
;
display
:
inline-block
;
height
:
60px
;
margin-right
:
10px
;
...
...
@@ -180,8 +206,7 @@ ul.question-list, div#question-list {
}
div
.post-own-question
{
border-top
:
1px
solid
#efefef
;
padding
:
10px
;
padding
:
11px
;
a
{
font-weight
:
bold
;
...
...
sass/discussion/_tags.scss
View file @
0342a650
...
...
@@ -9,7 +9,7 @@ ul.tags {
li
{
background
:
#eee
;
@include
border-radius
(
4px
);
@include
box-shadow
(
1px
1px
0px
#bbb
);
@include
box-shadow
(
0px
1px
0px
#ccc
);
color
:
#555
;
display
:
inline-block
;
font-size
:
12px
;
...
...
@@ -39,7 +39,7 @@ ul.tags {
float
:
none
;
left
:
10px
;
opacity
:
0
.5
;
padding
:
3
px
6px
;
padding
:
4
px
6px
;
position
:
relative
;
top
:
1px
;
...
...
simplewiki_edit.html
View file @
0342a650
...
...
@@ -19,6 +19,11 @@ ${ wiki_article.title }
return
"You have made changes to the article that have not been saved yet."
;
}
};
$
(
"#submit_edit"
).
click
(
function
()
{
$
(
"#id_contents"
).
data
(
'initial_contents'
,
$
(
"#id_contents"
).
val
());
});
});
</script>
</
%
block>
...
...
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