279 lines
4.9 KiB
CSS
279 lines
4.9 KiB
CSS
/* Подключаем шрифт Segoe UI */
|
|
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;600;700&display=swap');
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: #F4E8D3;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.main-container {
|
|
background-color: #ffffff;
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
}
|
|
|
|
.header {
|
|
background: linear-gradient(135deg, #67BA80 0%, #4CAF50 100%);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
margin-bottom: 30px;
|
|
color: white;
|
|
}
|
|
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.logo {
|
|
height: 60px;
|
|
width: auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.header-title {
|
|
font-size: 2.2em;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.page-title {
|
|
color: #2c3e50;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.partner-card {
|
|
border: 2px solid #67BA80;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
background: #ffffff;
|
|
box-shadow: 0 4px 12px rgba(103, 186, 128, 0.15);
|
|
}
|
|
|
|
.partner-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 2px solid #e9ecef;
|
|
padding-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.partner-name-line {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.partner-type {
|
|
font-size: 1.3em;
|
|
font-weight: 600;
|
|
color: #6c757d;
|
|
background: #f8f9fa;
|
|
padding: 6px 14px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.partner-name {
|
|
font-size: 1.4em;
|
|
font-weight: 700;
|
|
color: #2c3e50;
|
|
margin: 0;
|
|
}
|
|
|
|
.divider {
|
|
color: #dee2e6;
|
|
font-weight: bold;
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
.discount-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.discount-badge {
|
|
font-size: 1.1em;
|
|
padding: 8px 16px;
|
|
border-radius: 25px;
|
|
background-color: #67BA80;
|
|
color: white;
|
|
}
|
|
|
|
.sales-amount {
|
|
font-size: 1em;
|
|
color: #6c757d;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.partner-info-row {
|
|
margin-bottom: 0;
|
|
padding: 6px 0;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.partner-label {
|
|
font-weight: 600;
|
|
color: #495057;
|
|
min-width: 100px;
|
|
display: inline-block;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.partner-value {
|
|
font-size: 1em;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.partner-buttons-container {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: flex-start;
|
|
margin-top: 20px;
|
|
padding-top: 15px;
|
|
border-top: 2px solid #e9ecef;
|
|
}
|
|
|
|
.btn-action {
|
|
padding: 10px 20px;
|
|
font-size: 0.95em;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 180px;
|
|
justify-content: center;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-edit {
|
|
background-color: #67BA80;
|
|
color: white;
|
|
}
|
|
|
|
.btn-add {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
}
|
|
|
|
.btn-history {
|
|
background-color: #495057;
|
|
color: white;
|
|
}
|
|
|
|
.btn-action:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
|
|
color: white;
|
|
}
|
|
|
|
.btn-new-partner {
|
|
background-color: #67BA80;
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 24px;
|
|
font-weight: 600;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.btn-new-partner:hover {
|
|
background-color: #5aa870;
|
|
color: white;
|
|
}
|
|
|
|
.rating-badge {
|
|
font-size: 0.9em;
|
|
padding: 6px 12px;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.alert {
|
|
border-radius: 10px;
|
|
border: none;
|
|
}
|
|
.partner-info-row:last-child {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.volume-info {
|
|
background-color: #f8f9fa;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.volume-label {
|
|
font-weight: 600;
|
|
color: #495057;
|
|
}
|
|
|
|
.volume-value {
|
|
color: #2c3e50;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Стили для страницы истории продаж */
|
|
/* Стили для таблицы продаж */
|
|
.table-responsive {
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.table {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.table th {
|
|
background-color: #67BA80;
|
|
color: white;
|
|
font-weight: 600;
|
|
padding: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.table td {
|
|
padding: 10px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.table-striped tbody tr:nth-of-type(odd) {
|
|
background-color: rgba(103, 186, 128, 0.05);
|
|
}
|
|
|
|
.table-striped tbody tr:hover {
|
|
background-color: rgba(103, 186, 128, 0.1);
|
|
}
|
|
|
|
.table tfoot {
|
|
background-color: #e8f5e8;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.table tfoot td {
|
|
border-top: 2px solid #67BA80;
|
|
}
|
|
|
|
.text-end {
|
|
text-align: right !important;
|
|
}
|
|
|
|
/* Адаптивность для таблицы */
|
|
@media (max-width: 768px) {
|
|
.table-responsive {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.table th, .table td {
|
|
padding: 6px;
|
|
}
|
|
} |