Open bookmarks folder with a single click [solved]
-
As luckily I can open a bookmark with one click it should be possible to open the bookmarks folder with a single click.
I'm talking about the bookmarks side panel.
The chrome extension Tidy Sidebar for example in Edge opens a folder with one click.
In my view a double click makes no sense.Is there a mod .css for this?
-
@maximwaldow Don’t think that’s possible with css. The folder will open with a single click when you target the triangle though. You could also simulate the double click on the folder, see: https://forum.vivaldi.net/topic/49768/done-emulate-double-click-when-left-click-on-favicon-in-window-bookmarks-panel/.
-
Oh, actually the triangle works with a single click. Did not notice that. Thank you.
Will try your css. -
@maximwaldow Careful, it’s javascript. And it won’t have the desired effect, it’s just an example for simulating a double click in the panel, it doesn’t target folders in the bookmarks panel.
-
You can try this, it just stretches the triangles and makes them invisible (made specifically for the panel; if you want it also in the full-page bookmarks manager, you’ll have to alter the selector at least)
.panel-bookmarks .vivaldi-tree .tree-row.folder .expand-icon svg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; width: 100%; height: 100%; fill: transparent !important; transform: none !important; }
-
@potmeklecbohdan That's nifty, makes sense.
-
@potmeklecbohdan
Great. Well done. This seems to work. I can open the folder with one click now. The triangles are hidden which makes the structure more clean and overseeable.Now at last it would be nice if the open folder would close automatically if I open another folder.
-
@maximwaldow said:
Now at last it would be nice if the open folder would close automatically if I open another folder.
Sorry, I think this would be harder (not impossible)… and surely it’s only possible with JS.
-
@potmeklecbohdan inb4 dark css magic trick
-
@luetage No, actually I don’t think Vivaldi provides an element that does this (so nothing can be stretched and hidden).
By the way, the trick I used was invented by someone else & much earlier, I was just too lazy to search for it.
-
@potmeklecbohdan I know, I just tried to be funny and failed miserably :|
-
@luetage I got the joke, but I (yet again) replied too seriously… Sorry, this is one of the most basic features of my personality.
-
@potmeklecbohdan said in Open bookmarks folder with a single click:
@maximwaldow said:
Now at last it would be nice if the open folder would close automatically if I open another folder.
Sorry, I think this would be harder (not impossible)… and surely it’s only possible with JS.
Again an ingenious addon of those days (old Firefox 52.9) which did exactly that. Out of a sentimental mood I keep the old version still installed though rarely using it.
-
Ppafflick moved this topic from Modifications on