diff --git a/src/Config.py b/src/Config.py index e20e395b..fbdfb75a 100644 --- a/src/Config.py +++ b/src/Config.py @@ -14,7 +14,7 @@ class Config(object): def __init__(self, argv): self.version = "0.7.2" - self.rev = 4549 + self.rev = 4550 self.argv = argv self.action = None self.test_parser = None diff --git a/src/Ui/media/Infopanel.coffee b/src/Ui/media/Infopanel.coffee index d728ccbe..3a490364 100644 --- a/src/Ui/media/Infopanel.coffee +++ b/src/Ui/media/Infopanel.coffee @@ -9,9 +9,16 @@ class Infopanel else @open() + unfold: => + @elem.toggleClass("unfolded") + return false + updateEvents: => @elem.off("click") @elem.find(".close").off("click") + @elem.find(".line").off("click") + + @elem.find(".line").on("click", @unfold) if @elem.hasClass("closed") @elem.on "click", => diff --git a/src/Ui/media/Wrapper.css b/src/Ui/media/Wrapper.css index 4ce0f61f..7c486081 100644 --- a/src/Ui/media/Wrapper.css +++ b/src/Ui/media/Wrapper.css @@ -131,6 +131,7 @@ a { color: black } padding: 4px; border-top-left-radius: 6px; border-bottom-left-radius: 6px; font-size: 10px; opacity: 0; margin-left: 0px; pointer-events: none; transition: all 0.6s; } +.infopanel.unfolded .message .line { overflow: visible; white-space: normal; } .body-sidebar .infopanel { right: 425px; } .body-sidebar .infopanel.closed { right: 0px; } diff --git a/src/Ui/media/all.css b/src/Ui/media/all.css index 8f4b459c..bd54cf34 100644 --- a/src/Ui/media/all.css +++ b/src/Ui/media/all.css @@ -144,6 +144,7 @@ a { color: black } padding: 4px; border-top-left-radius: 6px; border-bottom-left-radius: 6px; font-size: 10px; opacity: 0; margin-left: 0px; pointer-events: none; -webkit-transition: all 0.6s; -moz-transition: all 0.6s; -o-transition: all 0.6s; -ms-transition: all 0.6s; transition: all 0.6s ; } +.infopanel.unfolded .message .line { overflow: visible; white-space: normal; } .body-sidebar .infopanel { right: 425px; } .body-sidebar .infopanel.closed { right: 0px; } diff --git a/src/Ui/media/all.js b/src/Ui/media/all.js index de9ecd79..3be1cad3 100644 --- a/src/Ui/media/all.js +++ b/src/Ui/media/all.js @@ -548,6 +548,7 @@ $.extend( $.easing, this.close = bind(this.close, this); this.hide = bind(this.hide, this); this.updateEvents = bind(this.updateEvents, this); + this.unfold = bind(this.unfold, this); this.show = bind(this.show, this); this.visible = false; } @@ -564,9 +565,16 @@ $.extend( $.easing, } }; + Infopanel.prototype.unfold = function() { + this.elem.toggleClass("unfolded"); + return false; + }; + Infopanel.prototype.updateEvents = function() { this.elem.off("click"); this.elem.find(".close").off("click"); + this.elem.find(".line").off("click"); + this.elem.find(".line").on("click", this.unfold); if (this.elem.hasClass("closed")) { return this.elem.on("click", (function(_this) { return function() { @@ -621,6 +629,7 @@ $.extend( $.easing, }).call(this); + /* ---- Loading.coffee ---- */ @@ -779,7 +788,6 @@ $.extend( $.easing, }).call(this); - /* ---- Notifications.coffee ---- */