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
78826ec0
Commit
78826ec0
authored
Feb 16, 2012
by
kaishin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Question view enhancements
parent
77b6c862
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
145 additions
and
82 deletions
+145
-82
sass/discussion/_answers.scss
+74
-13
sass/discussion/_askbot-original.scss
+47
-47
sass/discussion/_question-view.scss
+22
-17
sass/discussion/_sidebar.scss
+2
-5
No files found.
sass/discussion/_answers.scss
View file @
78826ec0
div
.answer-controls
{
@include
box-sizing
(
border-box
);
@extend
div
.question-controls
;
display
:
inline-block
;
margin
:
20px
0
;
margin
:
0
0
15px
;
padding-left
:
flex-grid
(
1
.1
);
width
:
100%
;
div
.answer-sort
{
@extend
div
.question-sort
;
div
.answer-count
{
display
:
inline-block
;
float
:
left
;
}
div
.answer-count
{
@extend
div
.question-count
;
div
.answer-sort
{
float
:
right
;
margin-left
:
flex-gutter
();
nav
{
@extend
.action-link
;
float
:
right
;
margin-top
:
25px
;
a
{
&
.on
span
{
font-weight
:
bold
;
}
&
:before
{
content
:
'|'
;
color
:
darken
(
#F6EFD4
,
10%
);
font-size
:
22px
;
}
}
}
}
}
...
...
@@ -44,7 +64,10 @@ div.answer-block {
}
div
.answered-by-owner
{
color
:
$mit-red
;
p
{
font-style
:
italic
;
color
:
#656565
;
}
div
.comments-container
{
color
:
#555
;
...
...
@@ -52,6 +75,34 @@ div.answer-block {
}
}
div
.paginator
{
@extend
div
.answer-block
;
text-align
:
center
;
padding
:
20px
0
;
span
{
@include
border-radius
(
3px
);
background
:
#eee
;
margin
:
0
5px
;
padding
:
4px
10px
;
&
.curr
{
background
:
none
;
color
:
$mit-red
;
font-weight
:
bold
;
}
&
.next
,
&
.prev
{
@extend
.light-button
;
}
a
{
color
:
#555
;
text-decoration
:
none
;
}
}
}
div
.answer-own
{
border-top
:
1px
solid
#eee
;
overflow
:hidden
;
...
...
@@ -60,18 +111,28 @@ div.answer-own {
}
div
.answer-actions
{
text-align
:
right
;
border-left
:
3px
solid
darken
(
#F6EFD4
,
10%
)
;
margin
:
0
;
padding
:
0
;
padding
:
8px
8px
8px
0
;
text-align
:
right
;
background
:lighten
(
#F6EFD4
,
5
%
)
;
span
.sep
{
color
:
#ddd
;
}
a
{
text-decoration
:
none
;
cursor
:
pointer
;
text-decoration
:
none
;
&
.question-delete
{
color
:
$mit-red
;
}
&
.question-edit
,
&
.permant-link
{
color
:
darken
(
#F6EFD4
,
45%
);;
}
}
a
.question-edit
,
a
.permant-link
{
color
:
#999
;
}
}
sass/discussion/_askbot-original.scss
View file @
78826ec0
...
...
@@ -792,53 +792,53 @@ body.anon #searchbar {
margin-bottom
:
16px
;
float
:
right
;
}
.paginator
{
padding
:
5px
0
10px
0
;
font-size
:
13px
;
margin-bottom
:
10px
;
.prev
a
,
.next
a
{
background-color
:
#fff
;
color
:
#777
;
padding
:
2px
4px
3px
4px
;
&
:visited
{
background-color
:
#fff
;
color
:
#777
;
padding
:
2px
4px
3px
4px
;
}
}
a
{
color
:
#7ea9b3
;
}
.prev
{
margin-right
:
.5em
;
}
.next
{
margin-left
:
.5em
;
}
.page
a
{
padding
:
.25em
;
background-color
:
#fff
;
margin
:
0em
.25em
;
color
:
#ff
;
&
:visited
{
padding
:
.25em
;
background-color
:
#fff
;
margin
:
0em
.25em
;
color
:
#ff
;
}
}
.curr
{
padding
:
.25em
;
background-color
:
#fff
;
margin
:
0em
.25em
;
color
:
#ff
;
background-color
:
#8ebcc7
;
color
:
#fff
;
font-weight
:
bold
;
}
.next
a
,
.prev
a
{
color
:
#7ea9b3
;
}
.page
a
:hover
,
.curr
a
:hover
,
.prev
a
:hover
,
.next
a
:hover
{
color
:
#8c8c8c
;
background-color
:
#e1e1e1
;
text-decoration
:
none
;
}
.text
{
color
:
#777
;
padding
:
.3em
;
}
.paginator-container-left
{
padding
:
5px
0
10px
0
;
}
}
//
.paginator {
//
padding: 5px 0 10px 0;
//
font-size: 13px;
//
margin-bottom: 10px;
//
.prev a, .next a {
//
background-color: #fff;
//
color: #777;
//
padding: 2px 4px 3px 4px;
//
&:visited {
//
background-color: #fff;
//
color: #777;
//
padding: 2px 4px 3px 4px; } }
//
a {
//
color: #7ea9b3; }
//
.prev {
//
margin-right: .5em; }
//
.next {
//
margin-left: .5em; }
//
.page a {
//
padding: .25em;
//
background-color: #fff;
//
margin: 0em .25em;
//
color: #ff;
//
&:visited {
//
padding: .25em;
//
background-color: #fff;
//
margin: 0em .25em;
//
color: #ff; } }
//
.curr {
//
padding: .25em;
//
background-color: #fff;
//
margin: 0em .25em;
//
color: #ff;
//
background-color: #8ebcc7;
//
color: #fff;
//
font-weight: bold; }
//
.next a, .prev a {
//
color: #7ea9b3; }
//
.page a:hover, .curr a:hover, .prev a:hover, .next a:hover {
//
color: #8c8c8c;
//
background-color: #e1e1e1;
//
text-decoration: none; }
//
.text {
//
color: #777;
//
padding: .3em; }
//
.paginator-container-left {
//
padding: 5px 0 10px 0; } }
// .tag-size-1 {
// font-size: 12px; }
...
...
sass/discussion/_question-view.scss
View file @
78826ec0
...
...
@@ -103,8 +103,9 @@ div.question-header {
div
.post-update-info
{
@include
box-sizing
(
border-box
);
@include
border-radius
(
5px
);
background
:lighten
(
#F6EFD4
,
5
%
)
;
// @include border-radius(5px);
// background:lighten(#F6EFD4, 5%);
border-left
:
3px
solid
darken
(
#F6EFD4
,
10%
);
padding
:
10px
;
margin-bottom
:
10px
;
...
...
@@ -127,29 +128,33 @@ div.question-header {
div
.change-date
{
font-size
:
12px
;
margin-bottom
:
10
px
;
margin-bottom
:
2
px
;
}
div
.avatar
{
// div.avatar {
// display: inline-block;
// float: left;
// margin-right: 3px;
// img.gravatar {
// background: white;
// border: 1px solid darken(#F6EFD4, 10%);
// margin-right: 5px;
// padding: 3px ;
// vertical-align: bottom;
// }
// }
div
.user-meta
{
display
:
inline-block
;
float
:
left
;
margin-right
:
3px
;
img
.gravatar
{
background
:
white
;
border
:
1px
solid
darken
(
#F6EFD4
,
10%
);
span
.username
{
font-size
:
20px
;
margin-right
:
5px
;
padding
:
3px
;
vertical-align
:
bottom
;
}
}
div
.user-meta
{
display
:
inline-block
;
width
:
60%
;
span
.user-badges
{
display
:
block
;
//
display: block;
}
}
}
...
...
sass/discussion/_sidebar.scss
View file @
78826ec0
...
...
@@ -107,9 +107,9 @@ div.discussion-wrapper aside {
input
#clear
{
@include
box-shadow
(
none
);
@include
border-radius
(
5px
);
@include
border-radius
(
1
5px
);
border
:
none
;
background
:
$mit-red
;
background
:
#bbb
;
color
:
#fff
;
display
:
inline
;
font-size
:
10px
;
...
...
@@ -162,6 +162,3 @@ div.discussion-wrapper aside {
}
}
}
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