-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
3,414 additions
and
3,608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
packages/esm-ohri-core-app/src/dashboard/ohri-dashboard.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@use '@carbon/colors'; | ||
@use '@carbon/styles/scss/spacing'; | ||
|
||
.dashboardContainer { | ||
display: flex; | ||
flex-direction: column; | ||
margin: 0; | ||
// Full vertical height minus the primary navigation menu height | ||
height: calc(100vh - 3rem); | ||
margin-left: 16rem; | ||
background-color: colors.$white-0; | ||
|
||
/*TO BE REMOVED ONCE WE IMPROVE LEFT SIDE NAVIGATION*/ | ||
& li { | ||
display: flex; | ||
} | ||
|
||
& a { | ||
width: 100%; | ||
} | ||
} | ||
|
||
/*TO BE REMOVED ONCE WE IMPROVE LEFT SIDE NAVIGATION*/ | ||
li::marker { | ||
font-size: 0px; | ||
} | ||
|
||
.logoSection { | ||
display: flex; | ||
justify-content: center; | ||
} |
11 changes: 11 additions & 0 deletions
11
packages/esm-ohri-core-app/src/home-widgets/home-widgets.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { ExtensionSlot } from '@openmrs/esm-framework'; | ||
import React from 'react'; | ||
import styles from './home-widgets.scss'; | ||
|
||
interface HomeWidgetsProps {} | ||
|
||
const HomeWidgets: React.FC<HomeWidgetsProps> = () => { | ||
return <ExtensionSlot className={styles.homePageWidget} name="home-widgets-slot" />; | ||
}; | ||
|
||
export default HomeWidgets; |
5 changes: 5 additions & 0 deletions
5
packages/esm-ohri-core-app/src/home-widgets/home-widgets.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@use '@carbon/styles/scss/spacing'; | ||
|
||
.homePageWidget { | ||
padding: spacing.$spacing-05; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.