As for the Buttons: first in the “files” view managed to get the hover styles right, but I am unable to change the background image, it remains grey. I have put a green version into my theme, but it seems I have to add some code here. In some cases it worked without code:
in the phone track app there is an “inline” style, that defines the icons to be blue, if I set this color in firefox inspector to grey it works, but it does not remain grey. I am unable to find the document in which this inline style has been defined. Could u tell where it is set?
Here I am having the problem with the “active” state, I can´t find where to set this other than white:
Thank you! It´s good to hear someone likes the work I do!
and thanx for your suggestions, they worked perfectly. I was looking for the javascript file in which the color of the icons has been set, but I couldn´t find it myself - your tip was perfect!
for the first post I asked (background of gallery page) I found the inline style in “galleryview.js”, it looked like this:
/**
* Sets the background colour of the photowall
*
* @private
*/
_setBackgroundColour: function () {
var wrapper = $('#content-wrapper');
var albumDesign = Gallery.config.albumDesign;
if (!$.isEmptyObject(albumDesign) && albumDesign.background) {
wrapper.css('background-color', albumDesign.background);
} else {
wrapper.css('background-color', '#333333');
}
},
and here I set the bg before I could read your first answer. Do you think it would be better to do it your way?
For the right top Button of the “file app” I found the following in “gallerybutton.js” at line 56:
Here the path is set to the default image directory inside /atd_cloud/core/img/actions which I can´t override to fetch the image out of my theme: /atd_cloud/apps/dark_theme/core/img/actions. do you have an idea how to do this, mabee?
Thanx very much for all your help up to now!,
3rdEye
Everything that can be done in the theme should be done this way. If not, you have to start over with every update (from apps or the server).
For the gallerybutton.js approach, I just can’t think of anything else than patching it directly. What works in any case is to code the URL hard. Something like that:
Thats the way I did it, thanx.
Changes I have to make to Javascript files are still in my theme - I copy the javascript file inside my theme to the correct file structure location, so the original script gets overruled, just like it works with .css files…
I thank you for your support and interrest,
all the best,
Christoph
P.S.: I saw you come from Nuremberg, I am @ Salzburg, Austria - so we could have had the conversation in german, right?