Giter Site home page Giter Site logo

grosbourrin / pitchdark-fox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from albuspercivaldumbledore/pitchdark-fox

0.0 1.0 0.0 2.24 MB

Firefox Stylesheets intended for my Personal use. Sharing them since I've benefitted immensely from others sharing their own work.

CSS 100.00%

pitchdark-fox's Introduction

PitchDark-Fox

Firefox Stylesheets intended for my Personal use. Sharing them since I've benefitted immensely from others sharing their own work.

PitchDarkFox

NOTE

This is a collection of stylesheets that I've cobbled together, after Proton Update broke my earlier stylesheet. This isn't a 'release' of theme for firefox, for some reasons:

  1. Much of it is based on others' hardwork. See Credits
  2. It was always meant for personal use. So, I've hidden many elements which many people would find useful; tweaked height/width of menus, etc to my own liking
  3. I've been working on these stylesheets on my main profile, which is heavily modified. I'm not sure if everything in it would work as intended on a different profile, different resolution, different OS.
  4. I don't have a programming background. I only have a working knowledge of css, acquired mostly through trial and error. Hence, while I can make it work for myself, I won't have any clue if it doesn't work for you.
  5. Due to 4, I haven't followed CSS Best Practices while putting together these stylesheets. Ex, I couldn't for the life of me figure out how to make some of my rules apply to about-addons. So, I ended up using universal selector (*)

CREDITS

  1. MrOtherGuy's firefox-csshacks for One-Liner, about:addons column view, multi-row urlbar dropdown results, and numerous other minor tweaks
  2. u/MotherStylus has helped with styling many problematic elements over at r/firefoxcss. His gems of scripts at his duskFox repository have helped me extend functionality, style tooltips. I've also stolen many rules from his repo.
  3. Izheil's Quantum Nox for introducing me to the realm of add-on themes. Their themes for uMatrix, uBlock Origin, and Containers form the base for my own themes.
  4. PROxZIMA's Sweet_Pop inspired the use of gradient line below Navigation Toolbox. Their code for styling library helped me achieve dark mode for libray view.
  5. u/dilfool2nice's Firefox BlueMoon helped me style ctrl+tab preview, inspired use of gif in About Firefox dialog.

PREVIEW

About Firefox Dialog

AboutFirefox

All-Tabs View

AllTabsView

Clear All History Dialog

ClearAllHistoryDialog

Close Window Dialog

CloseWindowDialog

Context Menus

ContextMenus

Create Profile

CreateProfile

Ctrl+Tab View

CtrlTabView

Downloads View

DownloadsView

Edit Bookmark

EditBookmark

HTTPS Only Error

HttpsOnlyError

Library

Library

Net Error

NetErrorPage

New Private Window Page

NewPrivateWindowPage

New Tab Page

NewTabPage

PDF Viewer

PDFViewer

Page Info

PageInfo

Print Dialog

PrintDialog

Save File Dialog

SaveFileDialog

Tracking Protection Popup

TrackingProtectionPopup

USAGE

The best use anyone can make of these stylesheets would be to look for individual code snippets for styling an individual component, and using it for creating one's own style.

Using the stylesheets as they are:

For using as they are, these stylesheets require:

  1. Fira Sans Font https://github.com/mozilla/Fira/releases/
  2. Dark Magic Theme https://addons.mozilla.org/en-US/firefox/addon/nicothin-dark-magic/
  3. Certain Scripts from u/MotherStylus's repository
  4. Scrips need to be loaded with fx-autoconfig, as detailed in above repository
  5. chrome.manifest from u/MotherStylus's repository - for restoring Pre-Proton icons - since I've scaled down toolbarbuttons, and new thinner icons look horrible when scaled.

Scripts Required:

  1. userChrome_as_css_module.uc.js for styling tooltips
  2. allTabsMenuExpansionPack.uc.js
  3. atoolboxButton.uc.js - as I've hidden 'Inspect Element' from context-menu
  4. searchSelectionShortcut.uc.js - as I've hidden 'Search InsertSearchEngineName with' from context menu
  5. restoreTabSoundButton.uc.js - as I've hidden 'Playing' Label from tabs playing media

All the stylesheets and folders included in this repo need to be placed directly inside chrome folder in firefox profile.

Rules from TreeStyleTabs-TextArea.css (inside Extensions folder) need to be copied, and pasted in text area provided by TreeStyleTabs Addon in about:preferences.

STYLING ADDONS

Themes for Addons are contained in 'Extensions' folder. For styling addons, you've to go to about:debugging, copy Internal UUID of extension, and paste in addon's stylesheet, in place of 'Enter Internal UUID here'. Addons I've styled:

Auto Tab Discard

https://addons.mozilla.org/en-US/firefox/addon/auto-tab-discard/

AutoTabDiscard

Bitwarden Password Manager

https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/

Bypass Paywalls Clean

https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean/

Clear URLs

https://addons.mozilla.org/en-US/firefox/addon/clearurls/

ClearURLs

Cookie Auto-Delete

https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/

CookieAutoDelete

Dark Reader

https://addons.mozilla.org/en-US/firefox/addon/darkreader/

DarkReader

Enhancer For Youtube

https://addons.mozilla.org/en-US/firefox/addon/enhancer-for-youtube/

EnhancerForYoutube

Local CDN

https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/

LocalCDN

Multi Account Container

https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/

MultiAccountContainer

Notes By Mozilla

https://addons.mozilla.org/en-US/firefox/addon/notes-by-firefox/

NotesByMozilla

Save WebP as PNG

https://addons.mozilla.org/en-US/firefox/addon/save-webp-as-png-or-jpeg/

SaveWebPasPNG

Set Tabs Aside

https://addons.mozilla.org/en-GB/firefox/addon/tabs-aside/

Temporary Containers

https://addons.mozilla.org/en-US/firefox/addon/temporary-containers/

Translate Web Pages

https://addons.mozilla.org/en-US/firefox/addon/traduzir-paginas-web/

TranslateWebPages

Tree Style Tab

https://addons.mozilla.org/en-US/firefox/addon/tree-style-tab/

TreeStyleTab

uBlock Origin

https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/

uBlockOrigin

uMatrix

Requires latest Pre-Release Version of uMatrix from https://github.com/gorhill/uMatrix/releases

uMatrix

pitchdark-fox's People

Contributors

albuspercivaldumbledore avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.