style fixes
This commit is contained in:
@@ -2,7 +2,7 @@ $menu_color: #F7F7FF;
|
||||
$link_color: hsl(213, 100%, 50%);
|
||||
$link_hover_color: lighten($link_color, 25%);
|
||||
$link_dark_color: darken($link_color, 25%);
|
||||
$highlight_color: lighten(complement($link_color), 35%);
|
||||
$highlight_color: lighten($link_color, 45%);
|
||||
$h1_size: 2em;
|
||||
$h2_size: 1.5em;
|
||||
$h3_size: 1.16667em;
|
||||
|
||||
@@ -4,6 +4,8 @@ form.simple_form {
|
||||
div.input.boolean {
|
||||
label {
|
||||
display: inline;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,10 @@ div.list-of-forum-posts {
|
||||
|
||||
menu {
|
||||
margin-top: 0.5em;
|
||||
|
||||
li {
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,8 +35,10 @@ div#c-forum-topics {
|
||||
color: #AAA;
|
||||
}
|
||||
|
||||
tr.new-topic {
|
||||
font-weight: bold;
|
||||
span.new {
|
||||
font-size: 80%;
|
||||
color: red;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
a.last-page {
|
||||
|
||||
@@ -13,12 +13,16 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @forum_topics.each do |topic| %>
|
||||
<tr class="forum-topic-row <% if topic.updated_at > (CurrentUser.last_forum_read_at || Time.now) %>new-topic<% end %>">
|
||||
<tr class="forum-topic-row">
|
||||
<td>
|
||||
<% if topic.is_sticky? %>
|
||||
<span class="sticky">Sticky:</span>
|
||||
<% end %>
|
||||
|
||||
<% if topic.updated_at > (CurrentUser.last_forum_read_at || Time.now) %>
|
||||
<span class="new">NEW</span>
|
||||
<% end %>
|
||||
|
||||
<%= link_to topic.title, forum_topic_path(topic) %>
|
||||
|
||||
<% if topic.response_count > 30 %>
|
||||
|
||||
Reference in New Issue
Block a user