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
9ab745c3
Commit
9ab745c3
authored
Aug 06, 2012
by
Brittany Cheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reorganize css
parent
27eaffe2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
40 deletions
+50
-40
lms/static/sass/_discussion.scss
+50
-40
No files found.
lms/static/sass/_discussion.scss
View file @
9ab745c3
...
...
@@ -20,33 +20,67 @@ $discussion_input_width: 100%;
.discussion-non-content
{
margin-left
:
flex-gutter
();
}
//TITLE
.discussion-title
{
@include
discussion-font
;
@include
discussion-clickable
;
font-size
:
$discussion_title_size
;
font-weight
:
bold
;
margin-bottom
:
flex-gutter
(
6
);
display
:
inline-block
;
}
.discussion-title-wrapper
{
.discussion-watch-discussion
,
.discussion-unwatch-discussion
{
display
:
none
;
@include
discussion-font
;
margin-left
:
5px
;
font-size
:
$comment_info_size
;
}
}
//SORTING
.discussion-sort
{
font-size
:
$comment_body_size
;
float
:
right
;
margin-top
:
-2
.5%
;
.discussion-sort-link
{
&
:hover
{
text-decoration
:
none
;
color
:
#1C71DD
;
}
}
.discussion-sort-link.sorted
{
font-weight
:
bold
;
color
:
#1C71DD
;
}
}
//SEARCH
.search-wrapper-inline
{
width
:
80%
;
display
:
inline-block
;
margin-top
:
3%
;
margin-bottom
:
6%
;
margin-top
:
3%
;
width
:
80%
;
}
.discussion-search-form
{
margin-bottom
:
1%
;
display
:
inline-block
;
margin-bottom
:
1%
;
width
:
flex-grid
(
12
);
.discussion-link
{
@include
button
;
display
:
inline-block
;
margin-left
:
1%
;
color
:
white
;
display
:
inline-block
;
font-size
:
inherit
;
font-weight
:
bold
;
text-decoration
:
none
;
margin-left
:
1%
;
padding-top
:
9px
;
font-size
:
inherit
;
text-decoration
:
none
;
}
.discussion-search-text
{
@include
discussion-font
;
}
.search-input
{
float
:
left
;
font
:
inherit
;
font-style
:
normal
;
float
:
left
;
width
:
72%
;
}
}
...
...
@@ -59,6 +93,7 @@ $discussion_input_width: 100%;
font
:
inherit
;
font-size
:
$comment_body_size
;
}
//BASIC BUTTON STYLES
.control-button
{
@include
button
;
@include
discussion-font
;
...
...
@@ -96,22 +131,7 @@ $discussion_input_width: 100%;
border
:
1px
solid
#555
;
}
}
.discussion-title
{
@include
discussion-font
;
@include
discussion-clickable
;
font-size
:
$discussion_title_size
;
font-weight
:
bold
;
margin-bottom
:
flex-gutter
(
6
);
display
:
inline-block
;
}
.discussion-title-wrapper
{
.discussion-watch-discussion
,
.discussion-unwatch-discussion
{
display
:
none
;
@include
discussion-font
;
margin-left
:
5px
;
font-size
:
$comment_info_size
;
}
}
//FOLLOW BUTTON
.follow-wrapper
{
float
:
right
;
.discussion-link
{
...
...
@@ -138,6 +158,7 @@ $discussion_input_width: 100%;
}
}
}
//VOTES
.discussion-votes
{
text-align
:
center
;
height
:
flex-grid
(
3
);
...
...
@@ -167,6 +188,7 @@ $discussion_input_width: 100%;
}
}
}
//CONTAINERS FOR NEW AND EDITED POSTS
.discussion-right-wrapper
{
min-height
:
40px
;
float
:
left
;
...
...
@@ -206,21 +228,6 @@ $discussion_input_width: 100%;
-webkit-font-smoothing
:
antialiased
;
}
}
.discussion-sort
{
font-size
:
$comment_body_size
;
float
:
right
;
margin-top
:
-2
.5%
;
.discussion-sort-link
{
&
:hover
{
text-decoration
:
none
;
color
:
#1C71DD
;
}
}
.discussion-sort-link.sorted
{
font-weight
:
bold
;
color
:
#1C71DD
;
}
}
.discussion-content-edit
,
.discussion-reply-new
,
.new-post-form
{
.new-post-control
{
margin-left
:
80%
;
...
...
@@ -255,6 +262,7 @@ $discussion_input_width: 100%;
margin-left
:
2%
;
}
}
//THREAD STYLES
.thread
{
//display: none;
.thread-title
{
...
...
@@ -326,6 +334,7 @@ $discussion_input_width: 100%;
}
}
}
//COMMENT STYLES
.comments
{
//display: none;
margin-left
:
$comment_margin_left
;
...
...
@@ -347,6 +356,7 @@ $discussion_input_width: 100%;
}
}
}
//PAGES
.discussion-paginator
{
margin-top
:
20px
;
margin-bottom
:
10px
;
...
...
@@ -375,7 +385,7 @@ $discussion_input_width: 100%;
}
}
//
editor styles
//
EDITOR STYLES
.wmd-panel
{
...
...
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