feat(platform): sprint 11.5 standardization
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@use 'sass:color';
|
||||
@use 'sass:color';
|
||||
|
||||
// ========== DEXAR ITEM DETAIL - Redesigned 2026 ==========
|
||||
// ========== platform ITEM DETAIL - Redesigned 2026 ==========
|
||||
$dx-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
$dx-dark: #1e3c38;
|
||||
$dx-primary: #497671;
|
||||
@@ -310,8 +310,8 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
// Variant chips (colour/size) — shared between dexar and novo
|
||||
.dx-variants, .novo-variants {
|
||||
// Variant chips (colour/size) — shared between platform and alt
|
||||
.dx-variants, .alt-variants {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
@@ -374,7 +374,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.dx-attributes, .novo-attributes {
|
||||
.dx-attributes, .alt-attributes {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px 16px;
|
||||
@@ -400,7 +400,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.dx-delivery, .novo-delivery {
|
||||
.dx-delivery, .alt-delivery {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
@@ -410,20 +410,20 @@ $dx-card-bg: #f5f3f9;
|
||||
background: #f8fafa;
|
||||
}
|
||||
|
||||
.dx-delivery-title, .novo-delivery-title {
|
||||
.dx-delivery-title, .alt-delivery-title {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
color: $dx-dark;
|
||||
}
|
||||
|
||||
.dx-delivery-list, .novo-delivery-list {
|
||||
.dx-delivery-list, .alt-delivery-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.dx-delivery-option, .novo-delivery-option {
|
||||
.dx-delivery-option, .alt-delivery-option {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
@@ -433,7 +433,7 @@ $dx-card-bg: #f5f3f9;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.dx-delivery-option-main, .novo-delivery-option-main {
|
||||
.dx-delivery-option-main, .alt-delivery-option-main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
@@ -441,14 +441,14 @@ $dx-card-bg: #f5f3f9;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.dx-delivery-price, .novo-delivery-price {
|
||||
.dx-delivery-price, .alt-delivery-price {
|
||||
flex-shrink: 0;
|
||||
font-weight: 700;
|
||||
color: $dx-primary;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.dx-delivery-chip, .novo-delivery-chip {
|
||||
.dx-delivery-chip, .alt-delivery-chip {
|
||||
display: inline-flex;
|
||||
align-self: flex-start;
|
||||
padding: 6px 12px;
|
||||
@@ -810,9 +810,9 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
// ========== DEXAR RESPONSIVE ==========
|
||||
// ========== platform RESPONSIVE ==========
|
||||
|
||||
// Large desktop — constrain gallery height
|
||||
// Large desktop — constrain gallery height
|
||||
@media (min-width: 1201px) {
|
||||
.dx-main-photo {
|
||||
max-height: 560px;
|
||||
@@ -1099,20 +1099,20 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
// ========== novo ITEM DETAIL STYLES ==========
|
||||
.novo-item-container {
|
||||
// ========== alt ITEM DETAIL STYLES ==========
|
||||
.alt-item-container {
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.novo-loading,
|
||||
.novo-error {
|
||||
.alt-loading,
|
||||
.alt-error {
|
||||
text-align: center;
|
||||
padding: 4rem 1rem;
|
||||
}
|
||||
|
||||
.novo-spinner {
|
||||
.alt-spinner {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 3px solid var(--border-color);
|
||||
@@ -1122,7 +1122,7 @@ $dx-card-bg: #f5f3f9;
|
||||
margin: 0 auto 1.5rem;
|
||||
}
|
||||
|
||||
.novo-back-link {
|
||||
.alt-back-link {
|
||||
display: inline-block;
|
||||
margin-top: 1.5rem;
|
||||
padding: 0.75rem 2rem;
|
||||
@@ -1140,15 +1140,15 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-item-content {
|
||||
.alt-item-content {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 3rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.novo-gallery {
|
||||
.novo-main-photo {
|
||||
.alt-gallery {
|
||||
.alt-main-photo {
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
background: var(--bg-secondary);
|
||||
@@ -1165,7 +1165,7 @@ $dx-card-bg: #f5f3f9;
|
||||
background: white;
|
||||
}
|
||||
|
||||
&.novo-no-image {
|
||||
&.alt-no-image {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -1183,13 +1183,13 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-thumbnails {
|
||||
.alt-thumbnails {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.novo-thumb {
|
||||
.alt-thumb {
|
||||
aspect-ratio: 1;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: var(--radius-md);
|
||||
@@ -1235,8 +1235,8 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-info {
|
||||
.novo-title {
|
||||
.alt-info {
|
||||
.alt-title {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
@@ -1244,7 +1244,7 @@ $dx-card-bg: #f5f3f9;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.novo-rating {
|
||||
.alt-rating {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
@@ -1266,7 +1266,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-price-block {
|
||||
.alt-price-block {
|
||||
background: var(--bg-secondary);
|
||||
padding: 1.5rem;
|
||||
border-radius: var(--radius-lg);
|
||||
@@ -1302,7 +1302,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-stock {
|
||||
.alt-stock {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
@@ -1347,7 +1347,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-add-cart {
|
||||
.alt-add-cart {
|
||||
width: 100%;
|
||||
padding: 1.25rem 2rem;
|
||||
background: var(--primary-color);
|
||||
@@ -1375,7 +1375,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-description {
|
||||
.alt-description {
|
||||
h3 {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
@@ -1392,7 +1392,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-reviews {
|
||||
.alt-reviews {
|
||||
margin-top: 3rem;
|
||||
padding-top: 3rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
@@ -1404,12 +1404,12 @@ $dx-card-bg: #f5f3f9;
|
||||
margin: 0 0 2rem 0;
|
||||
}
|
||||
|
||||
.novo-reviews-list {
|
||||
.alt-reviews-list {
|
||||
display: grid;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.novo-review-card {
|
||||
.alt-review-card {
|
||||
background: white;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--radius-lg);
|
||||
@@ -1461,7 +1461,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-no-reviews {
|
||||
.alt-no-reviews {
|
||||
text-align: center;
|
||||
padding: 3rem 2rem;
|
||||
color: var(--text-secondary);
|
||||
@@ -1471,8 +1471,8 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
/* novo Review Form */
|
||||
.novo-review-form {
|
||||
/* alt Review Form */
|
||||
.alt-review-form {
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--radius-lg);
|
||||
@@ -1486,7 +1486,7 @@ $dx-card-bg: #f5f3f9;
|
||||
margin: 0 0 1.5rem 0;
|
||||
}
|
||||
|
||||
.novo-rating-input {
|
||||
.alt-rating-input {
|
||||
margin-bottom: 1.5rem;
|
||||
|
||||
label {
|
||||
@@ -1497,11 +1497,11 @@ $dx-card-bg: #f5f3f9;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.novo-star-selector {
|
||||
.alt-star-selector {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
|
||||
.novo-star {
|
||||
.alt-star {
|
||||
font-size: 2rem;
|
||||
color: #d1d5db;
|
||||
cursor: pointer;
|
||||
@@ -1520,7 +1520,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-textarea {
|
||||
.alt-textarea {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
border: 1px solid var(--border-color);
|
||||
@@ -1545,14 +1545,14 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-form-actions {
|
||||
.alt-form-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-top: 1rem;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.novo-anonymous-toggle {
|
||||
.alt-anonymous-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
@@ -1571,13 +1571,13 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-username-preview {
|
||||
.alt-username-preview {
|
||||
font-size: 0.875rem;
|
||||
color: var(--text-secondary);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.novo-submit-review-btn {
|
||||
.alt-submit-review-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
@@ -1612,7 +1612,7 @@ $dx-card-bg: #f5f3f9;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.novo-spinner-small {
|
||||
.alt-spinner-small {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||
@@ -1623,7 +1623,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-status-message {
|
||||
.alt-status-message {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
@@ -1673,40 +1673,40 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
// ========== NOVO RESPONSIVE ==========
|
||||
// ========== alt RESPONSIVE ==========
|
||||
|
||||
// Tablet portrait
|
||||
@media (max-width: 968px) {
|
||||
.novo-item-content {
|
||||
.alt-item-content {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.novo-gallery {
|
||||
.alt-gallery {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.novo-info .novo-title {
|
||||
.alt-info .alt-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.novo-info .novo-price-block .current-price {
|
||||
.alt-info .alt-price-block .current-price {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.novo-info .novo-add-cart {
|
||||
.alt-info .alt-add-cart {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.novo-review-form {
|
||||
.alt-review-form {
|
||||
padding: 1.5rem;
|
||||
|
||||
.novo-form-actions {
|
||||
.alt-form-actions {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
||||
.novo-submit-review-btn {
|
||||
.alt-submit-review-btn {
|
||||
margin-left: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
@@ -1716,41 +1716,41 @@ $dx-card-bg: #f5f3f9;
|
||||
|
||||
// Mobile
|
||||
@media (max-width: 768px) {
|
||||
.novo-item-container {
|
||||
.alt-item-container {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.novo-item-content {
|
||||
.alt-item-content {
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.novo-gallery {
|
||||
.alt-gallery {
|
||||
max-width: 100%;
|
||||
|
||||
.novo-main-photo {
|
||||
.alt-main-photo {
|
||||
border-radius: var(--radius-lg);
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.novo-thumbnails {
|
||||
.alt-thumbnails {
|
||||
grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
|
||||
gap: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-info {
|
||||
.novo-title {
|
||||
.alt-info {
|
||||
.alt-title {
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
|
||||
.novo-rating {
|
||||
.alt-rating {
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.novo-price-block {
|
||||
.alt-price-block {
|
||||
padding: 1rem;
|
||||
|
||||
.current-price {
|
||||
@@ -1762,26 +1762,26 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-stock {
|
||||
.alt-stock {
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.novo-add-cart {
|
||||
.alt-add-cart {
|
||||
padding: 1rem 1.5rem;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.novo-description {
|
||||
.alt-description {
|
||||
h3 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.novo-specs-table {
|
||||
.alt-specs-table {
|
||||
.spec-key {
|
||||
white-space: normal;
|
||||
width: auto;
|
||||
@@ -1793,7 +1793,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-reviews {
|
||||
.alt-reviews {
|
||||
margin-top: 2rem;
|
||||
padding-top: 2rem;
|
||||
|
||||
@@ -1803,11 +1803,11 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-review-card {
|
||||
.alt-review-card {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.novo-review-form {
|
||||
.alt-review-form {
|
||||
padding: 1.25rem;
|
||||
|
||||
h3 {
|
||||
@@ -1818,32 +1818,32 @@ $dx-card-bg: #f5f3f9;
|
||||
|
||||
// Small mobile
|
||||
@media (max-width: 480px) {
|
||||
.novo-item-container {
|
||||
.alt-item-container {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.novo-item-content {
|
||||
.alt-item-content {
|
||||
gap: 1.25rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.novo-gallery {
|
||||
.novo-thumbnails {
|
||||
.alt-gallery {
|
||||
.alt-thumbnails {
|
||||
grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.novo-main-photo {
|
||||
.alt-main-photo {
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
}
|
||||
|
||||
.novo-info {
|
||||
.novo-title {
|
||||
.alt-info {
|
||||
.alt-title {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
.novo-price-block {
|
||||
.alt-price-block {
|
||||
padding: 0.75rem;
|
||||
|
||||
.current-price {
|
||||
@@ -1851,36 +1851,36 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-stock {
|
||||
.alt-stock {
|
||||
padding: 0.6rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.novo-add-cart {
|
||||
.alt-add-cart {
|
||||
padding: 0.85rem 1rem;
|
||||
font-size: 0.95rem;
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
}
|
||||
|
||||
.novo-review-form {
|
||||
.alt-review-form {
|
||||
padding: 1rem;
|
||||
|
||||
.novo-rating-input {
|
||||
.novo-star-selector {
|
||||
.novo-star {
|
||||
.alt-rating-input {
|
||||
.alt-star-selector {
|
||||
.alt-star {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.novo-textarea {
|
||||
.alt-textarea {
|
||||
padding: 0.75rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-review-card {
|
||||
.alt-review-card {
|
||||
padding: 0.75rem;
|
||||
|
||||
.review-header {
|
||||
@@ -1897,7 +1897,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
}
|
||||
|
||||
.novo-specs-table {
|
||||
.alt-specs-table {
|
||||
td {
|
||||
padding: 6px 8px;
|
||||
font-size: 0.8rem;
|
||||
@@ -1924,7 +1924,7 @@ $dx-card-bg: #f5f3f9;
|
||||
// ========== BADGES, TAGS & SPECS (shared) ==========
|
||||
|
||||
// Badges
|
||||
.novo-badges, .dx-badges {
|
||||
.alt-badges, .dx-badges {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
@@ -1952,7 +1952,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
|
||||
// Tags
|
||||
.novo-tags, .dx-tags {
|
||||
.alt-tags, .dx-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
@@ -1970,7 +1970,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
|
||||
// Specs table
|
||||
.novo-specs-table, .dx-specs-table {
|
||||
.alt-specs-table, .dx-specs-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: 12px 0;
|
||||
@@ -1999,7 +1999,7 @@ $dx-card-bg: #f5f3f9;
|
||||
}
|
||||
|
||||
// Simple description
|
||||
.novo-simple-desc, .dx-simple-desc {
|
||||
.alt-simple-desc, .dx-simple-desc {
|
||||
font-size: 0.95rem;
|
||||
color: #697777;
|
||||
line-height: 1.6;
|
||||
@@ -2012,3 +2012,4 @@ $dx-card-bg: #f5f3f9;
|
||||
color: #697777;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user