I have a default css stylesheet set in the Solutions Properties “styleSheet” (default.css) and an other/different stylesheet set in the Module Solution Peroperty “styleSheet” (login.css).
In both stylesheets are different settings for i.e. “.svy-button”.
Why does the css settings from the Module stylesheet styles (overwrites) the buttons on forms of the main solution and not only on Module forms?
In the browser you have a lot of different stylesheets that are all used at the same time. Some rules decide what is actually applied (like the order in which style sheets are loaded). There is no such thing as a module in the browser. Just a bunch of elements and a bunch of style sheets. So in short: when in the html there are a bunch of svy-button elements and you have several svy-button declarations in different style sheets, one of those declarations will be applied to all svy-button elements.
The Label/Button property “styleClass” and “rolloverCursor” is set as “Default”.
A simple button on the form gets the lightblue background-color on hover, but don’t changes the mousecursor to a pointer.
This will only work when I set the Label/Button property “rolloverCursor” to “Hand”.
Maybe overwritten by something more specific? Could you check in the inspector of your browser what classes are applied, where they come from and what cursor is set on hover?
Inline styles will always win, yes. And the inspector is your friend for these kinds of questions. The more relevant CSS becomes in your solution, the more it’s worth to understand what’s being applied why. Without a tool like the inspector that becomes really difficult…