email working - remove clients - preview polish

This commit is contained in:
stack_admn committed 2026-11-01 21:41:37 -08:00
1 parent 2b1424d127
commit da83beaec3
19 files changed
+1342 -1060

No files matched your search

+155 -2
View File
@@ -7,6 +7,68 @@
* @since 1.0.0
*/
/* Hide Divi theme header/logo on plugin tool pages */
body.hssm-tool-page #main-header,
body.hssm-tool-page #top-header,
body.hssm-tool-page .et-l--header,
body.hssm-tool-page header.et-l,
body.hssm-tool-page .logo_container,
body.hssm-tool-page #et-top-navigation,
body.page-template-page-slide-preview #main-header,
body.page-template-page-slide-preview #top-header,
body.page-template-page-slide-preview .et-l--header,
body.page-template-page-slide-preview header.et-l,
body.page-template-page-slide-dashboard #main-header,
body.page-template-page-slide-dashboard #top-header,
body.page-template-page-slide-dashboard .et-l--header,
body.page-template-page-slide-dashboard header.et-l {
display: none !important;
}
body.hssm-tool-page {
padding-top: 0 !important;
}
body.hssm-tool-page #page-container,
body.hssm-tool-page #et-boc,
body.hssm-tool-page .et-l--body {
padding-top: 0 !important;
margin-top: 0 !important;
}
.hssm-preview-approve-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
max-width: 1400px;
margin: 20px auto 0;
padding: 16px 24px;
background: #fff8e5;
border: 1px solid #f0c36d;
border-radius: 8px;
}
.hssm-preview-approve-copy {
display: flex;
flex-direction: column;
gap: 4px;
color: #1d2327;
}
.hssm-preview-approve-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
@media (max-width: 782px) {
.hssm-preview-approve-bar {
flex-direction: column;
align-items: flex-start;
}
}
/* ==========================================
Full-Width Layout Override
========================================== */
@@ -1117,6 +1179,11 @@
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.hssm-slide-item-focus {
border-color: #2271b1;
box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}
.hssm-slide-info {
flex: 1;
}
@@ -1399,7 +1466,7 @@
.hssm-table-header {
display: grid;
grid-template-columns: 80px 1fr 120px 180px 150px 140px;
grid-template-columns: 80px 1fr 150px 180px 150px 180px;
gap: 15px;
padding: 20px 25px;
background: #f8f9fa;
@@ -1416,7 +1483,7 @@
.hssm-slide-row {
display: grid;
grid-template-columns: 80px 1fr 120px 180px 150px 140px;
grid-template-columns: 80px 1fr 150px 180px 150px 180px;
gap: 15px;
padding: 20px 25px;
border-bottom: 1px solid #f1f3f4;
@@ -1428,6 +1495,11 @@
background-color: #f8f9fa;
}
.hssm-slide-row-focus {
background-color: #e8f5e9;
outline: 2px solid #46b450;
}
.hssm-slide-row:last-child {
border-bottom: none;
}
@@ -1532,6 +1604,22 @@
border-color: #1e7e34;
}
.hssm-slide-actions .hssm-approved-slide,
.hssm-slide-actions .hssm-approved-slide:disabled,
.hssm-slide-actions .hssm-approved-slide:hover {
background: #275191;
background-color: #275191;
border-color: #275191;
color: #fff;
}
.hssm-slide-actions .hssm-approved-slide:disabled {
opacity: 1;
cursor: default;
transform: none;
box-shadow: none;
}
/* Empty State */
.hssm-empty-state {
text-align: center;
@@ -1872,4 +1960,69 @@
/* Overlap handling override */
.hssm-datepicker-start.hssm-datepicker-end a {
background: linear-gradient(135deg, #d4edda 50%, #f8d7da 50%) !important;
}
/*
* Theme CSS targets input[type="text"] (higher specificity than .hssm-input)
* and paints those fields black/pill-shaped. Keep plugin forms white.
*/
.hssm-dashboard-main input[type="text"],
.hssm-dashboard-main input[type="url"],
.hssm-dashboard-main input[type="email"],
.hssm-dashboard-main input[type="search"],
.hssm-dashboard-main input[type="number"],
.hssm-dashboard-main input[type="date"],
.hssm-dashboard-main input[type="tel"],
.hssm-dashboard-main textarea,
.hssm-dashboard-main select,
.hssm-dashboard-main .hssm-input,
.hssm-dashboard-main .hssm-textarea,
.hssm-dashboard-main .hssm-select,
input.hssm-input,
input.hssm-input-small,
textarea.hssm-textarea,
select.hssm-select {
background-color: #ffffff !important;
color: #1d2327 !important;
border: 1px solid #ced4da !important;
border-radius: 4px !important;
color-scheme: light;
}
.hssm-dashboard-main input[type="text"]:focus,
.hssm-dashboard-main input[type="url"]:focus,
.hssm-dashboard-main input[type="email"]:focus,
.hssm-dashboard-main input[type="search"]:focus,
.hssm-dashboard-main input[type="number"]:focus,
.hssm-dashboard-main input[type="date"]:focus,
.hssm-dashboard-main input[type="tel"]:focus,
.hssm-dashboard-main textarea:focus,
.hssm-dashboard-main select:focus,
.hssm-dashboard-main .hssm-input:focus,
.hssm-dashboard-main .hssm-textarea:focus,
.hssm-dashboard-main .hssm-select:focus,
input.hssm-input:focus,
input.hssm-input-small:focus,
textarea.hssm-textarea:focus,
select.hssm-select:focus {
background-color: #ffffff !important;
color: #1d2327 !important;
border-color: #007cba !important;
}
.hssm-dashboard-main input::placeholder,
input.hssm-input::placeholder,
input.hssm-input-small::placeholder,
textarea.hssm-textarea::placeholder {
color: #6c757d;
opacity: 1;
}
.hssm-dashboard-main input:-webkit-autofill,
.hssm-dashboard-main input:-webkit-autofill:hover,
.hssm-dashboard-main input:-webkit-autofill:focus,
input.hssm-input:-webkit-autofill,
input.hssm-input-small:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
-webkit-text-fill-color: #1d2327 !important;
}
-61
View File
@@ -1,61 +0,0 @@
/**
* Hi-School Slide Manager - Frontend Styles
*/
.hssm-slides-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin: 20px 0;
}
.hssm-slide {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
flex: 1;
min-width: 300px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hssm-slide:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.hssm-slide h3 {
margin: 0 0 15px 0;
color: #333;
font-size: 1.4em;
border-bottom: 2px solid #0073aa;
padding-bottom: 10px;
}
.hssm-slide-content {
margin-bottom: 15px;
line-height: 1.6;
color: #555;
}
.hssm-slide-image {
text-align: center;
}
.hssm-slide-image img {
max-width: 100%;
height: auto;
border-radius: 4px;
}
/* Responsive design */
@media (max-width: 768px) {
.hssm-slides-container {
flex-direction: column;
}
.hssm-slide {
min-width: auto;
}
}