diff --git a/src/DebugBar/Resources/debugbar.js b/src/DebugBar/Resources/debugbar.js
index 9780aaf..45ad07a 100644
--- a/src/DebugBar/Resources/debugbar.js
+++ b/src/DebugBar/Resources/debugbar.js
@@ -512,19 +512,29 @@ if (typeof(PhpDebugBar) == 'undefined') {
};
// close button
- this.$closebtn = $('').addClass(csscls('close-btn')).appendTo(this.$headerRight);
+ this.$closebtn = $('').addClass(csscls('close-btn'))
+ .append($('').attr('class', 'phpdebugbar-fa phpdebugbar-fa-times'))
+ .css('background', 'none')
+ .appendTo(this.$headerRight);
this.$closebtn.click(function() {
self.close();
});
// minimize button
- this.$minimizebtn = $('').addClass(csscls('minimize-btn') ).appendTo(this.$headerRight);
+ this.$minimizebtn = $('').addClass(csscls('minimize-btn'))
+ .append($('').attr('class', 'phpdebugbar-fa phpdebugbar-fa-chevron-down'))
+ .css('background', 'none')
+ .appendTo(this.$headerRight);
this.$minimizebtn.click(function() {
self.minimize();
});
// maximize button
- this.$maximizebtn = $('').addClass(csscls('maximize-btn') ).appendTo(this.$headerRight);
+ this.$maximizebtn = $('')
+ .append($('').attr('class', 'phpdebugbar-fa phpdebugbar-fa-chevron-up'))
+ .css('background', 'none')
+ .addClass(csscls('maximize-btn'))
+ .appendTo(this.$headerRight);
this.$maximizebtn.click(function() {
self.restore();
});
@@ -536,7 +546,11 @@ if (typeof(PhpDebugBar) == 'undefined') {
});
// open button
- this.$openbtn = $('').addClass(csscls('open-btn')).appendTo(this.$headerRight).hide();
+ this.$openbtn = $('').addClass(csscls('open-btn'))
+ .append($('').attr('class', 'phpdebugbar-fa phpdebugbar-fa-folder-open'))
+ .css('background', 'none')
+ .appendTo(this.$headerRight)
+ .hide();
this.$openbtn.click(function() {
self.openHandler.show(function(id, dataset) {
self.addDataSet(dataset, id, "(opened)");
@@ -561,13 +575,13 @@ if (typeof(PhpDebugBar) == 'undefined') {
* @this {DebugBar}
*/
setHeight: function(height) {
- var min_h = 40;
- var max_h = $(window).innerHeight() - this.$header.height() - 10;
- height = Math.min(height, max_h);
- height = Math.max(height, min_h);
- this.$body.css('height', height);
- localStorage.setItem('phpdebugbar-height', height);
- this.recomputeBottomOffset();
+ var min_h = 40;
+ var max_h = $(window).innerHeight() - this.$header.height() - 10;
+ height = Math.min(height, max_h);
+ height = Math.max(height, min_h);
+ this.$body.css('height', height);
+ localStorage.setItem('phpdebugbar-height', height);
+ this.recomputeBottomOffset();
},
/**