mirror of
https://github.com/lossless-group/perplexed-plugin.git
synced 2026-07-22 17:00:32 +00:00
On branch development Changes to be committed: modified: src/modals/CitationModal.ts modified: src/styles/citations.css modified: styles.css
82 lines
1.7 KiB
CSS
82 lines
1.7 KiB
CSS
/* src/styles/citations.css */
|
|
.cite-wide-modal {
|
|
padding: 20px;
|
|
}
|
|
.cite-wide-modal h3 {
|
|
margin-top: 0;
|
|
color: var(--text-normal);
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
padding-bottom: 10px;
|
|
}
|
|
.cite-wide-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 15px 0;
|
|
font-size: 0.9em;
|
|
}
|
|
.cite-wide-table th,
|
|
.cite-wide-table td {
|
|
padding: 8px 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
.cite-wide-table th {
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
background-color: var(--background-primary-alt);
|
|
}
|
|
.cite-type-cell {
|
|
font-weight: 600;
|
|
color: var(--text-accent);
|
|
width: 100px;
|
|
}
|
|
.cite-number-cell {
|
|
width: 80px;
|
|
text-align: center !important;
|
|
}
|
|
.cite-context-cell {
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.cite-actions-cell {
|
|
width: 150px;
|
|
text-align: right !important;
|
|
white-space: nowrap;
|
|
}
|
|
.cite-actions-cell button {
|
|
margin-left: 4px;
|
|
padding: 4px 8px;
|
|
font-size: 0.8em;
|
|
}
|
|
.cite-actions-cell button.mod-cta {
|
|
background-color: var(--interactive-accent);
|
|
color: var(--text-on-accent);
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
.cite-actions-cell button.mod-cta:hover {
|
|
background-color: var(--interactive-accent-hover);
|
|
}
|
|
.button-spacer {
|
|
display: inline-block;
|
|
width: 6px;
|
|
}
|
|
.modal-button-container {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 20px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
}
|
|
@media (max-width: 600px) {
|
|
.cite-wide-table {
|
|
display: block;
|
|
overflow-x: auto;
|
|
}
|
|
.cite-context-cell {
|
|
max-width: 150px;
|
|
}
|
|
}
|