307 lines
5.5 KiB
CSS
307 lines
5.5 KiB
CSS
/* ============================================================
|
|
THALIM Newsletter — Admin styles
|
|
All rules scoped to .thalim-nl-* or .wrap.thalim-nl-wrap
|
|
============================================================ */
|
|
|
|
.thalim-nl-layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 360px;
|
|
gap: 30px;
|
|
margin-top: 20px;
|
|
align-items: start;
|
|
}
|
|
|
|
/* ---- Month row ---- */
|
|
.thalim-nl-month-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.thalim-nl-month-row input[type="month"] {
|
|
font-size: 15px;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.thalim-nl-spinner.spinner {
|
|
float: none;
|
|
margin: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.thalim-nl-spinner.spinner.is-active {
|
|
visibility: visible;
|
|
}
|
|
|
|
/* ---- Intro / Conclusion editors ---- */
|
|
.thalim-nl-intro,
|
|
.thalim-nl-conclusion {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.thalim-nl-intro label,
|
|
.thalim-nl-conclusion label {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.thalim-nl-conclusion {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* ---- Category groups ---- */
|
|
.thalim-nl-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.thalim-nl-group-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: #50575e;
|
|
margin: 0 0 8px 0;
|
|
padding-bottom: 4px;
|
|
border-bottom: 2px solid #dcdcde;
|
|
}
|
|
|
|
/* ---- Section dropdowns (details/summary) ---- */
|
|
.thalim-nl-section {
|
|
border: 1px solid #ccd0d4;
|
|
border-radius: 4px;
|
|
margin-bottom: 6px;
|
|
background: #fff;
|
|
}
|
|
|
|
.thalim-nl-section-summary {
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
color: #1d2327;
|
|
padding: 8px 14px;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
user-select: none;
|
|
}
|
|
|
|
.thalim-nl-section-summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.thalim-nl-section-summary::before {
|
|
content: '▸';
|
|
display: inline-block;
|
|
font-size: 11px;
|
|
color: #888;
|
|
transition: transform 0.15s ease;
|
|
flex-shrink: 0;
|
|
width: 12px;
|
|
}
|
|
|
|
.thalim-nl-section[open] > .thalim-nl-section-summary::before {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.thalim-nl-section-summary:hover {
|
|
background: #f6f7f7;
|
|
}
|
|
|
|
.thalim-nl-section-body {
|
|
padding: 2px 14px 10px 14px;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.thalim-nl-count {
|
|
font-weight: normal;
|
|
color: #666;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.thalim-nl-post-row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
padding: 4px 0;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.thalim-nl-post-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.thalim-nl-post-row input[type="checkbox"] {
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* ---- Drag handle + reordering ---- */
|
|
.thalim-nl-drag-handle {
|
|
flex-shrink: 0;
|
|
cursor: grab;
|
|
color: #c3c4c7;
|
|
font-size: 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
line-height: 1;
|
|
align-self: center;
|
|
}
|
|
|
|
.thalim-nl-post-row:hover .thalim-nl-drag-handle,
|
|
.thalim-nl-seminar-title:hover .thalim-nl-drag-handle {
|
|
color: #8c8f94;
|
|
}
|
|
|
|
.thalim-nl-drag-handle:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.thalim-nl-sortable-placeholder {
|
|
border: 1px dashed #2271b1;
|
|
background: #f0f6fc;
|
|
border-radius: 3px;
|
|
height: 26px;
|
|
margin: 2px 0;
|
|
}
|
|
|
|
.ui-sortable-helper {
|
|
background: #fff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.thalim-nl-post-title {
|
|
flex: 1;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.thalim-nl-post-view {
|
|
flex-shrink: 0;
|
|
color: #b4b9be;
|
|
text-decoration: none;
|
|
line-height: 1;
|
|
}
|
|
|
|
.thalim-nl-post-view:hover {
|
|
color: #2271b1;
|
|
}
|
|
|
|
.thalim-nl-post-view .dashicons {
|
|
font-size: 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.thalim-nl-post-date {
|
|
font-size: 11px;
|
|
color: #888;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ---- Seminars: séances grouped under their seminar ---- */
|
|
.thalim-nl-seminar-group {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.thalim-nl-seminar-group:first-child {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.thalim-nl-seminar-title {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 6px;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
color: #1d2327;
|
|
padding: 5px 10px;
|
|
background: #f0f3f5;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.thalim-nl-seminar-title .thalim-nl-post-view {
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Séances hang under their seminar title, connected by a left rail */
|
|
.thalim-nl-seance-row {
|
|
margin-left: 9px;
|
|
padding-left: 17px;
|
|
border-bottom: none;
|
|
border-left: 2px solid #e2e6ea;
|
|
}
|
|
|
|
/* ---- Empty state ---- */
|
|
.thalim-nl-empty {
|
|
color: #666;
|
|
font-style: italic;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
/* ---- Past newsletters table ---- */
|
|
.thalim-nl-past {
|
|
background: #fff;
|
|
border: 1px solid #ccd0d4;
|
|
border-radius: 4px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.thalim-nl-past h2 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.thalim-nl-past-table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
.thalim-nl-past-table th,
|
|
.thalim-nl-past-table td {
|
|
padding: 8px 10px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.thalim-nl-past-table th {
|
|
font-weight: 600;
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.thalim-nl-past-table td:last-child {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.thalim-nl-past-table .button + .button {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
/* ---- Subscribe / Unsubscribe link fields ---- */
|
|
.thalim-nl-links-row {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.thalim-nl-link-field {
|
|
flex: 1;
|
|
}
|
|
|
|
.thalim-nl-link-field label {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.thalim-nl-link-field input {
|
|
width: 100%;
|
|
}
|
|
|
|
/* ---- Responsive fallback ---- */
|
|
@media (max-width: 1100px) {
|
|
.thalim-nl-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|