mobile-config-firefox/chrome/deprecated/urlbar_and_popup_equal_width.css

28 lines
1.1 KiB
CSS
Raw Normal View History

/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/deprecated/urlbar_and_popup_equal_width.css made available under Mozilla Public License v. 2.0
2020-05-22 05:13:58 +00:00
See the above repository for updates as well as full license text. */
2020-04-09 14:51:18 +00:00
/* DEPRECATED AS OF FIREFOX 75 */
2019-08-11 12:34:25 +00:00
/* Constrains urlbar popup to urlbar width */
2019-08-11 14:30:19 +00:00
/* Firefox 70+ */
2019-08-11 12:34:25 +00:00
2019-09-15 09:48:36 +00:00
#urlbar-container{
transform: translateY(0);
position: relative;
z-index: 10;
padding-block: 3px !important;
2019-09-15 09:48:36 +00:00
padding-inline: 0px !important;
margin-inline: 5px !important;
}
2019-08-11 12:34:25 +00:00
#nav-bar-customization-target{ overflow: visible !important }
2019-09-15 09:48:36 +00:00
#urlbar-results{ max-width: 100% !important; }
.urlbarView{
top: calc(100% - 5px) !important;
width: 100%;
border-width: 0 1px 1px 1px !important;;
border-style: solid;
border-color: inherit !important;
}
:root[uidensity="compact"] .urlbarView { margin-top: 2px }
:root[uidensity="touch"] .urlbarView { margin-top: 1px }
#urlbar[open]{ border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; }
.urlbarView-row{ padding: 6px 0px !important; }