From d570a90c05e29d8235361785696d1db4f53744a8 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 7 Jun 2016 10:13:08 +0200 Subject: [PATCH] frio: some hover card css fixes --- view/theme/frio/css/hovercard.css | 3 +++ view/theme/frio/css/style.css | 14 +++++++++++++- view/theme/frio/js/hovercard.js | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/view/theme/frio/css/hovercard.css b/view/theme/frio/css/hovercard.css index 3e60f03cb..5f972cd1f 100644 --- a/view/theme/frio/css/hovercard.css +++ b/view/theme/frio/css/hovercard.css @@ -282,6 +282,9 @@ display: block; text-overflow: ellipsis; } +.hovercard-content .hover-card-details .hover-card-content .profile-details > .profile-network a { + color: #777; +} .hover-card-actions { display: flex; } diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 11f85ae93..28ccc6636 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -109,7 +109,7 @@ a#item-delete-selected { * Overwriting and Extend Bootstrap */ .label, .label a { - color: #fff !important; + color: #fff; } /* Buttons */ @@ -1301,6 +1301,10 @@ blockquote.shared_content { .wall-item-tags a:hover { text-decoration: none; } +.wall-item-bottom .label, +.wall-item-bottom .label a { + color: #fff; +} /* item social action buttons */ .wall-item-actions, .wall-item-actions a { @@ -1924,3 +1928,11 @@ There are for some reasons empty tags. I don't know why */ 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; +} diff --git a/view/theme/frio/js/hovercard.js b/view/theme/frio/js/hovercard.js index 6e2a827cd..f17d47cd2 100644 --- a/view/theme/frio/js/hovercard.js +++ b/view/theme/frio/js/hovercard.js @@ -112,7 +112,7 @@ $(document).ready(function(){ }); $('body').on('mouseleave','.hovercard', function(e) { $(this).removeClass('dont-remove-card'); - $(this).popover("hide"); + //$(this).popover("hide"); }); }); // End of $(document).ready @@ -128,7 +128,7 @@ function removeAllhoverCards(event,priorTo) { // don't remove it if we're hovering it right now! if(!$(this).hasClass('dont-remove-card')) { $('[data-hover-card-active="' + $(this).data('card-created') + '"]').removeAttr('data-hover-card-active'); - $(this).popover("hide"); + //(this).popover("hide"); } } });