From 6a4eb9e4e49e38d3341305864085036ae4fd1ec3 Mon Sep 17 00:00:00 2001 From: Rafael Mardojai CM Date: Tue, 28 Jan 2020 18:28:39 -0500 Subject: [PATCH] Add normal-width-tabs.css optional feature, fix #95 --- README.md | 4 ++++ theme/normal-width-tabs.css | 8 ++++++++ userChrome.css | 3 +++ 3 files changed, 15 insertions(+) create mode 100644 theme/normal-width-tabs.css diff --git a/README.md b/README.md index 4db9f68..01f4b64 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,10 @@ Alternatively you can run installation script with `-g` flag to auto install GNO Use square title buttons old style. +- **normal-width-tabs.css** + + Use normal width tabs. + - **active-tab-contrast.css** Active tab better contrast. diff --git a/theme/normal-width-tabs.css b/theme/normal-width-tabs.css new file mode 100644 index 0000000..8d7641c --- /dev/null +++ b/theme/normal-width-tabs.css @@ -0,0 +1,8 @@ +/* Use normal width tabs */ + +@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +.tabbrowser-tab:not([style^="max-width"]):not([pinned]), +.tabbrowser-tab[style^="max-width: 100px !important;"]:not([pinned]) { + max-width: 225px !important; +} diff --git a/userChrome.css b/userChrome.css index 273ff66..b6e9a69 100644 --- a/userChrome.css +++ b/userChrome.css @@ -20,6 +20,9 @@ /* Use square title buttons old style */ /*@import "theme/square-title-buttons.css"; /**/ +/* Use normal width tabs */ +/*@import "theme/normal-width-tabs.css"; /**/ + /* Active tab high contrast */ /*@import "theme/active-tab-contrast.css"; /**/