Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Diva look introduces a new D2W key: stylesheet.
The CSS file computed by this key will be set as the global stylesheet for the pageapplication.

e.g:

LHS

key

RHS

task = 'edit'

stylesheet

NeutralEditPage.css

task = 'inspect' and session.theme = 'Simple'

stylesheet

SimpleInspectPageSimple.css

A closer look at the CSS file...

1. CSS Imports
Code Block
@import url("_Neutral.css");
@import url("ERDIVEditPage.css");
@import url("NeutralEditToManyFault.css");
@import url("NeutralEditToOneFault.css");
@import url("NeutralCalendarDateSelect.css");
@import url("NeutralAjaxAccordion.css");
@import url("NeutralEditToOneRelationship2.css");

The CSS file NeutralEditPage.css imports a global CSS for the theme, _Neutral.css, a generic one for the edit page ERDIVEditPage.css and CSS files for D2W components used on an edit page.

...