Make findbar not full width and remove support for left positioning

This commit is contained in:
MrOtherGuy 2018-12-28 05:29:03 +02:00
parent b468ba2a9a
commit 38ebc72193

View file

@ -3,8 +3,29 @@ findbar{
margin-bottom: calc(0px - 2 * var(--toolbarbutton-inner-padding) - 25px); margin-bottom: calc(0px - 2 * var(--toolbarbutton-inner-padding) - 25px);
position: relative; position: relative;
border-top: none !important; border-top: none !important;
border-bottom: 1px solid var(--chrome-content-separator-color);
transition: transform 82ms linear, opacity 82ms linear 32ms !important; transition: transform 82ms linear, opacity 82ms linear 32ms !important;
background: none !important;
pointer-events: none;
}
findbar[hidden]{ transform: translateY(-30px);}
findbar > .findbar-container,
findbar > .close-icon{
border: 1px solid var(--chrome-content-separator-color);
border-width: 0 0 1px 0px;
background: var(--toolbar-bgcolor) !important;
pointer-events: auto;
}
findbar > .findbar-container{
-moz-box-direction: reverse;
border-left-width: 1px;
}
findbar > .findbar-container > hbox{ margin: 0 5px }
findbar::before{
content:"";
display: -moz-box;
-moz-box-flex: 100;
} }
/* Uncomment for reverse order - search-field on right */
/* findbar > .findbar-container { -moz-box-direction: reverse } */