Skip to content

Commit

Permalink
bump version: v0.18.4
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 23, 2023
1 parent 9f055fb commit 65b2fe7
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 25 deletions.
4 changes: 4 additions & 0 deletions chrome/resources/panels.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ menuseparator {
border-color: #27272B !important;
}
}
#appMenu_historyMenu, #panelMenu_bookmarksMenu {
padding: 0 !important;
}
:is(#appMenu_historyMenu, #panelMenu_bookmarksMenu) toolbarbutton {
margin: 0 !important;
padding-inline: 22px !important;
}
/* Makes the menu items Photon sized and removes the rounding of the items */
.panel-subview-body toolbarbutton,
Expand Down
6 changes: 6 additions & 0 deletions chrome/resources/tabs-and-urlbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@
.tabbrowser-tab[selected] {
z-index: 2 !important;
}
#titlebar {
z-index: 1;
}
.tab-drop-indicator {
z-index: 3 !important;
}
:root[tabsintitlebar] #titlebar:-moz-window-inactive {
opacity: 1 !important;
}
Expand Down
24 changes: 10 additions & 14 deletions chrome/resources/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@
--autocomplete-popup-separator-color: color-mix(in srgb, currentColor 10%, transparent) !important;
--urlbar-border-color: var(--arrowpanel-border-color);
}
@media (-moz-platform: windows) {
.menupopup-arrowscrollbox, richlistbox {
background-color: var(--arrowpanel-background) !important;
box-shadow: 2px 2px 2px #0006 !important;
}
menu:where([_moz-menuactive="true"]):not([disabled="true"]),
menuitem:where([_moz-menuactive="true"]):not([disabled="true"],
#context-navigation menuitem),
#context-navigation menuitem:where([_moz-menuactive="true"]):not([disabled="true"]) {
background: var(--button-hover-bgcolor) !important;
}
.menupopup-arrowscrollbox, richlistbox {
background-color: var(--arrowpanel-background) !important;
box-shadow: 2px 2px 2px #0006 !important;
}
menu:where([_moz-menuactive="true"]):not([disabled="true"]),
menuitem:where([_moz-menuactive="true"]):not([disabled="true"],
#context-navigation menuitem),
#context-navigation menuitem:where([_moz-menuactive="true"]):not([disabled="true"]) {
background: var(--button-hover-bgcolor) !important;
}
@media not (prefers-contrast) {
:root:-moz-lwtheme {
Expand Down Expand Up @@ -368,13 +366,11 @@ input.findbar-textbox:focus {
:root[style*="background-noodles"] {
--urlbar-border-color: var(--tabs-border-color) !important;
--link-color: var(--photon-accent-light) !important;
--tab-selected-bgcolor: var(--toolbar-bgcolor) !important;

.tab-background::before {
--lwt-tab-line-color: #ac70ff !important;
}
.tab-background[selected] {
background: var(--toolbar-bgcolor) !important;
}
#nav-bar {
box-shadow: 0 calc(-1 * var(--tabs-navbar-shadow-size)) 0 var(--tabs-border-color) !important;
}
Expand Down
19 changes: 14 additions & 5 deletions chrome/resources/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,11 @@ button {
/* Makes a bunch of things have Photon's border rounding */
/* Change the two border radius vars up top to change these */
#urlbar-background, #searchbar, input:not([type="radio"]),
toolbarbutton stack, toolbarbutton:not(#fxa-toolbar-menu-button, #back-button, .bookmark-item) image,
#identity-icon-box, #tabs-newtab-button image,
toolbarbutton stack, toolbarbutton:not(#fxa-toolbar-menu-button, #back-button, .bookmark-item) image,
#tabs-newtab-button image,
menupopup, panel, #PlacesChevron *:not(.menuitem-with-favicon, .bookmark-item), #editBookmarkPanelInfoArea *,
#scrollbutton-up, #scrollbutton-down,
button, button hbox, hbox menulist,
/* i'm lazy */
#urlbar :is(button, .urlbarView-action), #urlbar-go-button,
findbar *, .bookmark-item:not(.menuitem-with-favicon), .toolbarbutton-1, .permission-popup-section *,
.dialogBox, #sidebar-switcher-target, .close-icon,
Expand All @@ -82,14 +81,24 @@ tree, select {
border-radius: var(--photon-border-radius) !important;
--panel-border-radius: var(--photon-panel-border-radius) !important;
}
.toggle-group-label:first-of-type, :root #tracking-protection-icon-container {
.toggle-group-label:first-of-type {
border-end-start-radius: var(--photon-border-radius) !important;
border-start-start-radius: var(--photon-border-radius) !important;
}
.toggle-group-label:last-of-type, #page-action-buttons :last-child {
.toggle-group-label:last-of-type{
border-end-end-radius: var(--photon-border-radius) !important;
border-start-end-radius: var(--photon-border-radius) !important;
}
#urlbar:not([focused]) {
#tracking-protection-icon-container, #identity-icon-box {
border-end-start-radius: var(--photon-border-radius) !important;
border-start-start-radius: var(--photon-border-radius) !important;
}
#page-action-buttons :last-child {
border-end-end-radius: var(--photon-border-radius) !important;
border-start-end-radius: var(--photon-border-radius) !important;
}
}
#urlbar .urlbarView-row {
border-radius: var(--photon-border-radius-1) !important;
}
Expand Down
2 changes: 2 additions & 0 deletions chrome/userContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -664,12 +664,14 @@
:root:is(:not([lwt-newtab], [lwt-newtab-brighttext]), [style="--newtab-background-color: rgb(249, 249, 251);"][style*="--newtab-text-primary-color: rgba(21, 20, 26, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"]) {
& {
--fxview-contrast-border: color-mix(in srgb, currentColor 9%, transparent);
--fxview-border: #c4c4c5 !important;
}
}
:root:is(:not([style*="color"])[lwt-newtab-brighttext], [style*="--newtab-text-primary-color: rgba(251, 251, 254, 1);"][style*="--newtab-background-color: rgb(43, 42, 51);"][style*="--newtab-background-color-secondary: rgba(66, 65, 77, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"][style*="--lwt-sidebar-background-color: rgb(56, 56, 61);"][style*="--lwt-sidebar-text-color: rgba(249, 249, 250, 1);"]) {
& {
--fxview-background-color: #2a2a2e !important;
--newtab-background-color-secondary: rgba(249, 249, 250, 0.1) !important;
--fxview-border: #5f5f63 !important;
}
}
@media (prefers-color-scheme: dark) {
Expand Down
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.18.3 (webextension)";
content: "zapsCoolPhotonTheme v0.18.4 (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.18.3.1",
"version": "0.18.4.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.18.3",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.18.3/zapsCoolPhotonTheme-esr.xpi",
"version": "0.18.4",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.18.4/zapsCoolPhotonTheme-esr.xpi",
"applications": {
"gecko": {
"strict_min_version": "115.0",
Expand All @@ -13,8 +13,8 @@
}
},
{
"version": "0.18.3.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.18.3/zapsCoolPhotonTheme.xpi",
"version": "0.18.4.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.18.4/zapsCoolPhotonTheme.xpi",
"applications": {
"gecko": {
"strict_min_version": "116.0"
Expand Down

0 comments on commit 65b2fe7

Please sign in to comment.