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.
The primary button on a page should be blue, but the styling is being overridden.
This is a regression caused by #1845728: Refactor and introduce generic button CSS styles for forms and links.
Here is how it looked before:
Here's how it is now:
Ideally it would look like the dropbutton on node/%/edit, or the action links like "Add node", but this should likely just restore the blue styling first.
Comment | File | Size | Author |
---|---|---|---|
#2 | Screen Shot 2013-05-24 at 10.51.23 PM.png | 10.61 KB | dead_arm |
#1 | button-primary-2003908-1.patch | 1.76 KB | tim.plunkett |
after.png | 9.66 KB | dead_arm | |
before.png | 9.93 KB | dead_arm |
Comments
Comment #1
tim.plunkettActually, this seems to just have been CSS slipped in during #1751606: Move published status checkbox next to "Save" that seems unrelated to the issue. (It was the follow-up http://drupalcode.org/project/drupal.git/commit/785ca2b)
The issue was about node/add, and this does not affect that button at ALL. It just alters the styling of unrelated buttons.
I spoke to swentel and he did not work on the CSS in that issue, just the PHP, it seems this was accidentally committed?
This just removes the code line for line.
Comment #2
dead_armLooks good. Blue primary button style is back with the patch.
With patch:
Comment #3
carwin CreditAttribution: carwin commentedLooks much better, thanks for fixing this @tim.plunkett
Comment #4
Dries CreditAttribution: Dries commentedCommitted to 8.x. Note that I don't consider this to be 'major'; setting to 'normal'.