From d7a111004b260cb7167ea71604431270c6c704d3 Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Fri, 12 Sep 2025 11:21:52 +0300 Subject: [PATCH] update icon variables --- customize.dist/src/less2/include/creation.less | 4 ++-- customize.dist/src/less2/include/infopages.less | 4 ++-- customize.dist/src/less2/include/tokenfield.less | 4 ++-- customize.dist/src/less2/include/toolbar.less | 14 +++++++------- customize.dist/src/less2/pages/page-index.less | 3 ++- www/form/app-form.less | 8 ++++---- www/settings/app-settings.less | 4 ++-- www/teams/app-team.less | 2 +- 8 files changed, 22 insertions(+), 21 deletions(-) diff --git a/customize.dist/src/less2/include/creation.less b/customize.dist/src/less2/include/creation.less index bc8a46601..cd675cd4d 100644 --- a/customize.dist/src/less2/include/creation.less +++ b/customize.dist/src/less2/include/creation.less @@ -368,8 +368,8 @@ } svg { margin: 0; - height: 1.5rem; - width: 1.5rem; + width: @variables_icon_width; + height: @variables_icon_height; } } } diff --git a/customize.dist/src/less2/include/infopages.less b/customize.dist/src/less2/include/infopages.less index 482e546b8..272a6211f 100644 --- a/customize.dist/src/less2/include/infopages.less +++ b/customize.dist/src/less2/include/infopages.less @@ -294,8 +294,8 @@ body.html { display: flex; align-items: center; img { - width: 1.3em; - height: 1.3em; + width: @variables_icon_width; + height: @variables_icon_height; margin-right: 10px; } &.cp-back-home { diff --git a/customize.dist/src/less2/include/tokenfield.less b/customize.dist/src/less2/include/tokenfield.less index c7f990778..943fc2edd 100644 --- a/customize.dist/src/less2/include/tokenfield.less +++ b/customize.dist/src/less2/include/tokenfield.less @@ -102,8 +102,8 @@ color: contrast(@cp_token-fg, darken(@cp_token-fg, 10%), lighten(@cp_token-fg, 10%)); } svg { - width: 1rem; - height: 1rem; + width: @variables_icon_width; + height: @variables_icon_height; margin: 0; } } diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index 8484194b0..124cdd9ac 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -259,8 +259,8 @@ height: 20px; cursor: pointer; svg { - width: 1rem; - margin: 0 0 0.5rem 0; + width: @variables_icon_width; + margin: 0 0 @variables_icon_margin 0; } } } @@ -434,8 +434,8 @@ background: transparent; } svg { - height: 1.125em; - width: 1.125em; + height: @variables_icon_height; + width: @variables_icon_width; margin-right: @variables_icon_margin; } } @@ -610,8 +610,8 @@ } .cp-toolbar-notifications { svg { - height:1.5rem; - width:1.5rem; + width: @variables_icon_width; + height: @variables_icon_height; } } } @@ -1111,7 +1111,7 @@ .cp-toolbar-name, .cp-button-name, .cp-dropdown-button-title { display: none; } - i, span, svg { + span, svg { margin-right: 0; } } diff --git a/customize.dist/src/less2/pages/page-index.less b/customize.dist/src/less2/pages/page-index.less index c9be0fb3e..8cf8f34f5 100644 --- a/customize.dist/src/less2/pages/page-index.less +++ b/customize.dist/src/less2/pages/page-index.less @@ -300,7 +300,8 @@ svg { font-size: inherit; padding: 0; - width: 1em; + width: @variables_icon_width; + height: @variables_icon_height; padding-left: 5px; } } diff --git a/www/form/app-form.less b/www/form/app-form.less index 5c4c07839..18ad84553 100644 --- a/www/form/app-form.less +++ b/www/form/app-form.less @@ -482,8 +482,8 @@ .cp-form-creator-inline-add { svg { margin: 0; - width: 1.5rem; - height: 1.5rem; + width: @variables_icon_width; + height: @variables_icon_height; } .add-close { display: none; } &.displayed { @@ -750,7 +750,7 @@ text-align: center; padding: 10px; svg { - margin-right: 5px; + margin-right: @variables_icon_margin; } } .cp-form-edit-buttons-container { @@ -1418,7 +1418,7 @@ line-height: 40px; margin-top: -12px; svg { - margin-right: 5px; + margin-right: @variables_icon_margin; } } & > *:not(h2) { diff --git a/www/settings/app-settings.less b/www/settings/app-settings.less index 399905737..f7f35c5ff 100644 --- a/www/settings/app-settings.less +++ b/www/settings/app-settings.less @@ -28,7 +28,7 @@ } .cp-spinner, .cp-ok { svg { - margin: 0.5rem; + margin: @variables_icon_margin; } } @@ -116,7 +116,7 @@ padding-bottom:0.5rem; } svg { - margin: 0 0 0.5rem; + margin: 0 0 @variables_icon_margin; } } diff --git a/www/teams/app-team.less b/www/teams/app-team.less index ee397c66e..b5e4f9d46 100644 --- a/www/teams/app-team.less +++ b/www/teams/app-team.less @@ -47,7 +47,7 @@ .cp-spinner, .cp-ok { svg { - margin: 0.5rem; + margin: @variables_icon_margin; } }