diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-09-09 17:53:39 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-10-07 14:42:28 +0300 |
commit | 10d482f1d3deb4c717fbb87f523428196634a326 (patch) | |
tree | fe4ba19fe7a69afed399812fdeed70e123e79579 /plugins/UserCountryMap | |
parent | 8d2e4b1d1ae867b8a1fedcc0d937ef2ad00431b0 (diff) |
Left menu design
Diffstat (limited to 'plugins/UserCountryMap')
-rw-r--r-- | plugins/UserCountryMap/javascripts/realtime-map.js | 11 | ||||
-rw-r--r-- | plugins/UserCountryMap/stylesheets/realtime-map.less | 4 |
2 files changed, 11 insertions, 4 deletions
diff --git a/plugins/UserCountryMap/javascripts/realtime-map.js b/plugins/UserCountryMap/javascripts/realtime-map.js index 6096ce3786..f73259c5e7 100644 --- a/plugins/UserCountryMap/javascripts/realtime-map.js +++ b/plugins/UserCountryMap/javascripts/realtime-map.js @@ -57,11 +57,14 @@ }, _initStandaloneMap: function () { - $('.top_controls').hide(); - $('.Menu--dashboard').on('piwikSwitchPage', function (event, item) { - var clickedMenuIsNotMap = ($(item).attr('href').indexOf('module=UserCountryMap&action=realtimeWorldMap') == -1); + $('#periodString').hide(); + initTopControls(); + $('#secondNavBar').on('piwikSwitchPage', function (event, item) { + var href = $(item).attr('href'); + var clickedMenuIsNotMap = (href.indexOf('module=UserCountryMap&action=realtimeWorldMap') == -1); if (clickedMenuIsNotMap) { - $('.top_controls').show(); + $('#periodString').show(); + initTopControls(); } }); $('.realTimeMap_overlay').css('top', '0px'); diff --git a/plugins/UserCountryMap/stylesheets/realtime-map.less b/plugins/UserCountryMap/stylesheets/realtime-map.less index c6c98ffda5..b6dbd8a65b 100644 --- a/plugins/UserCountryMap/stylesheets/realtime-map.less +++ b/plugins/UserCountryMap/stylesheets/realtime-map.less @@ -13,6 +13,10 @@ filter: alpha(opacity=3); } +.RealTimeMap:focus { + outline: none; +} + .RealTimeMap-black { position: absolute; right: 0; |