mhttpd odb editor striping too light

Issue #25 resolved
dd1 created an issue

the light grid that replaced the striping in the odb editor display is too light. on my Mac laptop at home it works just fine, on my Mac at work (MacMini connected to a hyundai 27in monitor) I do not see any striping or gridding at all. I guess not all monitors can display all colour shades equally. (This fact is most apparent in the TRIUMF auditorium, where we have LCD screens on the side of the room and the main projector screen in the middle and sometimes the colours they show are completely different, sometimes some colours completely disappear on the LCDs or on the main projector. "but it looks fine on my laptop!"). Remember the days of 16 (or was it 200) "web safe" colours? K.O.

Comments (3)

  1. dd1 reporter

    nice try, Bill. but the device is the same in both cases - a Mac with 32-bit colour (ARGB8888) (my home laptop) and a Mac with 32-bit colour (ARGB8888) (mac mini in the office with an external display). I am too lazy to try, but I doubt that CSS would report them differently (other than for the screen size and DPI resolution). The bottom line is that different monitors do not display different colours identically. This fact is easy to verify by direct inspection - load the same web page with "more upmarket" styling on different monitors. K.O.

  2. Stefan Ritt

    Starting with commit 8f9d9ae, the CSS and JS files are not hard-coded, but can be changed in the ODB. So everybody can deploy his/her favourite color scheme, e.g. red-and-white for US people, black-red-gold for Germans ;-)

    Look for ODBtableEven in mhttpd.css and change background-color to your needs. I usually do this inside Chrome, using the "Developer Tools". You can show the HTML code of your current page and dynamically change the style, which gets updated immediately. Once you found good values, put them into your personal mhttpd_ko.css

  3. Log in to comment