Multiple small improvements

This commit is contained in:
Rafael Mardojai CM 2020-01-17 10:06:12 -05:00
parent e9620b68dc
commit 3b44f26426
5 changed files with 9 additions and 15 deletions

View File

@ -197,7 +197,7 @@ menulist[open] .menulist-label-box,
.findbar-container toolbarbutton:-moz-window-inactive, .findbar-container toolbarbutton:-moz-window-inactive,
#sidebar-switcher-target:-moz-window-inactive, #sidebar-switcher-target:-moz-window-inactive,
#viewButton:-moz-window-inactive, #viewButton:-moz-window-inactive,
.notification-button:-moz-window-inactive { .notification-button:-moz-window-inactive {
background: var(--gnome-inactive-button-background) !important; background: var(--gnome-inactive-button-background) !important;
box-shadow: var(--gnome-inactive-button-box-shadow) !important; box-shadow: var(--gnome-inactive-button-box-shadow) !important;
border-color: var(--gnome-inactive-button-border-color) !important; border-color: var(--gnome-inactive-button-border-color) !important;

View File

@ -70,7 +70,7 @@
} }
:root[tabsintitlebar] #titlebar:-moz-window-inactive .titlebar-button .toolbarbutton-icon, :root[tabsintitlebar] #titlebar:-moz-window-inactive .titlebar-button .toolbarbutton-icon,
:root[tabsintitlebar][inFullscreen] #window-controls:-moz-window-inactive toolbarbutton .toolbarbutton-icon { :root[tabsintitlebar][inFullscreen] #window-controls:-moz-window-inactive toolbarbutton .toolbarbutton-icon {
opacity: .5 !important; opacity: .3 !important;
} }
:root[tabsintitlebar] #titlebar:not(:-moz-window-inactive) .titlebar-button:not([disabled]):hover, :root[tabsintitlebar] #titlebar:not(:-moz-window-inactive) .titlebar-button:not([disabled]):hover,
:root[tabsintitlebar][inFullscreen] #window-controls:not(:-moz-window-inactive) toolbarbutton:not([disabled]):hover { :root[tabsintitlebar][inFullscreen] #window-controls:not(:-moz-window-inactive) toolbarbutton:not([disabled]):hover {

View File

@ -27,7 +27,6 @@
} }
/* Entries focused */ /* Entries focused */
#urlbar.megabar[breakout][breakout-extend],
#urlbar:not(.megabar)[focused], #urlbar:not(.megabar)[focused],
#searchbar:focus-within, #searchbar:focus-within,
#search-box[focused], #search-box[focused],

View File

@ -2,15 +2,15 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* */ /* Add private window headerbar indicator */
:root[privatebrowsingmode="temporary"] #nav-bar toolbarspring:first-of-type:before { :root[privatebrowsingmode="temporary"] #nav-bar toolbarspring:first-of-type:before {
background: url("../icons/user-not-tracked.svg") no-repeat; background: url("../icons/user-not-tracked.svg") no-repeat;
background-size: contain; background-size: 64px 64px;
content: ""; content: "";
display: block; display: block;
position: absolute; position: absolute;
width: 64px; width: 64px;
height: 64px; height: 46px;
top: 0; top: 0;
opacity: 0.3; opacity: 0.3;
transform: translate(15px, 0); transform: translate(15px, 0);
@ -20,11 +20,8 @@
filter: invert(100%); filter: invert(100%);
} }
} }
:root[privatebrowsingmode="temporary"] #nav-bar {
overflow: hidden;
}
/* */ /* Hide tabsbar default private browsing indicator */
#TabsToolbar .private-browsing-indicator { #TabsToolbar .private-browsing-indicator {
display: none !important; display: none !important;
} }

View File

@ -8,16 +8,13 @@
} }
/* Megabar reset */ /* Megabar reset */
#urlbar.megabar { #urlbar.megabar {
border: 0 !important; border: 0 !important;
box-shadow: none !important; box-shadow: none !important;
border-radius: 0 !important; border-radius: 0 !important;
background: transparent !important; background: transparent !important;
} }
#urlbar.megabar, #urlbar.megabar > #urlbar-input-container, #urlbar.megabar > .urlbarView {
position: none !important;
transition: none !important;
}
#urlbar-background { #urlbar-background {
display: none !important; display: none !important;
} }
@ -40,6 +37,7 @@
} }
#urlbar.megabar[breakout][breakout-extend][open] #urlbar-input-container { #urlbar.megabar[breakout][breakout-extend][open] #urlbar-input-container {
border-bottom-color: transparent !important; border-bottom-color: transparent !important;
border-radius: 5px 5px 0 0 !important;
} }
#urlbar.megabar[breakout][breakout-extend][open] .urlbarView { #urlbar.megabar[breakout][breakout-extend][open] .urlbarView {
border-radius: 0 0 5px 5px !important; border-radius: 0 0 5px 5px !important;
@ -118,7 +116,7 @@ toolbarspring {
background: var(--gnome-entry-background) !important; background: var(--gnome-entry-background) !important;
width: 100% !important; width: 100% !important;
margin: 0 !important; margin: 0 !important;
margin-top: -4px !important; margin-top: -40px !important;
box-shadow: none !important; box-shadow: none !important;
border-top: 0 !important; border-top: 0 !important;
padding: 0px !important; padding: 0px !important;