This commit is contained in:
2026-02-13 14:02:21 +05:00
parent 0bf6dd74ca
commit 59f5ac5741
9 changed files with 303 additions and 53 deletions

View File

@@ -4175,4 +4175,207 @@ button.btn-primary {
background-color: #f1c40f;
cursor: not-allowed;
opacity: 0.7;
}
/* Современный профиль */
.profile-modern {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 20px;
padding: 30px;
color: white;
margin-bottom: 30px;
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.profile-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 30px;
}
.profile-avatar {
width: 80px;
height: 80px;
background: rgba(255,255,255,0.2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 3px solid rgba(255,255,255,0.5);
}
.profile-avatar i {
font-size: 50px;
color: white;
}
.profile-title {
flex: 1;
}
.profile-title h3 {
margin: 0 0 5px 0;
font-size: 24px;
font-weight: 600;
}
.profile-badge {
display: inline-block;
padding: 5px 15px;
background: rgba(255,255,255,0.2);
border-radius: 20px;
font-size: 14px;
font-weight: 500;
backdrop-filter: blur(5px);
}
.profile-badge.admin {
background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
}
.profile-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 15px;
margin-bottom: 30px;
}
.profile-info-card {
background: rgba(255,255,255,0.1);
border-radius: 15px;
padding: 15px;
display: flex;
align-items: center;
gap: 15px;
backdrop-filter: blur(10px);
transition: transform 0.3s, background 0.3s;
}
.profile-info-card:hover {
background: rgba(255,255,255,0.2);
transform: translateY(-2px);
}
.info-icon {
width: 45px;
height: 45px;
background: rgba(255,255,255,0.2);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
}
.info-icon i {
font-size: 20px;
color: white;
}
.info-content {
flex: 1;
display: flex;
flex-direction: column;
}
.info-label {
font-size: 12px;
opacity: 0.8;
margin-bottom: 2px;
}
.info-value {
font-size: 16px;
font-weight: 600;
}
.groups-card {
grid-column: 1 / -1;
}
.groups-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 5px;
}
.group-tag {
background: rgba(255,255,255,0.2);
padding: 4px 12px;
border-radius: 15px;
font-size: 13px;
font-weight: 500;
backdrop-filter: blur(5px);
}
.badge-ldap, .badge-local {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 12px;
border-radius: 15px;
font-size: 13px;
background: rgba(255,255,255,0.2);
}
.profile-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-item {
text-align: center;
}
.stat-value {
font-size: 28px;
font-weight: 700;
margin-bottom: 5px;
}
.stat-label {
font-size: 13px;
opacity: 0.8;
}
.profile-error {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
border-radius: 20px;
padding: 30px;
color: white;
text-align: center;
}
.profile-error i {
font-size: 40px;
margin-bottom: 10px;
}
.profile-error p {
margin: 0;
font-size: 16px;
}
/* Адаптивность */
@media (max-width: 768px) {
.profile-modern {
padding: 20px;
}
.profile-header {
flex-direction: column;
text-align: center;
}
.profile-grid {
grid-template-columns: 1fr;
}
.profile-stats {
grid-template-columns: 1fr;
}
}