ui polish

This commit is contained in:
Andrew Brown 2021-07-28 14:08:10 -07:00
parent 48f51a0126
commit 094554ff12
3 changed files with 8 additions and 7 deletions

View File

@ -24,6 +24,7 @@
.thredded--user-navigation {
height: 2rem;
margin: 1rem;
border-bottom: 0;
.thredded--user-navigation--item a {
padding: 8px 4px;

View File

@ -2,8 +2,10 @@
<div class="thredded--topic-followers">
<% if topic.followers.present? %>
<%# t('thredded.topics.followed_by') %>
<i class="material-icons tiny" style="position: relative; top: 2px;">people_alt</i>
<%= pluralize topic.followers.count, 'follower' %>
<span class="tooltipped" data-tooltip="<%= pluralize topic.followers.count, 'person' %> will be notified of any updates to this thread." data-position="right">
<i class="material-icons tiny" style="position: relative; top: 2px;">people_alt</i>
<%= pluralize topic.followers.count, 'follower' %>
</span>
<%# topic.followers.each do |user| %>
<%#= user_link(user) %>
<%# end %>

View File

@ -12,9 +12,7 @@
</small>
<div class="thredded--post--dropdown">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="408px" height="408px" viewBox="0 0 408 408" class="thredded--post--dropdown--toggle">
<path d="M204,102c28.05,0,51-22.95,51-51S232.05,0,204,0s-51,22.95-51,51S175.95,102,204,102z M204,153c-28.05,0-51,22.95-51,51 s22.95,51,51,51s51-22.95,51-51S232.05,153,204,153z M204,306c-28.05,0-51,22.95-51,51s22.95,51,51,51s51-22.95,51-51 S232.05,306,204,306z"></path>
</svg>
<i class="material-icons thredded--post--dropdown--toggle">tune</i>
<div class="thredded--post--dropdown--actions">
<% if topic.can_update? %>
@ -24,13 +22,13 @@
<% end %>
<% if user_signed_in? && params.key?(:id) %>
<%= link_to main_app.documentize_topic_path(params[:id]), class: 'thredded--post--dropdown--actions--item' do %>
Save to document
Export to document
<% end %>
<%= link_to main_app.plaintext_topic_path(params[:id]), class: 'thredded--post--dropdown--actions--item', rel: 'nofollow' do %>
View as plaintext
<% end %>
<%= link_to main_app.irc_log_topic_path(params[:id]), class: 'thredded--post--dropdown--actions--item', rel: 'nofollow' do %>
View as IRC log
View as chat log
<% end %>
<% end %>
<% if topic.can_destroy? %>