Skip to content
Extraits de code Groupes Projets
Valider e4342dfd rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

refs #4987 some bugfixes especially for small windows, fixed a test, enabled plugin

parent fa94d282
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -216,6 +216,14 @@ THIRD-PARTY COMPONENTS AND LIBRARIES
Link: https://github.com/symfony/Console
License: MIT
Name: AngularJS
Link: https://github.com/angular/angular.js
License: MIT
Name: Mousetrap
Link: https://github.com/ccampbell/mousetrap
License: Apache 2.0
THIRD-PARTY CONTENT
......
......@@ -610,6 +610,7 @@ Plugins[] = SegmentEditor
Plugins[] = Insights
Plugins[] = Morpheus
Plugins[] = ZenMode
[PluginsInstalled]
PluginsInstalled[] = Login
......
......@@ -389,7 +389,7 @@ table.dataTable {
padding-bottom: 12px;
border-bottom: 1px solid @silver-85;
&.columnSorted {
background: @silver-95 !important;
background: @theme-color-background-base !important;
.sortIcon {
margin-top: -1px;
}
......
......@@ -60,8 +60,14 @@
height: 10px;
}
th:first-child {
text-align:left;
}
th {
cursor: pointer;
border-left: 0px;
text-align: center;
}
.site_search input {
......
......@@ -35,7 +35,6 @@ class ZenMode extends \Piwik\Plugin
public function getJsFiles(&$jsFiles)
{
$jsFiles[] = "plugins/ZenMode/javascripts/mousetrap.min.js";
$jsFiles[] = "plugins/ZenMode/javascripts/zen-mode.js";
$jsFiles[] = "plugins/ZenMode/angularjs/quick-access/quick-access-directive.js";
$jsFiles[] = "plugins/ZenMode/angularjs/zen-mode/zen-mode-switcher-directive.js";
......
......@@ -14,4 +14,7 @@
.quick-access-category:hover {
background: none !important;
}
.no-result {
padding-left: 27px;
}
}
\ No newline at end of file
......@@ -98,18 +98,26 @@ $(document).ready(function () {
$('#Searchmenu').off('keydown focus', '.quick-access input', showQuickAccessMenu);
$('#Searchmenu').off('blur', '.quick-access input', hideQuickAccessMenu);
menu.prototype.adaptSubMenuHeight();
}
function overMainLI () {
var $this = $(this);
var position = $this.position();
var width = $this.width();
$this.find('ul').css({left: position.left + 'px', display: 'block', minWidth: width+'px'});
var height = $this.height();
$this.find('ul').css({
left: position.left + 'px',
display: 'block',
minWidth: width + 'px',
position: 'absolute',
top: (position.top + height) + 'px'
});
}
function outMainLI () {
$(this).find('ul').css({left: '', display: '', minWidth: ''});
$(this).find('ul').css({left: '', display: '', minWidth: '', position: '', top: ''});
}
function resetSubmenu()
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter