From 35a324b65b4ac6b40a45aeec8c79c86636ed25cf Mon Sep 17 00:00:00 2001 From: yexingsha <57771795+yexingsha@users.noreply.github.com> Date: Wed, 21 Feb 2024 05:39:12 -0600 Subject: [PATCH] Replace tag icons and update scss (#3722) --- chrome/skin/default/zotero/tag-circle-border.svg | 4 ++-- chrome/skin/default/zotero/tag-circle.svg | 4 ++-- chrome/skin/default/zotero/tag-crescent-border.svg | 14 +++++--------- chrome/skin/default/zotero/tag-crescent.svg | 9 ++++++--- scss/components/_item-tree.scss | 11 ++++++----- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/chrome/skin/default/zotero/tag-circle-border.svg b/chrome/skin/default/zotero/tag-circle-border.svg index 48dae3dadd..893273d344 100644 --- a/chrome/skin/default/zotero/tag-circle-border.svg +++ b/chrome/skin/default/zotero/tag-circle-border.svg @@ -1,5 +1,5 @@ - + - + diff --git a/chrome/skin/default/zotero/tag-circle.svg b/chrome/skin/default/zotero/tag-circle.svg index bee233f940..f892f90f01 100644 --- a/chrome/skin/default/zotero/tag-circle.svg +++ b/chrome/skin/default/zotero/tag-circle.svg @@ -1,5 +1,5 @@ - + - + diff --git a/chrome/skin/default/zotero/tag-crescent-border.svg b/chrome/skin/default/zotero/tag-crescent-border.svg index 5e22880f05..d17440fa1b 100644 --- a/chrome/skin/default/zotero/tag-crescent-border.svg +++ b/chrome/skin/default/zotero/tag-crescent-border.svg @@ -1,12 +1,8 @@ - - - - - - + + + - - - + + diff --git a/chrome/skin/default/zotero/tag-crescent.svg b/chrome/skin/default/zotero/tag-crescent.svg index adc646299a..a348f6d2e5 100644 --- a/chrome/skin/default/zotero/tag-crescent.svg +++ b/chrome/skin/default/zotero/tag-crescent.svg @@ -1,5 +1,8 @@ - - - + + + + + + diff --git a/scss/components/_item-tree.scss b/scss/components/_item-tree.scss index 39dbb3f666..25ba51b0a7 100644 --- a/scss/components/_item-tree.scss +++ b/scss/components/_item-tree.scss @@ -99,6 +99,7 @@ .colored-tag-swatches { direction: ltr; transform: scaleX(-1); + display: flex; } .tag-swatch { @@ -116,10 +117,10 @@ &.colored { -moz-context-properties: fill, fill-opacity, stroke, stroke-opacity; - width: 0.83333333em; - height: 0.83333333em; + width: 0.92307692em; + height: 0.92307692em; background: - url("chrome://zotero/skin/tag-circle.svg") no-repeat center/80%, + url("chrome://zotero/skin/tag-circle.svg") no-repeat center/100%, url("chrome://zotero/skin/tag-circle-border.svg") no-repeat center/0; fill: currentcolor; @@ -139,9 +140,9 @@ &.colored + .colored { background: - url("chrome://zotero/skin/tag-crescent.svg") no-repeat center/80%, + url("chrome://zotero/skin/tag-crescent.svg") no-repeat center/100%, url("chrome://zotero/skin/tag-crescent-border.svg") no-repeat center/0; - margin-left: -0.41666667em; + margin-left: -0.38461538em; @include focus-states using($color) { @if $color =="white" {