terra: fandom » prydain, the book of three (to find the thing you've never lost)
[personal profile] terra posting in [community profile] vigils

This is a userstyle for Dreamwidth that tweaks the reply form on the new DW codepush. It's a pretty simple CSS grid. As a userstyle it requires an extension like Stylus, but any extension that lets you add custom CSS to websites should work.

F.A.Q.

Does this work with the DW Tools extension?
I think so. This code uses a grid format to position elements, not hard margins, so it should be pretty flexible. This time around I did have to tweak the custom buttons to fix an alignment but I don't think that will break anything.

Here's what a free account looks like with DW Tools installed:

Does this work with other userstyles for the Dreamwidth comment form?
Maybe! I don't know! In general, it probably won't work mix well if something relies on margins or relative positioning to work, but color hacks should be fine.

Will this work with future Dreamwidth code push changes?
????

How do I install a custom CSS sheet using stylus?
There's a mini tutorial in this plurk provided by [plurk.com profile] eskiwen!

A Variation

You can use the CSS order property to change around the position of the elements in the left column. One thing you could do, for example, is move the icon to the top.

The code for that is here (use this instead of the above CSS):

But you're free to experiment and tweak to your heart's content.

Updates

7/26/20 Updated code so that it works with the new codepush. Screenshots changed to reflect our new reality.

Comment Depth: 1

Date: May 3rd, 2020 08:10 pm (UTC)
mycenae: (pic#13950206)
From: [personal profile] mycenae
Perfect fix to a very frustrating problem! It also works seamlessly with DWTools functions, it's just really nice. ♥ TY for doing this!
Comment Depth: 1

Date: May 3rd, 2020 09:30 pm (UTC)
samame: (Default)
From: [personal profile] samame
Thank you so much for this!
Comment Depth: 1

Date: May 3rd, 2020 11:42 pm (UTC)
darjeeling: (STOCK | all the pretty colours)
From: [personal profile] darjeeling
Brilliant, THANK YOU SO MUCH! You're a lifesaver!
Comment Depth: 1

Date: May 6th, 2020 10:50 pm (UTC)
heliscooter: (JOY)
From: [personal profile] heliscooter
Question! Is there any way to have the "Browse" button show up even on paid accounts?
Comment Depth: 3

Date: May 6th, 2020 10:54 pm (UTC)
heliscooter: (Default)
From: [personal profile] heliscooter
Ah, gotcha! No problem, thank you!
Comment Depth: 1

Date: May 10th, 2020 09:59 pm (UTC)
vaerdig: 𝒖𝒔𝒆𝒅 𝒘𝒊𝒕𝒉 𝒑𝒆𝒓𝒎𝒊𝒔𝒔𝒊𝒐𝒏 (Default)
From: [personal profile] vaerdig
thanks so much for this! i also have weird question: is there a way to always display the random icon button? it'll show up if you click random from the drop down selection but i'm wondering if there's a way to add it back to where it used to be 🤔
Comment Depth: 3

Date: May 10th, 2020 10:34 pm (UTC)
vaerdig: 𝒖𝒔𝒆𝒅 𝒘𝒊𝒕𝒉 𝒑𝒆𝒓𝒎𝒊𝒔𝒔𝒊𝒐𝒏 (Default)
From: [personal profile] vaerdig
oh, perfect, that did the trick! what a blessing thank you 👏
Comment Depth: 1

Date: July 26th, 2020 08:50 pm (UTC)
regale: (Default)
From: [personal profile] regale
Hello! First of all, thank you so much for your hard work. This has helped so much, even before last night's code push.

This might be a problem that can't be fixed, but I thought I'd try here in case you had any ideas.

So, I'm using Firefox (I use both, but I prefer tagging on FF), and I have DW Tools—the addon has been super broken for me for a long time now, so I can only use the Action/Text tag buttons—for some reason, it still shows the Imgur Icons button even though I've never used it. And it looks like this...



I'm wondering if you know of a way to hide it completely using your userstyle? It's... also only on my paid accounts. On my basic account, the Imgur Icons button is lower, not in front of anything. Thanks for your time!

ETA This is what it looks like on my nonpaid account:
Edited Date: July 26th, 2020 08:54 pm (UTC)
Comment Depth: 3

Date: July 26th, 2020 11:06 pm (UTC)
regale: (Clipboard20)
From: [personal profile] regale
Oh, this didn't work by itself but it gave me the idea to just change one of your fixes into:

#qrformdiv .qr-meta #imgur_userpicselect {
display: none !important;
width: 100%;
margin-left: 0;
}

Which did work? SO! Thank you!

Tags