aboutsummaryrefslogtreecommitdiffstats
path: root/pentadactyl/chrome.css
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-04 23:33:43 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-04 23:33:43 +0200
commitfe62590fabeca7c697f0b627d6a51cf4dbc64595 (patch)
tree51d1cae390c303b095e7eac6dbf3f13cdcc7cb19 /pentadactyl/chrome.css
parent04b94f8f264b6afeafcc360ea4c084ad46deaa41 (diff)
downloaddotfiles-fe62590fabeca7c697f0b627d6a51cf4dbc64595.tar.xz
pentadactyl: add chrome.css and wikipedia.org penta
Courtesy of Earnestly
Diffstat (limited to 'pentadactyl/chrome.css')
-rw-r--r--pentadactyl/chrome.css52
1 files changed, 52 insertions, 0 deletions
diff --git a/pentadactyl/chrome.css b/pentadactyl/chrome.css
new file mode 100644
index 0000000..2f56681
--- /dev/null
+++ b/pentadactyl/chrome.css
@@ -0,0 +1,52 @@
+/* ~/.config/pentadactyl/chrome.css */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+/* Get rid of the bottom border */
+#TabsToolbar:after {
+ border-bottom: 0px !important;
+}
+
+/* Hide the new curved tab edges */
+.tab-background {
+ opacity: 0 !important;
+}
+
+/* Hide the little graphic seperator between inactive tabs */
+.tabbrowser-tab:before,
+.tabbrowser-tab:after {
+ visibility: hidden !important;
+}
+
+
+/* Reduce the padding around the contents of a tab */
+.tabbrowser-tab .tab-content,
+.tabbrowser-tab[selected] .tab-content {
+ padding: 0 2px 2px 4px !important;
+}
+
+#TabsToolbar {
+ -moz-appearance: none !important;
+ background: #dedede !important;
+}
+
+/* Mostly hacks to try deal with tab overflow, it's not pretty */
+#tabbrowser-tabs {
+ margin-left: -15px !important;
+ margin-right: -15px !important;
+}
+
+#tabbrowser-tabs ~ #alltabs-button {
+ padding-left: 15px !important;
+}
+
+/* Make the tab expand to fill the maximum width */
+.tabbrowser-tab {
+ max-width: 100% !important;
+ color: #000 !important;
+}
+
+.tabbrowser-tab[selected] {
+ background: #787777 !important;
+ color: #efefef !important;
+}