Farsi business order/variation UI, light/dark logo upload on business profile, payment order steps, variation editing, super-admin site links, and checkout/auth fixes. Co-authored-by: Cursor <cursoragent@cursor.com>
261 lines
4.5 KiB
CSS
261 lines
4.5 KiB
CSS
.form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.section {
|
|
width: 100%;
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--glass-shadow);
|
|
padding: 24px;
|
|
}
|
|
|
|
.sectionTitle {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.subTitle {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.sectionHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.sectionHeader .sectionTitle {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.logoCol {
|
|
grid-column: span 12;
|
|
}
|
|
|
|
.logoModeRow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.logoModeLabel {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.logoModeLabelActive {
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.basicAside {
|
|
grid-column: span 12;
|
|
display: grid;
|
|
grid-template-columns: repeat(12, 1fr);
|
|
gap: 12px 16px;
|
|
align-content: start;
|
|
}
|
|
|
|
.fullRow {
|
|
grid-column: span 12;
|
|
}
|
|
|
|
.halfRow {
|
|
grid-column: span 12;
|
|
}
|
|
|
|
.duplicatorBlock {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.duplicatorBlock:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.duplicatorGrid,
|
|
.phoneGrid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.duplicatorGrid .gridHeader,
|
|
.duplicatorGrid .gridRow {
|
|
grid-template-columns: 2fr 2fr 5fr 2fr 2fr 1fr;
|
|
}
|
|
|
|
.phoneGrid .gridHeader,
|
|
.phoneGrid .gridRow {
|
|
grid-template-columns: 2fr 11fr 1fr;
|
|
}
|
|
|
|
.gridHeader {
|
|
display: grid;
|
|
gap: 8px 10px;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.gridHeader > span {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.gridRow {
|
|
display: grid;
|
|
gap: 8px 10px;
|
|
align-items: center;
|
|
padding: 12px 0;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.2);
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.textField,
|
|
.selectField {
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: var(--field-height);
|
|
padding: var(--field-padding-y) var(--field-padding-x);
|
|
font-size: var(--field-font-size);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
border-radius: var(--radius-sm);
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.selectField {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
padding-right: var(--select-padding-end);
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right var(--select-arrow-offset) center;
|
|
background-size: var(--select-arrow-size);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.selectFieldFa {
|
|
font-family: var(--font-ui);
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
|
|
.selectField:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.addBtn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 12px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--primary);
|
|
background: rgba(var(--primary-rgb) / 0.1);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.removeBtn {
|
|
width: 34px;
|
|
height: 34px;
|
|
justify-self: end;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.removeBtn:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #ef4444;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.saveBtn {
|
|
padding: 10px 20px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
background: var(--primary);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.saveBtn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.status {
|
|
font-size: 14px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.alertError,
|
|
.alertSuccess {
|
|
margin-bottom: 16px;
|
|
padding: 12px 16px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.alertError {
|
|
color: #b91c1c;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
}
|
|
|
|
.alertSuccess {
|
|
color: #166534;
|
|
background: rgba(34, 197, 94, 0.1);
|
|
border: 1px solid rgba(34, 197, 94, 0.2);
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
.logoCol {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.basicAside {
|
|
grid-column: span 10;
|
|
}
|
|
|
|
.halfRow {
|
|
grid-column: span 6;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.gridHeader {
|
|
display: none;
|
|
}
|
|
|
|
.duplicatorGrid .gridRow,
|
|
.phoneGrid .gridRow {
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
padding: 16px 0;
|
|
}
|
|
}
|