Skip to content

Commit

Permalink
bump version: v0.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 31, 2024
1 parent dcae2eb commit 0d7f5ef
Show file tree
Hide file tree
Showing 11 changed files with 153 additions and 7 deletions.
71 changes: 70 additions & 1 deletion chrome/resources/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@
--in-content-button-background: color-mix(in srgb, var(--grey-90) 10%, transparent) !important;
--in-content-button-background-hover: color-mix(in srgb, var(--grey-90) 20%, transparent) !important;
--in-content-button-background-active: color-mix(in srgb, var(--grey-90) 30%, transparent) !important;
--primary-button-background-color: var(--blue-60);
--primary-button-hover-background-color: var(--blue-70);
--primary-button-active-background-color: var(--blue-80);
--primary-button-color: rgb(249, 249, 250);
--box-background: var(--in-content-box-background);
--box-border-color: var(--in-content-box-border-color);
}
@media (prefers-color-scheme: dark) {
* {
Expand All @@ -94,7 +100,7 @@
}
button, listheader, richlistbox, search-textbox, .info-box-container, .synced-tab-a,
.page-section-header > .twisty, [class^="closed-tab-li"], .web-appearance-choice img,
.web-appearance-choice, .toolbar, input:not([type="radio"]) {
.web-appearance-choice, .toolbar, input:not([type="radio"]), .downloadButton > .button-box {
border-radius: var(--photon-secondary-border-radius) !important;
}
listheader {
Expand Down Expand Up @@ -903,6 +909,24 @@
}
}

/* about:downloads */
@-moz-document url-prefix("about:downloads") {
.downloadIconCancel > .button-box > .button-icon {
list-style-image: url("./icons/close-icon2.svg") !important;
}
.downloadIconShow > .button-box > .button-icon {
list-style-image: url("./icons/findFile.svg") !important;
}
@media (-moz-platform: macos) {
.downloadIconShow > .button-box > .button-icon {
list-style-image: url("./icons/find-in-page.svg") !important;
}
}
.downloadIconRetry > .button-box > .button-icon {
list-style-image: url("./icons/reload.svg") !important;
}
}

/* reader mode */
@-moz-document url-prefix("about:reader") {
:root {
Expand All @@ -920,6 +944,51 @@
--toolbar-button-background-hover: #626263 !important;
--toolbar-button-background-active: #7f7f80 !important;
}

/* Most of these icons don't need to be changed but when/if Firefox changes them, then I wouldn't have to do anything */
.close-button {
background-image: url("./icons/close-icon2.svg") !important;
}

.style-button {
background-image: url("./icons/RM-Type-Controls-24x24.svg") !important;
}

.minus-button {
background-image: url("./icons/zoom-out.svg") !important;
}

.plus-button {
background-image: url("./icons/zoom-in.svg") !important;
}

.content-width-minus-button {
background-image: url("./icons/RM-Content-Width-Minus-42x16.svg") !important;
}

.content-width-plus-button {
background-image: url("./icons/RM-Content-Width-Plus-44x16.svg") !important;
}

.line-height-minus-button {
background-image: url("./icons/RM-Line-Height-Minus-38x14.svg") !important;
}

.line-height-plus-button {
background-image: url("./icons/RM-Line-Height-Plus-38x24.svg") !important;
}

.narrate-toggle {
background-image: url("./icons/headphone.svg") !important;
}

.speaking .narrate-toggle {
background-image: url("./icons/headphone-active.svg") !important;
}

.pocket-button {
background-image: url("./icons/pocket.svg") !important;
}
}

/* pdf */
Expand Down
10 changes: 10 additions & 0 deletions chrome/resources/icons/RM-Content-Width-Minus-42x16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions chrome/resources/icons/RM-Content-Width-Plus-44x16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions chrome/resources/icons/RM-Line-Height-Minus-38x14.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions chrome/resources/icons/RM-Line-Height-Plus-38x24.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions chrome/resources/icons/RM-Type-Controls-24x24.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions chrome/resources/icons/headphone-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions chrome/resources/icons/headphone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion custom/resources/version.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
background-position: 4px 0;
-moz-context-properties: fill;
fill: currentColor;
content: "zapsCoolPhotonTheme v0.21.0 (webextension)";
content: "zapsCoolPhotonTheme v0.21.1 (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.21.0.1",
"version": "0.21.1.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.21.0",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.21.0/zapsCoolPhotonTheme-esr.xpi",
"version": "0.21.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.21.1/zapsCoolPhotonTheme-esr.xpi",
"applications": {
"gecko": {
"strict_min_version": "115.0",
Expand All @@ -13,8 +13,8 @@
}
},
{
"version": "0.21.0.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.21.0/zapsCoolPhotonTheme.xpi",
"version": "0.21.1.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.21.1/zapsCoolPhotonTheme.xpi",
"applications": {
"gecko": {
"strict_min_version": "116.0"
Expand Down

0 comments on commit 0d7f5ef

Please sign in to comment.