Initial import of the bdmurphy Bookshelf work: the bd-bookshelf theme, bd-bookshelf-plugin, bd-bookshelfhelper and bd-simpleemail plugins, plus the specification documents, mockups and release archives.
173 lines
2.9 KiB
CSS
173 lines
2.9 KiB
CSS
/**
|
|
* BD Bookshelf - Admin Styles
|
|
*
|
|
* @package BD_Bookshelf
|
|
*/
|
|
|
|
/* Form Layout */
|
|
.bd-bookshelf-form-columns {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 30px;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.bd-bookshelf-form-columns {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Author Rows */
|
|
.bd-bookshelf-author-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.bd-bookshelf-author-row input {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Status Badges */
|
|
.bd-bookshelf-status {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.bd-bookshelf-status.active {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.bd-bookshelf-status.inactive {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.bd-bookshelf-badge {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
background: #e2e3e5;
|
|
color: #383d41;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
/* Link Status */
|
|
.bd-bookshelf-link-status {
|
|
display: inline-block;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.bd-bookshelf-link-status.auto {
|
|
background: #cce5ff;
|
|
color: #004085;
|
|
}
|
|
|
|
.bd-bookshelf-link-status.custom {
|
|
background: #fff3cd;
|
|
color: #856404;
|
|
}
|
|
|
|
/* Import Sections */
|
|
.bd-bookshelf-import-section {
|
|
background: #fff;
|
|
border: 1px solid #ccd0d4;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.bd-bookshelf-import-section h2 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Scan Page */
|
|
.bd-bookshelf-scan-sections {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 30px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.bd-bookshelf-scan-section {
|
|
background: #fff;
|
|
border: 1px solid #ccd0d4;
|
|
padding: 20px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.bd-bookshelf-scan-sections {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.bd-bookshelf-author-card {
|
|
background: #f8f9fa;
|
|
border: 1px solid #e2e3e5;
|
|
padding: 20px;
|
|
border-radius: 4px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.bd-bookshelf-author-card h3 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Modal */
|
|
.bd-bookshelf-modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 100000;
|
|
}
|
|
|
|
.bd-bookshelf-modal-content {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background: #fff;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
max-width: 600px;
|
|
width: 90%;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.bd-bookshelf-modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.bd-bookshelf-modal-header h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.bd-bookshelf-modal-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
color: #666;
|
|
}
|
|
|
|
.bd-bookshelf-modal-close:hover {
|
|
color: #000;
|
|
}
|