You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the previous version (0.9.7), most of the CSS classes were prefixed by ".mocha".
For example, .mochaTitlebar , .mochaMinimizeButton, etc.
This was great, because it avoid collision between Mocha and any of the potential "application" side CSS rule defined by the user.
For example, now, the window.css defines some selectors like ".mochaTitlebar .toolbar span.icon". Great: the CSS definition is smaller... But if the user has defined a global ".icon" for its application, the toolbar icon will inherit from it, wich can destroy the mocha titlebar.
From my point of view, an enclosing UI system like MochaUI should ensure the user he hasn't to perfectly know all the existing CSS rules to create his own application. The second reason is he will be sure he can update his mocha version and be sure his application CSS will not damage MochaUI.
Great work guys !
The text was updated successfully, but these errors were encountered:
Thanks, It is going slower than I want. I am stopping any new features and just working out the problems with current code base, so that we can pause for a version release.
-Chris
In the previous version (0.9.7), most of the CSS classes were prefixed by ".mocha".
For example, .mochaTitlebar , .mochaMinimizeButton, etc.
This was great, because it avoid collision between Mocha and any of the potential "application" side CSS rule defined by the user.
For example, now, the window.css defines some selectors like ".mochaTitlebar .toolbar span.icon". Great: the CSS definition is smaller... But if the user has defined a global ".icon" for its application, the toolbar icon will inherit from it, wich can destroy the mocha titlebar.
From my point of view, an enclosing UI system like MochaUI should ensure the user he hasn't to perfectly know all the existing CSS rules to create his own application. The second reason is he will be sure he can update his mocha version and be sure his application CSS will not damage MochaUI.
Great work guys !
The text was updated successfully, but these errors were encountered: