Skip to content

Commit

Permalink
Update event editing modal
Browse files Browse the repository at this point in the history
  • Loading branch information
0-ft committed May 19, 2022
1 parent acf3075 commit f3ad73d
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 122 deletions.
51 changes: 51 additions & 0 deletions src/EditModal.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
.ofc-edit-modal-content {
display: grid;
gap: 1em;
grid-template-columns: 1fr 1fr;
}

.ofc-edit-modal-column {
display: flex;
flex-direction: column;
}

.ofc-edit-modal-event-save-button {
margin: 0;
}

.ofc-edit-modal-content label {
color: var(--text-muted);
font-size: 14px;
}

.ofc-edit-modal-content input[type="date"],
.ofc-edit-modal-content input[type="time"],
.ofc-edit-modal-content select {
background: var(--background-modifier-form-field);
border: 1px solid var(--background-modifier-border);
color: var(--text-normal);
font-family: inherit;
padding: 5px 14px;
font-size: 16px;
border-radius: 4px;
outline: none;
height: 30px;
}

.ofc-edit-modal-buttons,
.ofc-edit-modal-checkbox {
display: flex;
}

.ofc-edit-modal-event-delete-button {
background-color: var(--background-secondary);
color: var(--background-modifier-error);
border-color: var(--background-modifier-error);
border-width: 1px;
border-style: solid;
margin-right: auto;
}

.not-visible {
display: none;
}
Loading

0 comments on commit f3ad73d

Please sign in to comment.