From ad0d2ab3b785b3cd702a19f295fad1777592ad26 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 13 Aug 2021 16:05:32 +0530 Subject: [PATCH] style for kanban 'tools toggle' and notes for later --- www/kanban/app-kanban.less | 2 ++ www/kanban/inner.js | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/www/kanban/app-kanban.less b/www/kanban/app-kanban.less index f0aa82d62..69924ef77 100644 --- a/www/kanban/app-kanban.less +++ b/www/kanban/app-kanban.less @@ -353,6 +353,8 @@ } #cp-kanban-controls { + //background-color: fade(@toolbar-bg-color-active, 50%); // FIXME ? + //color: @cp_toolbar-fg; padding: 10px; display: flex; position: relative; diff --git a/www/kanban/inner.js b/www/kanban/inner.js index 7d3c5dfe5..38e933cf1 100644 --- a/www/kanban/inner.js +++ b/www/kanban/inner.js @@ -1009,9 +1009,13 @@ define([ var common = framework._.sfCommon; var $button = common.createButton('toggle', true, { element: $(container), + //icon: 'fa-tags', // FIXME + //text: Messages.fm_tagsName, // FIXME }, function () { + $button.toggleClass('cp-toolbar-button-active'); }); + $button.addClass('cp-toolbar-button-active'); framework._.toolbar.$bottomL.append($button); onRedraw.reg(function () {