diff --git a/less/navigationBar.less b/less/navigationBar.less index 630b53f1477..222cf274e4e 100644 --- a/less/navigationBar.less +++ b/less/navigationBar.less @@ -642,7 +642,6 @@ justify-content: center; height: @urlbarFormHeight; padding: 0 10px 0 3px; - background: @navigationBarBackgroundActive; display: flex; flex-grow: 1; min-width: 0%; // allow the navigator to shrink @@ -654,7 +653,6 @@ legend:before { content: ' '; position: absolute; - background: @navigationBarBackgroundActive; border-radius: 0 4px 4px 0; color: #333; box-shadow: inset 0 0 0 1px @urlBarOutline, inset 0 0 0 3px @focusUrlbarOutline; @@ -672,13 +670,17 @@ } #navigator:not(.titleMode) & { - background: @navigationBarBackgroundActive; border-radius: @borderRadiusURL; border-top-left-radius: 0; border-bottom-left-radius: 0; box-shadow: inset 0 0 0 1px rgba(187, 187, 187, 1.0); color: @chromeText; + + // #4922 + // TODO: replace this value with a CSS variable to add a dark UI. + background: #fff; } + @media (max-width: @breakpointNarrowViewport) { max-width: 80%; } @@ -718,7 +720,7 @@ } .urlbarForm { - &.noBorderRadius { + &.noBorderRadius { border-radius: 0; legend:before { @@ -825,13 +827,11 @@ .urlbarForm { .loadTime { color: @loadTimeColor; - // background: @navigationBarBackground; font-size: 12px; text-align: right; cursor: default; &.onFocus { - background: @navigationBarBackgroundActive; display: none; } } @@ -842,7 +842,6 @@ } .inputbar-wrapper { - //background: white; display: flex; flex: 1 1 0; border-radius: 4px; @@ -851,7 +850,6 @@ } input { - background: @navigationBarBackgroundActive; border: none; box-sizing: border-box; color: #333; @@ -864,9 +862,9 @@ text-overflow: ellipsis; min-width: 0%; // allow the navigator to shrink - &:hover { - background: @navigationBarBackgroundActive; - } + // #4922: make the whole .urlbarForm clickable + height: @urlbarFormHeight; + background: transparent; &.private { background: @privateTabBackground; @@ -874,7 +872,6 @@ } &:focus { - background: @navigationBarBackgroundActive; margin-right: 3px; } } diff --git a/less/variables.less b/less/variables.less index 052c4bee0cf..dd92dca1e3c 100644 --- a/less/variables.less +++ b/less/variables.less @@ -25,9 +25,6 @@ @tabsBackground: #ddd; @tabsBackgroundInactive: #ddd; @tabsToolbarBorderColor: #bbb; -@navigationBarBackground: @chromeSecondary; -@navigationBarBackground: #f7f7f7; -@navigationBarBackgroundActive: #fff; @chromeBorderColor: @chromePrimary; @chromeControlsBackground: #bbb; @chromeControlsWarningBackground: @chromePrimary;