Полезная информация

Список ответов на каверзные вопросы можно получить в FAQ-разделе форума.

№1402626-04-2024 20:50:14

_zt
Участник
 
Группа: Members
Зарегистрирован: 10-11-2014
Сообщений: 1467
UA: Firefox 127.0

Re: Настройка внешнего вида Firefox в userChrome.css

egorsemenov06 пишет

data:image/svg+xml;charset=utf-8, много ума не надо

Но у вас то не хватило. :) Там не только это добавлено.

Отредактировано _zt (26-04-2024 20:50:32)

Отсутствует

 

№1402726-04-2024 20:59:54

egorsemenov06
Участник
 
Группа: Members
Зарегистрирован: 12-06-2018
Сообщений: 410
UA: Firefox 125.0

Re: Настройка внешнего вида Firefox в userChrome.css

Vitaliy V. пишет
egorsemenov06 пишет

она какаято тусклая

А где используете? Так просто она не заработает через протокол data: нужно регистрировать resource:// как в кнопках в теме UCF
либо включить настройку svg.context-properties.content.enabled = true
Но лучше просто положить файл svg где нибудь в директории например user_chrome_files/custom_styles/svg
и подключить в css

в скрипте Save https://forum.mozilla-russia.org/viewto … 25#p809225 мне лучше через протокол data что б в кнопке.чтоб не искать потом где что лежит

Отредактировано egorsemenov06 (26-04-2024 21:22:52)

Отсутствует

 

№1402826-04-2024 22:20:41

Vitaliy V.
Участник
 
Группа: Members
Зарегистрирован: 19-09-2014
Сообщений: 2108
UA: Firefox 126.0

Re: Настройка внешнего вида Firefox в userChrome.css

egorsemenov06 пишет

в скрипте Save

https://forum.mozilla-russia.org/viewto … 73#p809373

Отредактировано Vitaliy V. (28-04-2024 12:51:05)

Отсутствует

 

№1402926-04-2024 22:30:56

egorsemenov06
Участник
 
Группа: Members
Зарегистрирован: 12-06-2018
Сообщений: 410
UA: Firefox 125.0

Re: Настройка внешнего вида Firefox в userChrome.css

Vitaliy V. пишет
egorsemenov06 пишет

в скрипте Save

Там же не одна иконка, в меню ещё много...
Для панели можно так заменить в Save.js self.image = ...

скрытый текст

Выделить код

Код:

self.image = ((img = `${_id.toLowerCase()}-img`) => {
    Services.io.getProtocolHandler("resource")
    .QueryInterface(Ci.nsIResProtocolHandler)
    .setSubstitution(img, Services.io.newURI("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path style='fill:none;stroke:context-fill  rgb(142, 142, 152);stroke-opacity:context-fill-opacity;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;' d='M3 .6C1.6.6.6 1.6.6 3v10c0 1.4 1 2.4 2.4 2.4h10c1.4 0 2.4-1 2.4-2.4V4.84L11.2.602Zm5.4 5.8h2V1m-2 0v5.4H7L5.6 5V1m-2 14v-2.6l1-1h6.8l1 1V15'/></svg>"));
    return `resource://${img}`;
})();

От души СПАСИБО!!!!!именно ее мне и надо было заменить.

Отсутствует

 

№1403001-05-2024 12:25:53

egorsemenov06
Участник
 
Группа: Members
Зарегистрирован: 12-06-2018
Сообщений: 410
UA: Firefox 125.0

Re: Настройка внешнего вида Firefox в userChrome.css

Vitaliy V. можно-ли оптимизировать эту svg-шку т.е. style='fill:context-fill rgb(142, 142, 152);fill-opacity:context-fill-opacity;' повторяеться 4 раза 

скрытый текст

Выделить код

Код:

<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><rect width='6' height='6' x='1' y='1' rx='1' style='fill:context-fill rgb(142, 142, 152);fill-opacity:context-fill-opacity;'/><path style='fill:context-fill rgb(142, 142, 152);fill-opacity:context-fill-opacity;' d='M14.75 3H13V1.25a.25.25 0 0 0-.25-.25h-1.5a.25.25 0 0 0-.25.25V3H9.25a.25.25 0 0 0-.25.25v1.5a.25.25 0 0 0 .25.25H11v1.75a.25.25 0 0 0 .25.25h1.5a.25.25 0 0 0 .25-.25V5h1.75a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25z'/><path/><rect width='6' height='6' x='1' y='9' rx='1' style='fill:context-fill rgb(142, 142, 152);fill-opacity:context-fill-opacity;'/><rect width='6' height='6' x='9' y='9' rx='1' style='fill:context-fill rgb(142, 142, 152);fill-opacity:context-fill-opacity;'/></svg>

Отредактировано egorsemenov06 (01-05-2024 12:38:18)

Отсутствует

 

№1403101-05-2024 13:54:33

Vitaliy V.
Участник
 
Группа: Members
Зарегистрирован: 19-09-2014
Сообщений: 2108
UA: Firefox 126.0

Re: Настройка внешнего вида Firefox в userChrome.css

egorsemenov06
для групировки можно добавить элемент <g>

скрытый текст

Выделить код

Код:

data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><g style='fill:context-fill rgb(142, 142, 152);fill-opacity:context-fill-opacity'><rect width='6' height='6' x='1' y='1' rx='1'/><path d='M14.75 3H13V1.25a.25.25 0 0 0-.25-.25h-1.5a.25.25 0 0 0-.25.25V3H9.25a.25.25 0 0 0-.25.25v1.5a.25.25 0 0 0 .25.25H11v1.75a.25.25 0 0 0 .25.25h1.5a.25.25 0 0 0 .25-.25V5h1.75a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25'/><rect width='6' height='6' x='1' y='9' rx='1'/><rect width='6' height='6' x='9' y='9' rx='1'/></g></svg>

Отредактировано Vitaliy V. (01-05-2024 13:55:33)

Отсутствует

 

№1403201-05-2024 14:54:01

egorsemenov06
Участник
 
Группа: Members
Зарегистрирован: 12-06-2018
Сообщений: 410
UA: Firefox 125.0

Re: Настройка внешнего вида Firefox в userChrome.css

Vitaliy V. пишет

egorsemenov06
для групировки можно добавить элемент <g>

скрытый текст

Выделить код

Код:

data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><g style='fill:context-fill rgb(142, 142, 152);fill-opacity:context-fill-opacity'><rect width='6' height='6' x='1' y='1' rx='1'/><path d='M14.75 3H13V1.25a.25.25 0 0 0-.25-.25h-1.5a.25.25 0 0 0-.25.25V3H9.25a.25.25 0 0 0-.25.25v1.5a.25.25 0 0 0 .25.25H11v1.75a.25.25 0 0 0 .25.25h1.5a.25.25 0 0 0 .25-.25V5h1.75a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25'/><rect width='6' height='6' x='1' y='9' rx='1'/><rect width='6' height='6' x='9' y='9' rx='1'/></g></svg>

Большущее СПАСИБО!!!!!

Отсутствует

 

№1403303-05-2024 18:05:35

Алексей У.
Участник
 
Группа: Members
Зарегистрирован: 10-04-2021
Сообщений: 162
UA: Firefox 69.0

Re: Настройка внешнего вида Firefox в userChrome.css

Есть два вопроса по настройке внешнего вида Firefox 88 (последняя нормальная рабочая версия на мой взгляд). Во-первых, можно ли с помощью CSS-стилей заменить ВСЕ фиолетовые логотипы на старые, синие? Во-вторых, есть ли возможность вернуть значок "Показать историю" (dropmarker), чтобы выпадающий список открывался при нажатии на него, а не при установке курсора в строку адреса (вроде бы есть какой-то скрипт)? Буду очень благодарен, если кто-нибудь сумеет помочь (поскольку в 69 версии некоторые сайты уже не открываются приходится переходить на более новую).

Отсутствует

 

№1403403-05-2024 18:30:44

_zt
Участник
 
Группа: Members
Зарегистрирован: 10-11-2014
Сообщений: 1467
UA: Firefox 126.0

Re: Настройка внешнего вида Firefox в userChrome.css

Алексей У.
Дропмаркер - https://forum.mozilla-russia.org/viewto … 88#p781188
Но эти скрипты здесь теперь не обсуждаются, вот тема про них. Туда все вопросы, про установку и т.п.

Отсутствует

 

№1403504-05-2024 19:12:42

Алексей У.
Участник
 
Группа: Members
Зарегистрирован: 10-04-2021
Сообщений: 162
UA: Firefox 69.0

Re: Настройка внешнего вида Firefox в userChrome.css

_zt
А что насчет замены логотипов? Там вроде бы нужно как-то файл omni.ja править.

Отсутствует

 

№1403605-05-2024 01:14:12

_zt
Участник
 
Группа: Members
Зарегистрирован: 10-11-2014
Сообщений: 1467
UA: Firefox 126.0

Re: Настройка внешнего вида Firefox в userChrome.css

Алексей У.
Нет такого "ВСЕ", конкретизируйте каждый. Не факт что отвечу по всем. Но здесь есть ребята которые получше меня шарят, может и смогут "ВСЕ".
   
Нет, правку omni я обсуждать не буду. Но совет дам - используйте исключительно последний winrar и не слушайте тупых советов про оптимизацию ja.

Отредактировано _zt (05-05-2024 01:29:27)

Отсутствует

 

№1403705-05-2024 07:39:42

xrun1
Участник
 
Группа: Members
Зарегистрирован: 12-12-2013
Сообщений: 1165
UA: Firefox 125.0

Re: Настройка внешнего вида Firefox в userChrome.css

_zt пишет

Но совет дам

Неправильный и вредный совет. Могу аргументировать в личке, если интересно.

Отсутствует

 

№1403805-05-2024 16:08:24

_zt
Участник
 
Группа: Members
Зарегистрирован: 10-11-2014
Сообщений: 1467
UA: Firefox 126.0

Re: Настройка внешнего вида Firefox в userChrome.css

xrun1
Я уже все проверил. И считаю что я прав.
Личка - нет. Создайте тему, давайте сравним наши результаты, не вдвоем, а коллективно.

Отсутствует

 

№1403906-05-2024 08:20:19

egorsemenov06
Участник
 
Группа: Members
Зарегистрирован: 12-06-2018
Сообщений: 410
UA: Firefox 125.0

Re: Настройка внешнего вида Firefox в userChrome.css

Vitaliy V. подскажите пожалуйста как прописать иконки на эти пункты
https://imageban.ru/show/2024/05/07/72b … a586b2/png

Отредактировано egorsemenov06 (Вчера 08:30:00)

Отсутствует

 

№14040Вчера 14:26:24

Vitaliy V.
Участник
 
Группа: Members
Зарегистрирован: 19-09-2014
Сообщений: 2108
UA: Firefox 126.0

Re: Настройка внешнего вида Firefox в userChrome.css

egorsemenov06
А стиль у вас какой то есть для иконок? У меня тоже отсутствовали иконки там где показано, просто добавил !important к content и заработало, например

скрытый текст

Выделить код

Код:

#BMB_bookmarksShowAllTop::before,
#BMB_bookmarksShowAll::before,
#placesContext_showAllBookmarks::before,
#bookmarksShowAll::before {
    content: "" !important;
    background-image: url("./svg/bookmark-hollow.svg");
}

Отсутствует

 

№14041Вчера 16:40:28

egorsemenov06
Участник
 
Группа: Members
Зарегистрирован: 12-06-2018
Сообщений: 410
UA: Firefox 125.0

Re: Настройка внешнего вида Firefox в userChrome.css

Vitaliy V. пишет

egorsemenov06
А стиль у вас какой то есть для иконок? У меня тоже отсутствовали иконки там где показано, просто добавил !important к content и заработало, например

скрытый текст

Выделить код

Код:

#BMB_bookmarksShowAllTop::before,
#BMB_bookmarksShowAll::before,
#placesContext_showAllBookmarks::before,
#bookmarksShowAll::before {
    content: "" !important;
    background-image: url("./svg/bookmark-hollow.svg");
}

да есть.у меня  не получаеться добавить иконки на Показать,Скрыть панель закладок

скрытый текст

Выделить код

Код:

@-moz-document	url("chrome://browser/content/browser.xhtml"),
		url("chrome://browser/content/places/places.xhtml"),
		url("chrome://browser/content/places/historySidebar.xhtml"),
		url("chrome://browser/content/places/bookmarksSidebar.xhtml"),
		url("chrome://browser/content/syncedtabs/sidebar.xhtml") {
:root {
    --v-menu-icons-margin-start: 0px; /* отступ слева для иконок */
}
menu:not(.menu-iconic)::before, menuitem:not(.menuitem-iconic)::before {
    width: 16px;
    height: 16px;
    margin-inline-start: var(--v-menu-icons-margin-start);
    margin-inline-end: calc(-1 * (var(--v-menu-icons-margin-start) + 16px));
    position: relative;
    background-color: transparent;
    background-position: center;
    background-size: 16px;
    background-repeat: no-repeat;
}

menupopup menuitem:is([type="checkbox"],[type="radio"]):not([checked="true"]) > .menu-iconic-left > .menu-iconic-icon {
    -moz-context-properties: fill, fill-opacity, stroke !important;
    fill: currentColor;
    fill-opacity: var(--v-icons-fill-opacity);
}
.panel-subview-body .subviewbutton > .toolbarbutton-icon {
    -moz-context-properties: fill, fill-opacity, stroke !important;
    fill: currentColor;
    fill-opacity: var(--v-icons-fill-opacity);
    height: 16px;
    width: 16px;
}
#BMB_searchBookmarks::before,
#menu_searchBookmarks::before,
#menu_searchHistory::before {
	content: "" !important;
	background-image: url("../icons/crystal_Find.png");
}
#BMB_viewBookmarksSidebar::before {
	content: "" !important;
	background-image: url("../icons/bookmarksToolbar.png");
}
#BMB_viewBookmarksToolbar menuitem[data-l10n-id="bookmarks-tools-toolbar-visibility-menuitem"]([isVisible="true"])::before {
	content: "" !important;
	background-image: url("../icons/eye-show.svg");
}
#menu_newNavigator::before,
#context-openlink::before,
#context-openframe::before,
#context_openTabInWindow::before,
#placesContext_open\:newwindow::before,
#historyUndoWindowPopup menuitem.restoreallitem::before,
#syncedTabsOpenSelectedInWindow::before {
	content: "";
	background-image: url("../icons/crystal_WindowNew.png");
}
#menu_newPrivateWindow::before,
#context-openlinkprivate::before,
#placesContext_open\:newprivatewindow::before,
#syncedTabsOpenSelectedInPrivateWindow::before {
	content: "";
	background-image: url("../icons/privacy-16.png");
}
#menu_openLocation::before,
#placesContext_open::before,
#context-openlinkincurrent::before,
#syncedTabsOpenSelected::before {
	content: "";
	background-image: url("../icons/link-new-tab-bg.png");
}
#menu_openFile::before {
	content: "";
	background-image: url("../icons/fugue_FileOpen.png");
}
#menu_closeWindow::before,
#orgClose::before {
	content: "";
	background-image: url("../icons/fugue_ClearAll.png");
}
#menu_sendLink::before,
#context-sendimage::before,
#context-sendvideo::before,
#context-sendaudio::before {
	content: "";
	background-image: url("../icons/fugue_Mail.png");
}
#menu_printSetup::before {
	content: "";
	background-image: url("../icons/fugue_PrintPageSetup.png");
}
#menu_printPreview::before {
	content: "";
	background-image: url("../icons/fugue_PrintPreview.png");
}
#menu_print::before,
#context-printframe::before,
#context-print-selection::before {
	content: "";
	background-image: url("../icons/oxygen_Print.png");
}
#menu_importFromAnotherBrowser::before,
#help_importFromAnotherBrowser::before,
#browserImport::before {
	content: "";
	background-image: url("../icons/fugue_Step.png");
}
#goOfflineMenuitem:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/crystal_Offline-darker.png");
}
#menu_FileQuitItem::before,
#orgClose::before {
	content: "";
	background-image: url("../icons/fugue_PowerDown.png");
}
#menu_undo::before,
#orgUndo::before,
#context-undo::before,
#context_undoCloseTab::before,
#toolbar-context-undoCloseTab::before,
#spell-undo-add-to-dictionary::before,
menuitem[cmd="cmd_undo"]::before,
#textbox-contextmenu menuitem[command="cmd_undo"]::before {
	content: "";
	background-image: url("../icons/fugue_Undo.png");
}
menuitem[data-l10n-id="text-action-redo"]::before,
#menu_redo::before,
#orgRedo::before {
	content: "";
	background-image: url("../icons/fugue_Redo.png");
}
#menu_cut::before,
#context-cut::before,
#orgCut::before,
#placesContext_cut::before,
menuitem[cmd="cmd_cut"]::before,
#textbox-contextmenu menuitem[command="cmd_cut"]::before {
	content: "";
	background-image: url("../icons/crystal_Cut.png");
}
#menu_copy::before,
#context-copy::before,
#context-copyimage-contents::before,
#orgCopy::before,
#placesContext_copy::before,
menuitem[cmd="cmd_copy"]::before,
#textbox-contextmenu menuitem[command="cmd_copy"]::before {
	content: "";
	background-image: url("../icons/crystal_Copy.png");
}
#context-copyaudiourl::before,
#context-copyemail::before,
#context-copyimage::before,
#context-copylink::before,
#context-copyvideourl::before,
#downloadsContextMenu menuitem[command="cmd_copy"]::before,
menuitem[command="downloadsCmd_copyLocation"]::before,
#syncedTabsCopySelected::before {
	content: "";
	background-image: url("../icons/crystal_CopyLink.png");
}
#menu_paste::before,
#context-paste::before,
#orgPaste::before,
#placesContext_paste::before,
#placesContext_paste_group::before,
menuitem[cmd="cmd_paste"]::before,
#textbox-contextmenu menuitem[command="cmd_paste"]::before {
	content: "";
	background-image: url("../icons/fugue_Paste.png");
}
#paste-and-go::before,
menuitem.searchbar-paste-and-search::before {
	content: "";
	background-image: url("../icons/fugue_PasteAndGo.png");
}
#menu_delete::before,
#context-delete::before,
#orgDelete::before,
#placesContext_delete::before,
#placesContext_delete_history::before,
#placesContext_deleteBookmark::before,
#placesContext_deleteFolder::before,
menuitem[cmd="cmd_delete"]::before,
#textbox-contextmenu menuitem[command="cmd_delete"]::before {
	content: "";
	background-image: url("../icons/fugue_Delete.png");
}
#menu_selectAll::before,
#menu_showAllTabs::before,
#menu_bookmarkAllTabs::before,
#orgSelectAll::before,
#context-selectall::before,
#context_selectAllTabs::before,
#toolbar-context-selectAllTabs::before,
menuitem[cmd="cmd_selectAll"]::before,
#textbox-contextmenu menuitem[command="cmd_selectAll"]::before {
	content: "";
	background-image: url("../icons/fugue_SelectAll.png");
}
#menu_find::before,
#context-searchselect::before,
#context-searchselect-private::before {
	content: "";
	background-image: url("../icons/silk_Find.png");
}
#menu_findAgain::before {
	content: "";
	background-image: url("../icons/fugue_FindAgain.png");
}
menu#viewToolbarsMenu::before {
	content: "";
	background-image: url("../icons/application-XP-light.png");
}
#toggle_toolbar-menubar:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/bookmarksMenu.png");
}
#toggle_PersonalToolbar:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/bookmarksToolbar.png");
}
#viewSidebarMenuMenu::before {
	content: "";
	background-image: url("../icons/fugue_Sidebar.png");
}
#viewFullZoomMenu::before {
	content: "";
	background-image: url("../icons/fugue_Zoom.png");
}
#menu_zoomEnlarge::before {
	content: "";
	background-image: url("../icons/fugue_ZoomPlus.png");
}
#menu_zoomReduce::before {
	content: "";
	background-image: url("../icons/fugue_ZoomMinus.png");
}
#menu_zoomReset::before {
	content: "";
	background-image: url("../icons/fugue_ZoomReset.png");
}
#toggle_zoom:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/silk_Font.png");
}
#pageStyleMenu::before {
	content: "";
	background-image: url("../icons/fugue_PageStyle.png");
}
#charsetMenu::before {
	content: "";
	background-image: url("../icons/fugue_Encoding.png");
}
#context-video-fullscreen::before,
#fullScreenItem:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/fugue_Fullscreen.png");
}
#context-leave-dom-fullscreen::before,
#autohide-context menuitem[data-l10n-id="full-screen-exit"]::before {
	content: "";
	background-image: url("../icons/fugue_FullscreenExit.png");
}
#menu_readerModeItem::before {
	content: "";
	background-image: url("../icons/fugue_ReaderView.png");
}
#documentDirection-swap::before,
#textfieldDirection-swap::before,
#context-bidi-text-direction-toggle::before,
#context-bidi-page-direction-toggle::before {
	content: "";
	background-image: url("../icons/fugue_Bidi.png");
}
#menu_showAllHistory::before,
#menu_historySidebar:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/history-XP.png");
}
#sanitizeItem::before {
	content: "";
	background-image: url("../icons/tango_Sweep.png");
}
#placesContext_deleteHost::before,
menuitem.downloadRemoveFromHistoryMenuItem::before {
	content: "";
	background-image: url("../icons/tango_Sweep.png");
}
menuitem[command="downloadsCmd_clearList"]::before,
menuitem[command="downloadsCmd_clearDownloads"]::before,
menuitem.searchbar-clear-history::before {
	content: "";
	background-image: url("../icons/tango_Sweep.png");
}
#historyRestoreLastSession::before {
	content: "";
	background-image: url("../icons/fugue_RestoreSession.png");
}
#historyUndoWindowMenu::before {
	content: "";
	background-image: url("../icons/fugue_Window.png");
}
#BMB_bookmarksShowAllTop::before,
#BMB_bookmarksShowAll::before,
#placesContext_showAllBookmarks::before,
#bookmarksShowAll::before {
    content: "" !important;
	background-image: url("../icons/fugue_Bookmarks-Opened.png");
}
#menu_bookmarksSidebar:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/fugue_Bookmarks-Closed.png");
}
#menu_bookmarkThisPage::before,
#context-bookmarkframe::before,
#context-bookmarklink::before,
#context_bookmarkTab::before,
#context_bookmarkSelectedTabs::before,
#toolbar-context-bookmarkSelectedTab::before,
#toolbar-context-bookmarkSelectedTabs::before,
#placesContext_new\:bookmark::before,
#placesContext_createBookmark::before,
#syncedTabsBookmarkSelected::before,
#newbookmark::before {
	content: "";
	background-image: url("../icons/crystal_Bookmark-New.png");
}
#menu_bookmarkThisPage[data-l10n-id="menu-bookmark-edit"]::before {
	content: "";
	background-image: url("../icons/silk_Bookmark.png");
}
#placesContext_new\:folder::before,
#newfolder::before {
	content: "";
	background-image: url("../icons/crystal_Bookmark-NewFolder.png");
}
#placesContext_new\:separator::before,
#newseparator::before {
	content: "";
	background-image: url("../icons/silk_Bookmark-NewSeparator-2.png");
}
#placesContext_show_bookmark\:info::before,
#placesContext_show_folder\:info::before,
#placesContext_show\:info::before {
	content: "";
	background-image: url("../icons/fugue_Properties.png");
}
#show-other-bookmarks_PersonalToolbar:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/unsortedBookmarks.png");
}
#toggle_PersonalToolbar menuitem[data-l10n-id="toolbar-context-menu-bookmarks-toolbar-always-show-2"]:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/container-unhide.png");
}
#viewColumns::before {
	content: "";
	background-image: url("../icons/fugue_Columns-blue.png");
}
#viewSort::before {
	content: "";
	background-image: url("../icons/fugue_Sort-Menu-Document.png");
}
#viewSortAscending:not([checked="true"])::before,
#placesContext_sortBy\:name::before {
	content: "";
	background-image: url("../icons/fugue_Sort-AZ-Document.png");
}
#viewSortDescending:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/fugue_Sort-ZA-Document.png");
}
#backupBookmarks::before {
	content: "";
	background-image: url("../icons/fugue_Database-export.png");
}
#fileRestoreMenu::before {
	content: "";
	background-image: url("../icons/fugue_Database-import.png");
}
#restoreFromFile::before {
	content: "";
	background-image: url("../icons/fugue_FileOpen.png");
}
#fileRestorePopup menuitem[oncommand="PlacesOrganizer.onRestoreMenuItemClick(this);"]::before {
	content: "";
	background-image: url("../icons/fugue_Bookmark.png");
}
#fileImport::before {
	content: "";
	background-image: url("../icons/fugue_Import.png");
}
#fileExport::before {
	content: "";
	background-image: url("../icons/fugue_Export.png");
}
#menu_openDownloads::before {
	content: "";
	background-image: url("../icons/saveFile.png");
}
menuitem[data-l10n-id="downloads-cmd-pause"]::before {
	content: "";
	background-image: url("../icons/fugue_Player-Pause.png");
}
menuitem[data-l10n-id="downloads-cmd-resume"]::before {
	content: "";
	background-image: url("../icons/fugue_Player-Play.png");
}
menuitem.downloadShowMenuItem::before {
	content: "";
	background-image: url("../icons/fugue_FolderOpened.png");
}
menuitem[command="downloadsCmd_openReferrer"]::before {
	content: "";
	background-image: url("../icons/fugue_GoTo.png");
}
#menu_openAddons::before {
	content: "";
	background-image: url("../icons/extensionGeneric-16.png");
}
menuitem[data-l10n-id="page-action-manage-extension"]::before,
menuitem[data-l10n-id="toolbar-context-menu-manage-extension"]::before {
	content: "";
	background-image: url("../icons/extensionGeneric-16-XP.png");
}
menuitem[data-l10n-id="page-action-remove-extension"]::before,
menuitem[data-l10n-id="toolbar-context-menu-remove-extension"]::before {
	content: "";
	background-image: url("../icons/fugue_Delete.png");
}
#menu_pageInfo::before,
#context-viewinfo::before,
#context-viewframeinfo::before,
#context-viewimageinfo::before,
#context-viewimagedesc::before {
	content: "";
	background-image: url("../icons/oxygen_PageInfo.png");
}
#menu_preferences::before,
#blockedPopupOptions menuitem[oncommand="gPopupBlockerObserver.editPopupSettings();"]::before {
	content: "";
	background-image: url("../icons/settings.png");
}
#sync-setup::before,
#sync-unverifieditem::before,
#sync-reauthitem::before {
	content: "";
	background-image: url("../icons/crystal_UserSingle.png");
}
#sync-enable::before,
#sync-syncnowitem::before,
#syncedTabsRefresh::before,
#syncedTabsRefreshFilter::before,
#sync-tabs-menuitem::before,
#menu_tabsSidebar:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/fugue_Sync.png");
}
#syncedTabsManageDevices::before {
	content: "";
	background-image: url("../icons/fugue_MobilePhone.png");
}
#context_sendTabToDevice::before,
#context-sendpagetodevice::before,
#context-sendlinktodevice::before {
	content: "";
	background-image: url("../icons/fugue_MobilePhone-SendTo.png");
}
#context_sendTabToDevicePopupMenu menuitem.sendtab-target::before,
#context-sendpagetodevice-popup menuitem.sendtab-target::before,
#context-sendlinktodevice-popup menuitem.sendtab-target::before {
	content: "";
	background-image: url("../icons/fugue_ConnectedBrowser.png");
}
#webDeveloperMenu::before {
	content: "";
	background-image: url("../icons/fugue_WebDeveloper-blocks.png");
}
#getMoreDevtools::before,
#extensionsForDevelopers::before {
	content: "";
	background-image: url("../icons/oxygen_Wrench-darker.png");
}
#menu_devToolbox:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/switch.png");
}
#menuitem_inspector::before {
	content: "";
	background-image: url("../icons/fugue_Dev-Inspect-darker.png");
}
#menuitem_webconsole::before {
	content: "";
	background-image: url("../icons/fugue_Dev-WebConsole.png");
}
#menuitem_jsdebugger::before {
	content: "";
	background-image: url("../icons/tango_Dev-Debugger.png");
}
#menuitem_netmonitor::before {
	content: "";
	background-image: url("../icons/fugue_Dev-NetMonitor.png");
}
#menuitem_styleeditor::before {
	content: "";
	background-image: url("../icons/tango_Dev-Style.png");
}
#menuitem_performance::before,
#menu_taskManager::before,
#help_taskManager::before {
	content: "";
	background-image: url("../icons/fugue_Dev-Profiler-light.png");
}
#menuitem_storage::before {
	content: "";
	background-image: url("../icons/fugue_Database-inspect.png");
}
#menuitem_accessibility::before {
	content: "";
	background-image: url("chrome://devtools/skin/images/tool-accessibility.svg");
	-moz-context-properties: fill;
	fill: DimGrey;
}
#menuitem_application::before {
	content: "";
	background-image: url("chrome://devtools/skin/images/tool-application.svg");
	-moz-context-properties: fill;
	fill: DimGrey;
}
#menuitem_dom::before {
	content: "";
	background-image: url("chrome://devtools/skin/images/tool-dom.svg");
	-moz-context-properties: fill;
	fill: DimGrey;
}
#menu_devtools_remotedebugging::before {
	content: "";
	background-image: url("../icons/remote.png");
}
#menu_browserToolbox::before {
	content: "";
	background-image: url("../icons/fugue_WebDeveloper-blocks.png");
}
#menu_browserContentToolbox::before {
	content: "";
	background-image: url("../icons/fugue_Toolbox.png");
}
#menu_browserConsole::before {
	content: "";
	background-image: url("../icons/fugue_Dev-BrowserConsole.png");
}
#menu_responsiveUI:not([checked="true"])::before,
#helpSwitchDevice::before {
	content: "";
	background-image: url("../icons/fugue_Dev-Responsive-Mobile.png");
}
#menu_eyedropper::before {
	content: "";
	background-image: url("../icons/crystal_Eyedropper.png");
}
#menu_openHelp::before,
#helpPolicySupport::before {
	content: "";
	background-image: url("../icons/fugue_Help.png");
}
#menu_openTour::before,
#context-media-eme-learnmore::before {
	content: "";
	background-image: url("../icons/tango_Information.png");
}
#menu_keyboardShortcuts::before {
	content: "";
	background-image: url("../icons/fugue_KeyboardShortcut.png");
}
#troubleShooting::before {
	content: "";
	background-image: url("../icons/fugue_Information.png");
}
#feedbackPage::before {
	content: "";
	background-image: url("../icons/tango_Smiley.png");
}
#helpSafeMode::before {
	content: "";
	background-image: url("../icons/fugue_Restart.png");
}
#menu_HelpPopup_reportPhishingtoolmenu::before,
menuitem[data-l10n-id="toolbar-context-menu-report-extension"]::before {
	content: "";
	background-image: url("../icons/warning-16.png");
}
#aboutName::before {
	content: "";
	background-image: url("chrome://branding/content/icon16.png");
}
#toggle_PersonalToolbar menuitem[data-l10n-id="toolbar-context-menu-bookmarks-toolbar-on-new-tab-2"]:not([checked="true"])::before,
#placesContext_openBookmarkContainer\:tabs::before,
#context_openANewTab::before,
#toolbar-context-openANewTab::before,
#menu_newNavigatorTab::before,
#context-openlinkintab::before,
#context-openframeintab::before,
#placesContext_open\:newtab::before,
#placesContext_openLinks\:tabs::before,
#placesContext_openContainer\:tabs::before,
menuitem.openintabs-menuitem:not(.subviewbutton):not(.panel-subview-footer)::before,
#historyUndoPopup menuitem.restoreallitem::before,
#syncedTabsOpenSelectedInTab::before,
#syncedTabsOpenAllInTabs::before {
	content: "";
	background-image: url("../icons/crystal_TabPlus.png");
}
#context_reloadTab::before,
#context_reloadSelectedTabs::before,
#toolbar-context-reloadSelectedTab::before,
#toolbar-context-reloadSelectedTabs::before,
#context-reloadframe::before,
#context-reloadimage::before {
	content: "";
	background-image: url("../icons/fugue_Reload.png");
}
#context_toggleMuteTab::before,
#context_toggleMuteSelectedTabs::before,
#context-media-mute::before {
	content: "";
	background-image: url("../icons/fugue_AudioPlaying.png");
}
#context_toggleMuteTab[muted=true]::before,
#context_toggleMuteSelectedTabs[muted=true]::before,
#context-media-unmute::before {
	content: "";
	background-image: url("../icons/fugue_AudioMuted.png");
}
#context_pinTab::before,
#context_pinSelectedTabs::before,
menuitem[data-l10n-id="toolbar-context-menu-pin-to-overflow-menu"]::before,
#customizationPanelItemContextMenuPin::before,
menuitem.customize-context-addToPanel::before {
	content: "";
	background-image: url("../icons/fugue_Pin-Blue.png");
}
#context_unpinTab::before,
#context_unpinSelectedTabs::before,
#customizationPanelItemContextMenuUnpin::before {
	content: "";
	background-image: url("../icons/fugue_Unpin-Blue.png");
}
#context_duplicateTab::before,
#context_duplicateTabs::before {
	content: "";
	background-image: url("../icons/crystal_TabDuplicate.png");
}
#menu_showAllTabs::before,
#menu_bookmarkAllTabs::before,
#context_selectAllTabs::before,
#toolbar-context-selectAllTabs::before {
	content: "";
	background-image: url("../icons/fugue_TabsAll.png");
}
#context_moveTabOptions::before {
	content: "";
	background-image: url("../icons/crystal_TabMove.png");
}
#context_moveToStart::before,
#context_closeTabsToTheStart::before {
	content: "";
	background-image: url("../icons/fugue_ToStart.png");
}
#context_moveToEnd::before,
#context_closeTabsToTheEnd::before {
	content: "";
	background-image: url("../icons/fugue_ToEnd.png");
}
#context_closeTab::before,
#context_closeSelectedTabs::before,
#menu_close::before {
	content: "";
	background-image: url("../icons/crystal_TabMinus.png");
}
#context_closeTabOptions::before,
#blockedPopupDontShowMessage:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/close_other_tabs.png");
}
#context_closeOtherTabs::before {
	content: "";
	background-image: url("../icons/fugue_TabsOthers.png");
}
#hiddenTabsMenu::before {
	content: "";
	background-image: url("../icons/crystal_TabHidden.png");
}
#historyUndoMenu::before {
	content: "";
	background-image: url("../icons/crystal_Tab.png");
}
#context-openlinkincontainertab::before,
#_testpilot-containers-menuitem-_open-in-this-container::before {
	content: "";
	background-image: url("../icons/fugue_Container-grey.png");
}
#menu_newUserContext::before,
#context_reopenInContainer::before,
#context-openlinkinusercontext-menu::before {
	content: "";
	background-image: url("../icons/fugue_Theme.png");
}
menuitem[data-usercontextid="0"]::before {
	content: "";
	background-image: url("../icons/fugue_DisableBlockEmpty.png");
}
#menu_savePage::before,
#context-savelink::before,
#context-saveimage::before,
#context-savepage::before,
#context-saveframe::before,
#context-savevideo::before,
#context-video-saveimage::before,
#context-saveaudio::before {
	content: "";
	background-image: url("../icons/fugue_Save.png");
}
#context-saveimage::before,
#context-video-saveimage::before {
	content: "";
	background-image: url("../icons/fugue_SaveImage.png");
}
#context-savevideo::before {
	content: "";
	background-image: url("../icons/fugue_SaveVideo.png");
}
#context-saveaudio::before {
	content: "";
	background-image: url("../icons/fugue_SaveAudio.png");
}
#context-pocket::before,
#context-savelinktopocket::before {
	content: "";
	background-image: url("../PublicDomain/pocket-alt-demin-icon-light.png");
}
#context-viewimage::before,
#context-viewbgimage::before {
	content: "";
	background-image: url("../icons/fugue_Image.png");
}
#context-setDesktopBackground::before {
	content: "";
	background-image: url("../icons/fugue_Desktop.png");
}
#context-viewvideo::before {
	content: "";
	background-image: url("../icons/fugue_Video.png");
}
#context-viewimage::before,
#context-viewbgimage::before,
#context-viewvideo::before {
	content: "";
	background-image: url("../icons/crystal_View.png");
}
#context-searchselect::before,
#context-searchselect-private::before {
	content: "";
	background-image: url("../icons/fugue_WebSearch.png");
}
#context-keywordfield::before {
	content: "";
	background-image: url("../icons/fugue_LightBulb.png");
}
#frame::before,
#context-showonlythisframe::before {
	content: "";
	background-image: url("../icons/crystal_Frame.png");
}
#spell-add-to-dictionary::before,
#spell-check-enabled:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/oxygen_CheckSpelling-longer.png");
}
#spell-dictionaries::before,
#spell-add-dictionaries-main::before {
	content: "";
	background-image: url("../icons/fugue_Encoding.png");
}
#spell-add-dictionaries::before {
	content: "";
	background-image: url("../icons/locale.png");
}
#context-inspect::before {
	content: "";
	background-image: url("../icons/fugue_Dev-Inspect-darker.png");
}
#context-inspect-a11y::before {
	content: "";
	background-image: url("chrome://devtools/skin/images/command-pick-accessibility.svg");
	-moz-context-properties: fill;
	fill: SlateGrey;
}
#context-video-pictureinpicture:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/fugue_Pip.png");
}
#context-media-play::before {
	content: "";
	background-image: url("../icons/fugue_Player-Play.png");
}
#context-media-pause::before {
	content: "";
	background-image: url("../icons/fugue_Player-Pause.png");
}
#context-media-playbackrate::before {
	content: "";
	background-image: url("../icons/fugue_Player-Forward.png");
}
#context-media-loop:not([checked="true"])::before {
	content: "";
	background-image: url("../icons/fugue_Repeat.png");
}
#context-media-hidecontrols::before {
	content: "";
	background-image: url("../icons/container-hide.png");
}
#context-media-showcontrols::before {
	content: "";
	background-image: url("../icons/container-unhide.png");
}
#context-ctp-play::before {
	content: "";
	background-image: url("../icons/silk_Plugin.png");
}
#context-viewframesource::before,
#context-viewpartialsource-selection::before,
#context-viewsource::before,
#menu_pageSource::before {
	content: "";
	background-image: url("../icons/silk_ViewSource.png");
}
#context-take-screenshot::before,
#screenshots_mozilla_org-menuitem-_create-screenshot::before {
	content: "";
	background-image: url("../icons/fugue_ScreenshotSaveImage.png");
}
#blockedPopupAllowSite::before,
#menu_HelpPopup_reportPhishingErrortoolmenu::before {
	content: "";
	background-image: url("../icons/silk_Allow.png");
}
menuitem[oncommand="gPopupBlockerObserver.showBlockedPopup(event);"]::before {
	content: "";
	background-image: url("../icons/crystal_View.png");
}
#spell-no-suggestions::before,
#fill-login-no-logins::before {
	content: "";
	background-image: url("../icons/fugue_DisableBlockEmpty.png");
}
#toggle_PersonalToolbar menuitem[data-l10n-id="toolbar-context-menu-bookmarks-toolbar-never-show-2"]:not([checked="true"])::before,
#toolbar-context-autohide-downloads-button:not([checked="true"])::before,
#autohide-context menuitem[data-l10n-id="full-screen-autohide"]:not([checked="true"])::before,
#pictureInPictureToggleContextMenu menuitem[oncommand="PictureInPicture.hideToggle();"]::before,
#_testpilot-containers-menuitem-_hide-container::before,
#context-ctp-hide::before {
	content: "";
	background-image: url("../icons/container-hide.png");
}
#fill-login::before,
#fill-login > #fill-login-popup > menuitem.context-login-item::before {
	content: "";
	background-image: url("../icons/crystal_UserSingle.png");
}
#fill-login-saved-passwords::before {
	content: "";
	background-image: url("../icons/crystal_UserGroup.png");
}
#manage-saved-logins::before,
#fill-login-generated-password::before {
	content: "";
	background-image: url("../icons/fugue_Key-solid.png");
}
menuitem[data-l10n-id="page-action-add-to-urlbar"]::before,
menuitem.customize-context-addToToolbar::before {
	content: "";
	background-image: url("../icons/fugue_Plus.png");
}
menuitem[data-l10n-id="page-action-remove-from-urlbar"]::before,
menuitem[data-l10n-id="toolbar-context-menu-remove-from-toolbar"]::before {
	content: "";
	background-image: url("../icons/fugue_Minus.png");
}
#menu_customizeToolbars::before,
menuitem[command="cmd_CustomizeToolbars"]::before,
menuitem[data-l10n-id="toolbar-context-menu-view-customize-toolbar"]::before,
menuitem[data-l10n-id="toolbar-context-menu-view-customize-toolbar-2"]::before {
	content: "";
	background-image: url("../icons/fugue_Palette.png");
}
#browserToolsMenu::before { /* добавленно */
	content: "";
	background-image: url("../icons/developer tools.png");

}
#strip-on-share::before,
#context-stripOnShareLink::before {
	content: "";
	background-image: url("../icons/silk_CopyLink_privacy.png");
}
#repair-text-encoding::before {
	content: "";
	background-image: url("../icons/silk_Encoding.png");
}
#menu_openFirefoxView::before {
	content: "";
	background-image: url("../icons/portfel.png");
}
#context-openlinkincontainertab::before {
	content: "";
	background-image: url("../icons/container-openin-16.svg");
}
}

Отсутствует

 

№14042Вчера 17:14:48

Vitaliy V.
Участник
 
Группа: Members
Зарегистрирован: 19-09-2014
Сообщений: 2108
UA: Firefox 126.0

Re: Настройка внешнего вида Firefox в userChrome.css

egorsemenov06 пишет

не получаеться добавить иконки на Показать,Скрыть панель закладок

У меня так

скрытый текст

Выделить код

Код:

#BMB_viewBookmarksToolbar[data-l10n-args*="true"]::before {
    content: "" !important;
    background-image: url("./svg/view-visible.svg");
}
#BMB_viewBookmarksToolbar[data-l10n-args*="false"]::before {
    content: "" !important;
    background-image: url("./svg/view-hidden.svg");
}

Отсутствует

 

№14043Вчера 17:20:48

egorsemenov06
Участник
 
Группа: Members
Зарегистрирован: 12-06-2018
Сообщений: 410
UA: Firefox 125.0

Re: Настройка внешнего вида Firefox в userChrome.css

Vitaliy V. пишет
egorsemenov06 пишет

не получаеться добавить иконки на Показать,Скрыть панель закладок

У меня так

скрытый текст

Выделить код

Код:

#BMB_viewBookmarksToolbar[data-l10n-args*="true"]::before {
    content: "" !important;
    background-image: url("./svg/view-visible.svg");
}
#BMB_viewBookmarksToolbar[data-l10n-args*="false"]::before {
    content: "" !important;
    background-image: url("./svg/view-hidden.svg");
}

БОЛЬШУШИЕ СПАСИБО!!!!!

Отсутствует

 

Board footer

Powered by PunBB
Modified by Mozilla Russia
Copyright © 2004–2020 Mozilla Russia GitHub mark
Язык отображения форума: [Русский] [English]