175 lines
3.3 KiB
CSS
175 lines
3.3 KiB
CSS
/* Специфичное ограничение ширины для карточек настроек */
|
|
.main-content {
|
|
max-width: 700px;
|
|
}
|
|
|
|
/* Ссылка назад к списку */
|
|
.back-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #a0a0a0;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
margin-bottom: 20px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.back-link:hover {
|
|
color: #ff6600;
|
|
}
|
|
|
|
/* Сетка для блоков настроек */
|
|
.settings-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
}
|
|
|
|
/* Карточка настроек */
|
|
.settings-card {
|
|
background-color: #1a1a1a;
|
|
border-radius: 8px;
|
|
padding: 30px;
|
|
box-shadow: 0 4px 15px rgba(255, 102, 0, 0.05);
|
|
border: 1px solid #2a2a2a;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin-bottom: 25px;
|
|
color: #ffffff;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
label {
|
|
color: #a0a0a0;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Поля ввода */
|
|
input[type="text"],
|
|
input[type="password"] {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
background-color: #121212;
|
|
border: 1px solid #333333;
|
|
color: #ffffff;
|
|
padding: 12px 16px;
|
|
border-radius: 4px;
|
|
font-size: 15px;
|
|
outline: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
input[type="text"]:focus,
|
|
input[type="password"]:focus {
|
|
border-color: #ff6600;
|
|
box-shadow: 0 0 8px rgba(255, 102, 0, 0.2);
|
|
}
|
|
|
|
.checkbox-group input[type="checkbox"] {
|
|
position: absolute;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
height: 0;
|
|
width: 0;
|
|
}
|
|
|
|
.checkmark {
|
|
height: 20px;
|
|
width: 20px;
|
|
background-color: #121212;
|
|
border: 1px solid #333333;
|
|
border-radius: 4px;
|
|
display: inline-block;
|
|
position: relative;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.checkbox-group:hover input[type="checkbox"] ~ .checkmark {
|
|
border-color: #ff6600;
|
|
}
|
|
|
|
.checkbox-group input[type="checkbox"]:checked ~ .checkmark {
|
|
background-color: #ff6600;
|
|
border-color: #ff6600;
|
|
}
|
|
|
|
.checkmark:after {
|
|
content: "";
|
|
position: absolute;
|
|
display: none;
|
|
left: 6px;
|
|
top: 2px;
|
|
width: 5px;
|
|
height: 10px;
|
|
border: solid #000000;
|
|
border-width: 0 2px 2px 0;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.checkbox-group input[type="checkbox"]:checked ~ .checkmark:after {
|
|
display: block;
|
|
}
|
|
|
|
.checkbox-label {
|
|
color: #e0e0e0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* Кнопка отправки формы */
|
|
.submit-btn {
|
|
background-color: #ff6600;
|
|
color: #000000;
|
|
border: none;
|
|
padding: 14px;
|
|
border-radius: 4px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
transition: all 0.3s ease;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
background-color: #ff8533;
|
|
box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
|
|
}
|
|
|
|
/* Адаптивность для карточек и инпутов */
|
|
@media (max-width: 768px) {
|
|
.settings-card {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.checkbox-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.submit-btn {
|
|
padding: 12px 10px;
|
|
font-size: 14px;
|
|
}
|
|
}
|