Skip to content

Commit

Permalink
bump version: v0.24.28
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 1, 2024
1 parent 5c192da commit abab93d
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 19 deletions.
42 changes: 31 additions & 11 deletions chrome/resources/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,15 @@
scale: 1;
}
}

.icon {
&[src="chrome://global/skin/icons/info-filled.svg"] {
content: url("./icons/info-color.svg") !important;
}
&[src="chrome://global/skin/icons/warning.svg"] {
content: url("./icons/warning-16.svg") !important;
}
}
/* context menus */
panel-list {
border-radius: 0 !important;
Expand Down Expand Up @@ -1055,15 +1064,6 @@
}
}

.icon {
&[src="chrome://global/skin/icons/info-filled.svg"] {
content: url("./icons/info-color.svg") !important;
}
&[src="chrome://global/skin/icons/warning.svg"] {
content: url("./icons/warning-16.svg") !important;
}
}

.addon-icon[src="chrome://mozapps/skin/extensions/extensionGeneric.svg"] {
content: url("./icons/extensions.svg") !important;
}
Expand Down Expand Up @@ -1533,6 +1533,9 @@
* {
--shopping-card-border-radius: var(--photon-primary-border-radius) !important;
}
.onboardingContainer.shopping .screen[pos="split"] {
border-radius: var(--photon-primary-border-radius) !important;
}
#close-button {
background-image: url(./icons/close.svg) !important;
}
Expand All @@ -1551,14 +1554,31 @@
.packaging\/appearance {
content: url("./icons/packaging.svg") !important;
}
.highlight-item-wrapper {
column-gap: 0.67em !important;
}
shopping-message-bar {
--info-icon: url(./icons/info.svg);
}
.shopping-message-bar:not(.analysis-in-progress, #reanalysis-in-progress-message) .icon {
background-image: var(--info-icon) !important;
}
@media (prefers-color-scheme: dark) {
.shopping-card {
background: var(--grey-60) !important;
--shopping-card-border-color: var(--in-content-box-border-color) !important;
}
.show-more footer {
background-color: var(--grey-60) !important;;
box-shadow: 2px -10px 11px var(--grey-60) !important;;
background-color: var(--grey-60) !important;
box-shadow: 2px -10px 11px var(--grey-60) !important;
}
@media (prefers-contrast: no-preference) {
.onboardingContainer.shopping .screen[pos="split"] {
box-shadow: none !important;
.section-main .main-content {
background-color: var(--grey-60) !important;
}
}
}
}
}
Expand Down
14 changes: 13 additions & 1 deletion chrome/resources/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,12 @@
list-style-image: url(./icons/shopping-open.svg) !important;
}
}
img[src="chrome://browser/content/shopping/assets/shopping.svg"] {
content: url(./icons/shopping.svg) !important;
}
.dismiss-button {
background-image: url(./icons/close.svg) !important;
}
#downloads-indicator-anchor {
list-style-image: url(./icons/download-icons.svg#arrow-with-bar) !important;
}
Expand All @@ -400,7 +406,7 @@
list-style-image: url(./icons/notification-finish-animation-r2.svg) !important;
}
#downloads-button[attention="success"] > .toolbarbutton-badge-stack > #downloads-indicator-anchor > #downloads-indicator-icon {
fill: var(--photon-accent) !important;
fill: var(--photon-accent) !important;
}
#library-button {
list-style-image: url(./icons/library.svg) !important;
Expand Down Expand Up @@ -1516,6 +1522,12 @@ img[src="chrome://browser/skin/preferences/category-general.svg"] {
.header-close-button {
--button-icon: url(./icons/close.svg) !important;
}
.menu-button {
--button-icon: url(./icons/more.svg) !important;
}
.delete-button {
--button-icon: url(./icons/delete.svg) !important;
}
button[part="button"] {
background-image: var(--button-icon, inherit) !important;
}
Expand Down
2 changes: 1 addition & 1 deletion chrome/resources/tabs-and-urlbar.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Tabs and Urlbar */
/* Tabs and URL Bar */
/* And sidebar */
@-moz-document url-prefix("chrome://"), url-prefix("resource://") {
/* Changes the tab height */
Expand Down
5 changes: 5 additions & 0 deletions chrome/resources/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ input.findbar-textbox:focus {
--in-content-primary-button-background: var(--photon-accent) !important;
--in-content-primary-button-background-hover: color-mix(in srgb, var(--photon-accent) 80%, white) !important;
--in-content-primary-button-background-active: color-mix(in srgb, var(--photon-accent) 60%, white) !important;
--chrome-content-separator-color: var(--lwt-accent-color) !important;

#urlbar {
--urlbar-box-hover-bgcolor: hsla(0,0%,70%,.2) !important;
--urlbar-box-active-bgcolor: hsla(0,0%,70%,.3) !important;
Expand Down Expand Up @@ -131,6 +133,7 @@ input.findbar-textbox:focus {
--in-content-primary-button-background-hover: color-mix(in srgb, var(--photon-accent) 80%, white) !important;
--in-content-primary-button-background-active: color-mix(in srgb, var(--photon-accent) 60%, white) !important;
--toolbar-non-lwt-bgcolor: var(--toolbar-bgcolor) !important;
--chrome-content-separator-color: var(--lwt-accent-color) !important;

#urlbar {
--urlbar-box-hover-bgcolor: hsla(0,0%,70%,.2) !important;
Expand Down Expand Up @@ -220,6 +223,7 @@ input.findbar-textbox:focus {
--in-content-primary-button-background-active: color-mix(in srgb, var(--photon-accent) 60%, white) !important;
--lwt-sidebar-background-color: var(--toolbar-bgcolor) !important;
--sidebar-background-color: var(--lwt-sidebar-background-color) !important;
--chrome-content-separator-color: var(--lwt-accent-color) !important;

&:not(:-moz-window-inactive) {
--lwt-toolbar-field-highlight: var(--photon-accent-dark);
Expand Down Expand Up @@ -297,6 +301,7 @@ input.findbar-textbox:focus {
--sidebar-border-color: rgba(255, 255, 255, 0.1) !important;
--toolbar-non-lwt-bgcolor: var(--toolbar-bgcolor) !important;
--tabs-navbar-separator-color: transparent !important;
--chrome-content-separator-color: var(--lwt-accent-color) !important;

&:not(:-moz-window-inactive) {
::selection {
Expand Down
2 changes: 1 addition & 1 deletion custom/resources/version.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
background-position: 4px 0;
-moz-context-properties: fill;
fill: currentColor;
content: "zapsCoolPhotonTheme v0.24.27 (webextension)";
content: "zapsCoolPhotonTheme v0.24.28 (webextension)";
position: absolute;
height: 48px;
overflow: visible;
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "__MSG_extensionName__",
"short_name": "__MSG_extensionShortName__",
"homepage_url": "https://github.com/zapSNH/zapsCoolPhotonTheme",
"version": "0.24.27.1",
"version": "0.24.28.1",
"author": "zapsnh",
"default_locale": "en",
"description": "__MSG_extensionDescription__",
Expand Down
8 changes: 4 additions & 4 deletions updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"coolPhotonTheme@zapsnh": {
"updates": [
{
"version": "0.24.27",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.27/zapsCoolPhotonTheme-esr.xpi",
"version": "0.24.28",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.28/zapsCoolPhotonTheme-esr.xpi",
"applications": {
"gecko": {
"strict_min_version": "128.0",
Expand All @@ -13,8 +13,8 @@
}
},
{
"version": "0.24.27.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.27/zapsCoolPhotonTheme.xpi",
"version": "0.24.28.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.28/zapsCoolPhotonTheme.xpi",
"applications": {
"gecko": {
"strict_min_version": "129.0"
Expand Down

0 comments on commit abab93d

Please sign in to comment.