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

color of disabled elements #46

Open ghost opened 9 years ago

ghost commented 9 years ago

Disabled elements use neutrale text color __text_neu__ as defined in style.ini, which is "#000". This value doesn't differ from default text color __text__, which makes it hard / impossible do recognize them as being disabled.

Possible solution: use another color, e.g. #999 work around: customize as shown here https://www.dokuwiki.org/devel:style.ini#local_styleini (tested with farming and does work. the directory tree has to be created).

In static/css/screen.css the following is given:

div.dokuwiki textarea.edit[disabled],
div.dokuwiki textarea.edit[readonly],
div.dokuwiki input.edit[disabled],
div.dokuwiki input.edit[readonly],
div.dokuwiki input.button[disabled],
div.dokuwiki select.edit[disabled] {
  background-color: __background_neu__!important;
  color: __text_neu__!important;
  font-weight: normal;
}