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.
Revealed in #730754-8: CSS coding standards: No !important in core/contrib modules, ONLY IN THEMES
The html.js
CSS selector
- should mainly be used to enable/disable elements depending on whether JS is enabled or not
- should NOT be used to style them entirely different. (unless we talk about vertical tabs :P)
This patch cleans up fieldset styling even more.
Comment | File | Size | Author |
---|---|---|---|
#5 | helpScreenAddShortcut.png | 236.94 KB | aspilicious |
#3 | drupal.html-js-fieldset.3.patch | 3.96 KB | sun |
#2 | noSpaceCollapsed.png | 162.47 KB | aspilicious |
drupal.html-js-fieldset.0.patch | 3.84 KB | sun | |
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedi'll test this
Comment #2
aspilicious CreditAttribution: aspilicious commentedCan you add some space between a button and the fieldset when collapsed?
Comment #3
sunThanks for testing! That revealed yet another ugliness. Now fixed :)
Comment #4
aspilicious CreditAttribution: aspilicious commentedCan someone give an IE6 review?
I'll do the rest :)
Comment #5
aspilicious CreditAttribution: aspilicious commentedFirst layout issue that hits my eye...
Dunno if it's related with this patch.
But I see the add shortcut button for a second on the wrong place in ff 3.5.8
After that one milisecond it's gone
Same issue in opera 10.50
Comment #6
sunThat's unrelated to this patch, as this patch only changes CSS for fieldsets.
I've tested IE6 in all themes and there is no difference between before and after this patch.
Comment #7
aspilicious CreditAttribution: aspilicious commentedI'll open issues for those other problems.
This one is rtbc.
Comment #8
casey CreditAttribution: casey commented#367367: Overflow CSS causing issues.
Comment #9
casey CreditAttribution: casey commentedCan we get a commit here? Those CSS issues needs full re-reviewing in all browsers when things change in between.
Still looking good though.
Comment #10
JacineRTBC + 1
Comment #11
aspilicious CreditAttribution: aspilicious commented+2 :p
Comment #12
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD.