From 6acc3a3e566ab1d4ee87ed83a27fb23ccfcc6538 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 3 Aug 2021 15:30:09 +0900 Subject: [PATCH 1/6] Doc: remove unnecessary part, Add checkbox part --- .github/pull_request_template.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 21a1613..002686c 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,11 +1,3 @@ ---- -name: Pull Request Template -about: Pull Request -title: '' -assignees: '' - ---- - **Describe the PR** A clear and concise description of what the PR is. @@ -18,10 +10,10 @@ If applicable, add screenshots to help explain your commit. Check like `- [x]`. - PR Type - - `Add:` Add feature or enhanced. - - `Fix:` Bug fix or change default values. - - `Clean:` Refactoring. - - `Doc:` Update docs. + - [ ] `Add:` Add feature or enhanced. + - [ ] `Fix:` Bug fix or change default values. + - [ ] `Clean:` Refactoring. + - [ ] `Doc:` Update docs. - Distribution - [ ] [Original Lepton](https://github.com/black7375/Firefox-UI-Fix) - [ ] [Lepton's photon style](https://github.com/black7375/Firefox-UI-Fix/tree/photon-style) From a0926bef33c09acbdb5d145ae0a9ba36cf7307b7 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 4 Aug 2021 12:00:39 +0900 Subject: [PATCH 2/6] Fix: Add activity stream darkmode case --- userContent.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/userContent.css b/userContent.css index 87177b7..ae5c294 100644 --- a/userContent.css +++ b/userContent.css @@ -4,7 +4,8 @@ /* At DarkMode, Color */ body[style*="--newtab-background-color:rgba(28, 27, 34, 1);"], body[style*="--newtab-background-color:rgba(42, 42, 46, 1);"], - body[style*="--newtab-background-color: rgba(42, 42, 46, 1);"] { + body[style*="--newtab-background-color: rgba(42, 42, 46, 1);"], + body[style*="--newtab-background-color: rgba(43, 42, 51, 1);"] { /* inner */ --newtab-focus-border: rgba(0, 221, 255, 0.5) !important; /* Original: #B5D3FF, Better color-mix(in srgb, #B5D3FF 70%, transparent) */ --newtab-focus-border-selected: rgba(0, 221, 255, 0.5) !important; /* Original: #B5D3FF */ From c21e046495516bb3acaf8334b09da5600dd177e3 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 4 Aug 2021 14:54:38 +0900 Subject: [PATCH 3/6] Doc: README update --- README.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 05c4cf6..ebc4d1c 100644 --- a/README.org +++ b/README.org @@ -74,6 +74,8 @@ - Size: Fill(Changes dynamically to your size) - *Error Page Design* - Illerstrations: Restore error page illerstrations + - *Others* + - Activate calculator at addressbar ** Installation Guide @@ -107,7 +109,9 @@ 4. Restart Firefox - Click the =Clear startup cache...= at the top of =about:support= - If you prefer Photon, see [[https://github.com/black7375/Firefox-UI-Fix/tree/photon-style][Lepton's photon-style]]. + If you prefer Photon, see [[https://github.com/black7375/Firefox-UI-Fix/tree/photon-style][Lepton's photon-style]].\\ + If you prefer Proton, see [[https://github.com/black7375/Firefox-UI-Fix/tree/proton-style][Lepton's proton-style]]. + ** WHY Proton? I think a lot has improved. From 6c0d32830fffa62e149f2b4ecdbe77687cf05831 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 5 Aug 2021 09:26:27 +0900 Subject: [PATCH 4/6] Add: Unit convert option --- user.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/user.js b/user.js index a6b2f94..80ab454 100644 --- a/user.js +++ b/user.js @@ -20,3 +20,6 @@ user_pref("browser.compactmode.show", true); // ** Useful Options *********************************************************** // Integrated calculator at urlbar user_pref("browser.urlbar.suggest.calculator", true); + +// Integrated unit convertor at urlbar +// user_pref("browser.urlbar.unitConversion.enabled", true); From 47c5cdddb705c759c83b4d59b40b34b12e292c3a Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 5 Aug 2021 12:35:25 +0900 Subject: [PATCH 5/6] Fix: PDF Reader broken #134 --- userContent.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/userContent.css b/userContent.css index ae5c294..0e2aee1 100644 --- a/userContent.css +++ b/userContent.css @@ -412,7 +412,7 @@ .blogpost-nav * { background: var(--in-content-table-background) !important; } - + .Paginate .Button.Paginate-item:is(:active, :hover) { background: var(--in-content-button-background-hover) !important; } @@ -727,7 +727,7 @@ url-prefix("about:checkerboard"), url-prefix("about:sync-log"), url-prefix("about:memory"), - url-prefix("file://") { + regexp("^[file:///].*[^(html|svg|pdf)]$") { /* Base */ html, body { @@ -955,7 +955,7 @@ /*= Directory View =========================================================*/ @-moz-document url-prefix("about:sync-log"), - url-prefix("file://") { + regexp("^[file:///].*[^(html|svg|pdf)]$") { body { background-color: var(--in-content-box-background) !important; } From 14252a34d1a73bcb1fb2747ed5bb1123d71120bd Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 5 Aug 2021 13:58:22 +0900 Subject: [PATCH 6/6] Fix: Installer - Powershell syntex #135 --- install.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index 8cf1744..8203754 100644 --- a/install.ps1 +++ b/install.ps1 @@ -631,7 +631,7 @@ function Check-InstallTypes() { #== Install Helpers ============================================================ $chromeDuplicate = $false function Check-ChromeExist() { - if ( Test-Path -Path "chrome" -and -Not (Test-Path -Path "chrome\${LEPTONINFOFILE}") ) { + if ( (Test-Path -Path "chrome") -and (-Not (Test-Path -Path "chrome\${LEPTONINFOFILE}")) ) { $global:chromeDuplicate = $true Move-Auto "chrome" "chrome.bak" Lepton-OkMessage "Backup files" @@ -656,7 +656,6 @@ function Clone-Lepton() { [Parameter(Position=0)] [string] $branch = "" ) - local branch="$1" if ( "${branch}" -eq "" ) { $branch = "${leptonBranch}"