Skip to content

Commit

Permalink
bump version: v0.24.60
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 19, 2025
1 parent f4c78b8 commit 53d3e83
Show file tree
Hide file tree
Showing 10 changed files with 133 additions and 29 deletions.
11 changes: 9 additions & 2 deletions chrome/resources/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
/* about and chrome stylynh */
@-moz-document regexp("chrome:\/\/(?!devtools|browser\/content\/browser\.xhtml).*"), regexp("about:(?!blank)(?!devtools-toolbox).*") {
:root {
--photon-accent: light-dark(#0a84ff, #45a1ff);
--content-css: 1px;
--photon-speed-1: 0.1s;
/* new color prefixed versions */
Expand Down Expand Up @@ -80,6 +81,7 @@
--primary-button-hover-background-color: var(--blue-70);
--primary-button-active-background-color: var(--blue-80);
--primary-button-color: rgb(249, 249, 250);
--in-content-box-border-color: color-mix(in srgb, var(--grey-90) 30%, transparent) ;
--box-background: var(--in-content-box-background);
--box-border-color: var(--in-content-box-border-color);
--message-bar-icon-close-url: url("./icons/close-icon2.svg");
Expand All @@ -99,6 +101,9 @@
--table-row-background-color-alternate: var(--in-content-button-background) !important;
--toggle-dot-background-color-on-pressed: #fff !important;
--toggle-dot-background-color: color-mix(in srgb, #fff 80%, transparent) !important;
--link-color: var(--blue-60) !important;
--link-color-hover: var(--blue-70) !important;
--link-color-active: var(--blue-80) !important;
}
@media (prefers-color-scheme: dark) {
* {
Expand All @@ -121,6 +126,9 @@
--color-gray-60: #4a4a4f !important;
--color-gray-80: color-mix(in srgb, var(--color-gray-60) 66.67%, var(--color-gray-90)) !important;
--color-gray-90: #0c0c0d !important;
--link-color: var(--blue-40) !important;
--link-color-hover: var(--blue-50) !important;
--link-color-active: var(--blue-60) !important;
}
}
.close {
Expand Down Expand Up @@ -742,7 +750,6 @@
--in-content-primary-button-text-color: white !important;
--in-content-warning-container: var(--grey-20) !important;
--in-content-dialog-header-background: #f1f1f1;
--link-color: #45a1ff !important;
}
a {
text-decoration: none !important;
Expand Down Expand Up @@ -779,7 +786,7 @@
}

.category:is([current], [selected]), .tab-group *[selected] {
color: #45a1ff !important;
color: var(--photon-accent) !important;
}
checkbox:not([disabled="true"]):hover > .checkbox-check[checked],
radio:not([disabled="true"])[selected]:hover > .radio-check, .reload-tabs-button:hover {
Expand Down
28 changes: 26 additions & 2 deletions chrome/resources/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@
--button-min-height-small: 16px !important;
--button-border-radius: var(--photon-border-radius) !important;
--tab-icon-end-margin: 4px !important;
translate: 0 -5px !important;
translate: 0 -7px !important;
margin-inline-start: -16px !important;
order: 1;
height: 16px !important;
z-index: 1;
--icon-fill: var(--toolbox-textcolor) !important;
}
.tab-audio-button[soundplaying] {
--button-icon: url(./icons/tab-audio-playing.svg) !important;
Expand Down Expand Up @@ -1084,7 +1085,7 @@ img[src="chrome://browser/content/shopping/assets/shopping.svg"] {
#appmenu-moreTools .toolbarbutton-icon:not(.subviewbutton-back .toolbarbutton-icon, #appmenu-moreTools-button .toolbarbutton-icon),
#PanelUI-history .toolbarbutton-icon:not(.subviewbutton-back .toolbarbutton-icon, #appMenu_historyMenu .toolbarbutton-icon),
#PanelUI-bookmarks .toolbarbutton-icon:not(.subviewbutton-back .toolbarbutton-icon, #panelMenu_bookmarksMenu .toolbarbutton-icon),
#PanelUI-fxa .toolbarbutton-icon:not(.subviewbutton-back .toolbarbutton-icon, #PanelUI-fxa-remotetabs-deck .toolbarbutton-icon),
#PanelUI-fxa .toolbarbutton-icon:not(.subviewbutton-back .toolbarbutton-icon, #PanelUI-fxa-remotetabs-deck .toolbarbutton-icon, #PanelUI-fxa-menu-profiles-button .toolbarbutton-icon),
#appMenu-library-recentlyClosedWindows .panel-subview-footer-button .toolbarbutton-icon, #appMenu-library-recentlyClosedTabs .panel-subview-footer-button .toolbarbutton-icon,
#PanelUI-sendTabToDevice .panel-subview-body toolbarseparator.sync-menuitem ~ .subviewbutton .toolbarbutton-icon {
margin-inline-end: var(--appmenu-noicon-inline-end) !important;
Expand Down Expand Up @@ -1656,6 +1657,28 @@ img[src="chrome://browser/skin/preferences/category-general.svg"] {
#heading-wrapper .chevron-icon {
background-image: url("./icons/arrow-dropdown-16.svg") !important;
}
/* Tab Group */
#tabGroupEditor_addNewTabInGroup .toolbarbutton-icon {
margin-inline-end: var(--appmenu-icon-inline-end) !important;
list-style-image: url(./icons/add.svg) !important;
}
#tabGroupEditor_moveGroupToNewWindow .toolbarbutton-icon {
margin-inline-end: var(--appmenu-icon-inline-end) !important;
list-style-image: url(./icons/openInNew.svg) !important;
}
#tabGroupEditor_saveAndCloseGroup .toolbarbutton-icon {
margin-inline-end: var(--appmenu-icon-inline-end) !important;
list-style-image: url(./icons/close.svg) !important;
}
#tabGroupEditor_ungroupTabs .toolbarbutton-icon {
margin-inline-end: var(--appmenu-icon-inline-end) !important;
list-style-image: url(./icons/ungroup.svg) !important;
border-radius: 0 !important;
}
#tabGroupEditor_deleteGroup .toolbarbutton-icon {
margin-inline-end: var(--appmenu-icon-inline-end) !important;
list-style-image: url(./icons/delete.svg) !important;
}
/* shadow root */
.header-close-button, .dismiss-button {
--button-icon: url(./icons/close.svg) !important;
Expand All @@ -1668,5 +1691,6 @@ img[src="chrome://browser/skin/preferences/category-general.svg"] {
}
button[part="button"], span[part="button"] {
background-image: var(--button-icon, inherit) !important;
fill: var(--icon-fill, currentColor) !important;
}
}
4 changes: 4 additions & 0 deletions chrome/resources/icons/openInNew.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions chrome/resources/icons/ungroup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 52 additions & 17 deletions chrome/resources/panels.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,37 +284,48 @@ menuitem, menu {
.popup-notification-dropmarker {
min-width: 38px !important;
}
.panel-footer > button {
.panel-footer > button, button > span.labelled.button-background[part="button"] {
border-radius: 0 !important;
margin: 0 !important;
margin-inline: 0px !important;
flex-grow: 1 !important;
min-height: 38px !important;
}
/* I was stubbbbbboooooorrrrrnnnnnn */
.panel-footer > button:is(.primary, [slot="primary"], [default="true"]):not([type="menu"]) {
background-color: #0060df !important;
color: white !important;
border-top: solid 1px color-mix(in srgb, transparent 80%, currentColor) !important;
}
.panel-footer > button:is(.primary, [slot="primary"], [default="true"]):not([type="menu"]):hover {
background-color: #003eaa !important;
.tab-group-create-actions {
> * {
width: 100% !important;
}
margin-bottom: -21px;
}
.panel-footer > button:is(.primary, [slot="primary"], [default="true"]):not([type="menu"]):hover:active {
background-color: #002275 !important;
moz-button:is(.primary, [slot="primary"], [default="true"]):not([type="menu"]) {
margin-inline-start: 0 !important;
}
/* I was stubbbbbboooooorrrrrnnnnnn */
#editBookmarkPanelRemoveButton {
background-color: #0002 !important;
}
.panel-footer > button:not(.primary), .popup-notification-secondary-button, #editBookmarkPanelRemoveButton {
.panel-footer > button:not(.primary, [slot="primary"], [default="true"]), .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;
&:hover {
background-color: #aaa4 !important;
&:active {
background-color: #1113 !important;
}
}
}
.panel-footer > button:not(.primary):hover, .popup-notification-secondary-button:hover, #editBookmarkPanelRemoveButton:hover {
background-color: #aaa4 !important;
}
.panel-footer > button:not(.primary):active, .popup-notification-secondary-button:active, #editBookmarkPanelRemoveButton:active {
background-color: #1113 !important;
.panel-footer > 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;
border-top: solid 1px color-mix(in srgb, transparent 80%, currentColor) !important;
&:hover {
background-color: #003eaa !important;
&:active {
background-color: #002275 !important;
}
}
}
.panel-footer > button[type="menu"] {
border-inline-start: solid 1px color-mix(in srgb, transparent 90%, currentColor) !important;
Expand Down Expand Up @@ -714,4 +725,28 @@ tooltip {
padding: 0 !important;
}
}
/* Tab Group context menu */
#tab-group-editor {
panel > :not(.tab-group-editor-swatches, .tab-group-editor-name) {
margin-inline: -12px !important;
}
panel > :last-child {
margin-block-end: -9px !important;
}
.panel-header {
padding: 0 !important;
margin-block-start: -10px !important;
margin-block-end: -2px !important;
}
#tab-group-name:focus {
outline: none !important;
border-color: var(--photon-accent-dark) !important;
}
.subviewbutton {
height: 16px !important;
&:not(:last-child) {
margin-block-end: 2px !important;
}
}
}
}
22 changes: 21 additions & 1 deletion chrome/resources/tabs-and-urlbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ credits to phroton for some of this stuff */
:root:not([sizemode="maximized"], [sizemode="fullscreen"]) .tabbrowser-tab:not([selected="true"],
[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"],
[style*="--lwt-accent-color: white; --lwt-text-color: rgba(0, 0, 0);"]):first-child
#TabsToolbar .tab-stack::after, :root #firefox-view-button + #tabbrowser-tabs arrowscrollbox > :first-child:not([selected="true"]) .tab-stack::after {
#TabsToolbar .tab-stack::after, :root #firefox-view-button + #tabbrowser-tabs arrowscrollbox > :first-child:not([selected="true"]) > .tab-stack::after {
content: "";
position: absolute;
display: block;
Expand Down Expand Up @@ -1126,4 +1126,24 @@ toolbarbutton#urlbar-searchmode-switcher {
background-color: var(--toolbar-bgcolor) !important;
}
}
/* Tab Groups */
.tab-group-label {
border-radius: var(--photon-border-radius-1) !important;
}
tab-group::before {
inset-inline-start: 0 !important;
}
tab-group {
.tabbrowser-tab[visuallyselected] {
.tab-background::before {
background-color: light-dark(var(--tab-group-color), var(--tab-group-color-invert));
}
.tab-background {
box-shadow: 1px 0 light-dark(var(--tab-group-color), var(--tab-group-color-invert)), -1px 0 light-dark(var(--tab-group-color), var(--tab-group-color-invert)) !important;
}
.tab-group-line {
opacity: 0;
}
}
}
}
15 changes: 14 additions & 1 deletion chrome/resources/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--sidebar-background-color: var(--sidebar-background) !important;
--tab-icon-overlay-fill: currentColor !important;
--color-accent-primary: var(--photon-accent) !important;
--focus-outline-color: var(--photon-accent) !important;
}
.menupopup-arrowscrollbox, richlistbox:not(#PopupSearchAutoComplete richlistbox) {
background: var(--panel-background) !important;
Expand All @@ -37,7 +38,8 @@ menuitem {
background: var(--sidebar-background, var(--toolbar-bgcolor)) !important;
}
input.findbar-textbox:focus {
outline: 2px var(--photon-accent-dark) solid !important;
outline: none !important;
border: 1px var(--photon-accent-dark) solid !important;
}
.infobar {
background-color: var(--toolbar-field-background-color) !important;
Expand All @@ -50,6 +52,11 @@ input.findbar-textbox:focus {
border-top: none !important;
box-shadow: 0 calc(-1 * var(--tabs-navbar-shadow-size)) 0 var(--tabs-navbar-separator-color, transparent) !important;
}

:is(#TabsToolbar #firefox-view-button[aria-pressed="true"] .toolbarbutton-icon,
.tabbrowser-tab[selected]) {
box-shadow: calc(-1 * var(--tabs-navbar-shadow-size)) 0 0 var(--tabs-navbar-separator-color, transparent), calc(1 * var(--tabs-navbar-shadow-size)) 0 0 var(--tabs-navbar-separator-color, transparent) !important;
}
/* Light theme */
:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"] {
--lwt-accent-color: #d7d7db !important;
Expand Down Expand Up @@ -80,6 +87,9 @@ 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;
--chrome-content-separator-color: var(--lwt-accent-color) !important;
--button-background-color: var(--toolbarbutton-background) !important;
--button-background-color-hover: var(--toolbarbutton-hover-background) !important;
--button-background-color-active: var(--toolbarbutton-active-background) !important;

#urlbar {
--urlbar-box-hover-bgcolor: hsla(0,0%,70%,.2) !important;
Expand Down Expand Up @@ -146,6 +156,9 @@ input.findbar-textbox:focus {
--toolbarbutton-icon-fill: currentColor !important;
--toolbox-non-lwt-textcolor: rgb(251, 251, 254) !important;
--toolbox-textcolor: rgb(251, 251, 254) !important;
--button-background-color: var(--toolbarbutton-background) !important;
--button-background-color-hover: var(--toolbarbutton-hover-background) !important;
--button-background-color-active: var(--toolbarbutton-active-background) !important;

#urlbar {
--urlbar-box-hover-bgcolor: hsla(0,0%,70%,.2) !important;
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.59 (webextension)";
content: "zapsCoolPhotonTheme v0.24.60 (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.59.1",
"version": "0.24.60.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.59",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.59/zapsCoolPhotonTheme-esr.xpi",
"version": "0.24.60",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.60/zapsCoolPhotonTheme-esr.xpi",
"applications": {
"gecko": {
"strict_min_version": "128.0",
Expand All @@ -13,8 +13,8 @@
}
},
{
"version": "0.24.59.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.59/zapsCoolPhotonTheme.xpi",
"version": "0.24.60.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.60/zapsCoolPhotonTheme.xpi",
"applications": {
"gecko": {
"strict_min_version": "129.0"
Expand Down

0 comments on commit 53d3e83

Please sign in to comment.