arsava / dokuwiki-template-vector

"vector" brings you the MediaWiki/Wikipedia 2010 look and feel for DokuWiki.
http://www.dokuwiki.org/template:vector
GNU General Public License v2.0
38 stars 9 forks source link

css messes up listings #24

Open Klap-in opened 10 years ago

Klap-in commented 10 years ago

The css of the Vector template is messing up some listings used in DokuWiki and some plugins.

Examples:

Why do you mess up your css so difficulty by copy-pasting the whole css of the original Mediawiki template? Every time your template is broken (compared to other templates) and almost not traceable where to fix it in the many many style sheets... How difficult is it to build up new css styles, without just copy-pasting the mediawiki styles?

andreashaerter commented 10 years ago

Which template version do you use? I can't reproduce the mediamanger problem. (I'll test index menu ASAP, however it may be possible that there is a style conflict)

Why do you mess up your css so difficulty by copy-pasting the whole css of the original Mediawiki template?

Sorry, I think the approach is the opposite of un-maintainable as it's not just silly copy/paste. See http://blog.andreas-haerter.com/2011/03/16/how-to-create-a-maintainable-dokuwiki-template for details.

andreashaerter commented 10 years ago

Every time your template is broken (compared to other templates) and almost not traceable where to fix it in the many many style sheets.

I don't understand the problem. All other templates will also "break" if DokuWiki introduces new features which need additional styling (however, vector is one of the few which really receive updates then).

So just update the template to the newest release (normally available shortly after a new DokuWiki RC was released)? What's the problem?

andreashaerter commented 10 years ago

Am I getting things right - You are the Index Menu maintainer? So this Issue is mostly about "vector is not compatible to IndexMenu"? I'm going to fix that if so (especially as your plugin is very popular).

Klap-in commented 10 years ago

Hmm, pardon. The tabs of the media manager are moved by:

div#content .dokuwiki ul {
    margin-left: 3.2em; 
    padding-left: .5em;
}

But i now discover that is css added my self, to 'try' to improve the listing layouting... I'm sorry for complaining about that!

I will checkout a vanilla Vector template to double-check my other claims.

andreashaerter commented 10 years ago

No problem. Let me know if you or your users have general problems with vector/monobook and Index Menu as I did my last checks a few versions ago. It won't be a problem to fix incompatibilities at my side (and I think it makes sense to add your Plugin to me checklist...)

Klap-in commented 10 years ago

In a vanilla Vector template in a separate wiki, the indexmenu plugin has no listing symbols (so no close/open symbols as well). This make the difference between namespaces and pages difficult.

Example syntax, putted in wiki:navigation

**Listing**
{{indexmenu>:test#1|nojs navbar}}
andreashaerter commented 10 years ago

OK, thanks. I'll have a look at It ASAP.