212 lines
3.1 KiB
CSS
212 lines
3.1 KiB
CSS
.profile-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.profile-container h2 {
|
|
margin-bottom: 25px;
|
|
color: #333;
|
|
font-size: 1.8em;
|
|
border-bottom: 2px solid #007bff;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
|
|
.profile-info {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.profile-info p {
|
|
margin: 0;
|
|
font-size: 1.1em;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.profile-info strong {
|
|
color: #333;
|
|
min-width: 100px;
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
.orders-section h3 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
.orders-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: white;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.orders-table thead {
|
|
background: #007bff;
|
|
}
|
|
|
|
.orders-table th {
|
|
padding: 15px;
|
|
text-align: left;
|
|
color: white;
|
|
font-weight: 600;
|
|
font-size: 0.9em;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.orders-table tbody tr {
|
|
border-bottom: 1px solid #e9ecef;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.orders-table tbody tr:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.orders-table td {
|
|
padding: 15px;
|
|
color: #495057;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.order-id {
|
|
font-weight: 600;
|
|
color: #007bff;
|
|
}
|
|
|
|
.order-date {
|
|
color: #666;
|
|
}
|
|
|
|
.order-items {
|
|
text-align: center;
|
|
}
|
|
|
|
.order-actions {
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
.view-details-link {
|
|
display: inline-block;
|
|
padding: 8px 16px;
|
|
background: #28a745;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
font-size: 0.9em;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.view-details-link:hover {
|
|
background: #218838;
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
.no-orders {
|
|
text-align: center;
|
|
padding: 40px;
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.no-orders p {
|
|
color: #666;
|
|
margin-bottom: 20px;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.shop-now-link {
|
|
display: inline-block;
|
|
padding: 12px 24px;
|
|
background: #007bff;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 6px;
|
|
font-weight: 500;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.shop-now-link:hover {
|
|
background: #0056b3;
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
.back-link {
|
|
display: inline-block;
|
|
margin-top: 20px;
|
|
color: #007bff;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.back-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
|
|
.status-badge {
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 0.85em;
|
|
font-weight: 500;
|
|
display: inline-block;
|
|
}
|
|
|
|
.status-pending {
|
|
background: rgba(255, 193, 7, 0.1);
|
|
color: #ffc107;
|
|
}
|
|
|
|
.status-processing {
|
|
background: rgba(0, 123, 255, 0.1);
|
|
color: #007bff;
|
|
}
|
|
|
|
.status-shipped {
|
|
background: rgba(23, 162, 184, 0.1);
|
|
color: #17a2b8;
|
|
}
|
|
|
|
.status-delivered {
|
|
background: rgba(40, 167, 69, 0.1);
|
|
color: #28a745;
|
|
}
|
|
|
|
.status-cancelled {
|
|
background: rgba(220, 53, 69, 0.1);
|
|
color: #dc3545;
|
|
}
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
.profile-container {
|
|
padding: 15px;
|
|
}
|
|
|
|
.orders-table {
|
|
display: block;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.orders-table th,
|
|
.orders-table td {
|
|
padding: 10px;
|
|
font-size: 0.9em;
|
|
}
|
|
}
|