FIX: User card @mentions looked pretty bad

This commit is contained in:
Robin Ward 2014-11-04 14:25:35 -05:00
parent 9161b8529f
commit 74e2b8f674
4 changed files with 17 additions and 10 deletions

View File

@ -94,11 +94,11 @@
{{#if websiteName}}
<i class="fa fa-globe"></i>
{{#if linkWebsite}}
<a {{bind-attr href="website"}} rel="nofollow" target="_blank">{{websiteName}}</a>
{{else}}
<span {{bind-attr title="website"}}>{{websiteName}}</span>
{{/if}}
{{#if linkWebsite}}
<a {{bind-attr href="website"}} rel="nofollow" target="_blank">{{websiteName}}</a>
{{else}}
<span {{bind-attr title="website"}}>{{websiteName}}</span>
{{/if}}
{{/if}}
</h3>

View File

@ -614,11 +614,11 @@ iframe {
position: relative;
}
a.mention {
padding: 2px 4px;
color: $primary;
background: scale-color-diff();
}
a.mention {
padding: 2px 4px;
color: $primary;
background: scale-color-diff();
}
.modal-body {

View File

@ -127,6 +127,9 @@
max-width: 100%;
}
a.mention {
background-color: dark-light-diff($secondary, $primary, 50%, -60%);
}
.overflow {
max-height: 60px;
overflow: hidden;

View File

@ -292,6 +292,10 @@
overflow: auto;
max-width: 750px;
a.mention {
background-color: dark-light-diff($secondary, $primary, 50%, -60%);
}
a[href] {
color: dark-light-diff($secondary, $primary, 75%, 0%);
text-decoration: underline;