diff options
Diffstat (limited to 'arc-firefox-theme/chrome/browser')
7 files changed, 63 insertions, 59 deletions
diff --git a/arc-firefox-theme/chrome/browser/browser.css b/arc-firefox-theme/chrome/browser/browser.css index ec0dcd1..be47818 100644 --- a/arc-firefox-theme/chrome/browser/browser.css +++ b/arc-firefox-theme/chrome/browser/browser.css @@ -2353,7 +2353,7 @@ html|span.ac-emphasize-text-url { color: #5c616c; } /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */ -.tabbrowser-tab[visuallyselected=true] { +.tabbrowser-tab[selected=true] { position: relative; z-index: 2; } @@ -2482,27 +2482,27 @@ html|span.ac-emphasize-text-url { list-style-image: url("chrome://browser/skin/custom_images/light/tabs/tab-audio.svg#tab-audio-backgroundTab-muted-pressed"); } .tab-icon-sound:-moz-lwtheme, -.tab-icon-sound[visuallyselected=true][soundplaying] { +.tab-icon-sound[selected=true][soundplaying] { list-style-image: url("chrome://browser/skin/custom_images/light/tabs/tab-audio.svg#tab-audio"); } .tab-icon-sound:hover:-moz-lwtheme, -.tab-icon-sound[visuallyselected=true][soundplaying]:hover { +.tab-icon-sound[selected=true][soundplaying]:hover { list-style-image: url("chrome://browser/skin/custom_images/light/tabs/tab-audio.svg#tab-audio-hover"); } .tab-icon-sound:hover:active:-moz-lwtheme, -.tab-icon-sound[visuallyselected=true][soundplaying]:hover:active { +.tab-icon-sound[selected=true][soundplaying]:hover:active { list-style-image: url("chrome://browser/skin/custom_images/light/tabs/tab-audio.svg#tab-audio-pressed"); } .tab-icon-sound[muted]:-moz-lwtheme, -.tab-icon-sound[visuallyselected=true][muted] { +.tab-icon-sound[selected=true][muted] { list-style-image: url("chrome://browser/skin/custom_images/light/tabs/tab-audio.svg#tab-audio-muted"); } .tab-icon-sound[muted]:hover:-moz-lwtheme, -.tab-icon-sound[visuallyselected=true][muted]:hover { +.tab-icon-sound[selected=true][muted]:hover { list-style-image: url("chrome://browser/skin/custom_images/light/tabs/tab-audio.svg#tab-audio-muted-hover"); } .tab-icon-sound[muted]:hover:active:-moz-lwtheme, -.tab-icon-sound[visuallyselected=true][muted]:hover:active { +.tab-icon-sound[selected=true][muted]:hover:active { list-style-image: url("chrome://browser/skin/custom_images/light/tabs/tab-audio.svg#tab-audio-muted-pressed"); } .tab-background, @@ -2547,16 +2547,16 @@ html|span.ac-emphasize-text-url { .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { transition: opacity 150ms ease; } -.tab-background-start[visuallyselected=true]::after, -.tab-background-start[visuallyselected=true]::before, +.tab-background-start[selected=true]::after, +.tab-background-start[selected=true]::before, .tab-background-start, .tab-background-end, -.tab-background-end[visuallyselected=true]::after, -.tab-background-end[visuallyselected=true]::before { +.tab-background-end[selected=true]::after, +.tab-background-end[selected=true]::before { min-height: var(--tab-min-height); width: 30px; } -.tabbrowser-tab:not([visuallyselected=true]), +.tabbrowser-tab:not([selected=true]), .tabbrowser-tab:-moz-lwtheme { color: inherit; } @@ -2573,8 +2573,8 @@ html|span.ac-emphasize-text-url { - ::after - provides the border/stroke of the tab curve and is overlayed above ::before. Pointer events go through to ::before to get the proper shape. */ -.tab-background-start[visuallyselected=true]::after, -.tab-background-end[visuallyselected=true]::after { +.tab-background-start[selected=true]::after, +.tab-background-end[selected=true]::after { /* position ::after on top of its parent */ margin-inline-start: -30px; background-size: 100% 100%; @@ -2582,32 +2582,32 @@ html|span.ac-emphasize-text-url { display: -moz-box; position: relative; } -.tab-background-start[visuallyselected=true]::before, -.tab-background-end[visuallyselected=true]::before { +.tab-background-start[selected=true]::before, +.tab-background-end[selected=true]::before { /* all ::before pseudo elements */ content: ""; display: -moz-box; } -.tab-background-start[visuallyselected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before, -.tab-background-end[visuallyselected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before { +.tab-background-start[selected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before, +.tab-background-end[selected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before { background-image: url(chrome://browser/skin/custom_images/light/tabs/tab-start.svg); background-size: 100% 100%; } -.tab-background-end[visuallyselected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before, -.tab-background-start[visuallyselected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before { +.tab-background-end[selected=true]:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before, +.tab-background-start[selected=true]:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before { background-image: url(chrome://browser/skin/custom_images/light/tabs/tab-end.svg); background-size: 100% 100%; } /* For lightweight themes, clip the header image on start, middle, and end. */ -.tab-background-start[visuallyselected=true]:-moz-locale-dir(ltr):-moz-lwtheme::before, -.tab-background-end[visuallyselected=true]:-moz-locale-dir(rtl):-moz-lwtheme::before { +.tab-background-start[selected=true]:-moz-locale-dir(ltr):-moz-lwtheme::before, +.tab-background-end[selected=true]:-moz-locale-dir(rtl):-moz-lwtheme::before { clip-path: url(chrome://browser/content/browser.xul#tab-curve-clip-path-start); } -.tab-background-end[visuallyselected=true]:-moz-locale-dir(ltr):-moz-lwtheme::before, -.tab-background-start[visuallyselected=true]:-moz-locale-dir(rtl):-moz-lwtheme::before { +.tab-background-end[selected=true]:-moz-locale-dir(ltr):-moz-lwtheme::before, +.tab-background-start[selected=true]:-moz-locale-dir(rtl):-moz-lwtheme::before { clip-path: url(chrome://browser/content/browser.xul#tab-curve-clip-path-end); } -.tab-background-middle[visuallyselected=true] { +.tab-background-middle[selected=true] { background-clip: padding-box, padding-box, content-box; background-color: transparent; background-image: url(chrome://browser/skin/custom_images/light/tabs/tab-middle.svg); @@ -2619,7 +2619,7 @@ html|span.ac-emphasize-text-url { /* Selected tab lightweight theme styles. See browser-lightweightTheme.css for information about run-time changes to LWT styles. */ -.tab-background-middle[visuallyselected=true]:-moz-lwtheme { +.tab-background-middle[selected=true]:-moz-lwtheme { background-color: transparent; background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle.png), linear-gradient(transparent 2px, rgba(255, 255, 255, 0.4) 2px, rgba(255, 255, 255, 0.4)); /*, @@ -2628,18 +2628,18 @@ lwtHeader;*/ background-size: var(--tab-stroke-background-size), auto 100%, auto auto; } /* These LWT styles are normally overridden by browser-lightweightTheme.css */ -.tab-background-start[visuallyselected=true]:-moz-lwtheme::before, -.tab-background-end[visuallyselected=true]:-moz-lwtheme::before { +.tab-background-start[selected=true]:-moz-lwtheme::before, +.tab-background-end[selected=true]:-moz-lwtheme::before { background-image: linear-gradient(transparent 2px, rgba(255, 255, 255, 0.4) 2px, rgba(255, 255, 255, 0.4)); } -.tab-background-start[visuallyselected=true]:-moz-lwtheme::before, -.tab-background-end[visuallyselected=true]:-moz-lwtheme::before, -.tab-background-middle[visuallyselected=true]:-moz-lwtheme { +.tab-background-start[selected=true]:-moz-lwtheme::before, +.tab-background-end[selected=true]:-moz-lwtheme::before, +.tab-background-middle[selected=true]:-moz-lwtheme { background-color: transparent; } /* End selected tab */ /* new tab button border and gradient on hover */ -.tabbrowser-tab:hover > .tab-stack > .tab-background:not([visuallyselected=true]), +.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]), .tabs-newtab-button:hover { background-image: url(chrome://browser/skin/custom_images/light/tabs/tab-start-hover.svg), url(chrome://browser/skin/custom_images/light/tabs/tab-middle-hover.svg), url(chrome://browser/skin/custom_images/light/tabs/tab-end-hover.svg); background-position: left bottom, 30px bottom, right bottom; @@ -2664,18 +2664,18 @@ lwtHeader;*/ height: 100%; position: absolute; } -.tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([visuallyselected="true"]), -.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([visuallyselected="true"]) { +.tabbrowser-tab:-moz-any([image], [pinned]) > .tab-stack > .tab-content[attention]:not([selected="true"]), +.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([selected="true"]) { background-image: radial-gradient(farthest-corner at center bottom, white 3%, rgba(186, 221, 251, 0.75) 20%, rgba(127, 179, 255, 0.25) 40%, transparent 70%); background-position: center bottom var(--tab-toolbar-navbar-overlap); background-repeat: no-repeat; background-size: 85% 100%; } -.tabbrowser-tab[image] > .tab-stack > .tab-content[attention]:not([pinned]):not([visuallyselected="true"]) { +.tabbrowser-tab[image] > .tab-stack > .tab-content[attention]:not([pinned]):not([selected="true"]) { background-position: left bottom var(--tab-toolbar-navbar-overlap); background-size: 34px 100%; } -.tab-label[attention]:not([visuallyselected="true"]) { +.tab-label[attention]:not([selected="true"]) { font-weight: bold; } /* Tab separators */ @@ -3444,7 +3444,7 @@ html|*#gcli-output-frame { text-overflow: ellipsis; } .center-item-warning-icon { - background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); background-repeat: no-repeat; width: 16px; height: 15px; diff --git a/arc-firefox-theme/chrome/browser/controlcenter/panel.css b/arc-firefox-theme/chrome/browser/controlcenter/panel.css index dc7c522..f22053e 100644 --- a/arc-firefox-theme/chrome/browser/controlcenter/panel.css +++ b/arc-firefox-theme/chrome/browser/controlcenter/panel.css @@ -384,7 +384,7 @@ description#identity-popup-content-verifier, .identity-popup-permission-state-label { text-align: end; - opacity: 0.6; + color: graytext; } .identity-popup-permission-remove-button { @@ -408,23 +408,24 @@ description#identity-popup-content-verifier, height: 16px; list-style-image: url(chrome://browser/skin/panel-icons.svg#cancel); filter: url(chrome://browser/skin/filters.svg#fill); - fill: #999; + fill: graytext; } .identity-popup-permission-remove-button > .button-box > .button-text { display: none; } +/* swap foreground / background colors on hover */ .identity-popup-permission-remove-button:not(:-moz-focusring):hover { - background-color: #999; + background-color: graytext; } .identity-popup-permission-remove-button:not(:-moz-focusring):hover > .button-box > .button-icon { - fill: #fff; + fill: -moz-field; } .identity-popup-permission-remove-button:not(:-moz-focusring):hover:active { - background-color: #808080; + background-color: -moz-fieldtext; } .identity-popup-expander:-moz-focusring { diff --git a/arc-firefox-theme/chrome/browser/devedition.css b/arc-firefox-theme/chrome/browser/devedition.css index bc9aed1..4ad2288 100644 --- a/arc-firefox-theme/chrome/browser/devedition.css +++ b/arc-firefox-theme/chrome/browser/devedition.css @@ -34,15 +34,6 @@ --tab-selection-box-shadow: none; --pinned-tab-glow: radial-gradient(22px at center calc(100% - 2px), rgba(76,158,217,0.9) 13%, rgba(0,0,0,0.4) 16%, transparent 70%); - /* Toolbar buttons */ - --toolbarbutton-hover-background: rgba(25,33, 38,.6) linear-gradient(rgba(25,33,38,.6), rgba(25,33,38,.6)) padding-box; - --toolbarbutton-hover-boxshadow: none; - --toolbarbutton-hover-bordercolor: rgba(25,33,38,.6); - --toolbarbutton-active-background: rgba(25,33,38,1) linear-gradient(rgba(25,33,38,1), rgba(25,33,38,1)) border-box; - --toolbarbutton-active-boxshadow: none; - --toolbarbutton-active-bordercolor: rgba(25,33,38,.8); - --toolbarbutton-checkedhover-backgroundcolor: #3C5283; - /* Url and search bars */ --url-and-searchbar-background-color: #171B1F; --urlbar-separator-color: #5F6670; @@ -61,6 +52,18 @@ --identity-box-verified-background-color: transparent; } +/* Override the lwtheme-specific styling for toolbar buttons */ +:root[devtoolstheme="dark"], +:root[devtoolstheme="dark"] toolbar:-moz-lwtheme { + --toolbarbutton-hover-background: rgba(25,33, 38,.6) linear-gradient(rgba(25,33,38,.6), rgba(25,33,38,.6)) padding-box; + --toolbarbutton-hover-boxshadow: none; + --toolbarbutton-hover-bordercolor: rgba(25,33,38,.6); + --toolbarbutton-active-background: rgba(25,33,38,1) linear-gradient(rgba(25,33,38,1), rgba(25,33,38,1)) border-box; + --toolbarbutton-active-boxshadow: none; + --toolbarbutton-active-bordercolor: rgba(25,33,38,.8); + --toolbarbutton-checkedhover-backgroundcolor: #3C5283; +} + :root[devtoolstheme="light"] { --url-and-searchbar-background-color: #fff; @@ -81,9 +84,11 @@ --tab-selection-background-color: #4c9ed9; --tab-selection-box-shadow: none; --pinned-tab-glow: radial-gradient(22px at center calc(100% - 2px), rgba(76,158,217,0.9) 13%, transparent 16%); +} - - /* Toolbar buttons */ +/* Override the lwtheme-specific styling for toolbar buttons */ +:root[devtoolstheme="light"], +:root[devtoolstheme="light"] toolbar:-moz-lwtheme { --toolbarbutton-hover-background: #eaeaea; --toolbarbutton-hover-boxshadow: none; --toolbarbutton-hover-bordercolor: rgba(0,0,0,0.1); diff --git a/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss b/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss index d68bf05..903650f 100644 --- a/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss +++ b/arc-firefox-theme/chrome/browser/sass/_browser-sass.scss @@ -1957,8 +1957,6 @@ list-style-image: url("chrome://browser/skin/custom_images/toolbar-icons-active. #identity-box { - //--identity-box-hover-background-color: rgb(231,230,230); - //--identity-box-selected-background-color: rgb(211,210,210); --identity-box-verified-color: hsl(92,100%,30%); --identity-box-chrome-color: rgb(229,115,0); @@ -4498,7 +4496,7 @@ html|*#gcli-output-frame { } .center-item-warning-icon { - background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); background-repeat: no-repeat; width: 16px; height: 15px; diff --git a/arc-firefox-theme/chrome/browser/sass/browser-dark.css b/arc-firefox-theme/chrome/browser/sass/browser-dark.css index eed09eb..d9e487d 100644 --- a/arc-firefox-theme/chrome/browser/sass/browser-dark.css +++ b/arc-firefox-theme/chrome/browser/sass/browser-dark.css @@ -3444,7 +3444,7 @@ html|*#gcli-output-frame { text-overflow: ellipsis; } .center-item-warning-icon { - background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); background-repeat: no-repeat; width: 16px; height: 15px; diff --git a/arc-firefox-theme/chrome/browser/sass/browser-darker.css b/arc-firefox-theme/chrome/browser/sass/browser-darker.css index 6338ea6..e97361a 100644 --- a/arc-firefox-theme/chrome/browser/sass/browser-darker.css +++ b/arc-firefox-theme/chrome/browser/sass/browser-darker.css @@ -3444,7 +3444,7 @@ html|*#gcli-output-frame { text-overflow: ellipsis; } .center-item-warning-icon { - background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); background-repeat: no-repeat; width: 16px; height: 15px; diff --git a/arc-firefox-theme/chrome/browser/sass/browser-light.css b/arc-firefox-theme/chrome/browser/sass/browser-light.css index 694ef8c..be47818 100644 --- a/arc-firefox-theme/chrome/browser/sass/browser-light.css +++ b/arc-firefox-theme/chrome/browser/sass/browser-light.css @@ -3444,7 +3444,7 @@ html|*#gcli-output-frame { text-overflow: ellipsis; } .center-item-warning-icon { - background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); background-repeat: no-repeat; width: 16px; height: 15px; |