Also ich komme nicht weiter.. habe nun den Code aus #109 mit den Anpassungen wegen des eigenen Profil-Ordners in Zeile 260 bis 322
JavaScript
else if(custom_scrollbar_arrows === true && custom_scrollbar_arrows_version === 2)
custom_scrollbar_arrows_code=`
scrollbar > scrollbarbutton {
background-repeat: no-repeat !important;
background-position: center center !important;
}
scrollbar[vertical] > scrollbarbutton[type="decrement"] {
background-image: url("${ProfileDirectory}/chrome/Icons/Pfeil-hoch_blau.svg") !important;
-moz-context-properties: fill, fill-opacity;
fill: ${cs_scrollbar_arrows_color} !important;
fill-opacity: 1 !important;
}
scrollbar[vertical] > scrollbarbutton[type="increment"] {
background-image: url("${ProfileDirectory}/chrome/Icons/Pfeil-runter_blau.svg") !important;
-moz-context-properties: fill, fill-opacity;
fill: ${cs_scrollbar_arrows_color} !important;
fill-opacity: 1 !important;
}
scrollbar > scrollbarbutton[type="decrement"] {
background-image: url("${ProfileDirectory}/chrome/Icons/Pfeil-links_blau.svg") !important;
-moz-context-properties: fill, fill-opacity;
fill: ${cs_scrollbar_arrows_color} !important;
fill-opacity: 1 !important;
}
scrollbar > scrollbarbutton[type="increment"] {
background-image: url("${ProfileDirectory}/chrome/Icons/Pfeil-rechts_blau.svg") !important;
-moz-context-properties: fill, fill-opacity;
fill: ${cs_scrollbar_arrows_color} !important;
fill-opacity: 1 !important;
}
/* Hover */
scrollbar[vertical] > scrollbarbutton[type="decrement"]:hover {
background-image: url("${ProfileDirectory}/chrome/Icons/Chevron-up_orange.svg") !important;
-moz-context-properties: fill, fill-opacity;
fill: ${cs_scrollbar_arrows_hover_color} !important;
fill-opacity: 1 !important;
}
scrollbar[vertical] > scrollbarbutton[type="increment"]:hover {
background-image: url("${ProfileDirectory}/chrome/Icons/Chevron-down_orange.svg") !important;
-moz-context-properties: fill, fill-opacity;
fill: ${cs_scrollbar_arrows_hover_color} !important;
fill-opacity: 1 !important;
}
scrollbar > scrollbarbutton[type="decrement"]:hover {
background-image: url("${ProfileDirectory}/chrome/Icons/Chevron-left_orange.svg") !important;
-moz-context-properties: fill, fill-opacity;
fill: ${cs_scrollbar_arrows_hover_color} !important;
fill-opacity: 1 !important;
}
scrollbar > scrollbarbutton[type="increment"]:hover {
background-image: url("${ProfileDirectory}/chrome/Icons/Chevron-right_orange.svg") !important;
-moz-context-properties: fill, fill-opacity;
fill: ${cs_scrollbar_arrows_hover_color} !important;
fill-opacity: 1 !important;
}
scrollbar > scrollbarbutton {
min-width: ${cs_button_size}px !important;
min-height: ${cs_button_size}px !important;
}
`;
Alles anzeigen
Das Ergebnis ist so..
Kein Blau... und auch keine Pfeile oben und unten! Alle svg-Dateien liegen im Unterordner Icons im chrome-Ordner. Der Pfad ist auch so in dem o.a. Code hinterlegt. Z.B. background-image: url("${ProfileDirectory}/chrome/Icons/Pfeil-hoch_blau.svg") !important;
Der Profilpfad lautet: c:\Users\Ich\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxx.default-nightly\chrome\Icons\
Wo ist der Haken?
Wenn ich den ganzen Code noch reinstellen soll, kurz Bescheid sagen! Danke!