discourse-table-builder/scss/modal/insert-table-modal.scss

76 lines
1.2 KiB
SCSS
Raw Normal View History

.btn-insert-table {
2022-07-14 12:24:38 -04:00
background: var(--tertiary);
color: var(--secondary);
.d-icon {
color: var(--secondary);
}
.discourse-no-touch & {
&:hover {
background-color: var(--tertiary-hover);
color: var(--secondary);
.d-icon {
color: var(--secondary);
}
}
}
}
.insert-table-modal {
display: flex;
flex-direction: column;
align-items: flex-start;
.modal-inner-container {
--modal-max-width: $reply-area-max-width;
2023-08-31 12:28:05 -04:00
width: 100%;
height: 100%;
2023-08-31 12:28:05 -04:00
display: grid;
grid-template-rows: auto 1fr auto;
}
.modal-body {
padding: 0;
2023-08-31 12:28:05 -04:00
margin: 0;
}
.modal-footer {
display: flex;
align-items: center;
justify-content: space-between;
2023-08-31 12:28:05 -04:00
.secondary-actions {
display: flex;
align-items: center;
gap: 0.5rem;
.edit-reason {
display: flex;
align-items: center;
gap: 0.5rem;
}
.btn {
margin-right: 0;
}
input {
margin: 0;
}
}
.secondary-actions .tippy-content {
h4 {
color: var(--primary);
}
li {
margin-block: 0.25rem;
color: var(--primary-high);
}
}
}
}