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:
@@ -8579,67 +8579,6 @@ body > .target-search-dropdown .dropdown-item:not(:last-child) {
|
|||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.schedule-preview-dropdown {
|
|
||||||
display: none;
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
margin-top: 4px;
|
|
||||||
z-index: 1000;
|
|
||||||
min-width: 180px;
|
|
||||||
padding: 0.5rem;
|
|
||||||
background: #ffffff;
|
|
||||||
border: 1px solid #dee2e6;
|
|
||||||
border-radius: 0.25rem;
|
|
||||||
box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
|
|
||||||
font-size: 0.875rem;
|
|
||||||
text-align: left;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.schedule-preview-item {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 0.5rem;
|
|
||||||
padding: 0.25rem 0;
|
|
||||||
color: #212529;
|
|
||||||
}
|
|
||||||
.schedule-preview-item .material-icons {
|
|
||||||
flex-shrink: 0;
|
|
||||||
font-size: 16px;
|
|
||||||
color: #6c757d;
|
|
||||||
}
|
|
||||||
.schedule-preview-item strong {
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
.schedule-preview-item .schedule-time {
|
|
||||||
color: #6c757d;
|
|
||||||
}
|
|
||||||
|
|
||||||
.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: #25b9d7;
|
|
||||||
color: #ffffff;
|
|
||||||
font-size: 0.75rem;
|
|
||||||
font-weight: 600;
|
|
||||||
border-radius: 50rem;
|
|
||||||
cursor: pointer;
|
|
||||||
text-transform: none;
|
|
||||||
}
|
|
||||||
.btn-schedule-preview .icon-eye {
|
|
||||||
font-size: 10px;
|
|
||||||
line-height: 1;
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Entity Selector Styles
|
* Entity Selector Styles
|
||||||
* @package prestashop-entity-selector
|
* @package prestashop-entity-selector
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -518,72 +518,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// =============================================================================
|
// Schedule Preview - uses shared mpr-dropdown-preview from prestashop-admin
|
||||||
// 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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user