feat(platform): sprint 11.5 standardization
Some checks failed
Architecture Governance / architecture (push) Has been cancelled

This commit is contained in:
sdarbinyan
2026-07-09 02:29:12 +04:00
parent a16c856537
commit 8d652c8259
57 changed files with 2162 additions and 848 deletions

View File

@@ -1,5 +1,5 @@
// Base styles (Dexar theme)
.cart-container.dexar {
// Base styles (platform theme)
.cart-container.platform {
max-width: 1200px;
margin: 0 auto;
padding: 24px;
@@ -7,8 +7,8 @@
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
// Novo theme - Modern green design
.cart-container.novo {
// alt theme - Modern green design
.cart-container.alt {
max-width: 1200px;
margin: 0 auto;
padding: 24px;
@@ -16,7 +16,7 @@
background: linear-gradient(to bottom, rgba(16, 185, 129, 0.02) 0%, transparent 300px);
}
.cart-container.dexar .cart-header {
.cart-container.platform .cart-header {
margin-bottom: 28px;
display: flex;
justify-content: space-between;
@@ -64,7 +64,7 @@
}
}
.cart-container.novo .cart-header {
.cart-container.alt .cart-header {
margin-bottom: 32px;
display: flex;
justify-content: space-between;
@@ -113,8 +113,8 @@
}
}
// Empty cart - Dexar
.cart-container.dexar .empty-cart {
// Empty cart - platform
.cart-container.platform .empty-cart {
display: flex;
flex-direction: column;
align-items: center;
@@ -170,8 +170,8 @@
}
}
// Empty cart - Novo
.cart-container.novo .empty-cart {
// Empty cart - alt
.cart-container.alt .empty-cart {
display: flex;
flex-direction: column;
align-items: center;
@@ -230,8 +230,8 @@
align-items: start;
}
// Novo wider summary
.cart-container.novo .cart-content {
// alt wider summary
.cart-container.alt .cart-content {
grid-template-columns: minmax(0, 1fr) 400px;
gap: 32px;
}
@@ -243,8 +243,8 @@
min-width: 0;
}
// Novo larger gap
.cart-container.novo .cart-items {
// alt larger gap
.cart-container.alt .cart-items {
gap: 20px;
}
@@ -266,13 +266,13 @@
}
}
// Novo rounded corners
.cart-container.novo .cart-item-wrapper {
// alt rounded corners
.cart-container.alt .cart-item-wrapper {
border-radius: 16px;
}
// Dexar cart item
.cart-container.dexar .cart-item {
// platform cart item
.cart-container.platform .cart-item {
display: flex;
gap: 20px;
background: white;
@@ -402,8 +402,8 @@
}
}
// Novo cart item - modern green theme
.cart-container.novo .cart-item {
// alt cart item - modern green theme
.cart-container.alt .cart-item {
display: flex;
gap: 20px;
background: white;
@@ -563,8 +563,8 @@
}
}
// Dexar quantity controls
.cart-container.dexar .quantity-controls {
// platform quantity controls
.cart-container.platform .quantity-controls {
display: flex;
align-items: center;
gap: 12px;
@@ -607,8 +607,8 @@
}
}
// Novo quantity controls - modern green
.cart-container.novo .quantity-controls {
// alt quantity controls - modern green
.cart-container.alt .quantity-controls {
display: flex;
align-items: center;
gap: 14px;
@@ -676,8 +676,8 @@
}
}
// Dexar Cart Summary
.cart-container.dexar .cart-summary {
// platform Cart Summary
.cart-container.platform .cart-summary {
position: sticky;
top: 90px;
background: #f5f3f9;
@@ -827,8 +827,8 @@
}
}
// Novo Cart Summary - Green Modern
.cart-container.novo .cart-summary {
// alt Cart Summary - Green Modern
.cart-container.alt .cart-summary {
position: sticky;
top: 20px;
background: white;
@@ -1054,21 +1054,21 @@
line-height: 1.5;
}
.cart-container.dexar .cart-summary .delivery-warning {
.cart-container.platform .cart-summary .delivery-warning {
color: #9a6700;
background: #fff8e8;
border: 1px solid #f1ddb2;
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.cart-container.novo .cart-summary .delivery-warning {
.cart-container.alt .cart-summary .delivery-warning {
color: #92400e;
background: #fffbeb;
border: 1px solid #fde68a;
}
// Dexar checkbox colors
.cart-container.dexar .terms-agreement .checkbox-container {
// platform checkbox colors
.cart-container.platform .terms-agreement .checkbox-container {
input[type="checkbox"]:checked ~ .checkmark {
background: #497671;
border-color: #497671;
@@ -1102,8 +1102,8 @@
}
}
// Novo checkbox colors - green
.cart-container.novo .terms-agreement .checkbox-container {
// alt checkbox colors - green
.cart-container.alt .terms-agreement .checkbox-container {
input[type="checkbox"]:checked ~ .checkmark {
background: #10b981;
border-color: #10b981;
@@ -1619,7 +1619,7 @@
gap: 20px;
}
.cart-container.novo .cart-content {
.cart-container.alt .cart-content {
grid-template-columns: minmax(0, 1fr);
gap: 20px;
}
@@ -1631,13 +1631,13 @@
min-width: 0;
}
.cart-container.novo,
.cart-container.dexar {
.cart-container.alt,
.cart-container.platform {
padding: 16px;
}
.cart-container.novo .cart-header,
.cart-container.dexar .cart-header {
.cart-container.alt .cart-header,
.cart-container.platform .cart-header {
flex-wrap: wrap;
gap: 12px;
}
@@ -1652,7 +1652,7 @@
.payment-modal {
padding: 24px;
padding-top: 56px; // Дополнительный отступ сверху для кнопки закрытия
padding-top: 56px; // Äîïîëíèòåëüíûé îòñòóï ñâåðõó äëÿ êíîïêè çàêðûòèÿ
}
.close-modal-btn {
@@ -1710,17 +1710,17 @@
}
/* =============================================
novo THEME STYLES - Modern Cart Design
alt THEME STYLES - Modern Cart Design
============================================= */
.novo-cart-container {
.alt-cart-container {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
min-height: calc(100vh - 200px);
}
.novo-cart-header {
.alt-cart-header {
display: flex;
justify-content: space-between;
align-items: center;
@@ -1739,7 +1739,7 @@
background-clip: text;
}
.novo-clear-btn {
.alt-clear-btn {
display: flex;
align-items: center;
gap: 0.5rem;
@@ -1769,7 +1769,7 @@
}
}
.novo-empty-cart {
.alt-empty-cart {
display: flex;
flex-direction: column;
align-items: center;
@@ -1804,7 +1804,7 @@
max-width: 400px;
}
.novo-shop-btn {
.alt-shop-btn {
display: inline-block;
padding: 0.875rem 2rem;
background: linear-gradient(135deg, #10b981, #14b8a6, #06b6d4);
@@ -1822,20 +1822,20 @@
}
}
.novo-cart-content {
.alt-cart-content {
display: grid;
grid-template-columns: 1fr 400px;
gap: 2rem;
align-items: start;
}
.novo-cart-items {
.alt-cart-items {
display: flex;
flex-direction: column;
gap: 1.25rem;
}
.novo-cart-item {
.alt-cart-item {
display: flex;
gap: 1.5rem;
padding: 1.5rem;
@@ -1850,7 +1850,7 @@
transform: translateY(-2px);
}
.novo-item-image {
.alt-item-image {
flex-shrink: 0;
width: 120px;
height: 120px;
@@ -1872,7 +1872,7 @@
}
}
.novo-item-details {
.alt-item-details {
flex: 1;
display: flex;
flex-direction: column;
@@ -1898,7 +1898,7 @@
}
}
.novo-remove-btn {
.alt-remove-btn {
flex-shrink: 0;
display: flex;
align-items: center;
@@ -1971,7 +1971,7 @@
}
}
.novo-quantity {
.alt-quantity {
display: flex;
align-items: center;
gap: 0.5rem;
@@ -2021,7 +2021,7 @@
}
}
.novo-cart-summary {
.alt-cart-summary {
position: sticky;
top: 80px;
}
@@ -2078,7 +2078,7 @@
}
}
.novo-checkout-btn {
.alt-checkout-btn {
width: 100%;
padding: 1rem;
margin-top: 1.25rem;
@@ -2108,10 +2108,10 @@
}
}
.novo-terms-agreement {
.alt-terms-agreement {
margin-top: 1rem;
.novo-checkbox-container {
.alt-checkbox-container {
display: flex;
align-items: flex-start;
gap: 0.75rem;
@@ -2127,7 +2127,7 @@
height: 0;
width: 0;
&:checked ~ .novo-checkmark {
&:checked ~ .alt-checkmark {
background: #10b981;
border-color: #10b981;
@@ -2137,7 +2137,7 @@
}
}
.novo-checkmark {
.alt-checkmark {
position: relative;
flex-shrink: 0;
height: 20px;
@@ -2162,7 +2162,7 @@
}
}
.novo-terms-text {
.alt-terms-text {
color: var(--text-secondary);
line-height: 1.6;
@@ -2182,23 +2182,23 @@
}
}
/* novo Cart Responsive */
/* alt Cart Responsive */
@media (max-width: 1024px) {
.novo-cart-content {
.alt-cart-content {
grid-template-columns: 1fr;
.novo-cart-summary {
.alt-cart-summary {
position: static;
}
}
}
@media (max-width: 768px) {
.novo-cart-container {
.alt-cart-container {
padding: 1rem;
}
.novo-cart-header {
.alt-cart-header {
flex-direction: column;
align-items: flex-start;
gap: 1rem;
@@ -2208,22 +2208,22 @@
}
}
.novo-cart-item {
.alt-cart-item {
flex-direction: column;
gap: 1rem;
.novo-item-image {
.alt-item-image {
width: 100%;
height: 200px;
}
.novo-item-details {
.alt-item-details {
.item-bottom {
flex-direction: column;
align-items: stretch;
gap: 0.75rem;
.novo-quantity {
.alt-quantity {
justify-content: center;
}
}
@@ -2238,3 +2238,5 @@
}
}
}