UX: use same styling for username and user-name
This commit is contained in:
parent
f36719c1f5
commit
7b92280b97
|
@ -11,7 +11,7 @@
|
||||||
<span class='user-name username-title'><%= post.user.name %></span>
|
<span class='user-name username-title'><%= post.user.name %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%- else %>
|
<%- else %>
|
||||||
<a class="user-name username-link" href="<%=Discourse.base_url%>/u/<%= post.user.username_lower%>" target="_blank"><%= post.user.name %></a>
|
<a class="username username-link" href="<%=Discourse.base_url%>/u/<%= post.user.username_lower%>" target="_blank"><%= post.user.name %></a>
|
||||||
<%- if show_username_on_post(post) %>
|
<%- if show_username_on_post(post) %>
|
||||||
<span class='username username-title'><%= post.user.username %></span>
|
<span class='username username-title'><%= post.user.username %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -204,7 +204,6 @@ module Email
|
||||||
style('.previous-discussion', 'font-size: 17px; color: #444; margin-bottom:10px;')
|
style('.previous-discussion', 'font-size: 17px; color: #444; margin-bottom:10px;')
|
||||||
style('.notification-date', "text-align:right;color:#999999;padding-right:5px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px")
|
style('.notification-date', "text-align:right;color:#999999;padding-right:5px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px")
|
||||||
style('.username', "font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;font-weight:bold")
|
style('.username', "font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;font-weight:bold")
|
||||||
style('.user-name', "font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;font-weight:normal;")
|
|
||||||
style('.username-link', "color:#{SiteSetting.email_link_color};")
|
style('.username-link', "color:#{SiteSetting.email_link_color};")
|
||||||
style('.username-title', "color:#777;margin-left:5px;")
|
style('.username-title', "color:#777;margin-left:5px;")
|
||||||
style('.user-title', "font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:5px;color: #999;")
|
style('.user-title', "font-size:13px;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;text-decoration:none;margin-left:5px;color: #999;")
|
||||||
|
|
Loading…
Reference in New Issue