Closed (fixed)
Project:
Edit
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Jan 2013 at 14:05 UTC
Updated:
4 Jan 2014 at 02:42 UTC
Jump to comment: Most recent
Comments
Comment #1
nod_Good to know, will look at it next week.
Comment #2
wim leersRelevant code:
css/edit.css,#edit_overlayselector.Comment #3
nod_JS is not setting the background directly anymore. It gets wierd for dark backgrounds, it should be readable at least.
There are no visual changes for white ones.
http://drupalcode.org/project/edit.git/commitdiff/1b5b76c693278e972b9dc3...
Comment #4
webchickComment #6
wim leersThis commit modified the wrong piece of CSS. Furthermore, if the background color handling is disabled, then
Drupal.edit.views.PropertyEditorDecorationView._getBgColor()can indeed be removed.The changes to make here clashed with f51d1ed9ea619245ece4527ac63c982656906eef, which doesn't work at all, so I'm reverting that at the same time.
See http://drupalcode.org/project/edit.git/commit/1251ab6.
Comment #7
wim leers.
Comment #9
nuezThis issue has reappeared
Comment #10
wim leers#9: version?
Comment #11
dmsmidtI can't reproduce this on the latest version. Background doesn't become white on dark themes.
Comment #12
webchickHm. Tentatively moving back to fixed. Nuez, if you can still reproduce this on the latest version, can you post back with more details (browser, making doubly sure all browser caches are cleared, etc.)?
Comment #13
nuezConfirmed, it works as expected. Thanks
As I understand it, Edit takes the background color of the parent element, and adds it as inline color to contrast against the overlay.
My problem was that I had a dark background image, not a background color. You need to add a dark background color as well to the CSS to make it work.
Thanks again,