2020-07-31 14:11:26 +08:00
|
|
|
/* Header bar's URL bar */
|
|
|
|
|
|
|
|
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
|
|
|
|
|
|
|
#urlbar {
|
2021-06-03 15:25:34 +08:00
|
|
|
--urlbar-height: 32px !important;
|
|
|
|
--urlbar-container-height: 32px !important;
|
|
|
|
--urlbar-toolbar-height: 32px !important;
|
|
|
|
--urlbar-inner-padding: 0 !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Center the URL bar */
|
|
|
|
toolbarspring {
|
|
|
|
max-width: 10000px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* URL bar */
|
|
|
|
#urlbar {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
#urlbar-background {
|
|
|
|
box-shadow: none !important;
|
|
|
|
border: 0 !important;
|
|
|
|
background: transparent !important;
|
|
|
|
border-radius: 8px !important;
|
2023-05-25 00:47:54 +08:00
|
|
|
padding: 0 !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
|
|
|
|
2021-06-03 14:15:17 +08:00
|
|
|
#urlbar:-moz-window-inactive {
|
|
|
|
border-color: var(--gnome-inactive-headerbar-background) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar #urlbar-input-container {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
#urlbar[breakout][breakout-extend] {
|
|
|
|
left: 0 !important;
|
|
|
|
top: 0 !important;
|
|
|
|
width: 100% !important;
|
|
|
|
z-index: 5 !important;
|
2023-05-25 00:47:54 +08:00
|
|
|
padding: 0 !important;
|
2023-06-15 09:46:38 +08:00
|
|
|
border-radius: 8px !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
#urlbar[breakout][breakout-extend][open] {
|
|
|
|
height: auto !important;
|
|
|
|
max-height: unset !important;
|
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
#urlbar[breakout][breakout-extend] #urlbar-input-container {
|
|
|
|
height: 32px !important;
|
|
|
|
max-height: 32px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
2023-02-04 20:49:12 +08:00
|
|
|
#urlbar-input {
|
|
|
|
text-align: center !important;
|
2023-02-14 17:28:15 +08:00
|
|
|
padding: 0 28px 0 0 !important;
|
2023-02-04 20:49:12 +08:00
|
|
|
}
|
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
/* URL bar results */
|
|
|
|
.urlbarView {
|
2023-06-15 09:46:38 +08:00
|
|
|
background: var(--gnome-popover-background) !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
color: var(--gnome-toolbar-color) !important;
|
2023-06-15 09:46:38 +08:00
|
|
|
margin: 6px 0 0 0 !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
width: 100% !important;
|
2023-06-15 09:46:38 +08:00
|
|
|
position: absolute !important;
|
|
|
|
box-shadow: var(--gnome-urlbar-box-shadow) !important;
|
|
|
|
border-radius: 12px !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.urlbarView {
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
|
|
}
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.urlbarView-body-outer {
|
|
|
|
--item-padding-start: 0 !important;
|
|
|
|
--item-padding-end: 0 !important;
|
|
|
|
max-height: 40vh !important;
|
|
|
|
overflow-x: auto;
|
2023-06-15 09:46:38 +08:00
|
|
|
padding: 0 6px !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.urlbarView-body-inner {
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.urlbarView-row-inner, .urlbarView-no-wrap {
|
|
|
|
align-items: center !important;
|
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
.urlbarView-row-inner {
|
2021-06-03 14:15:17 +08:00
|
|
|
padding-block: 5px !important;
|
|
|
|
border-radius: 5px !important;
|
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2021-06-03 14:15:17 +08:00
|
|
|
.urlbarView-action {
|
|
|
|
background: transparent !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
/* Search engines buttons */
|
|
|
|
.search-one-offs {
|
2021-06-03 14:15:17 +08:00
|
|
|
margin: 0 0 2px !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
padding: 8px !important;
|
2021-06-03 14:15:17 +08:00
|
|
|
background: var(--gnome-popover-background) !important;
|
2023-06-15 09:46:38 +08:00
|
|
|
border-top: 1px solid var(--gnome-toolbar-border-color) !important;
|
2020-12-23 15:19:33 +08:00
|
|
|
border-radius: 0 0 8px 8px !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.searchbar-engine-one-off-item {
|
|
|
|
--toolbarbutton-active-background: transparent !important;
|
|
|
|
--toolbarbutton-hover-background: transparent !important;
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
background: var(--gnome-button-background) !important;
|
|
|
|
box-shadow: var(--gnome-button-box-shadow) !important;
|
|
|
|
border: 1px solid var(--gnome-button-border-color) !important;
|
|
|
|
border-left-width: 0 !important;
|
|
|
|
border-bottom-color: var(--gnome-button-border-accent-color) !important;
|
|
|
|
padding: 0 2px !important;
|
|
|
|
min-height: 34px !important;
|
|
|
|
min-width: 34px !important;
|
|
|
|
margin: 0 !important;
|
2022-01-25 22:42:24 +08:00
|
|
|
border-radius: 0 !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
.searchbar-engine-one-off-item:hover, .searchbar-engine-one-off-item[selected] {
|
|
|
|
background: var(--gnome-button-hover-background) !important;
|
|
|
|
color: unset !important;
|
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
.searchbar-engine-one-off-item:first-child {
|
2021-11-03 16:57:31 +08:00
|
|
|
border-radius: 5px 0 0 5px !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
border-left-width: 1px !important;
|
|
|
|
}
|
2021-11-03 16:57:31 +08:00
|
|
|
.searchbar-engine-one-off-item.last-engine, .searchbar-engine-one-off-item:not(.search-setting-button):last-child {
|
|
|
|
border-radius: 0 5px 5px 0 !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
}
|
|
|
|
|
2021-11-03 16:57:31 +08:00
|
|
|
#urlbar-anon-search-settings-compact,
|
|
|
|
.search-setting-button {
|
2020-07-31 14:11:26 +08:00
|
|
|
border-left-width: 1px !important;
|
|
|
|
border-bottom: 1px solid var(--gnome-button-border-accent-color) !important;
|
2021-11-03 16:57:31 +08:00
|
|
|
border-radius: 5px !important;
|
2020-07-31 14:11:26 +08:00
|
|
|
margin-left: 6px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* URL bar and Search bar */
|
|
|
|
#urlbar[focused] .urlbar-textbox-container {
|
|
|
|
margin: -1px !important;
|
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
#searchbar > .searchbar-textbox[focused] .searchbar-search-button {
|
|
|
|
margin-left: -1px !important;
|
|
|
|
}
|
2023-06-15 09:46:38 +08:00
|
|
|
|
2020-07-31 14:11:26 +08:00
|
|
|
#searchbar > .searchbar-textbox[focused] .search-go-button {
|
|
|
|
margin-right: -1px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* URL bar and Search bar's icons */
|
|
|
|
.urlbar-icon-wrapper:hover,
|
|
|
|
.urlbar-icon-wrapper[open],
|
|
|
|
.urlbar-icon:hover:active,
|
|
|
|
.urlbar-icon-wrapper:hover:active,
|
|
|
|
.searchbar-search-button:hover .searchbar-search-icon,
|
|
|
|
.searchbar-search-button[open] .searchbar-search-icon,
|
|
|
|
.searchbar-search-button:hover:active .searchbar-search-icon {
|
|
|
|
background-color: transparent !important;
|
|
|
|
fill-opacity: 1 !important;
|
|
|
|
}
|
2021-04-28 19:20:21 +08:00
|
|
|
|
2021-06-05 21:10:15 +08:00
|
|
|
#identity-box {
|
|
|
|
margin: 3px 2px !important;
|
|
|
|
border-radius: 5px !important;
|
|
|
|
}
|
|
|
|
|
2023-06-12 02:18:15 +08:00
|
|
|
#notification-popup-box {
|
|
|
|
height: 26px !important;
|
2023-06-13 01:08:37 +08:00
|
|
|
width: 28px !important;
|
|
|
|
padding: 5px !important;
|
2023-06-12 02:18:15 +08:00
|
|
|
border-radius: 5px !important;
|
|
|
|
}
|
|
|
|
|
2023-06-13 01:08:37 +08:00
|
|
|
.notification-anchor-icon {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
2021-10-11 00:52:35 +08:00
|
|
|
.urlbar-page-action, #urlbar-go-button, .search-go-button,
|
2021-06-05 21:10:15 +08:00
|
|
|
#tracking-protection-icon-container {
|
2023-01-13 22:25:24 +08:00
|
|
|
width: 28px !important;
|
|
|
|
height: 26px !important;
|
2021-06-05 21:10:15 +08:00
|
|
|
margin: 3px 0 !important;
|
2023-06-12 11:28:13 +08:00
|
|
|
padding: 6px !important;
|
2021-10-11 00:52:35 +08:00
|
|
|
border-radius: 5px !important;
|
2021-06-05 21:10:15 +08:00
|
|
|
}
|
|
|
|
|
2023-06-12 11:28:13 +08:00
|
|
|
#star-button-box.urlbar-page-action {
|
|
|
|
padding: 5px 6px !important;
|
|
|
|
}
|
|
|
|
|
2021-06-05 21:10:15 +08:00
|
|
|
#identity-box:hover {
|
|
|
|
background: var(--gnome-headerbar-button-hover-background) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box:active {
|
|
|
|
background: var(--gnome-headerbar-button-active-background) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.identity-box-button {
|
|
|
|
border-radius: 5px !important;
|
|
|
|
background: none !important;
|
|
|
|
}
|
|
|
|
|
2021-06-03 14:15:17 +08:00
|
|
|
/* Search mode indicator */
|
|
|
|
#urlbar-search-mode-indicator,
|
|
|
|
#urlbar-label-box {
|
2021-06-20 20:37:07 +08:00
|
|
|
background: var(--gnome-headerbar-button-hover-background) !important;
|
|
|
|
border: none !important;
|
|
|
|
border-radius: 5px !important;
|
2021-06-03 14:15:17 +08:00
|
|
|
outline: 0 !important;
|
2021-06-20 20:37:07 +08:00
|
|
|
margin-top: 3px !important;
|
|
|
|
margin-bottom: 3px !important;
|
2021-06-03 14:15:17 +08:00
|
|
|
}
|
|
|
|
#urlbar-search-mode-indicator-title {
|
2021-06-20 20:37:07 +08:00
|
|
|
padding-inline: 4px !important;;
|
2021-06-03 14:15:17 +08:00
|
|
|
}
|
|
|
|
#urlbar-search-mode-indicator-close {
|
2021-06-20 20:37:07 +08:00
|
|
|
background-size: 12px 12px !important;
|
|
|
|
border-radius: 3px !important;
|
|
|
|
opacity: 0.8 !important;
|
|
|
|
fill: var(--gnome-toolbar-color) !important;
|
2021-06-03 14:15:17 +08:00
|
|
|
}
|