Skip to content

Commit

Permalink
refs #3813 use piwik tooltip styling for map tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Mar 29, 2013
1 parent b5ab89c commit 237517a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 157 deletions.
3 changes: 1 addition & 2 deletions plugins/UserCountryMap/UserCountryMap.php
Expand Up @@ -72,8 +72,7 @@ public function getJsFiles($notification)

public function getCssFiles($notification)
{
$cssFiles = & $notification->getNotificationObject();
$cssFiles[] = "plugins/UserCountryMap/css/qtip.css";
$cssFiles = &$notification->getNotificationObject();
$cssFiles[] = "plugins/UserCountryMap/css/visitor-map.css";
$cssFiles[] = "plugins/UserCountryMap/css/realtime-map.css";
}
Expand Down
152 changes: 0 additions & 152 deletions plugins/UserCountryMap/css/qtip.css

This file was deleted.

16 changes: 13 additions & 3 deletions themes/default/common.css
Expand Up @@ -724,9 +724,9 @@ table.entityTable tr td a {
}


/* Piwik Tooltip (plugins/CoreHome/templates/tooltip.js) */
/* Piwik Tooltips (plugins/CoreHome/templates/tooltip.js) */

.piwik-tooltip {
.ui-tooltip, .piwik-tooltip {
position: absolute;
z-index: 2000;
text-align: left;
Expand All @@ -743,13 +743,23 @@ table.entityTable tr td a {
-webkit-box-shadow: 1px 1px 2px #666;
box-shadow: 1px 1px 2px #666;
overflow: hidden;
max-width: 280px;
min-width: 50px;
line-height: 14px;
left: -28000px;
top: -28000px;
display: none;
}

.piwik-tooltip .tip-title {
.ui-tooltip h3, .piwik-tooltip .tip-title {
font-weight: bold;
color: #7E7363;
}

.ui-tooltip h3 {
font-size: 13px;
margin: 0 0 5px;
}


/* Popover */
Expand Down

0 comments on commit 237517a

Please sign in to comment.