Oder diese einfache Variante mal testen
Funktioniert hier ohne Probleme.
Oder diese einfache Variante mal testen
Funktioniert hier ohne Probleme.
Dann stellt sich die Frage, warum der Fehler nur im Firefox gesucht wird
Weil manchmal eine Software einen Fehler triggert, der nicht in ihr selbst vorhanden ist, da ist in den meisten Fällen der Treiber schuld, in diesem Fall wohl der Audiotreiber.
So sieht dein Code hier aus:
Mein endgültiger Code sieht jetzt so * aus und ergibt das ** Bild.
*
#tabbrowser-arrowscrollbox {
--custom-right-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/rechts.png");
--custom-left-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/links.png");
--custom-arrow-transform: scale(1) !important;
}
#scrollbutton-down > .toolbarbutton-icon {
list-style-image: var(--custom-right-image) !important;
transform: var(--custom-arrow-transform) !important;
}
#scrollbutton-up > .toolbarbutton-icon {
list-style-image: var(--custom-left-image) !important;
transform: var(--custom-arrow-transform) !important;
}
toolbarbutton#scrollbutton-up {
list-style-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/up-3.png") !important;
}
toolbarbutton#scrollbutton-down {
list-style-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/down-3.png") !important;
}
Alles anzeigen
**
--
An alle Helfer richte ich ein ganz großes Dankeschön.
die für die Menüs nicht.
Grml, was so ein fehlendes important doch ausmachen kann, fast erledigt.
Eingetragen jeweils in die userChrome.css.
Das ↓ steht bei mir in einer Datei die per @import über die userChrome.css geladen wird, die Anpassung für die Tabbar-Scrollbutton funktioniert, die für die Menüs nicht.
#tabbrowser-arrowscrollbox {
/* --custom-right-image: url("file:///C:/Users/Andi/Icons%20Firefox/rechts.png") !important; */
--custom-right-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/rechts.png");
/* --custom-left-image: url("file:///C:/Users/Andi/Icons%20Firefox/links.png") !important; */
--custom-left-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/links.png");
--custom-arrow-transform: scale(1) !important;
}
#scrollbutton-down > .toolbarbutton-icon {
list-style-image: var(--custom-right-image) !important;
transform: var(--custom-arrow-transform) !important;
}
#scrollbutton-up > .toolbarbutton-icon {
list-style-image: var(--custom-left-image) !important;
/* transform: var(--custom-arrow-transform) !important; */
}
toolbarbutton#scrollbutton-up {
/* list-style-image: url("file:///C:/Users/Andi/Icons%20Firefox/Hoch.gif") !important; */
list-style-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/up.gif");
}
toolbarbutton#scrollbutton-down {
/* list-style-image: url("file:///C:/Users/Andi/Icons%20Firefox/Runter.gif") !important; */
list-style-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/down.gif");
}
Alles anzeigen
Hallo 2002Andreas und Horstmann,
eure CSS-Schnipsel zeigen hier für die überlaufenden Lesezeichenmenüs keine Wirkung.
Es gibt sicherlich noch einen besseren Code.
Etwas ähnliches hatte ich für die userChrome.css auch schon, ich meinte aber eher wieder etwas mit den Pfeil-Icons, geht was in die Richtung?
Meinst du den
Nein, ich meine überlaufende Menüs in der Lesezeichen-Symbolleiste.
Das kommt drauf an, wie du die Pfeile ansprichst.
Das hatte ich dann letztendlich auch so gelöst, jetzt noch eine Lösung für überlaufende Menüs und alles ist gut.
Womit ich gerade eine Menge Spass hatte, als ich beide Pfeile umpositionieren wollte...
![]()
Jupp, das war echt ganz schön verzwickt.
Ist hier auch so
Alternativ 2x nach links einfügen.
Dankeschön fürs testen, aber in dem Fall bleibe ich bei meiner Lösung.
Hallo zusammen,
das * CSS funktioniert bei mir nicht richtig, nur so ** wird der linke Pfeil richtig herum angezeigt, was läuft schief?
*
toolbarbutton#scrollbutton-down > image {
list-style-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/links.png") !important;
}
toolbarbutton#scrollbutton-up > image {
list-style-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/rechts.png") !important;
}
**
toolbarbutton#scrollbutton-down > image {
list-style-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/links.png") !important;
}
toolbarbutton#scrollbutton-up > image {
list-style-image: url("file:///H:/Profile/Firefox/Fx57-H-Default/chrome/icons/rechts.png") !important;
transform: rotate(180deg) !important;
}
Auch so *** geht es nicht irgendwie werden die Pfeile immer falsch herum dargestellt, was läuft da schief?
***
Was macht das Skript?
Es fügt in die Aufklappenden Menüs der Lesezeichenordner den Ordnernamen des Ursprungsordner ein.
Hallo zusammen,
ist mir etwas durchgegangen?
Das ↓ Script funktioniert nicht mehr, es fügt IIRC in die Aufklappenden Menüs der Lesezeichenordner die Ordnernamen des Ursprungsordner ein.
(function() {
if (!window.gBrowser)
return;
function setFunction() {
PlacesViewBase.prototype._mayAddCommandsItems =
function PVB__mayAddCommandsItems(aPopup) {
// The command items are never added to the root popup.
if (aPopup == this._rootElt) {
return;
}
// if there is no name item, insert it; update label
if (!aPopup.firstChild.classList.contains("name-menuitem")) {
aPopup.insertBefore(document.createXULElement("menuseparator"), aPopup.firstChild);
let nameItem = document.createXULElement("menuitem");
nameItem.classList.add("name-menuitem");
aPopup.insertBefore(nameItem, aPopup.firstChild);
}
aPopup.firstChild.label = aPopup.parentNode.label;
let hasMultipleURIs = false;
// Check if the popup contains at least 2 menuitems with places nodes.
// We don't currently support opening multiple uri nodes when they are not
// populated by the result.
if (aPopup._placesNode.childCount > 0) {
let currentChild = aPopup.firstElementChild;
let numURINodes = 0;
while (currentChild) {
if (currentChild.localName == "menuitem" && currentChild._placesNode) {
if (++numURINodes == 2) {
break;
}
}
currentChild = currentChild.nextElementSibling;
}
hasMultipleURIs = numURINodes > 1;
}
if (!hasMultipleURIs) {
aPopup.setAttribute("nofooterpopup", "true");
} else {
aPopup.removeAttribute("nofooterpopup");
}
if (!hasMultipleURIs) {
// We don't have to show any option.
if (aPopup._endOptOpenAllInTabs) {
aPopup.removeChild(aPopup._endOptOpenAllInTabs);
aPopup._endOptOpenAllInTabs = null;
aPopup.removeChild(aPopup._endOptSeparator);
aPopup._endOptSeparator = null;
}
} else if (!aPopup._endOptOpenAllInTabs) {
// Create a separator before options.
aPopup._endOptSeparator = document.createXULElement("menuseparator");
aPopup._endOptSeparator.className = "bookmarks-actions-menuseparator";
aPopup.appendChild(aPopup._endOptSeparator);
// Add the "Open All in Tabs" menuitem.
aPopup._endOptOpenAllInTabs = document.createXULElement("menuitem");
aPopup._endOptOpenAllInTabs.className = "openintabs-menuitem";
if (typeof this.options.extraClasses.entry == "string") {
aPopup._endOptOpenAllInTabs.classList.add(
this.options.extraClasses.entry
);
}
if (typeof this.options.extraClasses.footer == "string") {
aPopup._endOptOpenAllInTabs.classList.add(
this.options.extraClasses.footer
);
}
aPopup._endOptOpenAllInTabs.setAttribute(
"oncommand",
"PlacesUIUtils.openMultipleLinksInTabs(this.parentNode._placesNode, event, " +
"PlacesUIUtils.getViewForNode(this));"
);
aPopup._endOptOpenAllInTabs.setAttribute(
"label",
gNavigatorBundle.getString("menuOpenAllInTabs.label")
);
aPopup.appendChild(aPopup._endOptOpenAllInTabs);
}
}
}
let intId = setInterval(function() {
if (window.PlacesViewBase) {
clearInterval(intId);
setFunction();
}
}, 500);
})();
Alles anzeigen
....das Menü ..danke Dharkness
Sieht bei mir so ↓ aus, es gibt bei mir doch mal etwas mit nem Radius.
Aber gerne doch.
Hier mal noch mein CSS dazu.
@-moz-document url("about:translations") {
h1 {
width: 1176px !important;
text-align: center !important;
border: 2px solid #B2B2B2 !important;
border-bottom: 0 !important;
color: #D2534C !important;
padding: 1px 10px 5px 10px !important;
margin: 0 auto !important;
}
.about-translations-contents {
border-radius: 0 !important;
border: 2px solid #B2B2B2 !important;
}
.about-translations-header {
border-radius: 0 !important;
border: 0 !important;
border-bottom: 2px solid #B2B2B2 !important;
}
.about-translations-input {
border-top: 0 !important;
}
#language-from {
border-radius: 0 !important;
border: 1px solid #B2B2B2 !important;
background: #0082FC url("..//chrome/icons/advanced_data_grid.png") no-repeat !important;
background-position: 8px 9px !important;
color: #FFF !important;
padding: 2px 3px 2px 40px !important;
}
#language-from:hover {
border: 1px solid #0082FC !important;
background: #D1E2F2 url("..//chrome/icons/advanced_data_grid.png") no-repeat !important;
background-position: 8px 9px !important;
color: #000 !important;
}
#language-to {
border-radius: 0 !important;
border: 1px solid #B2B2B2 !important;
background: #0082FC url("..//chrome/icons/Bericht.png") no-repeat !important;
background-position: 8px 6px !important;
color: #FFF !important;
padding: 2px 3px 2px 40px !important;
}
#language-to:hover {
border-radius: 0 !important;
border: 1px solid #0082FC !important;
background: #D1E2F2 url("..//chrome/icons/Bericht.png") no-repeat !important;
background-position: 8px 6px !important;
color: #000 !important;
}
.about-translations-input-start,
.about-translations-input-end {
appearance: none !important;
border-radius: 0 !important;
border: 2px solid #23222B !important;
background-color: #B2B2B2 !important;
padding: 10px !important;
}
.about-translations-input-start {
border-right: 1px solid #23222B !important;
}
.about-translations-input-end {
border-left: 1px solid #23222B !important;
}
#translation-from,
#translation-to-blank {
appearance: none !important;
border-radius: 7px !important;
box-shadow: 0px 0px 10px 5px #000 !important;
border: 2px solid #484848 !important;
background-color: #23222B !important;
}
#translation-to-blank {
opacity: 1 !important;
background-color: #23222B !important;
color: #FFF !important;
}
.about-translations-input-results {
appearance: none !important;
border-radius: 0 !important;
box-shadow: 0px 0px 10px 5px #474749 !important;
background-color: #EEE8AA !important;
color: #000 !important;
}
.translation-to-blank,
.about-translations-input-results {
margin: 10px !important;
}
}
Alles anzeigen
Wenn Erweiterungen genutzt werden, welche Tab-Umgebungen voraussetzen, funktionieren diese natürlich dann nicht mehr.
Eine Erweiterung wills tatsächlich nicht ohne tun, also geht das Script gen Jordan.
Hoffe das passt.
Die Tab-Umgebung lässt sich so selbst festgenagelt in der user.js nicht abschalten, eine Erweiterung setzt es in der Tat voraus.
Kein Problem hier.
Rechtsklick auf das + ergibt:
Weißt Du mit welcher Pref ich die Tab-Umgebung abschalte? An den entsprechenden Haken in den Einstellungen komme ich nicht ran, ist durch mehrere Add-ons nicht abzuschalten.
Chronik in der Sidebar öffnen
der ging auch noch nicht und das dazu gehörende Icon wurde auch nicht angezeigt.
Das habe ich beides noch repariert.
Hm, weder Dein repariertes Script,
Sehr gut
, hatte ich ganz übersehen...
.
noch Dein wiederhergestelltes Script funktioniert hier, bei mir bleibt das ↓ erhalten.
Noch Osterntrunken?
Nope.
Gefasst und geeiert, Mann Mann Mann....
Ups, das sollte latürnich geteilt heißen.