Page 2 of 2

Re: Waze Editor - layout tweaking - userstyle

Posted: Wed May 28, 2014 12:19 pm
by CrazyTerabyte
carloslaso wrote:Is there a way for this style to work in WME when used in other languages?

https://www.waze.com/es/editor/ - https://editor-beta.waze.com/es/editor/

https://www.waze.com/en-GB/editor/ - https://www.waze.com/it/editor/...

Thanks.
Fixed! Although I cannot test the editor-beta.

Re: Waze Editor - layout tweaking - userstyle

Posted: Wed May 28, 2014 8:05 pm
by CrazyTerabyte
carloslaso wrote:Weird, Latin-American Spanish is the one breaking it. http://youtu.be/hhGz6ke_2Vw
"es-419"? When I wrote the regex, I thought: no language code has numbers in it! Well, I was wrong, and I've already fixed the style. Thanks for reporting it!

Re: Waze Editor - layout tweaking - userstyle

Posted: Thu Nov 05, 2015 12:20 pm
by CrazyTerabyte
Working on an updated version...

Re: Waze Editor - layout tweaking - userstyle

Posted: Thu Nov 05, 2015 6:22 pm
by CrazyTerabyte
Done! Updated: https://userstyles.org/styles/97276/waz ... t-tweaking
The screenshots are still outdated, maybe later I update them.

Feedback is welcome, but I believe everything is working correctly.

Re: Waze Editor - layout tweaking - userstyle

Posted: Thu Nov 05, 2015 9:32 pm
by CrazyTerabyte
The... WHAT? Oh, this: https://wiki.waze.com/wiki/Extension:WME_Toolbox

I did a small update, it fixes the toolbox button layout. However, keeping the pop-up thing open is tricky. I had to right-click on the button, then move the mouse to the pop-up thing, then right-click or left-click or press Esc. Unfortunately, there is no way for me to fix it using pure CSS (because that pop-up thing is descendant of the map element, so I can't move it outside the map).

Also, upon adding the Toolbox, a vertical scrollbar showed up to the right, but that is an unrelated issue, happens even with the Toolbox without my custom style.

I'd suggest you contacting the Toolbox author. Maybe he can change the markup (moving that thing to child/descendant of the button would be good; just like the default buttons), or even use JavaScript to toggle the visibility by clicking.

Re: Waze Editor - layout tweaking - userstyle

Posted: Fri Nov 06, 2015 1:38 pm
by CrazyTerabyte
PHIL-IP63 wrote:I have an issue with the layer drop-down menu (like before with the Toolbox menu) the selectable area for the drop-down menu is too high and it's impossible for me to go in the menu.
I'm under Firefox
I'm going to take a look at Firefox right now.
pjlasl wrote:I have noticed that this script has not been updated since February and it does not work well with the new WME layout.

I have updated the script on the request of a user. If you are interested in the update, I will gladly provide it to whomever PMs me.
Which script? If you mean the custom style, I updated it yesterday (see a couple of messages above yours). If you mean something else, please be more specific regarding which script you are talking about.

Re: Waze Editor - layout tweaking - userstyle

Posted: Sat Nov 07, 2015 1:49 am
by CrazyTerabyte
Fixed the issue with Firefox.

(Technical details ahead, feel free to skip.)

Turns out it was not an issue with Firefox, but with installing the custom CSS as a user-script. I've discovered that using Stylish extension to apply the custom style gives different results than using the custom style as a user-script, but only to rules with the same specificity as the rules from the page. For rules with the same specificity, the later rules override the earlier ones. When using Stylish, the custom CSS is added after all other document rules. When using as user-script, the opposite happens.

(Double-post to trigger notification to people watching this topic.)

Re: Waze Editor - layout tweaking - userstyle

Posted: Fri Nov 06, 2015 1:24 pm
by PHIL-IP63
I have an issue with the layer drop-down menu (like before with the Toolbox menu) the selectable area for the drop-down menu is too high and it's impossible for me to go in the menu.
http://img11.hostingpics.net/pics/2941561IMAGE.jpg

I'm under Firefox

Re: Waze Editor - layout tweaking - userstyle

Posted: Wed May 28, 2014 12:53 am
by pjlasl
I have noticed that this script has not been updated since February and it does not work well with the new WME layout.

I have updated the script on the request of a user. If you are interested in the update, I will gladly provide it to whomever PMs me.

I do not want to post it until the original author has a chance to respond.

Re: Waze Editor - layout tweaking - userstyle

Posted: Wed May 28, 2014 1:07 pm
by pjlasl
Tested using a different language in normal and beta and seems to be working without incident.