Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

Commit

Permalink
Added a theme for SimpleLogin addon
Browse files Browse the repository at this point in the history
  • Loading branch information
Izheil committed Nov 16, 2021
1 parent d6c79be commit 577f33b
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 28 deletions.
8 changes: 7 additions & 1 deletion Full dark theme/Proton (FF 89+)/userChrome.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* You can find an updated version here: https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme */
/* Made by Izheil */
/* Last updated: 06/11/2021 */
/* Last updated: 16/11/2021 */

/* COLORING PART STARTS HERE */

Expand Down Expand Up @@ -1253,6 +1253,12 @@ treechildren::-moz-tree-separator {
font-weight: var(--Loading-bold) !important}

/* ADDON POPUPS */

/* This removes a white border around some addon popups */
#customizationui-widget-panel {
--arrowpanel-background: transparent !important;
}

/* This resets the color of addon popups before applying any other color (for better text readibility).
Enable this if you are having issues with some addon popup texts and you are not using addons.css file *//*
#customizationui-widget-panel .panel-arrow {fill: #fff !important}
Expand Down
71 changes: 70 additions & 1 deletion Full dark theme/addons.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* You can find an updated version here: https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme */
/* Made by Izheil */
/* Last updated: 02/09/2021 */
/* Last updated: 16/11/2021 */

/*------ HOW TO MAKE THE ADDON THEMES WORK ------*/
/* To use this part of the code, you will have to find the dynamic UUID of your extensions, and replace it where the
Expand Down Expand Up @@ -1044,6 +1044,75 @@ input[type="checkbox"]:checked {

}

/*------ SIMPLELOGIN ADDON ------*/
@-moz-document url-prefix(moz-extension://TYPE-UUID-OF-SIMPLELOGIN-ADDON-HERE) {
html, .app {
background-color: #222 !important;
color: #ccc !important;
}

.app .screen-left {
background: linear-gradient(144deg, #8e0b3f 0%, #521446 100%) !important;
}

.left-content {
color: #fff !important;
}

.btn-primary {
background-color: #8e0b3f !important;
border-color: #521446 !important;
}

.btn-outline-primary {
border-color: #cd32a6 !important;
color: #cd32a6 !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
border-color: transparent !important;
color: #fff !important;
}

input[type="email"], input[type="password"], input[type="text"], textarea, .form-control {
background-color: #303030 !important;
border-color: #666 !important;
color: #ccc !important
}

input[type="email"]:focus, input[type="password"]:focus, input[type="text"]:focus, textarea:focus, .form-control:focus {
background-color: #444 !important;
}

.form-control:focus {
box-shadow: 0 0 0 .2rem rgba(176,42,143,0.5) !important;
}

em {
background-color: #f50 !important;
}

.back > img:first-child {
filter: invert(80%);
}

.list-item-email-fade {
background: linear-gradient(to right, transparent, #222) !important
}

.v-switch-core[style*="background-color: rgb(191, 203, 217);"] {
background-color: #444 !important;
}

.small-text .float-right {
color: #0cc !important;
}

a, .text-primary {color: #cd32a6 !important}
a:hover {color: #a42885 !important}
a:active {color: #7b1e64 !important}
}

/*------ TAB SESSION MANAGER ------*/
@-moz-document url-prefix(moz-extension://TYPE-UUID-OF-TAB-SESSION-MANAGER-ADDON-HERE/options/index.html),
url-prefix(moz-extension://TYPE-UUID-OF-TAB-SESSION-MANAGER-ADDON-HERE/popup/index.html),
Expand Down
49 changes: 28 additions & 21 deletions Installers/Addons UUID replacer/Addons-UUID-replacer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ def SystemOS():
"[email protected]", "{73a6fe31-595d-460b-a920-fcc0f8843232}",
"jid0-GjwrPchS3Ugt7xydvqVK4DQk8Ls@jetpack", "@testpilot-containers",
"[email protected]", "jid1-MnnxcxisBPnSXQ@jetpack",
"woop-NoopscooPsnSXQ@jetpack", "Tab-Session-Manager@sienori",
"{c607c8df-14a7-4f28-894f-29e8722976af}", "[email protected]",
"[email protected]", "{b9db16a4-6edc-47ec-a1f4-b86292ed211d}",
"woop-NoopscooPsnSXQ@jetpack", "addon@simplelogin",
"Tab-Session-Manager@sienori", "{c607c8df-14a7-4f28-894f-29e8722976af}",
"[email protected]", "[email protected]",
"{b9db16a4-6edc-47ec-a1f4-b86292ed211d}",
"{00000c4c-fcfd-49bc-9f0d-78db44456c9c}"]


Expand Down Expand Up @@ -385,8 +386,9 @@ def writeSettings(addonsFile, UUIDDict):
with open(addonsFile, "r+") as f:
s = f.read()
isAddonInstalled = list(UUIDDict.keys())
# Ant video downloader

for x in range(len(isAddonInstalled)):
# Ant video downloader
if isAddonInstalled[x] == "[email protected]":
s = s.replace("TYPE-UUID-OF-ANT-VIDEO-DOWNLOADER-ADDON-HERE",
UUIDDict['[email protected]'])
Expand Down Expand Up @@ -434,6 +436,10 @@ def writeSettings(addonsFile, UUIDDict):
if isAddonInstalled[x] == "woop-NoopscooPsnSXQ@jetpack":
s = s.replace("TYPE-UUID-OF-PRIVACY-POSSUM-ADDON-HERE",
UUIDDict['woop-NoopscooPsnSXQ@jetpack'])
# SimpleLogin
if isAddonInstalled[x] == "addon@simplelogin":
s = s.replace("TYPE-UUID-OF-SIMPLELOGIN-ADDON-HERE",
UUIDDict['addon@simplelogin'])
# Tab Session Manager
if isAddonInstalled[x] == "Tab-Session-Manager@sienori":
s = s.replace("TYPE-UUID-OF-TAB-SESSION-MANAGER-ADDON-HERE",
Expand Down Expand Up @@ -587,23 +593,24 @@ def openProfile(profileFolder):

while SelChoice2 != 0:
print("1. [" + themeArray[0] + "] All")
print("2. [" + themeArray[1] + "] Ant video downloader")
print("3. [" + themeArray[2] + "] Cookie autodelete")
print("4. [" + themeArray[3] + "] History autodelete")
print("5. [" + themeArray[4] + "] Download Manager (s3)")
print("6. [" + themeArray[5] + "] Forget me not")
print("7. [" + themeArray[6] + "] HTTPS everywhere")
print("8. [" + themeArray[7] + "] Noscript")
print("9. [" + themeArray[8] + "] Notifier for Gmail (restartless)")
print("10. [" + themeArray[9] + "] Multi-accounts container")
print("11. [" + themeArray[10] + "] Onetab")
print("12. [" + themeArray[11] + "] Privacy Badger")
print("13. [" + themeArray[12] + "] Privacy Possum")
print("14. [" + themeArray[13] + "] Tab Session Manager")
print("15. [" + themeArray[15] + "] Temporary Containers")
print("16. [" + themeArray[16] + "] Ublock Origin")
print("17. [" + themeArray[16] + "] Umatrix")
print("18. [" + themeArray[17] + "] Viewhance")
print("2. [" + themeArray[1] + "] Ant video downloader")
print("3. [" + themeArray[2] + "] Cookie autodelete")
print("4. [" + themeArray[3] + "] History autodelete")
print("5. [" + themeArray[4] + "] Download Manager (s3)")
print("6. [" + themeArray[5] + "] Forget me not")
print("7. [" + themeArray[6] + "] HTTPS everywhere")
print("8. [" + themeArray[7] + "] Noscript")
print("9. [" + themeArray[8] + "] Notifier for Gmail (restartless)")
print("10. [" + themeArray[9] + "] Multi-accounts container")
print("11. [" + themeArray[10] + "] Onetab")
print("12. [" + themeArray[11] + "] Privacy Badger")
print("13. [" + themeArray[12] + "] Privacy Possum")
print("14. [" + themeArray[13] + "] SimpleLogin")
print("15. [" + themeArray[14] + "] Tab Session Manager")
print("16. [" + themeArray[15] + "] Temporary Containers")
print("17. [" + themeArray[16] + "] Ublock Origin")
print("18. [" + themeArray[17] + "] Umatrix")
print("19. [" + themeArray[18] + "] Viewhance")
print("0. Continue\n")

SelChoice2 = int(input("Choice: "))
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ You can use it to fully change the colors of most of firefox UI to dark-gray col

If you want to know how to change some colors of the theme, check the [wiki](https://github.com/Izheil/Quantum-Nox-Firefox-Dark-Full-Theme/wiki/Editting-CSS-files).

### Last update: 06/11/2021
### Last update: 16/11/2021

Files updated:

* __userContent.cs__: Themed table on new `about:unloads` page.
* __addons.css__: Themed [simplelogin addon](https://addons.mozilla.org/en-US/firefox/addon/simplelogin/).
* __userChrome.css__: Minor fixes for white outline for some addon popups.

### Pre-Last update: 02/02/2021
### Pre-Last update: 06/11/2021

Files updated:

* __userChrome.css__: Fixes for primary button colors.
* __userContent.cs__: Minor fixes for home screen.
* __userContent.css__: Themed table on new `about:unloads` page.


### A note on people looking to replace some Tab Mix Plus features:
Expand Down Expand Up @@ -78,6 +78,7 @@ Here is a list of the themed addons:
* [OneTab](https://addons.mozilla.org/en-US/firefox/addon/onetab/)
* [Privacy badger](https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/)
* [Privacy possum](https://addons.mozilla.org/en-US/firefox/addon/privacy-possum/)
* [Simplelogin](https://addons.mozilla.org/en-US/firefox/addon/simplelogin/)
* [Tab session manager](https://addons.mozilla.org/en-US/firefox/addon/tab-session-manager/)
* [Temporary containers](https://addons.mozilla.org/en-US/firefox/addon/temporary-containers/)
* [Ublock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/)
Expand Down

0 comments on commit 577f33b

Please sign in to comment.