From f7927e854f1eab862dfa94270d14b32f3fc3ed79 Mon Sep 17 00:00:00 2001 From: Niklas Gollenstede Date: Wed, 6 Jan 2016 15:38:39 +0100 Subject: [PATCH] fix tabview-dark --- about-pages-dark.css | 28 +++++++++++++++---------- raw-text-dark.css | 4 +--- tabview-dark.css | 50 +++++++++++++++++++++++++++++++------------- 3 files changed, 53 insertions(+), 29 deletions(-) diff --git a/about-pages-dark.css b/about-pages-dark.css index 51371fc..e6c3cf8 100644 --- a/about-pages-dark.css +++ b/about-pages-dark.css @@ -43,19 +43,12 @@ @-moz-document url(about:addons), - url(about:preferences), /* hash-changes would invalidate the style, so all possible hashes have to be included */ - url(about:preferences#), - url(about:preferences#general), - url(about:preferences#search), - url(about:preferences#content), - url(about:preferences#applications), - url(about:preferences#privacy), - url(about:preferences#security), - url(about:preferences#sync), - url(about:preferences#advanced), - url(about:preferences*) + url-prefix(about:findbartweak), + url-prefix(about:preferences), + url-prefix(about:tabgroups) { .main-content, + #main-footer, #dialogBox { filter: invert(100%) hue-rotate(180deg) contrast(90%) saturate(200%) brightness(125%); @@ -126,6 +119,7 @@ url(about:cache), url(about:crashes), url(about:license), + url(about:me), url(about:memory), url-prefix(about:neterror), url(about:plugins), @@ -133,6 +127,7 @@ url(about:permissions), url(about:robots), url(about:rights), + url(about:sessionstore), url(about:support), url(about:sync-log), url(about:sync-progress), @@ -246,6 +241,17 @@ } } +@-moz-document + url(about:me) +{ + .favicon + { + max-width: 16px; + vertical-align: middle; + background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 30%, transparent 80%); + padding: 3px; + } +} /* temporary compatibility fix between normal and developer edition of firefox */ diff --git a/raw-text-dark.css b/raw-text-dark.css index 63d23d7..a4ab10b 100644 --- a/raw-text-dark.css +++ b/raw-text-dark.css @@ -9,10 +9,8 @@ * If you have any issues with this style, please open a ticket at https://github.com/NiklasGollenstede/stylish */ -@namespace url(http://www.w3.org/1999/xhtml); +@namespace url(http://www.w3.org/1999/xhtml); /* i really want this to be global */ -body>pre:first-child { -} body:not(.highlight)>pre:first-child { filter: invert(100%) hue-rotate(180deg) contrast(90%) saturate(200%) brightness(125%); background-color: #E6E9EC; /* inspector body color filtered */ diff --git a/tabview-dark.css b/tabview-dark.css index 5fb4167..59f9291 100644 --- a/tabview-dark.css +++ b/tabview-dark.css @@ -5,12 +5,14 @@ * @licence CC-BY-SA-4.0 or MIT * @description * Dark and a bit more modern look for the "Group Tabs"-overview. + * Works with this add-on: https://addons.mozilla.org/en-US/firefox/addon/tab-groups-panorama/ * * If you have any issues with this style, please open a ticket at https://github.com/NiklasGollenstede/stylish */ @-moz-document - url("chrome://browser/content/tabview.html") + url(chrome://tabgroups/content/tabview.xhtml), + url(chrome://browser/content/tabview.html) { #content @@ -21,13 +23,25 @@ .groupItem { background-color: #14171A; + cursor: move; } - .groupItem:not(.activeGroupItem) { opacity: 0.5; } - + .groupItem:not(.activeGroupItem) .appTabTrayContainer + { + display: none; + } + .groupItem .appTabTrayContainer + { + padding-right: 10px; + } + .groupItem .appTabTrayContainer .appTabIcon + { + background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 30%, transparent 80%); + padding: 3px; + } .groupItem .titlebar .name { border-radius: 2px; @@ -35,6 +49,13 @@ background-color: #193347; padding: 0 0 1px 3px; } + .groupItem .close, + .groupItem .iq-resizable-handle + { + background-position: 50% 50%; + width: 30px; + height: 30px; + } .tab { @@ -42,10 +63,14 @@ background-color: #414B56; padding-bottom: 20px; } - + .tab.focus + { + box-shadow: unset; + box-shadow: 0px 0px 7px rgb(0, 126, 206), 0px 0px 7px rgb(0, 126, 206); + } .tab .tab-title { - background-color: #414B56; + background-color: inherit; position: absolute; left: 0px; right: 0px; @@ -55,22 +80,19 @@ color: white; text-shadow: none; } - .tab .favicon { background-color: transparent; background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 30%, transparent 70%); border: none; - left: 3px !important; + left: 2px !important; top: 3px !important; } - .tab .thumb .cached-thumb, .tab .thumb canvas { background-color: #414B56; } - .tab .close { display: none; @@ -80,12 +102,10 @@ display: block; } - /* - .groupItem .resizer { } - .groupItem.activeGroupItem { } - .groupItem .close { } - .tab.focus { } - */ + #actions + { + filter: invert(100%) hue-rotate(180deg); + } } @-moz-document