Remove schedule-specific styles, use shared mpr-dropdown-preview

Schedule preview now uses mpr-dropdown-preview from prestashop-admin package.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 12:08:41 +00:00
parent 451a47cdcd
commit 7c9b57aaa2
3 changed files with 2 additions and 131 deletions

View File

@@ -518,72 +518,4 @@
}
}
// =============================================================================
// Schedule Preview Dropdown (for admin list columns)
// =============================================================================
.schedule-preview-dropdown {
display: none;
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
margin-top: 4px;
z-index: 1000;
min-width: 180px;
padding: $es-spacing-sm;
background: $es-white;
border: 1px solid $es-border-color;
border-radius: $es-radius-md;
box-shadow: $es-shadow-lg;
font-size: $es-font-size-sm;
text-align: left;
white-space: nowrap;
}
.schedule-preview-item {
display: flex;
align-items: flex-start;
gap: $es-spacing-sm;
padding: $es-spacing-xs 0;
color: $es-text-primary;
.material-icons {
flex-shrink: 0;
font-size: 16px;
color: $es-text-muted;
}
strong {
font-weight: $es-font-weight-semibold;
}
.schedule-time {
color: $es-text-muted;
}
}
// Badge trigger for schedule preview
.btn-schedule-preview {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.25rem;
min-width: 20px;
height: 20px;
padding: 0 0.5rem;
background: $es-primary;
color: $es-white;
font-size: $es-font-size-xs;
font-weight: $es-font-weight-semibold;
border-radius: 50rem;
cursor: pointer;
text-transform: none;
.icon-eye {
font-size: 10px;
line-height: 1;
opacity: 0.8;
}
}
// Schedule Preview - uses shared mpr-dropdown-preview from prestashop-admin