Fix popups
Remove extra margin and fix bookmarks styles leaking to menubar fixes #308
This commit is contained in:
parent
3202e80bb4
commit
9b91c3fbca
|
@ -71,8 +71,8 @@ treechildren::-moz-tree-image {
|
|||
}
|
||||
|
||||
/* Icons active color */
|
||||
menu:not([disabled]):not(.bookmark-item):hover > .menu-right,
|
||||
menu:not([disabled]):not(.bookmark-item)[open] > .menu-right,
|
||||
menu:not([disabled]):not(#PlacesToolbar .bookmark-item):hover > .menu-right,
|
||||
menu:not([disabled]):not(#PlacesToolbar .bookmark-item)[open] > .menu-right,
|
||||
treechildren::-moz-tree-twisty(selected, focus),
|
||||
treechildren::-moz-tree-twisty(selected, focus, open),
|
||||
treechildren::-moz-tree-image(selected, focus),
|
||||
|
|
|
@ -12,7 +12,7 @@ menupopup {
|
|||
color: var(--gnome-toolbar-color) !important;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) !important;
|
||||
}
|
||||
menupopup[placespopup="true"] {
|
||||
#PlacesToolbar menupopup {
|
||||
background: var(--gnome-popover-background) !important;
|
||||
padding: 4px !important;
|
||||
}
|
||||
|
@ -21,14 +21,7 @@ menupopup[placespopup="true"] {
|
|||
box-shadow: none !important;
|
||||
border: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
menupopup menupopup {
|
||||
margin: -5px 0 0 -4px;
|
||||
}
|
||||
|
||||
menubar > menu > menupopup {
|
||||
border-top-left-radius: 0 !important;
|
||||
border-top-right-radius: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
menuitem, menupopup menu {
|
||||
|
@ -129,7 +122,7 @@ panel[type="arrow"].panel-no-padding::part(content) {
|
|||
.subviewbutton:not(#appMenu-fxa-label2),
|
||||
.toolbarbutton-1, .protections-popup-category,
|
||||
.identity-popup-content-blocking-category,
|
||||
.bookmark-item {
|
||||
#PlacesToolbar .bookmark-item {
|
||||
border-radius: 5px !important;
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
font: menu !important;
|
||||
|
@ -157,7 +150,7 @@ panel[type="arrow"].panel-no-padding::part(content) {
|
|||
}
|
||||
|
||||
.subviewbutton:not([disabled]):hover, .toolbarbutton-1:not([disabled]):hover, .protections-popup-category:not([disabled]):hover,
|
||||
.identity-popup-content-blocking-category:not([disabled]):hover, .bookmark-item:hover, .bookmark-item[open], .bookmark-item[_moz-menuactive] {
|
||||
.identity-popup-content-blocking-category:not([disabled]):hover, #PlacesToolbar .bookmark-item:hover, #PlacesToolbar .bookmark-item[open], #PlacesToolbar .bookmark-item[_moz-menuactive] {
|
||||
background-color: var(--gnome-popover-button-hover-background) !important;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue