Dumby
Да вроде ничего не добавлял. А как тогда сделать, чтоб в главном меню нажималось?
Если имеются в виду виджеты с панелькой, заказанные WebExtensions,
то можно попробовать поменять пару строк
Ага, спасибо, так заработало.
Отсутствует
А как тогда сделать, чтоб в главном меню нажималось?
Ну, что-нибудь поперёк концепции
/* if (!node?.matches("toolbarbutton, image.urlbar-icon")) return; if (node.getAttribute("type") === "menu") */ if (!node.matches("toolbarbutton, image.urlbar-icon, #main-menubar > menu")) return; if (node.matches("[type=menu], menu")) /* document.querySelector(":is(menupopup,panel)[panelopen='true'], toolbarbutton[open='true'] > menupopup")?.hidePopup(); */ document.querySelector(":is(menupopup,panel)[panelopen=true], :is(toolbarbutton, #main-menubar > menu)[open=true] > menupopup")?.hidePopup();
Отредактировано Dumby (25-12-2022 12:21:47)
Отсутствует
Подскажите, что поправить в этом коде чтоб в 108 был цветной адрес и поиск как в 91.
/*----цветной адрес---*/ #urlbar:not([focused]) html|input#urlbar-input, #searchbar:not(:focus-within) html|input.searchbar-textbox, textbox:is(#urlbar,.searchbar-textbox):not([focused]) html|input.textbox-input { background-color: transparent !important; color: Aqua !important; }
91
http://i121.fastpic.org/big/2022/1227/a3/1326951084a75153ad21596b39d22ca3.jpg
108
Отредактировано rubel (27-12-2022 10:28:10)
Отсутствует
rubel
Не знаю, как в Вашем коде поменять. Сейчас посмотрел, цвет текста так задаётся
Отредактировано xrun1 (27-12-2022 12:40:49)
Отсутствует
rubel
У меня так:
#urlbar:not([focused]) html|input#urlbar-input, #searchbar:not(:focus-within) html|input.searchbar-textbox { background-color: unset !important; color: Aqua !important; }
Win7
Отсутствует
kokoss
Спасибо этот код работает. Правда циферки в адресной строке от кнопки memory_used_in_urlbar.js не меняют цвет, остаются белыми
на черном фоне.
В FF91 и циферки меняли цвет.
UPD
Покрасил я их отдельно:
#ucf-mem-indicator-label {
color: Aqua !important;
}
Отредактировано rubel (27-12-2022 18:20:09)
Отсутствует
rubel
На чистом профиле работает. Ну, разобрались - и ладно.
Кстати, с 108-й обновился memoryMinimizationButton.uc.js. Я в теме по UCF выкладывал, что там нужно лишнее закомментарить.
Отсутствует
Друзья, подскажите, возможно ли убрать эту, раздражающую глаз пунктирную, рамку при выбранной папке?
Попробуйте так:
Win7
Отсутствует
6e73epo
Спасибо, поэксперементирую. Расширение FoxyTab.
upd: если кому надо, сделал себе так, для всех бейджей:
:root[uidensity=compact] .toolbarbutton-badge { margin-inline-start: 0px !important; margin-inline-end: 0px !important; padding-left: 0px !important; padding-right: 0px !important; min-width: auto !important; max-width: auto !important; text-align: center !important; }
Отредактировано Northtech (18-01-2023 17:48:43)
Отсутствует
Northtech, у меня кроме цифр в бейджике ничего больше не появляется, поэтому результата при увеличении макс. ширины внутреннего размера не могу увидеть. Можно не изменять ширину, а попробовать отключить скрытие переполнения содержимого -> overflow: visible !important;
#foxytab_eros_man-browser-action .toolbarbutton-badge { max-width: 30px !important; /* default: 20px */ }
Отредактировано 6e73epo (01-01-2023 15:54:50)
Отсутствует
Отсутствует
Скажите как опустить вкладки под адресную строку или ещё ниже, под панель закладок. Мозила 108.1., чистая, только что установленная. Пару страниц назад был тот же вопрос и ответ на него, но по ссылкам уже ничего нет. Заранее спасибо.
Отредактировано Путник (03-01-2023 19:50:31)
Отсутствует
Скажите как опустить вкладки под адресную строку
https://github.com/Aris-t2/CustomCSSfor … oolbar.css или https://github.com/Aris-t2/CustomCSSfor … ontent.css
Отредактировано kokoss (05-01-2023 19:08:56)
Win7
Отсутствует
Путник пишетСкажите как опустить вкладки под адресную строку
https://github.com/Aris-t2/CustomCSSfor … oolbar.css + https://github.com/Aris-t2/CustomCSSfor … ontent.css
Насколько я понял там надо скачать весь архив. Закинуть из папки fx91-100 содержимое в созданную папку Chrome. А из тех двух ссылок вставить содержимое в userChrome.css и userContent.css соответственно? Попробовал, никаких изменений. Как конкретно насторить? Сидел на Mozilla Firefox 55.
Отсутствует
Насколько я понял там надо скачать весь архив.
Необязательно, можно закинуть только эти коды в файл userChrome.css, но можете установить и весь комплект стилей -> https://github.com/Aris-t2/CustomCSSforFx/releases -> как установить описано здесь -> https://github.com/Aris-t2/CustomCSSforFx
Win7
Отсутствует
С новым обновлением в очередной раз слетают мои настройки. За много лет уже не помню что там и куда добавлял, но основной смысл в уменьшении высоты панелей и перемещение вкладок под закладки. Если кто-то разглядит что сейчас не работает и ломает отображение всего, то вот мой код:
#TabsToolbar .titlebar-buttonbox-container,
#navigator-toolbox::after,
#TabsToolbar::after,
#TabsToolbar .titlebar-spacer:is([type="pre-tabs"],[type="post-tabs"]) {
display: none !important;
}
#scrollbutton-up, #scrollbutton-down {
border-block: none !important;
border-end-end-radius: 0 !important;
border-end-start-radius: 0 !important;
}
*|*:root[inFullscreen] #window-controls {
position: absolute !important;
display: flex !important;
align-items: start !important;
top: 0 !important;
left: auto !important;
right: 0 !important;
margin: 0 !important;
}
*|*:root[inFullscreen] #window-controls:-moz-locale-dir(rtl) {
left: 0 !important;
right: auto !important;
}
*|*:root[inFullscreen] #navigator-toolbox > #nav-bar {
padding-inline-end: var(--v-titlebar-buttonbox-container-width, 108px) !important;
}
*|*:root:not([inFullscreen])[v_menubar_autohide="true"] #navigator-toolbox > #nav-bar {
margin-top: 0 !important;
padding-inline-end: var(--v-titlebar-buttonbox-container-width, 108px) !important;
}
*|*:root:not([inFullscreen])[v_menubar_autohide="true"] #toolbar-menubar {
pointer-events: none !important;
}
*|*:root:not([inFullscreen])[v_menubar_autohide="true"] #toolbar-menubar .titlebar-buttonbox-container {
pointer-events: auto !important;
}
@media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) {
*|*:root[sizemode="normal"] #TabsToolbar {
border-inline: 1px solid hsla(240,5%,5%,0.3) !important;
background-clip: padding-box !important;
}
@media (-moz-windows-classic: 0) {
*|*:root:not([inFullscreen])[v_menubar_autohide="true"][tabsintitlebar][sizemode="normal"] #navigator-toolbox > #nav-bar {
margin-top: 1px !important;
}
*|*:root:not([inFullscreen])[sizemode="normal"] #toolbar-menubar:not([autohide="true"]) > #menubar-items {
margin-top: 1px !important;
}
}
}
@media (-moz-windows-classic) {
*|*:root:not([inFullscreen])[tabsintitlebar][sizemode="normal"] #navigator-toolbox::before {
content: "" !important;
display: -moz-box !important;
height: 4px !important;
-moz-box-ordinal-group: 0 !important;
visibility: visible !important;
}
*|*:root:not([inFullscreen])[tabsintitlebar][sizemode="normal"]:-moz-lwtheme #navigator-toolbox::before {
background-image: linear-gradient(to bottom, ThreeDLightShadow 0, ThreeDLightShadow 1px, ThreeDHighlight 1px, ThreeDHighlight 2px, ActiveBorder 2px, ActiveBorder 4px, transparent 4px) !important;
}
*|*:root:not([inFullscreen])[tabsintitlebar][sizemode="normal"] #toolbar-menubar {
margin-top: 4px !important;
}
}
*|*:root[data-l10n-id="browser-main-window-mac"] {
--v-toolbar-menubar-height: 0px !important;
--v-toolbar-menubar-height-content: none !important;
}
*|*:root:not([inFullscreen])[tabsintitlebar][data-l10n-id="browser-main-window-mac"] #nav-bar {
margin-inline-start: calc(var(--toolbarbutton-outer-padding, 2px) + var(--v-titlebar-button-horizont-padding, 6px) * 6 + var(--v-titlebar-button-image-width, 12px) * 3) !important;
}
*|*:root:not([inFullscreen])[tabsintitlebar][data-l10n-id="browser-main-window-mac"] #TabsToolbar .titlebar-buttonbox-container {
visibility: visible !important;
display: -moz-box !important;
position: absolute !important;
display: flex !important;
top: 0 !important;
}
}
@-moz-document url("chrome://browser/content/browser.xhtml") {
:root[tabsintitlebar]:not([customizing],[inFullscreen],[chromehidden~="toolbar"]) #tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[selected="true"]::before {
--v-titlebar-top: 4px; /* отступ сверху */
inset-inline-start: 12px !important; /* отступ в начале */
inset-inline-end: 110px !important; /* отступ в конце */
text-align: start !important; /* выравнивание текста */
font-family: inherit !important; /* имя шрифта */
font-size: inherit !important; /* размер шрифта */
font-weight: inherit !important; /* начертание шрифта */
font-style: inherit !important; /* стиль шрифта */
position: fixed !important;
content: attr(label) !important;
display: block !important;
top: var(--v-titlebar-top) !important;
white-space: nowrap !important;
line-height: 1.3em !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
pointer-events: none !important;
color: -moz-DialogText !important;
text-shadow: none !important;
opacity: 1 !important;
z-index: 3;
}
:root[tabsintitlebar]:-moz-lwtheme:not([customizing],[inFullscreen],[chromehidden~="toolbar"]) #tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[selected="true"]::before {
color: var(--lwt-text-color, inherit) !important;
text-shadow: inherit !important;
}
@media (-moz-windows-compositor), (-moz-os-version: windows-win7) and (-moz-windows-default-theme) {
:root[tabsintitlebar][sizemode="maximized"]:not([customizing],[inFullscreen],[chromehidden~="toolbar"]) #tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[selected="true"]::before {
top: calc(var(--v-titlebar-top) + 8px) !important;
}
}
@media (-moz-windows-classic) {
:root[tabsintitlebar]:not([customizing],[inFullscreen],[chromehidden~="toolbar"]) #tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[selected="true"]::before {
top: calc(var(--v-titlebar-top) + 4px) !important;
}
}
}
:root:not([uidensity="touch"]) {
--tab-min-height: 24px !important;
}
/* non_active_tab_shape */
.tabbrowser-tab:not(:hover) > .tab-stack > .tab-background:not([selected=true], [multiselected]) {
background-color: color-mix(in srgb, currentColor 11%, transparent);
}
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true], [multiselected]) {
background-color: color-mix(in srgb, currentColor 17%, transparent) !important;
}
.tab-icon-overlay[muted]:not([crashed]),
.tab-icon-overlay[soundplaying]:not([crashed]) {
margin-inline-start: 20px !important; /* отступ от левого края вкладки */
margin-inline-end: 2px !important; /* отступ от заголовка вкладки */
padding: 1px !important; /* размер динамика */
}
:root[uidensity="compact"] .tab-icon-stack:not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked]) > :not(.tab-icon-overlay), #tabbrowser-tabs[secondarytext-unsupported] .tab-icon-stack:not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked]) > :not(.tab-icon-overlay), :root:not([uidensity="compact"]) #tabbrowser-tabs:not([secondarytext-unsupported]) .tabbrowser-tab:not(:hover) .tab-icon-overlay:not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked]), :root:not([uidensity="compact"]) #tabbrowser-tabs:not([secondarytext-unsupported]) .tabbrowser-tab:hover .tab-icon-stack:not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked]) > :not(.tab-icon-overlay) {
opacity: 1 !important;
}
#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
height: auto !important;
}
Отсутствует