You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ken Schaefer 474f25b2ed activity report 2 years ago
..
batchcom Add openemr to git 2 years ago
billing Add openemr to git 2 years ago
clickmap Add openemr to git 2 years ago
code_systems Add openemr to git 2 years ago
couchdb Add openemr to git 2 years ago
custom activity report 2 years ago
de_identification_forms Add openemr to git 2 years ago
drugs Add openemr to git 2 years ago
easipro Add openemr to git 2 years ago
esign Add openemr to git 2 years ago
fax Add openemr to git 2 years ago
forms Add openemr to git 2 years ago
forms_admin Add openemr to git 2 years ago
language Add openemr to git 2 years ago
login Add openemr to git 2 years ago
logview Add openemr to git 2 years ago
main activity report 2 years ago
modules removed sites/default/documents from repo 2 years ago
new Add openemr to git 2 years ago
orders Add openemr to git 2 years ago
patient_file Add openemr to git 2 years ago
patient_tracker Add openemr to git 2 years ago
pic Add openemr to git 2 years ago
practice Add openemr to git 2 years ago
procedure_tools Add openemr to git 2 years ago
product_registration Add openemr to git 2 years ago
reports Add openemr to git 2 years ago
smart Add openemr to git 2 years ago
soap_functions Add openemr to git 2 years ago
super Add openemr to git 2 years ago
themes Add openemr to git 2 years ago
therapy_groups Add openemr to git 2 years ago
usergroup Add openemr to git 2 years ago
weno Add openemr to git 2 years ago
README.md Add openemr to git 2 years ago
eRx.php Add openemr to git 2 years ago
eRxGlobals.php Add openemr to git 2 years ago
eRxPage.php Add openemr to git 2 years ago
eRxSOAP.php Add openemr to git 2 years ago
eRxStore.php Add openemr to git 2 years ago
eRxXMLBuilder.php Add openemr to git 2 years ago
eRx_xml.php Add openemr to git 2 years ago
expand_contract_js.php Add openemr to git 2 years ago
globals.php Add openemr to git 2 years ago
help_modal.php Add openemr to git 2 years ago
login_screen.php Add openemr to git 2 years ago
logout.php Add openemr to git 2 years ago

README.md

OpenEMR-interface

The OpenEMR UI is built with SASS on top of a bootstrap base (compiled with gulp).

Themes

Different themes share a common core and have their own overrides to customize the appearance of OpenEMR.

There are three different types of themes:

  • The light theme is the default modern theme
  • The manila theme is a combination of OpenEMR's legacy themes (which have all been removed) with some modern elements.
  • The other themes (called colors) are the same color_base theme with different color palettes.

rtl_ prefixed themes are built by appending the rtl.css file to every theme automatically. These overrides provide right to left adjustments for all style*.css files

Files specific to different themes are named with the following conventions:

  • themes/core contain shared styles that all themes import toward the top of their files
  • themes/colors contain all changes specific to the color theme work (led by zbig01)
  • themes/[component_name] (e.g. buttons or navigation-slide) contain files named after each theme variant.
    • See TODOs on how we might be able to manage component-level styles in the future

Special Classes

  • position-override gives a hook for style to change placement of buttons. In light/manila style this is ignored and buttons go to left positioned under data entry field. Whereas in the other styles this is used to center the buttons.

Getting Started

Compiling SASS files locally requires node.js and npm.

  1. Setup your local development environment as described in CONTRIBUTING.md
  • If running on a local machine, run npm install from the root directory.
  • If running in docker: docker exec -it [your_container_id] /bin/sh then cd into openemr

From here you can either:

  • npm run dev - just compiles the local .scss files and recompiles them whenever they are changed.
  • npm run dev-sync (EXPERIMENTAL*) - loads your local OpenEMR instance using BrowserSync (port 3000) in front of 80 (feel free to edit the package.json to change the port)

TODOs

  • Incorporate tabs_style_compact.css and tabs_style_full.css (and associated RTL) into scss
  • Don't require 2 build runs to build the rtl themes
  • Add a lot of documentation on current component usage (starting with theme-only components)
  • Migrate style dependencies in the php code to use the components from the interface directory
  • Migrate component css still left in the /themes directory into scss