generated from openmrs/openmrs-esm-template-app
-
Notifications
You must be signed in to change notification settings - Fork 2
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
4 changed files
with
128 additions
and
284 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,4 @@ | ||
/* Define styles for the canvas container */ | ||
canvas { | ||
border: 2px solid #ccc; /* Add a border to the canvas */ | ||
display: block; /* Make the canvas a block-level element */ | ||
margin: 0 auto; /* Center the canvas horizontally */ | ||
} | ||
|
||
/* Define styles for the buttons container */ | ||
.buttons { | ||
margin-top: 20px; /* Add some top margin to the buttons */ | ||
} | ||
|
||
/* Define styles for the drawing buttons */ | ||
button { | ||
margin-right: 10px; /* Add right margin between buttons */ | ||
padding: 8px 16px; /* Add padding to buttons */ | ||
font-size: 16px; /* Set font size */ | ||
background-color: #007bff; /* Button background color */ | ||
color: #fff; /* Button text color */ | ||
border: none; /* Remove button border */ | ||
border-radius: 4px; /* Add button border radius */ | ||
cursor: pointer; /* Change cursor on hover */ | ||
} | ||
|
||
button:hover { | ||
background-color: #0056b3; /* Change background color on hover */ | ||
} | ||
|
||
/* Define styles for the color input */ | ||
input[type="color"] { | ||
margin-right: 10px; /* Add right margin to the color input */ | ||
} | ||
|
||
/* Define styles for the undo and redo buttons */ | ||
button.undo, button.redo { | ||
background-color: #6c757d; /* Button background color */ | ||
} | ||
|
||
/* Define styles for the file input */ | ||
input[type="file"] { | ||
display: inline-block; | ||
.file-uploader-container { | ||
display: inline-block; | ||
margin-right: 10px; | ||
} |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
@use '@carbon/styles/scss/spacing'; | ||
@use '@carbon/styles/scss/type'; | ||
@import '~@openmrs/esm-styleguide/src/vars'; | ||
|
||
|
||
.editor-container { | ||
width: 100%; | ||
height: 100%; | ||
position: relative; /* Ensure proper positioning of the SvgEditor */ | ||
} | ||
.text { | ||
font-size: 0.9rem; | ||
padding: 0.5rem; | ||
} |
Oops, something went wrong.