From 957bc93d1abbee9f08fba63a068a2fdd04522689 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 19 Jan 2025 11:24:19 +0000 Subject: [PATCH] bump version: v0.24.61 --- chrome/resources/icons.css | 7 +++++-- chrome/resources/panels.css | 22 ++++++++++++++++++---- chrome/resources/theme.css | 2 +- custom/resources/version.css | 2 +- manifest.json | 2 +- updates.json | 8 ++++---- 6 files changed, 30 insertions(+), 13 deletions(-) diff --git a/chrome/resources/icons.css b/chrome/resources/icons.css index 47a2b6a..06a4747 100644 --- a/chrome/resources/icons.css +++ b/chrome/resources/icons.css @@ -520,9 +520,9 @@ img[src="chrome://browser/content/shopping/assets/shopping.svg"] { list-style-image: url(./icons/translations.svg) !important; } #translations-button-circle-arrows { - list-style-image: url(./icons/sync.svg) !important; + list-style-image: url(./icons/loading.svg) !important; } -#copy-button { +#copy-button, #select-translations-panel-copy-button { list-style-image: url(./icons/edit-copy.svg) !important; } #PlacesChevron, @@ -1654,6 +1654,9 @@ button > img, span > img, label > img { img[src="chrome://browser/skin/preferences/category-general.svg"] { content: url("./icons/settings.svg") !important; } +#select-translations-panel-text-area.translating { + background-image: url("./icons/loading.svg") !important; +} #heading-wrapper .chevron-icon { background-image: url("./icons/arrow-dropdown-16.svg") !important; } diff --git a/chrome/resources/panels.css b/chrome/resources/panels.css index 1eb7d54..2e85c59 100644 --- a/chrome/resources/panels.css +++ b/chrome/resources/panels.css @@ -266,12 +266,20 @@ menuitem, menu { border-bottom: 1px solid color-mix(in srgb, var(--panel-color) 10%, transparent) !important; } /* Panel button styling */ -.panel-footer { +.panel-footer, #select-translations-panel-footer moz-button-group { justify-content: center !important; margin: 0 !important; margin-top: 16px !important; gap: 0px !important; } +#select-translations-panel-footer { + display: grid !important; + grid-auto-columns: 100% !important; + margin-bottom: -6px !important; +} +#select-translations-panel-footer-button-group { + width: 100% !important; +} #editBookmarkPanel .panel-footer { margin-bottom: -4px !important; } @@ -284,7 +292,7 @@ menuitem, menu { .popup-notification-dropmarker { min-width: 38px !important; } -.panel-footer > button, button > span.labelled.button-background[part="button"] { +:is(.panel-footer, #select-translations-panel-footer-button-group) > button:not(:has(+ moz-button-group)), button > span.labelled.button-background[part="button"] { border-radius: 0 !important; margin: 0 !important; margin-inline: 0px !important; @@ -304,7 +312,7 @@ moz-button:is(.primary, [slot="primary"], [default="true"]):not([type="menu"]) { #editBookmarkPanelRemoveButton { background-color: #0002 !important; } -.panel-footer > button:not(.primary, [slot="primary"], [default="true"]), .popup-notification-secondary-button, #editBookmarkPanelRemoveButton, +:is(.panel-footer, #select-translations-panel-footer-button-group) > button:not(.primary, [slot="primary"], [default="true"], :has(+ moz-button-group)), .popup-notification-secondary-button, #editBookmarkPanelRemoveButton, button > span.labelled.button-background[type="default"][part="button"] { background-color: #aaa2 !important; border-top: solid 1px color-mix(in srgb, transparent 80%, currentColor) !important; @@ -315,7 +323,7 @@ button > span.labelled.button-background[type="default"][part="button"] { } } } -.panel-footer > button:is(.primary, [slot="primary"], [default="true"]):not([type="menu"]), +:is(.panel-footer, #select-translations-panel-footer-button-group) > button:is(.primary, [slot="primary"], [default="true"]):not([type="menu"]), button > span.labelled.button-background[type="primary"][part="button"] { background-color: #0060df !important; color: white !important; @@ -327,6 +335,12 @@ button > span.labelled.button-background[type="primary"][part="button"] { } } } +#select-translations-panel-copy-button { + width: fit-content !important; + margin-bottom: -10px !important; + margin-top: -16px !important; + margin-inline-start: 16px !important; +} .panel-footer > button[type="menu"] { border-inline-start: solid 1px color-mix(in srgb, transparent 90%, currentColor) !important; } diff --git a/chrome/resources/theme.css b/chrome/resources/theme.css index 899a627..452988c 100644 --- a/chrome/resources/theme.css +++ b/chrome/resources/theme.css @@ -24,7 +24,7 @@ menuitem:where([_moz-menuactive="true"]):not([disabled="true"], #context-navigat }*/ menu, menuitem { - &:where([_moz-menuactive]:not([disabled="true"])) { + &:where([_moz-menuactive]:not([disabled="true"])):not(#ContentSelectDropdownPopup > &) { background-color: var(--button-hover-bgcolor, -moz-menuhover) !important; } } diff --git a/custom/resources/version.css b/custom/resources/version.css index 94e57d5..3b2a97d 100644 --- a/custom/resources/version.css +++ b/custom/resources/version.css @@ -12,7 +12,7 @@ background-position: 4px 0; -moz-context-properties: fill; fill: currentColor; - content: "zapsCoolPhotonTheme v0.24.60 (webextension)"; + content: "zapsCoolPhotonTheme v0.24.61 (webextension)"; position: absolute; height: 48px; overflow: visible; diff --git a/manifest.json b/manifest.json index 7104a71..249e4d6 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "__MSG_extensionName__", "short_name": "__MSG_extensionShortName__", "homepage_url": "https://github.com/zapSNH/zapsCoolPhotonTheme", - "version": "0.24.60.1", + "version": "0.24.61.1", "author": "zapsnh", "default_locale": "en", "description": "__MSG_extensionDescription__", diff --git a/updates.json b/updates.json index c082cdc..85112ae 100644 --- a/updates.json +++ b/updates.json @@ -3,8 +3,8 @@ "coolPhotonTheme@zapsnh": { "updates": [ { - "version": "0.24.60", - "update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.60/zapsCoolPhotonTheme-esr.xpi", + "version": "0.24.61", + "update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.61/zapsCoolPhotonTheme-esr.xpi", "applications": { "gecko": { "strict_min_version": "128.0", @@ -13,8 +13,8 @@ } }, { - "version": "0.24.60.1", - "update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.60/zapsCoolPhotonTheme.xpi", + "version": "0.24.61.1", + "update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.61/zapsCoolPhotonTheme.xpi", "applications": { "gecko": { "strict_min_version": "129.0"