2022-03-16 02:16:47 +00:00
|
|
|
/*
|
|
|
|
Extension: Superbox Removal (and compaction)
|
|
|
|
Description: This removes the superbox and fixes some padding around the urlbar.
|
2022-02-24 00:59:37 +00:00
|
|
|
Repository URL: https://github.com/drannex42/FirefoxSidebar
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* --- Prevent enlargement */
|
2024-05-25 06:24:45 +00:00
|
|
|
/*#urlbar[breakout-extend] {
|
2022-03-16 02:16:47 +00:00
|
|
|
top: calc(
|
|
|
|
(var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
|
|
|
|
) !important;
|
|
|
|
left: 0 !important;
|
|
|
|
width: 100% !important;
|
2022-02-24 00:59:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[breakout-extend] #urlbar-input-container {
|
2022-03-16 02:16:47 +00:00
|
|
|
height: var(--urlbar-height) !important;
|
2024-05-25 06:24:45 +00:00
|
|
|
/* padding: 0px !important; *//*
|
2022-03-16 02:16:47 +00:00
|
|
|
padding-block: 0px !important;
|
|
|
|
padding-inline: 0px !important;
|
2024-05-25 06:24:45 +00:00
|
|
|
}*/
|
2022-02-24 00:59:37 +00:00
|
|
|
.urlbarView-row {
|
2022-03-16 02:16:47 +00:00
|
|
|
padding: 0px 2px 0px 2px;
|
2022-02-24 00:59:37 +00:00
|
|
|
}
|
|
|
|
/* END Prevent enlargement --- */
|
|
|
|
|
|
|
|
/*/* --- Reduce row paddings to make them more compact */
|
|
|
|
.urlbarView-row {
|
2022-03-16 02:16:47 +00:00
|
|
|
padding: 2px 0px !important;
|
|
|
|
line-height: 1.2em !important;
|
|
|
|
margin: -1px;
|
|
|
|
margin-bottom: 0px;
|
2022-02-24 00:59:37 +00:00
|
|
|
}
|
|
|
|
.urlbarView-row-inner {
|
2022-03-16 02:16:47 +00:00
|
|
|
padding-bottom: 6px !important;
|
2022-02-24 00:59:37 +00:00
|
|
|
}
|
|
|
|
.urlbarView {
|
2022-03-16 02:16:47 +00:00
|
|
|
margin: 0px !important;
|
|
|
|
width: 100% !important;
|
2022-02-24 00:59:37 +00:00
|
|
|
}
|
|
|
|
/* END Reduce row paddings to make them more compact --- */
|
|
|
|
|
|
|
|
/* Disable Urlbar Animation */
|
2022-03-16 02:16:47 +00:00
|
|
|
#urlbar[breakout][breakout-extend][breakout-extend-animate]
|
|
|
|
> #urlbar-background {
|
|
|
|
animation-name: none !important;
|
|
|
|
animation: none !important;
|
2022-02-24 00:59:37 +00:00
|
|
|
}
|
2022-03-16 02:16:47 +00:00
|
|
|
/* END Disable Urlbar Animation */
|
2022-02-24 00:59:37 +00:00
|
|
|
|
|
|
|
/* --- More compact "Search with Google" rows */
|
|
|
|
.urlbarView-row[dynamicType="onboardTabToSearch"] > .urlbarView-row-inner {
|
2022-03-16 02:16:47 +00:00
|
|
|
min-height: auto !important;
|
|
|
|
width: auto !important;
|
2022-02-24 00:59:37 +00:00
|
|
|
}
|
2022-03-16 02:16:47 +00:00
|
|
|
.urlbarView-row[dynamicType="onboardTabToSearch"]
|
|
|
|
> .urlbarView-row-inner
|
|
|
|
> .urlbarView-no-wrap
|
|
|
|
> .urlbarView-favicon {
|
|
|
|
margin-bottom: -1px;
|
2022-02-24 00:59:37 +00:00
|
|
|
}
|
|
|
|
/* END More compact "Search with Google" rows --- */
|
|
|
|
|
|
|
|
/* Remove active border on the addressbar when in focus */
|
2022-03-16 02:16:47 +00:00
|
|
|
#nav-bar {
|
|
|
|
--toolbar-field-focus-border-color: #ccc;
|
|
|
|
}
|
2022-02-24 00:59:37 +00:00
|
|
|
|
|
|
|
/* Remove box shadow on address bar */
|
2022-03-16 02:16:47 +00:00
|
|
|
#urlbar-background,
|
|
|
|
#searchbar {
|
2022-02-24 00:59:37 +00:00
|
|
|
box-shadow: none !important;
|
|
|
|
}
|