Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'd really like to see date formatting on the columns. I'd also like to see a divider between the dates so it is clear which time choices correspond to which dates.
Comment | File | Size | Author |
---|---|---|---|
#3 | scheduler.png | 15.06 KB | ndstate |
#2 | 479848.patch | 511 bytes | Simon Georges |
Comments
Comment #1
CarbonPig CreditAttribution: CarbonPig commentedYou can do this by modifying the pollpanel.css file.
Try adding something like this:
table#pollpanel th{
text-align: center;
font-size: 15px;
border: 1px solid #000000;
You will then see dividers.
Comment #2
Simon Georges CreditAttribution: Simon Georges commentedPatch for CSS file (as suggested by @CarbonPig), I just changed the color to match the already existing ones, and only add the color on th.bleft.
Comment #3
ndstate CreditAttribution: ndstate commentedHello,
Is the attached image what it is suppose to look like? I see the added lines in the top row, but is it possible to make those lines darker and go all the way down?
Is my pollpanel.css file correct? I think I had some issues with patching. Thanks!
Comment #4
Simon Georges CreditAttribution: Simon Georges commented@pmp6nl, I think you patched it fine, you see the separation between dates, so I guess at least the patch works.
I'll try to look into what you're asking tonight regarding darker & all-the-way down lines.
Best regards,
Comment #5
ndstate CreditAttribution: ndstate commentedThank you for your awesome help Simon!
Comment #6
Simon Georges CreditAttribution: Simon Georges commented@pmp6nl I've looked into it. The patch to have the line all the way done is a little bit too time-consuming for me now, I'd rather have some rewriting of the module by the maintainer. Otherwise, one day, when I have time... ;)
To have the line darker, just add this line :
border-left: 2px solid black;
intotable#pollpanel th.bleft {}
. So the final result would be :Best regards,
Simon
Comment #7
SebCorbin CreditAttribution: SebCorbin commentedPatch #2 added.