Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
190 changes: 190 additions & 0 deletions assets/css/check-email-dns-records.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
/**
* Check Email DNS Records Styles
*
* Styles for email DNS check task execution and display.
*/

/* Email DNS Check Popover */
.prpl-popover-email-dns {
max-width: 600px;
}

.prpl-email-dns-content {
min-height: 100px;
}

/* Header */
.prpl-popover-email-dns .prpl-popover-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
border-bottom: 1px solid #e5e7eb;
}

.prpl-popover-email-dns .prpl-popover-title {
margin: 0;
font-size: 18px;
font-weight: 600;
color: #1f2937;
}

.prpl-popover-email-dns .prpl-popover-close {
background: none;
border: none;
cursor: pointer;
padding: 5px;
color: #6b7280;
transition: color 0.2s;
}

.prpl-popover-email-dns .prpl-popover-close:hover {
color: #1f2937;
}

/* Content */
.prpl-popover-email-dns .prpl-popover-content {
padding: 20px;
}

/* Instructions */
.prpl-email-dns-instructions p {
margin: 0 0 10px 0;
line-height: 1.6;
}

.prpl-email-dns-instructions p:last-child {
margin-bottom: 0;
}

/* Loading State */
.prpl-email-dns-loading {
text-align: center;
padding: 30px 20px;
}

.prpl-email-dns-loading .prpl-spinner {
margin: 0 auto 20px;
width: 40px;
height: 40px;
border: 4px solid #f3f4f6;
border-top-color: #534786;
border-radius: 50%;
animation: prpl-email-dns-spin 1s linear infinite;
}

@keyframes prpl-email-dns-spin {

to {
transform: rotate(360deg);
}
}

.prpl-email-dns-loading p {
color: #666;
font-size: 14px;
margin: 0;
}

/* Result State */
.prpl-email-dns-result {
padding: 20px;
background: #f9fafb;
border-radius: 6px;
margin-bottom: 20px;
}

.prpl-email-dns-response {
line-height: 1.6;
color: #1f2937;
}

/* DNS Results Styling */
.prpl-dns-results {
font-size: 14px;
}

.prpl-spam-score {
margin: 0 0 15px 0;
padding: 10px;
border-radius: 4px;
}

.prpl-spam-score.prpl-score-good {
background-color: #d1fae5;
color: #065f46;
}

.prpl-spam-score.prpl-score-warning {
background-color: #fef3c7;
color: #92400e;
}

.prpl-spam-score.prpl-score-bad {
background-color: #fee2e2;
color: #991b1b;
}

.prpl-dns-records-list {
list-style: none;
margin: 0;
padding: 0;
}

.prpl-dns-record {
padding: 8px 0;
border-bottom: 1px solid #e5e7eb;
display: flex;
align-items: center;
gap: 8px;
}

.prpl-dns-record:last-child {
border-bottom: none;
}

.prpl-status-icon {
font-weight: 700;
font-size: 16px;
}

.prpl-dns-record.prpl-status-pass .prpl-status-icon {
color: #059669;
}

.prpl-dns-record.prpl-status-fail .prpl-status-icon {
color: #dc2626;
}

/* Error State */
.prpl-email-dns-error {
padding: 15px;
background: #fef2f2;
border: 1px solid #fecaca;
border-radius: 6px;
margin-bottom: 20px;
}

.prpl-email-dns-error .prpl-error-message {
color: #dc2626;
margin: 0;
font-size: 14px;
}

/* Buttons */
.prpl-email-dns-check,
.prpl-email-dns-retry {
min-width: 120px;
}

/* Responsive */
@media (max-width: 768px) {

.prpl-popover-email-dns {
max-width: 90vw;
}

.prpl-email-dns-result {
padding: 15px;
}
}
Loading
Loading