In the admin/contentmanagement/content, in the first fieldset "Show only items where" there is a bullet point that shouldn't be displayed. Please have a look at the screenshot attached.
Win: Firefox 3.0, IE 6&7;
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | bullet_point.patch | 975 bytes | ARep |
| #3 | bullet_point.patch | 974 bytes | ARep |
| #1 | bullet_point.patch | 507 bytes | ARep |
| bulletlist.jpg | 43.89 KB | ARep |
Comments
Comment #1
ARep commentedAdded "list-style-image: none;" to
#node-admin-filter ul {
list-style-type: none;
--> list-style-image: none;
padding: 0;
margin: 0;
width: 100%;
}
in node.css. This should fix the issue.
Angelo.
Comment #2
swentel commentedWhile you're at it, this bullet is also on admin/user/user, let's fix that in the same run :)
Comment #3
ARep commentedAdded a fix for admin/user/user.
#user-admin-filter ul {
list-style-type: none;
--> list-style-image: none;
padding: 0;
margin: 0;
width: 100%;
}
Please note:
instead of targeting every single ul element in the different sections (#user-admin-filter ul, #node-admin-filter ul) a better solution could be to target all the ul elements in the fieldset with the id=edit-filters, so that with one css declaration we could include them all.
Something like:
fieldset#edit-filters ul {
list-style-image:none;
list-style-type:none;
margin:0;
padding:0;
width:100%;
}
Angelo.
Comment #4
mcrittenden commentedIf those two places are the only places the bullet points show up, I'd vote for doing it as you've done it. No point making an overarching declaration to fix two places, especially when it's just a two line fix as it is.
Make sure to use two spaces instead of a tab when indenting. Your addition under #user-admin-filter ul seems to be a tab. More at http://drupal.org/coding-standards (apologies if you already know and love this link...not trying to insult you).
Necessary patch, good catch, I'd say just fix the tab and we're ready to roll.
Comment #5
ARep commentedUpdated patch to remove tabs. Please review.
Thanks mcrittenden for your suggestion and advice;
I have no idea if there are other places where that issue shows up, and I agree with you about the fact that if those are the only 2 cases there is no point to add a "general css rule".
Comment #6
mcrittenden commentedPatch applies cleanly and works fine. Abides by coding standards. Let's do it :)
Comment #7
moshe weitzman commentedWhy is that bullet in the HTML to begin with? Just want to make sure we are not covering up something deeper.
Comment #8
mcrittenden commentedmoshe: Because the form is laid out as an unordered list...is that what you're asking?
Comment #9
ARep commentedMoshe, as mcrittenden already replied, the form is wrapped in a unordered list that inherits the following css propery:
ul, li.leaf {style.css?G (line 93)
list-style-image:url(images/menu-leaf.gif);
}
In order to hide any bullet point for the specific form the following css has been set (this is the actual css code)
#node-admin-filter ul {node.css?G (line 9)
list-style-type:none;
margin:0;
padding:0;
width:100%;
}
The problem is that if list-style-image is NOT set to none, even if we set list-style-type:none, the image will be still displayed; that's why the bullet point (menu-leaf.gif) is showing.
We need to add list-style-image:none for the 2 specific cases (#node-admin-filter ul, #user-admin-filter ul) in order to hide the bullet image.
We colud also rewrite the html so that the form is not wrapped in a unordered list, but I believe this solution is too complicated at this stage.
Hope this help.
Comment #10
moshe weitzman commentedThanks for the explanation.
Comment #11
ultimateboy commentedI dont know if this is the right move. The content filters are far from semantic in their current state. Seriously, a definition list inside of an unordered list? Anyways, I think that this 'problem' should be fixed by fixing the real issue, which is the fact that it is not semantic, and that issue is #365299: Make content filters semantic (ul instead of dl), so I am going to mark this as postponed until that issue gets some attention.
Comment #12
wretched sinner - saved by grace commentedBased on Moshe being happy with this, I say fix it now, and then work on improving the semantics.
Comment #13
mcrittenden commentedI agree with wretched sinner. There's no harm in fixing this in the meantime. There's always a chance the semantics issue gets marked "won't fix" anyway.
Comment #14
sunJust replacing
with
Should be sufficient here.
Also, this patch needs to be tested on different browsers. IE being the special case here.
Comment #15
ARep commentedHi Sun,
you are right; I didn't use list-style:none; just because of IE. I am not sure how to handle the css for IE. Do I have to create an ie.css file? Is there already a css file for IE?
Thanks.
Comment #16
sivaji_ganesh_jojodae commentedThe patch in #5 seems to be working fine in FF3.
@ultimateboy
Your patch remove the bullet only in content filter, leave user filter bullet as such.
Comment #17
sivaji_ganesh_jojodae commentedComment #19
casey commentedIssue doesn't exist any more.
Comment #20
sunIn addition, the entire markup for those filter forms is fixed properly in #732914: Improve the markup/CSS for content and user filter forms
Therefore marking as duplicate