diff options
Diffstat (limited to 'arc-firefox-theme/chrome/browser/devedition.css')
-rw-r--r-- | arc-firefox-theme/chrome/browser/devedition.css | 33 |
1 files changed, 10 insertions, 23 deletions
diff --git a/arc-firefox-theme/chrome/browser/devedition.css b/arc-firefox-theme/chrome/browser/devedition.css index c795641..44e3228 100644 --- a/arc-firefox-theme/chrome/browser/devedition.css +++ b/arc-firefox-theme/chrome/browser/devedition.css @@ -27,7 +27,6 @@ --tabs-toolbar-color: #F5F7FA; --tab-background-color: #1C2126; --tab-hover-background-color: #07090a; - --tab-separator-color: #474C50; --tab-selection-color: #f5f7fa; --tab-selection-background-color: #1a4666; --tab-selection-box-shadow: 0 2px 0 #D7F1FF inset, @@ -57,10 +56,12 @@ --url-and-searchbar-color: #fff; --urlbar-dropmarker-url: url("chrome://browser/skin/devedition/urlbar-history-dropmarker.svg"); --urlbar-dropmarker-region: rect(0px, 11px, 14px, 0px); - --urlbar-dropmarker-active-region: rect(0px, 22px, 14px, 11px); + --urlbar-dropmarker-hover-region: rect(0, 22px, 14px, 11px); + --urlbar-dropmarker-active-region: rect(0px, 33px, 14px, 22px); --urlbar-dropmarker-2x-url: url("chrome://browser/skin/devedition/urlbar-history-dropmarker.svg"); --urlbar-dropmarker-2x-region: rect(0px, 11px, 14px, 0px); - --urlbar-dropmarker-active-2x-region: rect(0px, 22px, 14px, 11px); + --urlbar-dropmarker-hover-2x-region: rect(0, 22px, 14px, 11px); + --urlbar-dropmarker-active-2x-region: rect(0px, 33px, 14px, 22px); --search-button-image: url("chrome://browser/skin/devedition/search.svg#search-icon-inverted"); } @@ -85,7 +86,6 @@ --tab-background-color: #E3E4E6; --tab-hover-background-color: #D7D8DA; - --tab-separator-color: #C6C6C7; --tab-selection-color: #f5f7fa; --tab-selection-background-color: #4c9ed9; --tab-selection-box-shadow: 0 2px 0 #9FDFFF inset, @@ -268,24 +268,11 @@ searchbar:not([oneoffui]) .search-go-button { visibility: hidden; } -/* Make the tab splitter 1px wide with a solid background. */ -#tabbrowser-tabs[movingtab] > .tabbrowser-tab[beforeselected]:not([last-visible-tab])::after, -.tabbrowser-tab:not([visuallyselected]):not([afterselected-visible]):not([afterhovered]):not([first-visible-tab]):not(:hover)::before, -#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not([beforehovered]):not(:hover)::after { - background: var(--tab-separator-color); - opacity: 1; - width: 1px; - -moz-margin-start: 0; - -moz-margin-end: -1px; -} - -/* For the last tab separator, use margin-start of -1px to prevent jittering - due to the ::after element causing the width of the tab to extend, which - causes an overflow and makes it disappear, which removes the overflow and - causes it to reappear, etc, etc. */ -#tabbrowser-tabs:not([overflow]) > .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not([beforehovered]):not(:hover)::after { - -moz-margin-start: -1px; - -moz-margin-end: 0; +/* Tab separators */ +.tabbrowser-tab::after, +.tabbrowser-tab::before { + background: currentColor; + opacity: 0.2 !important; } .tabbrowser-arrowscrollbox > .scrollbutton-down, @@ -334,7 +321,7 @@ searchbar:not([oneoffui]) .search-go-button { background-image: none; } -.tab-close-button[selected]:not(:hover) { +.tab-close-button[visuallyselected]:not(:hover) { background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64); } |