2021-08-27 20:22:44 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/urlbar_popup_full_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:48:41 +00:00
|
|
|
/* Make urlbar popup appear full size like it did before urlbar re-design */
|
2019-10-20 19:57:48 +00:00
|
|
|
|
2021-08-26 07:01:45 +00:00
|
|
|
/* Temporary dummy variables, can probably be removed when Fx92 releases */
|
|
|
|
:root{
|
|
|
|
--toolbar-field-background-color: var(--toolbar-field-non-lwt-bgcolor);
|
|
|
|
--toolbar-field-focus-background-color: var(--lwt-toolbar-field-focus,Field);
|
|
|
|
}
|
|
|
|
:root:-moz-lwtheme{
|
|
|
|
--toolbar-field-background-color: var(--lwt-toolbar-field-background-color);
|
|
|
|
}
|
|
|
|
|
2020-09-21 14:34:11 +00:00
|
|
|
.urlbarView-row-inner{
|
|
|
|
/* This sets how far the dropdown-items are from window edge */
|
|
|
|
padding-inline-start: 6px !important;
|
2021-08-26 07:01:45 +00:00
|
|
|
}
|
2020-09-21 14:34:11 +00:00
|
|
|
|
2019-10-20 19:57:48 +00:00
|
|
|
#urlbar-container,
|
|
|
|
#urlbar{
|
|
|
|
position: static !important;
|
2023-03-11 10:26:07 +00:00
|
|
|
display: flex !important;
|
2019-10-20 19:57:48 +00:00
|
|
|
}
|
2020-04-09 14:48:41 +00:00
|
|
|
#urlbar{
|
2019-10-20 19:57:48 +00:00
|
|
|
height: auto !important;
|
|
|
|
width: auto !important;
|
2021-08-26 06:24:21 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var(--toolbar-field-border-color, hsla(240,5%,5%,.25));
|
2021-08-26 07:01:45 +00:00
|
|
|
background-color: var(--toolbar-field-background-color, hsla(0,0%,100%,.8));
|
2019-10-20 19:57:48 +00:00
|
|
|
border-radius: var(--toolbarbutton-border-radius);
|
2020-09-14 08:51:03 +00:00
|
|
|
--uc-urlbar-min-width: none; /* navbar_tabs_oneliner.css compatibility */
|
2019-10-20 19:57:48 +00:00
|
|
|
}
|
|
|
|
|
2023-03-11 10:26:07 +00:00
|
|
|
#urlbar,
|
|
|
|
#urlbar-background,
|
|
|
|
#urlbar-input-container,
|
|
|
|
.urlbarView{
|
|
|
|
flex-grow: 1; /* Fx <112 compatibility */
|
|
|
|
}
|
|
|
|
|
2021-08-26 07:01:45 +00:00
|
|
|
#urlbar[focused]{ box-shadow: inset 0 0 0 1px var(--toolbar-field-focus-border-color, highlight); }
|
2019-10-20 19:57:48 +00:00
|
|
|
|
2020-04-09 14:48:41 +00:00
|
|
|
.urlbarView{
|
2020-06-03 03:02:43 +00:00
|
|
|
position: absolute !important;
|
2019-10-20 19:57:48 +00:00
|
|
|
margin: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
width: 100vw !important;
|
|
|
|
border-width: 1px 0;
|
2020-04-07 10:00:29 +00:00
|
|
|
top: var(--urlbar-toolbar-height);
|
2021-08-26 07:01:45 +00:00
|
|
|
background-color: var(--toolbar-field-focus-background-color, inherit);
|
2019-10-20 19:57:48 +00:00
|
|
|
z-index: 4;
|
|
|
|
box-shadow: 0 1px 4px rgba(0,0,0,.05);
|
|
|
|
}
|
|
|
|
|
2020-04-09 14:48:41 +00:00
|
|
|
#urlbar > #urlbar-input-container{ padding: 0px !important; width: auto !important; height: auto !important; }
|
|
|
|
#urlbar > #urlbar-background{ display: none !important; }
|
2020-04-07 10:00:29 +00:00
|
|
|
|
|
|
|
/* This may seem pretty weird, but it gets around an issue where the height of urlbar may suddenly change when one starts typing into it */
|
|
|
|
/* If you are otherwise modifying the urlbar height then you might need to modify the height of this too */
|
2023-03-11 10:26:07 +00:00
|
|
|
#urlbar > #urlbar-input-container::before{ content: ""; display: flex; height: 24px; }
|