Details
-
Story
-
Status: Approved
-
TBD
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Undetermined
-
Concepts OWA 2, Concepts OWA 3
Description
We want to provide a common styling for OWAs. One way to achieve that is to create the UI Commons OWA, the purpose of which, will be to expose the openmrs.css file.
You can find the css file at http://demo.openmrs.org/openmrs/ms/uiframework/resource/referenceapplication/styles/referenceapplication.css?cache=1455853213753
However, it is auto-generated using Compass and we will do the same in the UI Commons OWA. The file is built using https://github.com/openmrs/openmrs-module-referenceapplication/blob/master/omod/src/main/compass/config.rb
In the file you can see that some sass files are imported from https://github.com/openmrs/openmrs-module-uicommons/tree/master/scss/src/main/resources and some are in https://github.com/openmrs/openmrs-module-referenceapplication/tree/master/omod/src/main/compass/sass
You need to copy all sass files into UI Commons OWA repository and configure compass to build the openmrs.css file. We will remove those files from modules eventually, but for now we will duplicate them in the UI Commons OWA.
Once that is done in Concepts OWA we should use the styling from /openmrs/owa/ui-commons/css/openmrs.css