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
dd66eecf
Commit
dd66eecf
authored
Jan 30, 2012
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
e8311db7
f851063b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
562 additions
and
450 deletions
+562
-450
sass/_askbot-original.scss
+445
-443
sass/_base.scss
+6
-0
sass/_discussion-questions.scss
+38
-4
sass/_discussion-tags.scss
+2
-2
sass/_question-view.scss
+70
-0
sass/application.scss
+1
-1
No files found.
sass/_askbot-original.scss
View file @
dd66eecf
...
@@ -1205,448 +1205,451 @@ ul {
...
@@ -1205,448 +1205,451 @@ ul {
.edit-question-page
.title-desc
,
#fmedit
.title-desc
,
.wmd-preview
.title-desc
{
.edit-question-page
.title-desc
,
#fmedit
.title-desc
,
.wmd-preview
.title-desc
{
margin-bottom
:
10px
;
}
margin-bottom
:
10px
;
}
.question-page
{
// .question-page {
h1
{
// h1 {
padding-top
:
0px
;
// padding-top: 0px;
font-family
:
'Yanone Kaffeesatz'
,
sans-serif
;
// font-family: 'Yanone Kaffeesatz',sans-serif;
a
{
// a {
color
:
#464646
;
// color: #464646;
font-size
:
30px
;
// font-size: 30px;
font-weight
:
normal
;
// font-weight: normal;
line-height
:
1
;
}
}
// line-height: 1; } }
p
.rss
{
// p.rss {
float
:
none
;
// float: none;
clear
:
both
;
// clear: both;
padding
:
3px
0
0
23px
;
// padding: 3px 0 0 23px;
font-size
:
15px
;
// font-size: 15px;
width
:
110px
;
// width: 110px;
background-position
:
center
left
;
// background-position: center left;
margin-left
:
0px
!
important
;
// margin-left: 0px !important;
a
{
// a {
font-family
:
'Yanone Kaffeesatz'
,
sans-serif
;
// font-family: 'Yanone Kaffeesatz',sans-serif;
vertical-align
:
top
;
}
}
// vertical-align: top; } }
.question-content
{
// .question-content {
float
:
right
;
// float: right;
width
:
682px
;
// width: 682px;
margin-bottom
:
10px
;
}
// margin-bottom: 10px; }
#question-table
{
// #question-table {
float
:
left
;
// float: left;
border-top
:
#f0f0f0
1px
solid
;
// border-top: #f0f0f0 1px solid;
margin
:
6px
0
6px
0
;
// margin: 6px 0 6px 0;
border-spacing
:
0px
;
// border-spacing: 0px;
width
:
670px
;
// width: 670px;
padding-right
:
10px
;
}
// padding-right: 10px; }
.answer-table
{
// .answer-table {
margin
:
6px
0
6px
0
;
// margin: 6px 0 6px 0;
border-spacing
:
0px
;
// border-spacing: 0px;
width
:
670px
;
// width: 670px;
padding-right
:
10px
;
// padding-right: 10px;
margin-top
:
0px
;
// margin-top: 0px;
border-bottom
:
1px
solid
#D4D4D4
;
// border-bottom: 1px solid #D4D4D4;
float
:
right
;
// float: right;
td
{
// td {
width
:
20px
;
// width: 20px;
vertical-align
:
top
;
}
}
// vertical-align: top; } }
#question-table
td
{
// #question-table td {
width
:
20px
;
// width: 20px;
vertical-align
:
top
;
}
// vertical-align: top; }
.question-body
,
.answer-body
{
// .question-body, .answer-body {
overflow
:
auto
;
// overflow: auto;
margin-top
:
10px
;
// margin-top: 10px;
font-family
:
Arial
;
// font-family: Arial;
color
:
#4b4b4b
;
}
// color: #4b4b4b; }
.question-body
p
,
.answer-body
p
{
// .question-body p, .answer-body p {
margin-bottom
:
14px
;
// margin-bottom: 14px;
line-height
:
1
.4
;
// line-height: 1.4;
font-size
:
14px
;
// font-size: 14px;
padding
:
0px
5px
5px
0px
;
}
// padding: 0px 5px 5px 0px; }
.question-body
a
,
.answer-body
a
{
// .question-body a, .answer-body a {
color
:
#1b79bd
;
}
// color: #1b79bd; }
.question-body
li
,
.answer-body
li
{
// .question-body li, .answer-body li {
margin-bottom
:
7px
;
}
// margin-bottom: 7px; }
.question-body
IMG
,
.answer-body
IMG
{
// .question-body IMG, .answer-body IMG {
max-width
:
600px
;
}
// max-width: 600px; }
.post-update-info-container
{
// .post-update-info-container {
float
:
right
;
// float: right;
width
:
175px
;
}
// width: 175px; }
.post-update-info
{
// .post-update-info {
background
:
white
url(../images/background-user-info.png)
repeat-x
bottom
;
// background: white url(../images/background-user-info.png) repeat-x bottom;
float
:
right
;
// float: right;
font-size
:
9px
;
// font-size: 9px;
font-family
:
Arial
;
// font-family: Arial;
width
:
158px
;
// width: 158px;
padding
:
4px
;
// padding: 4px;
margin
:
0px
0px
5px
5px
;
// margin: 0px 0px 5px 5px;
line-height
:
14px
;
// line-height: 14px;
border-radius
:
4px
;
// border-radius: 4px;
-ms-border-radius
:
4px
;
// -ms-border-radius: 4px;
-moz-border-radius
:
4px
;
// -moz-border-radius: 4px;
-webkit-border-radius
:
4px
;
// -webkit-border-radius: 4px;
-khtml-border-radius
:
4px
;
// -khtml-border-radius: 4px;
-webkit-box-shadow
:
0px
2px
1px
#bfbfbf
;
// -webkit-box-shadow: 0px 2px 1px #bfbfbf;
-moz-box-shadow
:
0px
2px
1px
#bfbfbf
;
// -moz-box-shadow: 0px 2px 1px #bfbfbf;
box-shadow
:
0px
2px
1px
#bfbfbf
;
// box-shadow: 0px 2px 1px #bfbfbf;
p
{
// p {
line-height
:
13px
;
// line-height: 13px;
font-size
:
11px
;
// font-size: 11px;
margin
:
0
0
2px
1px
;
// margin: 0 0 2px 1px;
padding
:
0
;
}
// padding: 0; }
a
{
// a {
color
:
#444
;
}
// color: #444; }
.gravatar
{
// .gravatar {
float
:
left
;
// float: left;
margin-right
:
4px
;
}
// margin-right: 4px; }
p
.tip
{
// p.tip {
color
:
#444
;
// color: #444;
line-height
:
13px
;
// line-height: 13px;
font-size
:
10px
;
}
}
// font-size: 10px; } }
.post-controls
{
// .post-controls {
font-size
:
11px
;
// font-size: 11px;
line-height
:
12px
;
// line-height: 12px;
min-width
:
200px
;
// min-width: 200px;
padding-left
:
5px
;
// padding-left: 5px;
text-align
:
right
;
// text-align: right;
clear
:
left
;
// clear: left;
float
:
right
;
// float: right;
margin-top
:
10px
;
// margin-top: 10px;
margin-bottom
:
8px
;
// margin-bottom: 8px;
a
{
// a {
color
:
#777
;
// color: #777;
padding
:
0px
3px
3px
22px
;
// padding: 0px 3px 3px 22px;
cursor
:
pointer
;
// cursor: pointer;
border
:
none
;
// border: none;
font-size
:
12px
;
// font-size: 12px;
font-family
:
Arial
;
// font-family: Arial;
text-decoration
:
none
;
// text-decoration: none;
height
:
18px
;
// height: 18px;
display
:
block
;
// display: block;
float
:
right
;
// float: right;
line-height
:
18px
;
// line-height: 18px;
margin-top
:
-2px
;
// margin-top: -2px;
margin-left
:
4px
;
// margin-left: 4px;
&
:hover
{
// &:hover {
background-color
:
#f5f0c9
;
// background-color: #f5f0c9;
border-radius
:
3px
;
// border-radius: 3px;
-ms-border-radius
:
3px
;
// -ms-border-radius: 3px;
-moz-border-radius
:
3px
;
// -moz-border-radius: 3px;
-webkit-border-radius
:
3px
;
// -webkit-border-radius: 3px;
-khtml-border-radius
:
3px
;
}
}
// -khtml-border-radius: 3px; } }
.sep
{
// .sep {
color
:
#ccc
;
// color: #ccc;
float
:
right
;
// float: right;
height
:
18px
;
// height: 18px;
font-size
:
18px
;
}
// font-size: 18px; }
.question-delete
{
// .question-delete {
background
:
url(../images/delete.png)
no-repeat
center
left
;
// background: url(../images/delete.png) no-repeat center left;
padding-left
:
16px
;
}
}
// padding-left: 16px; } }
.answer-controls
.question-delete
{
// .answer-controls .question-delete {
background
:
url(../images/delete.png)
no-repeat
center
left
;
// background: url(../images/delete.png) no-repeat center left;
padding-left
:
16px
;
}
// padding-left: 16px; }
.post-controls
.question-flag
,
.answer-controls
.question-flag
{
// .post-controls .question-flag, .answer-controls .question-flag {
background
:
url(../images/flag.png)
no-repeat
center
left
;
}
// background: url(../images/flag.png) no-repeat center left; }
.post-controls
.question-edit
,
.answer-controls
.question-edit
{
// .post-controls .question-edit, .answer-controls .question-edit {
background
:
url(../images/edit2.png)
no-repeat
center
left
;
}
// background: url(../images/edit2.png) no-repeat center left; }
.post-controls
.question-retag
,
.answer-controls
.question-retag
{
// .post-controls .question-retag, .answer-controls .question-retag {
background
:
url(../images/retag.png)
no-repeat
center
left
;
}
// background: url(../images/retag.png) no-repeat center left; }
.post-controls
.question-close
,
.answer-controls
.question-close
{
// .post-controls .question-close, .answer-controls .question-close {
background
:
url(../images/close.png)
no-repeat
center
left
;
}
// background: url(../images/close.png) no-repeat center left; }
.post-controls
.permant-link
,
.answer-controls
.permant-link
{
// .post-controls .permant-link, .answer-controls .permant-link {
background
:
url(../images/link.png)
no-repeat
center
left
;
}
// background: url(../images/link.png) no-repeat center left; }
.tabBar
{
// .tabBar {
width
:
100%
;
}
// width: 100%; }
#questionCount
{
// #questionCount {
float
:
left
;
// float: left;
font-family
:
'Yanone Kaffeesatz'
,
sans-serif
;
// font-family: 'Yanone Kaffeesatz',sans-serif;
line-height
:
15px
;
}
// line-height: 15px; }
.question-img-upvote
,
.question-img-downvote
,
.answer-img-upvote
,
.answer-img-downvote
{
// .question-img-upvote, .question-img-downvote, .answer-img-upvote, .answer-img-downvote {
width
:
25px
;
// width: 25px;
height
:
20px
;
// height: 20px;
cursor
:
pointer
;
}
// cursor: pointer; }
.question-img-upvote
,
.answer-img-upvote
{
// .question-img-upvote, .answer-img-upvote {
background
:
url(../images/vote-arrow-up-new.png)
no-repeat
;
}
// background: url(../images/vote-arrow-up-new.png) no-repeat; }
.question-img-downvote
,
.answer-img-downvote
{
// .question-img-downvote, .answer-img-downvote {
background
:
url(../images/vote-arrow-down-new.png)
no-repeat
;
}
// background: url(../images/vote-arrow-down-new.png) no-repeat; }
.question-img-upvote
{
// .question-img-upvote {
&
:hover
,
&
.on
{
// &:hover, &.on {
background
:
url(../images/vote-arrow-up-on-new.png)
no-repeat
;
}
}
// background: url(../images/vote-arrow-up-on-new.png) no-repeat; } }
.answer-img-upvote
{
// .answer-img-upvote {
&
:hover
,
&
.on
{
// &:hover, &.on {
background
:
url(../images/vote-arrow-up-on-new.png)
no-repeat
;
}
}
// background: url(../images/vote-arrow-up-on-new.png) no-repeat; } }
.question-img-downvote
{
// .question-img-downvote {
&
:hover
,
&
.on
{
// &:hover, &.on {
background
:
url(../images/vote-arrow-down-on-new.png)
no-repeat
;
}
}
// background: url(../images/vote-arrow-down-on-new.png) no-repeat; } }
.answer-img-downvote
{
// .answer-img-downvote {
&
:hover
,
&
.on
{
// &:hover, &.on {
background
:
url(../images/vote-arrow-down-on-new.png)
no-repeat
;
}
}
// background: url(../images/vote-arrow-down-on-new.png) no-repeat; } }
#fmanswer_button
{
// #fmanswer_button {
margin
:
8px
0px
;
}
// margin: 8px 0px; }
.question-img-favorite
:hover
{
// .question-img-favorite:hover {
background
:
url(../images/vote-favorite-on.png)
;
}
// background: url(../images/vote-favorite-on.png); }
div
.comments
{
// div.comments {
padding
:
0
;
}
// padding: 0; }
#comment-title
{
// #comment-title {
font-weight
:
bold
;
// font-weight: bold;
font-size
:
23px
;
// font-size: 23px;
color
:
#7ea9b3
;
// color: #7ea9b3;
width
:
200px
;
// width: 200px;
float
:
left
;
// float: left;
font-family
:
'Yanone Kaffeesatz'
,
sans-serif
;
}
// font-family: 'Yanone Kaffeesatz',sans-serif; }
.comments
{
// .comments {
font-size
:
12px
;
// font-size: 12px;
clear
:
both
;
// clear: both;
div
.controls
{
// div.controls {
clear
:
both
;
// clear: both;
float
:
left
;
// float: left;
width
:
100%
;
// width: 100%;
margin
:
3px
0
20px
5px
;
}
// margin: 3px 0 20px 5px; }
.controls
a
{
// .controls a {
color
:
#988e4c
;
// color: #988e4c;
padding
:
0
3px
2px
22px
;
// padding: 0 3px 2px 22px;
font-family
:
Arial
;
// font-family: Arial;
font-size
:
13px
;
// font-size: 13px;
background
:
url(../images/comment.png)
no-repeat
center
left
;
// background: url(../images/comment.png) no-repeat center left;
&
:hover
{
// &:hover {
background-color
:
#f5f0c9
;
// background-color: #f5f0c9;
text-decoration
:
none
;
}
}
// text-decoration: none; } }
.button
{
// .button {
color
:
#988e4c
;
// color: #988e4c;
font-size
:
11px
;
// font-size: 11px;
padding
:
3px
;
// padding: 3px;
cursor
:
pointer
;
}
// cursor: pointer; }
a
{
// a {
background-color
:
inherit
;
// background-color: inherit;
color
:
#1b79bd
;
// color: #1b79bd;
padding
:
0
;
}
// padding: 0; }
form
.post-comments
{
// form.post-comments {
margin
:
3px
26px
0
42px
;
// margin: 3px 26px 0 42px;
textarea
{
// textarea {
font-size
:
13px
;
// font-size: 13px;
line-height
:
1
.3
;
}
}
// line-height: 1.3; } }
textarea
{
// textarea {
height
:
42px
;
// height: 42px;
width
:
100%
;
// width: 100%;
margin
:
7px
0
5px
1px
;
// margin: 7px 0 5px 1px;
font-family
:
Arial
;
// font-family: Arial;
outline
:
none
;
// outline: none;
overflow
:
auto
;
// overflow: auto;
font-size
:
12px
;
// font-size: 12px;
line-height
:
140%
;
// line-height: 140%;
padding-left
:
2px
;
// padding-left: 2px;
padding-top
:
3px
;
// padding-top: 3px;
border
:
#cce6ec
3px
solid
;
}
// border: #cce6ec 3px solid; }
input
{
// input {
margin-left
:
10px
;
// margin-left: 10px;
margin-top
:
1px
;
// margin-top: 1px;
vertical-align
:
top
;
// vertical-align: top;
width
:
100px
;
}
// width: 100px; }
button
{
// button {
background
:
url(../images/small-button-blue.png)
repeat-x
top
;
// background: url(../images/small-button-blue.png) repeat-x top;
border
:
0
;
// border: 0;
color
:
#4a757f
;
// color: #4a757f;
font-family
:
Arial
;
// font-family: Arial;
font-size
:
13px
;
// font-size: 13px;
width
:
100px
;
// width: 100px;
font-weight
:
bold
;
// font-weight: bold;
height
:
27px
;
// height: 27px;
line-height
:
25px
;
// line-height: 25px;
margin-bottom
:
5px
;
// margin-bottom: 5px;
cursor
:
pointer
;
// cursor: pointer;
border-radius
:
4px
;
// border-radius: 4px;
-ms-border-radius
:
4px
;
// -ms-border-radius: 4px;
-moz-border-radius
:
4px
;
// -moz-border-radius: 4px;
-webkit-border-radius
:
4px
;
// -webkit-border-radius: 4px;
-khtml-border-radius
:
4px
;
// -khtml-border-radius: 4px;
text-shadow
:
0px
1px
0px
#e6f6fa
;
// text-shadow: 0px 1px 0px #e6f6fa;
-moz-text-shadow
:
0px
1px
0px
#e6f6fa
;
// -moz-text-shadow: 0px 1px 0px #e6f6fa;
-webkit-text-shadow
:
0px
1px
0px
#e6f6fa
;
// -webkit-text-shadow: 0px 1px 0px #e6f6fa;
-webkit-box-shadow
:
1px
1px
2px
#808080
;
// -webkit-box-shadow: 1px 1px 2px #808080;
-moz-box-shadow
:
1px
1px
2px
#808080
;
// -moz-box-shadow: 1px 1px 2px #808080;
box-shadow
:
1px
1px
2px
#808080
;
// box-shadow: 1px 1px 2px #808080;
&
:hover
{
// &:hover {
background
:
url(../images/small-button-blue.png)
bottom
repeat-x
;
// background: url(../images/small-button-blue.png) bottom repeat-x;
text-shadow
:
0px
1px
0px
#c6d9dd
;
// text-shadow: 0px 1px 0px #c6d9dd;
-moz-text-shadow
:
0px
1px
0px
#c6d9dd
;
// -moz-text-shadow: 0px 1px 0px #c6d9dd;
-webkit-text-shadow
:
0px
1px
0px
#c6d9dd
;
}
}
// -webkit-text-shadow: 0px 1px 0px #c6d9dd; } }
.counter
{
// .counter {
display
:
inline-block
;
// display: inline-block;
width
:
245px
;
// width: 245px;
float
:
right
;
// float: right;
color
:
#b6a475
!
important
;
// color: #b6a475 !important;
vertical-align
:
top
;
// vertical-align: top;
font-family
:
Arial
;
// font-family: Arial;
float
:
right
;
// float: right;
text-align
:
right
;
}
// text-align: right; }
.comment
{
// .comment {
border-bottom
:
1px
solid
#edeeeb
;
// border-bottom: 1px solid #edeeeb;
clear
:
both
;
// clear: both;
margin
:
0
;
// margin: 0;
margin-top
:
8px
;
// margin-top: 8px;
padding-bottom
:
4px
;
// padding-bottom: 4px;
overflow
:
auto
;
// overflow: auto;
font-family
:
Arial
;
// font-family: Arial;
font-size
:
11px
;
// font-size: 11px;
min-height
:
25px
;
// min-height: 25px;
background
:
white
url(../images/comment-background.png)
bottom
repeat-x
;
// background: white url(../images/comment-background.png) bottom repeat-x;
border-radius
:
5px
;
// border-radius: 5px;
-ms-border-radius
:
5px
;
// -ms-border-radius: 5px;
-moz-border-radius
:
5px
;
// -moz-border-radius: 5px;
-webkit-border-radius
:
5px
;
// -webkit-border-radius: 5px;
-khtml-border-radius
:
5px
;
}
// -khtml-border-radius: 5px; }
div
.comment
:hover
{
// div.comment:hover {
background-color
:
#efefef
;
}
// background-color: #efefef; }
a
.author
{
// a.author {
background-color
:
inherit
;
// background-color: inherit;
color
:
#1b79bd
;
// color: #1b79bd;
padding
:
0
;
// padding: 0;
&
:hover
{
// &:hover {
text-decoration
:
underline
;
}
}
// text-decoration: underline; } }
span
.delete-icon
{
// span.delete-icon {
background
:
url(../images/close-small.png)
no-repeat
;
// background: url(../images/close-small.png) no-repeat;
border
:
0
;
// border: 0;
width
:
14px
;
// width: 14px;
height
:
14px
;
// height: 14px;
&
:hover
{
// &:hover {
border
:
#BC564B
2px
solid
;
// border: #BC564B 2px solid;
border-radius
:
10px
;
// border-radius: 10px;
-ms-border-radius
:
10px
;
// -ms-border-radius: 10px;
-moz-border-radius
:
10px
;
// -moz-border-radius: 10px;
-webkit-border-radius
:
10px
;
// -webkit-border-radius: 10px;
-khtml-border-radius
:
10px
;
// -khtml-border-radius: 10px;
margin
:
-3px
0px
0px
-2px
;
}
}
// margin: -3px 0px 0px -2px; } }
.content
{
// .content {
margin-bottom
:
7px
;
}
// margin-bottom: 7px; }
.comment-votes
{
// .comment-votes {
float
:
left
;
// float: left;
width
:
37px
;
// width: 37px;
line-height
:
130%
;
// line-height: 130%;
padding
:
6px
5px
6px
3px
;
}
// padding: 6px 5px 6px 3px; }
.comment-body
{
// .comment-body {
line-height
:
1
.3
;
// line-height: 1.3;
margin
:
3px
26px
0
46px
;
// margin: 3px 26px 0 46px;
padding
:
5px
3px
;
// padding: 5px 3px;
color
:
#666
;
// color: #666;
font-size
:
13px
;
// font-size: 13px;
.edit
{
// .edit {
padding-left
:
6px
;
}
// padding-left: 6px; }
p
{
// p {
font-size
:
13px
;
// font-size: 13px;
line-height
:
1
.3
;
// line-height: 1.3;
margin-bottom
:
3px
;
// margin-bottom: 3px;
padding
:
0
;
}
}
// padding: 0; } }
.comment-delete
{
// .comment-delete {
float
:
right
;
// float: right;
width
:
14px
;
// width: 14px;
line-height
:
130%
;
// line-height: 130%;
padding
:
8px
6px
;
}
// padding: 8px 6px; }
.upvote
{
// .upvote {
margin
:
0px
;
// margin: 0px;
padding-right
:
17px
;
// padding-right: 17px;
padding-top
:
2px
;
// padding-top: 2px;
text-align
:
right
;
// text-align: right;
height
:
20px
;
// height: 20px;
font-size
:
13px
;
// font-size: 13px;
font-weight
:
bold
;
// font-weight: bold;
color
:
#777
;
// color: #777;
&
.upvoted
{
// &.upvoted {
color
:
#d64000
;
}
// color: #d64000; }
&
.hover
{
// &.hover {
background
:
url(../images/go-up-grey.png)
no-repeat
;
// background: url(../images/go-up-grey.png) no-repeat;
background-position
:
right
1px
;
}
// background-position: right 1px; }
&
:hover
{
// &:hover {
background
:
url(../images/go-up-orange.png)
no-repeat
;
// background: url(../images/go-up-orange.png) no-repeat;
background-position
:
right
1px
;
}
}
// background-position: right 1px; } }
.help-text
{
// .help-text {
float
:
right
;
// float: right;
text-align
:
right
;
// text-align: right;
color
:
gray
;
// color: gray;
margin-bottom
:
0px
;
// margin-bottom: 0px;
margin-top
:
0px
;
// margin-top: 0px;
line-height
:
50%
;
}
}
// line-height: 50%; } }
#questionTools
{
// #questionTools {
font-size
:
22px
;
// font-size: 22px;
margin-top
:
11px
;
// margin-top: 11px;
text-align
:
left
;
}
// text-align: left; }
.question-status
{
// .question-status {
margin-top
:
10px
;
// margin-top: 10px;
margin-bottom
:
15px
;
// margin-bottom: 15px;
padding
:
20px
;
// padding: 20px;
background-color
:
#fef7cc
;
// background-color: #fef7cc;
text-align
:
center
;
// text-align: center;
border
:
#e1c04a
1px
solid
;
// border: #e1c04a 1px solid;
h3
{
// h3 {
font-size
:
20px
;
// font-size: 20px;
color
:
#707070
;
// color: #707070;
font-weight
:
normal
;
}
}
// font-weight: normal; } }
.vote-buttons
{
// .vote-buttons {
float
:
left
;
// // float: left;
text-align
:
center
;
// // text-align: center;
padding-top
:
2px
;
// // padding-top: 2px;
margin
:
10px
10px
0px
3px
;
// // margin: 10px 10px 0px 3px;
IMG
{
// IMG {
cursor
:
pointer
;
}
}
// cursor: pointer; } }
.vote-number
{
// .vote-number {
font-family
:
'Yanone Kaffeesatz'
,
sans-serif
;
// font-family: 'Yanone Kaffeesatz',sans-serif;
padding
:
0px
0
5px
0
;
// padding: 0px 0 5px 0;
font-size
:
25px
;
// font-size: 25px;
font-weight
:
bold
;
// font-weight: bold;
color
:
#777
;
}
// color: #777; }
.vote-buttons
.notify-sidebar
{
// .vote-buttons .notify-sidebar {
text-align
:
left
;
// // text-align: left;
width
:
120px
;
// // width: 120px;
label
{
// label {
vertical-align
:
top
;
}
}
// vertical-align: top; } }
.tabBar-answer
{
// .tabBar-answer {
margin-bottom
:
15px
;
// margin-bottom: 15px;
padding-left
:
7px
;
// padding-left: 7px;
width
:
723px
;
// width: 723px;
margin-top
:
10px
;
}
// margin-top: 10px; }
.answer
.vote-buttons
{
// .answer .vote-buttons {
float
:
left
;
}
// // float: left;
.accepted-answer
{
// }
background-color
:
#f7fecc
;
// .accepted-answer {
border-bottom-color
:
#9BD59B
;
// background-color: #f7fecc;
.vote-buttons
{
// border-bottom-color: #9BD59B;
width
:
27px
;
// // .vote-buttons {
margin-right
:
10px
;
// // width: 27px;
margin-top
:
10px
;
}
}
// // margin-right: 10px;
.answer
.post-update-info
a
{
// // margin-top: 10px; }
color
:
#444444
;
}
// }
.answered
{
// .answer .post-update-info a {
background
:
#CCC
;
// color: #444444; }
color
:
#999
;
}
// .answered {
.answered-accepted
{
// background: #CCC;
background
:
#DCDCDC
;
// color: #999; }
color
:
#763333
;
// .answered-accepted {
strong
{
// background: #DCDCDC;
color
:
#E1E818
;
}
}
// color: #763333;
.answered-by-owner
{
// strong {
background
:
#F1F1FF
;
// color: #E1E818; } }
.comments
{
// .answered-by-owner {
.button
{
// background: #F1F1FF;
background-color
:
#E6ECFF
;
}
// .comments {
background-color
:
#E6ECFF
;
}
// .button {
.vote-buttons
{
// background-color: #E6ECFF; }
margin-right
:
10px
;
}
}
// background-color: #E6ECFF; }
.answer-img-accept
:hover
{
// // .vote-buttons {
background
:
url(../images/vote-accepted-on.png)
;
}
// // margin-right: 10px; }
.answer-body
{
// }
a
{
// .answer-img-accept:hover {
color
:
#1b79bd
;
}
// background: url(../images/vote-accepted-on.png); }
li
{
// .answer-body {
margin-bottom
:
0
.7em
;
}
}
// a {
#fmanswer
{
// color: #1b79bd; }
color
:
#707070
;
// li {
line-height
:
1
.2
;
// margin-bottom: 0.7em; } }
margin-top
:
10px
;
// #fmanswer {
h2
{
// color: #707070;
font-family
:
'Yanone Kaffeesatz'
,
sans-serif
;
// line-height: 1.2;
color
:
#7ea9b3
;
// margin-top: 10px;
font-size
:
24px
;
}
// h2 {
label
{
// font-family: 'Yanone Kaffeesatz',sans-serif;
font-size
:
13px
;
}
}
// color: #7ea9b3;
.message
{
// font-size: 24px; }
padding
:
5px
;
// label {
margin
:
0px
0
10px
0
;
}
}
// font-size: 13px; } }
// .message {
// padding: 5px;
// margin: 0px 0 10px 0; } }
@media
screen
and
(
-
webkit-min-device-pixel-ratio
:
0
)
{
@media
screen
and
(
-
webkit-min-device-pixel-ratio
:
0
)
{
textarea
{
textarea
{
...
@@ -2704,4 +2707,3 @@ pre.prettyprint {
...
@@ -2704,4 +2707,3 @@ pre.prettyprint {
// color: #404; }
// color: #404; }
// .atv {
// .atv {
// color: #060; } }
// color: #060; } }
sass/_base.scss
View file @
dd66eecf
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
outline-color
:
#ccc
;
outline-color
:
#ccc
;
}
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
a
{
color
:
#000
;
}
}
h1
{
h1
{
font-size
:
1
.6em
;
font-size
:
1
.6em
;
margin
:
20px
0
10px
0
;
margin
:
20px
0
10px
0
;
...
...
sass/_discussion-questions.scss
View file @
dd66eecf
...
@@ -74,10 +74,6 @@ ul.question-list {
...
@@ -74,10 +74,6 @@ ul.question-list {
font-weight
:
normal
;
font-weight
:
normal
;
margin
:
0px
0
15px
0
;
margin
:
0px
0
15px
0
;
text-transform
:
none
;
text-transform
:
none
;
a
{
color
:
#000
;
}
}
}
div
.user-info
{
div
.user-info
{
...
@@ -158,3 +154,41 @@ div.search-tips {
...
@@ -158,3 +154,41 @@ div.search-tips {
.search-result-summary
{
.search-result-summary
{
}
}
div
.post-update-info
{
@include
box-sizing
(
border-box
);
@include
border-radius
(
5px
);
background
:lighten
(
#F6EFD4
,
5
%
)
;
padding
:
10px
;
a
{
color
:
$mit-red
;
}
div
.change-date
{
font-size
:
12px
;
margin-bottom
:
10px
;
}
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
;
width
:
60%
;
span
.user-badges
{
display
:
block
;
}
}
}
sass/_discussion-tags.scss
View file @
dd66eecf
...
@@ -10,13 +10,13 @@ ul.tags {
...
@@ -10,13 +10,13 @@ ul.tags {
display
:
inline
;
display
:
inline
;
font-size
:
12px
;
font-size
:
12px
;
margin-left
:
15px
;
margin-left
:
15px
;
padding
:
5
px
10px
5px
5px
;
padding
:
3
px
10px
5px
5px
;
&
:before
{
&
:before
{
content
:
""
;
content
:
""
;
position
:absolute
;
position
:absolute
;
top
:
0
;
top
:
0
;
left
:
-1
2
px
;
left
:
-1
1
px
;
width
:
0
;
width
:
0
;
height
:
0
;
height
:
0
;
border-color
:transparent
#eee
transparent
transparent
;
border-color
:transparent
#eee
transparent
transparent
;
...
...
sass/_question-view.scss
0 → 100644
View file @
dd66eecf
div
.question-header
{
div
.vote-buttons
{
display
:
inline-block
;
float
:
left
;
width
:
flex-grid
(
1
,
9
);
margin-right
:
flex-gutter
(
9
);
}
div
.question-container
{
display
:
inline-block
;
float
:
left
;
width
:
flex-grid
(
8
,
9
);
h1
{
margin-top
:
0
;
}
div
.meta-bar
{
border-bottom
:
1px
solid
#eee
;
display
:
block
;
margin
:
20px
0
10px
;
overflow
:
hidden
;
padding-bottom
:
15px
;
div
.tag-list
{
display
:
inline-block
;
float
:left
;
width
:
flex-grid
(
4
,
8
);
margin-right
:
flex-gutter
(
8
);
}
div
.question-actions
{
display
:
inline-block
;
float
:left
;
text-align
:
right
;
width
:
flex-grid
(
4
,
8
);
a
{
color
:
darken
(
#F6EFD4
,
50%
);
&
.question-delete
{
color
:
$mit-red
;
}
}
span
.sep
{
color
:
darken
(
#F6EFD4
,
10%
);
}
}
}
div
.question-content
{
overflow
:
hidden
;
div
.question-body
{
display
:
inline-block
;
float
:
left
;
margin-right
:
flex-gutter
(
8
);
width
:
flex-grid
(
6
.2
,
8
);
}
div
.post-update-info
{
display
:
inline-block
;
float
:
left
;
width
:
flex-grid
(
1
.8
,
8
);
}
}
}
}
sass/application.scss
View file @
dd66eecf
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
@import
"wiki-basic-html"
,
"wiki-create"
,
"wiki"
;
@import
"wiki-basic-html"
,
"wiki-create"
,
"wiki"
;
@import
"activation"
;
@import
"activation"
;
@import
"help"
;
@import
"help"
;
@import
"askbot-original"
,
"discussion"
,
"discussion-questions"
,
"discussion-tags"
;
@import
"askbot-original"
,
"discussion"
,
"discussion-questions"
,
"discussion-tags"
,
"question-view"
;
// left over
// left over
@import
"theme"
;
@import
"theme"
;
...
...
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