[BUGFIX] Use correct active CSS class in RTE toolbars 46/40946/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 7 Jul 2015 08:06:38 +0000 (10:06 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 7 Jul 2015 14:29:58 +0000 (16:29 +0200)
The button class "active" is used now and replaces the broken
class "btn-active".

Resolves: #67938
Releases: master
Change-Id: I55c0f573c5dbf894e9a82e76a0d345fef1696e2d
Reviewed-on: http://review.typo3.org/40946
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/rtehtmlarea/Resources/Public/Css/Skin/htmlarea.css
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Toolbar/Button.js
typo3/sysext/t3skin/rtehtmlarea/htmlarea.css

index 2c660a3..6b3f5a9 100644 (file)
@@ -68,8 +68,8 @@
 .htmlarea .btn-toolbar .btn-sm:hover {
        background-color: #dcdcdc;
 }
-.htmlarea .btn-toolbar .btn-active,
-.htmlarea-context-menu .btn-active {
+.htmlarea .btn-toolbar .active,
+.htmlarea-context-menu .active {
        border-style: solid;
        border-width: 1px;
        border-color: #C5C5D5 #C5C5D5 #C5C5D5 #C5C5D5;
index c96ab57..f440e03 100644 (file)
@@ -109,7 +109,7 @@ define('TYPO3/CMS/Rtehtmlarea/HTMLArea/Toolbar/Button',
                 * Add properties and function to set button active or not depending on current selection
                 */
                inactive: true,
-               activeClass: 'btn-active',
+               activeClass: 'active',
                setInactive: function (inactive) {
                        this.inactive = inactive;
                        return inactive ? Dom.removeClass(this.el, this.activeClass) : Dom.addClass(this.el, this.activeClass);
index 551909c..506c344 100644 (file)
@@ -67,8 +67,8 @@
 .htmlarea .btn-toolbar .btn-sm:hover {
        background-color: #dcdcdc;
 }
-.htmlarea .btn-toolbar .btn-active,
-.htmlarea-context-menu .btn-active {
+.htmlarea .btn-toolbar .active,
+.htmlarea-context-menu .active {
        border-style: solid;
        border-width: 1px;
        border-color: #C5C5D5 #C5C5D5 #C5C5D5 #C5C5D5;