diff --git a/chrome/EdgyArc-fr/main.css b/chrome/EdgyArc-fr/main.css index 906b6c7..9ff4206 100644 --- a/chrome/EdgyArc-fr/main.css +++ b/chrome/EdgyArc-fr/main.css @@ -63,6 +63,7 @@ #private-browsing-indicator-with-label { display: none !important; } + #nav-bar::after { content: var(--uc-string-private); display: flex; @@ -73,7 +74,9 @@ opacity: 0.6; position: absolute; top: calc(50% - 10px); + pointer-events: none !important; } + @media (-moz-platform: macos) { /*make space in nav bar for the private window label*/ #nav-bar { @@ -87,17 +90,20 @@ } @media (-moz-platform: windows) { #nav-bar { - padding-right: 215px !important; + padding-left: 70px !important; } + /*create private window badge*/ #nav-bar::after { - right: 145px; + left: 8px; border-radius: 4px; } } } + + :root[windowtype="navigator:browser"], :root[windowtype="navigator:browser"]:not(:-moz-lwtheme) { background-color: color-mix(in srgb, var(--lwt-accent-color) 60%, light-dark(rgb(240, 240, 240), rgb(50, 50, 50))) !important; @@ -428,4 +434,24 @@ padding-inline-start: 0 !important; } } -} \ No newline at end of file +} + + +/*Windows specific positioning*/ + +@media (-moz-platform: windows) { + .titlebar-buttonbox-container { + z-index:999 !important; + } +.titlebar-button.titlebar-restore, + .titlebar-button.titlebar-close, + .titlebar-button.titlebar-min, + .titlebar-button.titlebar-max, + .titlebar-button.titlebar-button, + .titlebar-button { + padding: 0 15px !important; + height: 32px !important; + border-radius: 6px !important; + margin: 6px 4px !important; +} +} diff --git a/chrome/EdgyArc-fr/translucent-base.css b/chrome/EdgyArc-fr/translucent-base.css index 55c4f61..ca10c0a 100644 --- a/chrome/EdgyArc-fr/translucent-base.css +++ b/chrome/EdgyArc-fr/translucent-base.css @@ -35,10 +35,17 @@ opacity: var(--uc-accent-opacity) !important; } +@media (-moz-platform: macos) { :root[windowtype="navigator:browser"]#main-window { background-color: transparent !important; border-radius: 10px !important; } +} +@media (-moz-platform: windows) { +:root[windowtype="navigator:browser"]#main-window { + background-color: var(--lwt-accent-color) !important; +} +} /*remove transparency in fullscreen */ :root[sizemode="fullscreen"] {