Commit 5d30c2de by Brittany Cheng

sort arrows

parent 038d7f89
...@@ -124,18 +124,19 @@ $discussion_input_width: 100%; ...@@ -124,18 +124,19 @@ $discussion_input_width: 100%;
font-size: $comment_info_size; font-size: $comment_info_size;
padding: 5px 8px; padding: 5px 8px;
text-decoration: none; text-decoration: none;
border: 1px solid #BEBEBE; border: none;
-webkit-box-shadow: none; -webkit-box-shadow: none;
-moz-box-shadow: none; -moz-box-shadow: none;
box-shadow: none; box-shadow: none;
background-color: #BEBEBE; background-color: #AAA;
background-image: none; background-image: none;
text-shadow: none; text-shadow: none;
&:hover { &:hover {
border: none;
-webkit-box-shadow: none; -webkit-box-shadow: none;
-moz-box-shadow: none; -moz-box-shadow: none;
box-shadow: none; box-shadow: none;
background-color: #AAA; background-color: #BEBEBE;
background-image: none; background-image: none;
} }
} }
...@@ -298,7 +299,6 @@ $discussion_input_width: 100%; ...@@ -298,7 +299,6 @@ $discussion_input_width: 100%;
color: #1d9dd9; color: #1d9dd9;
display: inline; display: inline;
} }
} }
.discussion-content { .discussion-content {
overflow: hidden; overflow: hidden;
...@@ -306,7 +306,7 @@ $discussion_input_width: 100%; ...@@ -306,7 +306,7 @@ $discussion_input_width: 100%;
padding: 2% 0; padding: 2% 0;
.discussion-reply-new { .discussion-reply-new {
@include discussion-font; @include discussion-font;
margin-left: $comment_margin_left; margin-left: 5%;
.reply-body { .reply-body {
@include discussion-font; @include discussion-font;
width: 95%; width: 95%;
...@@ -344,16 +344,23 @@ $discussion_input_width: 100%; ...@@ -344,16 +344,23 @@ $discussion_input_width: 100%;
text-align: center; text-align: center;
div { div {
display: inline-block; display: inline-block;
} font-weight: bold;
div a {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
background: #EEE;
margin: 0 5px; margin: 0 5px;
padding: 4px 10px; a {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
padding: 4px 10px;
background: #EEE;
font-weight: normal;
color: black;
text-decoration: none;
&:hover {
background: #DDD;
}
}
} }
} }
} }
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
<%def name="link_to_sort(key, title)"> <%def name="link_to_sort(key, title)">
% if key == sort_key: % if key == sort_key:
% if sort_order.lower() == 'desc': % if sort_order.lower() == 'desc':
${_link_to_sort(key, 'asc', title + ' [v]', 'sorted')} ${_link_to_sort(key, 'asc', title + ' &#x25BC;', 'sorted')}
% else: % else:
${_link_to_sort(key, 'desc', title + ' [^]', 'sorted')} ${_link_to_sort(key, 'desc', title + ' &#x25B2;', 'sorted')}
% endif % endif
% else: % else:
${_link_to_sort(key, 'desc', title)} ${_link_to_sort(key, 'desc', title)}
......
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