Amplifire
Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору 1. При запуске и переходе на некоторые сайты фф светит белым экраном. Затемняем в тёмной теме: Код: #browser vbox#appcontent tabbrowser, #content, #tabbrowser-tabpanels, browser[type=content-primary], browser[type=content] > html { background: var(--in-content-page-background)!important } | 2. Эффект затенения активной вкладки: Код: .tabbrowser-tab[visuallyselected="true"] { box-shadow: 0px 0px 15px 10px #828282; border-radius: 15px !important;} } | 3. Удалить лишние пункты из контекстного меню и сделать его тёмным в тёмной теме: Код: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #context-back, #context-forward, #context-reload, #context-stop, #context-bookmarkpage, #context-navigation, #context-sep-navigation, #contentAreaContextMenu > menuseparator:nth-child(92), #leave_this_dummy_here { display:none !important; } #BMB_bookmarksToolbar, #BMB_viewBookmarksToolbar, #BMB_bookmarkThisPage, #BMB_bookmarksPopup > menuseparator:nth-child(2), #BMB_bookmarksShowAll, #BMB_bookmarksPopup > menuseparator:nth-child(4) { display: none !important; } :root[lwt-popup-brighttext] menupopup, :root[lwt-popup-brighttext] #BMB_bookmarksPopup menupopup > hbox { -moz-appearance: none !important; color: var(--arrowpanel-color, rgb(177,177,179)) !important; background: var(--arrowpanel-background, rgb(27,27,29)) !important; border: 1px solid var(--arrowpanel-border-color, rgb(60,60,61)) !important; } :root:-moz-any([lwt-sidebar-brighttext],.theme-dark) menupopup { -moz-appearance: none !important; color: var(--lwt-sidebar-text-color, rgb(177,177,179)) !important; background: var(--lwt-sidebar-background-color, rgb(27,27,29)) !important; border: 1px solid rgb(60,60,61) !important; } :root[lwt-popup-brighttext] #BMB_bookmarksPopup, :root[lwt-popup-brighttext] #BMB_bookmarksPopup menupopup, :root[lwt-popup-brighttext] #context-navigation { background: none !important; border: none !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup menuseparator { -moz-appearance: none !important; min-height: 0 !important; border-top: 1px solid var(--panel-separator-color, rgba(249,249,250,.1)) !important; border-bottom: none !important; margin: 6px 0 !important; padding: 0 !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup :-moz-any(menu,menuitem,menucaption) { -moz-appearance: none !important; min-height: 24px; padding: 2px 10px !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup :-moz-any(menu,menuitem)[_moz-menuactive="true"] { color: inherit !important; background: var(--arrowpanel-dimmed, rgba(249,249,250,.1)) !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup :-moz-any(menu,menuitem)[disabled="true"] { color: var(--panel-disabled-color, GrayText) !important; background: none !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup .menu-iconic-left { -moz-appearance: none !important; margin-inline-start: 0 !important; margin-inline-end: 3px !important; visibility: visible !important; min-width: 16px !important; width: 16px !important; padding: 0 !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup .menu-iconic-left > .menu-iconic-icon { padding: 0 !important; margin: 0 !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup .menu-iconic-text { -moz-appearance: none !important; padding-inline-start: 0 !important; margin-inline-start: 2px !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup .menu-text { -moz-appearance: none !important; padding-inline-start: 19px !important; margin-inline-start: 2px !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup .menu-right > image, :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup menuitem[checked="true"] > .menu-iconic-left > .menu-iconic-icon { display: -moz-box !important; visibility: visible !important; width: 16px !important; height: 16px !important; padding: 0 !important; margin: 0 !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup .menu-right { -moz-appearance: none !important; list-style-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' height='16' width='16'><path d='M 6,4 V 12 L 11,8 Z' style='fill:rgb(177,177,179)'/></svg>") !important; -moz-image-region: auto !important; width: 16px !important; height: 16px !important; padding: 0px !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup menuitem[checked="true"] { list-style-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' height='16' width='16'><path d='M 4,5 7.5,8.5 12,4 V 8 L 8,12 H 7 L 4,9 Z' style='fill:rgb(177,177,179)'/></svg>") !important; -moz-image-region: auto !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup menuitem[type="radio"][checked="true"] { list-style-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' height='16' width='16'><circle cx='8' cy='8' r='4' style='fill:rgb(177,177,179)'/></svg>") !important; -moz-image-region: auto !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup menuitem[checked="true"][disabled="true"] > .menu-iconic-left > .menu-iconic-icon, :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup .menu-right[disabled="true"] > image { opacity: 0.6 !important; } :root:-moz-any([lwt-popup-brighttext],[lwt-sidebar-brighttext],.theme-dark) menupopup:-moz-locale-dir(rtl) .menu-right > image { transform: scaleX(-1) !important; } | |