frio: some hover card css fixes

This commit is contained in:
rabuzarus 2016-06-07 10:13:08 +02:00
parent d752ea9abc
commit d570a90c05
3 changed files with 18 additions and 3 deletions

View file

@ -282,6 +282,9 @@
display: block; display: block;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.hovercard-content .hover-card-details .hover-card-content .profile-details > .profile-network a {
color: #777;
}
.hover-card-actions { .hover-card-actions {
display: flex; display: flex;
} }

View file

@ -109,7 +109,7 @@ a#item-delete-selected {
* Overwriting and Extend Bootstrap * Overwriting and Extend Bootstrap
*/ */
.label, .label a { .label, .label a {
color: #fff !important; color: #fff;
} }
/* Buttons */ /* Buttons */
@ -1301,6 +1301,10 @@ blockquote.shared_content {
.wall-item-tags a:hover { .wall-item-tags a:hover {
text-decoration: none; text-decoration: none;
} }
.wall-item-bottom .label,
.wall-item-bottom .label a {
color: #fff;
}
/* item social action buttons */ /* item social action buttons */
.wall-item-actions, .wall-item-actions a { .wall-item-actions, .wall-item-actions a {
@ -1924,3 +1928,11 @@ There are for some reasons empty <a> tags. I don't know why */
padding: 0; padding: 0;
} }
/* hovercard fix */
body .tread-wrapper .hovercard a,
body .tread-wrapper .hovercard a:hover {
color: $link_color;
}
body .tread-wrapper .hovercard:hover .hover-card-content a {
color: $link_color !important;
}

View file

@ -112,7 +112,7 @@ $(document).ready(function(){
}); });
$('body').on('mouseleave','.hovercard', function(e) { $('body').on('mouseleave','.hovercard', function(e) {
$(this).removeClass('dont-remove-card'); $(this).removeClass('dont-remove-card');
$(this).popover("hide"); //$(this).popover("hide");
}); });
}); // End of $(document).ready }); // End of $(document).ready
@ -128,7 +128,7 @@ function removeAllhoverCards(event,priorTo) {
// don't remove it if we're hovering it right now! // don't remove it if we're hovering it right now!
if(!$(this).hasClass('dont-remove-card')) { if(!$(this).hasClass('dont-remove-card')) {
$('[data-hover-card-active="' + $(this).data('card-created') + '"]').removeAttr('data-hover-card-active'); $('[data-hover-card-active="' + $(this).data('card-created') + '"]').removeAttr('data-hover-card-active');
$(this).popover("hide"); //(this).popover("hide");
} }
} }
}); });