style: improve dashboard button visibility and section spacing
- Make all button text white (!important) for better readability - Add vertical padding (2.5rem) to green background sections - Apply to all button types: logout, edit, view, deactivate - Ensures text is visible against colored button backgrounds Improves accessibility and visual hierarchy on provider dashboard. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -369,7 +369,7 @@ $job_query = new WP_Query( $args );
|
||||
display: inline-block;
|
||||
padding: 0.5rem 1.25rem;
|
||||
background-color: #6b7280;
|
||||
color: #fff;
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
border-radius: 0.375rem;
|
||||
font-size: 0.875rem;
|
||||
@@ -379,13 +379,13 @@ $job_query = new WP_Query( $args );
|
||||
|
||||
.logout-button:hover {
|
||||
background-color: #4b5563;
|
||||
color: #fff;
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ddhh-job-submit-section {
|
||||
margin-bottom: 3rem;
|
||||
padding: 2rem;
|
||||
padding: 2.5rem 2rem;
|
||||
background: #f5f5f5;
|
||||
border-radius: 8px;
|
||||
}
|
||||
@@ -428,6 +428,9 @@ $job_query = new WP_Query( $args );
|
||||
|
||||
.ddhh-job-listings-section {
|
||||
margin-top: 3rem;
|
||||
padding: 2.5rem 2rem;
|
||||
background: #f5f5f5;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.ddhh-provider-dashboard h2 {
|
||||
@@ -494,7 +497,7 @@ $job_query = new WP_Query( $args );
|
||||
display: inline-block;
|
||||
padding: 0.5rem 1rem;
|
||||
background-color: #3b82f6;
|
||||
color: #fff;
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
border-radius: 0.375rem;
|
||||
font-size: 0.875rem;
|
||||
@@ -503,33 +506,40 @@ $job_query = new WP_Query( $args );
|
||||
|
||||
.button:hover {
|
||||
background-color: #2563eb;
|
||||
color: #fff;
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.edit-link {
|
||||
background-color: #6366f1;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.edit-link:hover {
|
||||
background-color: #4f46e5;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.view-link {
|
||||
background-color: #10b981;
|
||||
margin-left: 0.5rem;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.view-link:hover {
|
||||
background-color: #059669;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.deactivate-link {
|
||||
background-color: #ef4444;
|
||||
margin-left: 0.5rem;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.deactivate-link:hover {
|
||||
background-color: #dc2626;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.ddhh-empty-state,
|
||||
|
||||
Reference in New Issue
Block a user