fenix-fox/chrome/floating_findbar_on_top.css

49 lines
1.4 KiB
CSS
Raw Normal View History

2020-05-22 05:13:58 +00:00
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/floating_findbar_on_top.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
2018-12-27 16:41:09 +00:00
findbar{
-moz-box-ordinal-group: 0;
margin-bottom: calc(0px - 2 * var(--toolbarbutton-inner-padding) - 25px);
position: relative;
border-top: none !important;
2018-12-27 17:07:12 +00:00
transition: transform 82ms linear, opacity 82ms linear 32ms !important;
background: none !important;
pointer-events: none;
z-index: 1;
2018-12-27 16:41:09 +00:00
}
2018-12-29 05:17:39 +00:00
.findbar-container > .findbar-find-fast{
2018-12-30 05:02:26 +00:00
padding: var(--toolbarbutton-inner-padding) 1px;
2018-12-29 05:17:39 +00:00
margin: 0 !important;
}
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(--uc-light-bkgnd-color,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;
}
/*
Move findbar so it isn't over the scrollbar
Delete if you want findbar to begin from right window edge
*/
findbar{
margin-right: 16px;
border-right: 1px solid var(--chrome-content-separator-color);
}