xrun1
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Код: /* сжать межстрочные интервалы в боковой панели */ treechildren.sidebar-placesTreechildren::-moz-tree-row { min-height: 18px !important; height: 1.3em !important; } /* отменяет все стили в выпадающих меню панели закладок и сжимает межстрочные интервалы */ #personal-bookmarks :is(menu.menu-iconic,menuitem.bookmark-item) { -moz-appearance: none !important; appearance: none !important; min-height: 18px !important; height: 1.3em !important; padding: 0px 5px !important; } /* перекрасить цвет выделения в боковой панели https://forum.mozilla-russia.org/viewtopic.php?pid=764245#p764245 */ treechildren.sidebar-placesTreechildren::-moz-tree-row { border: none !important; outline: none !important; } treechildren.sidebar-placesTreechildren::-moz-tree-row(hover) { background: blue !important; } treechildren.sidebar-placesTreechildren::-moz-tree-cell-text(hover) { color: white !important; } treechildren.sidebar-placesTreechildren::-moz-tree-row(selected) { background: darkred !important; } treechildren.sidebar-placesTreechildren::-moz-tree-row(selected, focus) { background: red !important; } treechildren.sidebar-placesTreechildren::-moz-tree-cell-text(selected) { color: white !important; } treechildren.sidebar-placesTreechildren::-moz-tree-image(hover), treechildren.sidebar-placesTreechildren::-moz-tree-twisty(hover) { fill: white !important; fill-opacity: .8 !important; } treechildren.sidebar-placesTreechildren::-moz-tree-image(selected), treechildren.sidebar-placesTreechildren::-moz-tree-twisty(selected) { fill: white !important; fill-opacity: .8 !important; } /* ------------------------------------------------------------------------------------------------------ раскраска иконок на панели закладок, по аналогии с предыдущим стилем для боковой панели */ #PlacesToolbarItems > toolbarbutton.bookmark-item:hover:not([open]), #PlacesChevron:hover:not([open]) { background-color: blue !important; color: white !important; } #PlacesToolbarItems > toolbarbutton.bookmark-item[open="true"], #PlacesChevron[open="true"] { background-color: red !important; color: white !important; } #PlacesToolbarItems > toolbarbutton.bookmark-item[open="true"]:not(:hover), #PlacesChevron[open="true"]:not(:hover) { background-color: darkred !important; color: white !important; } /* цвет выделения при наведении мышкой; сработает, если раньше были отменены другие стили (см. выше 2-й стиль) */ #personal-bookmarks :is(menu.menu-iconic,menuitem.bookmark-item):hover { background-color: blue !important; color: white !important; } /* уменьшение пробелов в панели Закладок слева от иконки и справа от текста https://forum.mozilla-russia.org/viewtopic.php?pid=763384#p763384 */ #PlacesToolbarItems > toolbarbutton.bookmark-item { max-width: 7em !important; margin: 0 !important; padding: 1px !important; } #PlacesToolbarItems > toolbarbutton.bookmark-item > .toolbarbutton-icon[label]:not([label=""]) { margin-inline-end: 1px !important; } /* сдвигает первую иконку в панели Закладок на 5px вправо */ #PlacesToolbarItems { margin-left: 5px !important; margin-top: 0 !important margin-bottom: 0 !important; } /* убрать "Открыть всё во вкладках" и сепаратор сверху */ #personal-bookmarks :is(menuseparator.bookmarks-actions-menuseparator,menuitem.openintabs-menuitem) { display: none !important; } |
| Всего записей: 716 | Зарегистр. 26-12-2009 | Отправлено: 12:55 06-02-2021 | Исправлено: xrun1, 04:24 07-02-2021 |
|