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
2135ed50
Commit
2135ed50
authored
Aug 07, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added vote arrows
parent
6cdd3a7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
22 deletions
+42
-22
lms/static/images/vote-arrows.png
+0
-0
lms/static/sass/_discussion.scss
+42
-22
No files found.
lms/static/images/vote-arrows.png
0 → 100644
View file @
2135ed50
1.54 KB
lms/static/sass/_discussion.scss
View file @
2135ed50
...
...
@@ -189,49 +189,69 @@ $tag_text_color: #5b614f;
float
:
left
;
width
:
flex-grid
(
1
);
text-align
:
center
;
// height: flex-grid(3);
// margin: 1% 2%;
.discussion-vote-count
{
@include
discussion-font
;
font-size
:
$comment_body_size
;
}
.discussion-votes-point
{
font-size
:
1em
;
.discussion-vote
{
display
:
block
;
width
:
50px
;
height
:
19px
;
margin
:
auto
;
background
:
url(../images/vote-arrows.png)
no-repeat
;
font-size
:
15px
;
font-weight
:
bold
;
color
:
black
;
@include
hide-text
;
@include
transition
(
all
,
0
,
easeOut
);
}
a
.discussion-vote
{
color
:
black
;
display
:
block
;
font-size
:
15px
;
font-weight
:
bold
;
.discussion-vote-up
{
margin-bottom
:
3px
;
background-position
:
-50px
-1px
;
&
:hover
{
color
:
#1C71DD
;
text-decoration
:
none
;
background-position
:
-50px
-3px
;
@include
transition-duration
(
0
.05s
)
;
}
&
.discussion-vote-up
{
margin-bottom
:
3px
;
&
.voted
{
background-position
:
0
-1px
;
color
:
#1C71DD
;
@include
transition-duration
(
0
);
}
}
.discussion-vote-down
{
margin-top
:
5px
;
background-position
:
-50px
-30px
;
&
.discussion-vote-down
{
margin-top
:
5px
;
&
:hover
{
background-position
:
-50px
-28px
;
@include
transition-duration
(
0
.05s
);
}
&
.voted
{
background-position
:
0
-30px
;
color
:
#1C71DD
;
@include
transition-duration
(
0
);
}
}
.discussion-vote-count
{
@include
discussion-font
;
font-size
:
$comment_body_size
;
}
.discussion-votes-point
{
font-size
:
1em
;
font-weight
:
bold
;
}
}
//CREATE NEW AND EDIT POSTS
.discussion-right-wrapper
{
float
:
left
;
min-height
:
40px
;
width
:
90%
;
// width: 90%;
width
:
flex-grid
(
11
);
}
.new-post-form
,
.discussion-thread-edit
{
...
...
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