|
|
@@ -457,14 +457,14 @@ export const HandsontableModal = (): JSX.Element => {
|
|
|
className={`handsontable-modal ${isWindowExpanded && 'grw-modal-expanded'}`}
|
|
|
onOpened={handleModalOpen}
|
|
|
>
|
|
|
- <ModalHeader tag="h4" toggle={cancel} close={closeButton} className="bg-primary text-light">
|
|
|
+ <ModalHeader tag="h4" toggle={cancel} close={closeButton}>
|
|
|
{t('handsontable_modal.title')}
|
|
|
</ModalHeader>
|
|
|
<ModalBody className="p-0 d-flex flex-column">
|
|
|
- <div className="grw-hot-modal-navbar px-4 py-3 border-bottom">
|
|
|
+ <div className="grw-hot-modal-navbar p-3">
|
|
|
<button
|
|
|
type="button"
|
|
|
- className="me-4 data-import-button btn btn-secondary"
|
|
|
+ className="me-4 data-import-button btn btn-outline-neutral-secondary"
|
|
|
data-bs-toggle="collapse"
|
|
|
data-bs-target="#collapseDataImport"
|
|
|
aria-expanded={isDataImportAreaExpanded}
|
|
|
@@ -474,23 +474,23 @@ export const HandsontableModal = (): JSX.Element => {
|
|
|
<span className="material-symbols-outlined">{isDataImportAreaExpanded ? 'expand_less' : 'expand_more'}</span>
|
|
|
</button>
|
|
|
<div role="group" className="btn-group">
|
|
|
- <button type="button" className="btn btn-secondary" onClick={() => { alignButtonHandler('l') }}>
|
|
|
+ <button type="button" className="btn btn-outline-neutral-secondary" onClick={() => { alignButtonHandler('l') }}>
|
|
|
<span className="material-symbols-outlined">format_align_left</span>
|
|
|
</button>
|
|
|
- <button type="button" className="btn btn-secondary" onClick={() => { alignButtonHandler('c') }}>
|
|
|
+ <button type="button" className="btn btn-outline-neutral-secondary" onClick={() => { alignButtonHandler('c') }}>
|
|
|
<span className="material-symbols-outlined">format_align_center</span>
|
|
|
</button>
|
|
|
- <button type="button" className="btn btn-secondary" onClick={() => { alignButtonHandler('r') }}>
|
|
|
+ <button type="button" className="btn btn-outline-neutral-secondary" onClick={() => { alignButtonHandler('r') }}>
|
|
|
<span className="material-symbols-outlined">format_align_right</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
<Collapse isOpen={isDataImportAreaExpanded}>
|
|
|
- <div className="mt-4">
|
|
|
+ <div className="py-3 border-bottom">
|
|
|
<MarkdownTableDataImportForm onCancel={toggleDataImportArea} onImport={importData} />
|
|
|
</div>
|
|
|
</Collapse>
|
|
|
</div>
|
|
|
- <div ref={c => setHotTableContainer(c)} className="m-4 hot-table-container">
|
|
|
+ <div ref={c => setHotTableContainer(c)} className="hot-table-container px-3">
|
|
|
<HotTable
|
|
|
ref={c => setHotTable(c)}
|
|
|
data={markdownTable.table}
|
|
|
@@ -507,9 +507,9 @@ export const HandsontableModal = (): JSX.Element => {
|
|
|
</div>
|
|
|
</ModalBody>
|
|
|
<ModalFooter className="grw-modal-footer">
|
|
|
- <button type="button" className="btn btn-danger" onClick={reset}>{t('commons:Reset')}</button>
|
|
|
+ <button type="button" className="btn btn-outline-danger" onClick={reset}>{t('commons:Reset')}</button>
|
|
|
<div className="ms-auto">
|
|
|
- <button type="button" className="me-2 btn btn-secondary" onClick={cancel}>{t('handsontable_modal.cancel')}</button>
|
|
|
+ <button type="button" className="me-2 btn btn-outline-neutral-secondary" onClick={cancel}>{t('handsontable_modal.cancel')}</button>
|
|
|
<button type="button" className="btn btn-primary" onClick={save}>{t('handsontable_modal.done')}</button>
|
|
|
</div>
|
|
|
</ModalFooter>
|