Commit 891a223f by Tom Giannattasio

tweaked styling of inline pagination

parent a0c887cd
...@@ -16,12 +16,13 @@ if Backbone? ...@@ -16,12 +16,13 @@ if Backbone?
else else
@page = 1 @page = 1
toggleNewPost: (event) -> toggleNewPost: (event) ->
event.preventDefault()
if @newPostForm.is(':hidden') if @newPostForm.is(':hidden')
@newPostForm.slideDown(300) @newPostForm.slideDown(300)
else else
@newPostForm.slideUp(300) @newPostForm.slideUp(300)
hideNewPost: (event) -> hideNewPost: (event) ->
@newPostForm.slideUp(300) @newPostForm.slideUp(300)
......
...@@ -1580,7 +1580,7 @@ body.discussion { ...@@ -1580,7 +1580,7 @@ body.discussion {
section.discussion { section.discussion {
/* Course content p has a default margin-bottom of 1.416em, this is just to reset that */ /* Course content p has a default margin-bottom of 1.416em, this is just to reset that */
.discussion-thread { .discussion-thread {
padding: 0.5em; padding: 0.5em 0;
p { p {
margin-bottom: 0em; margin-bottom: 0em;
...@@ -1859,7 +1859,11 @@ body.discussion { ...@@ -1859,7 +1859,11 @@ body.discussion {
} }
section.pagination { section.pagination {
margin-top: 30px;
nav.discussion-paginator { nav.discussion-paginator {
float: right;
ol { ol {
li { li {
list-style: none; list-style: none;
...@@ -1868,16 +1872,18 @@ body.discussion { ...@@ -1868,16 +1872,18 @@ body.discussion {
a { a {
@include white-button; @include white-button;
} }
} }
li.current-page{ li.current-page{
height: 35px; height: 35px;
padding: 0 15px;
border: 1px solid #ccc;
border-radius: 3px;
font-size: 13px; font-size: 13px;
font-weight: 700; font-weight: 700;
line-height: 32px; line-height: 32px;
color: #333; color: #333;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 1px 1px rgba(0, 0, 0, .15);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment