full refactoring
This commit is contained in:
@@ -202,3 +202,66 @@ body.dark-theme {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Кнопка добавления шаблона */
|
||||
.add-template-btn {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
padding: 10px 20px;
|
||||
background-color: #abcef5;
|
||||
color: white;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
||||
transition: background-color 0.3s, box-shadow 0.3s;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.add-template-btn i {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.add-template-btn:hover {
|
||||
background-color: #88aee5;
|
||||
box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.add-template-btn:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Для кнопок и textarea, чтобы не "гуляли" */
|
||||
.template {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
padding: 8px 7px;
|
||||
border: 1px solid #8888c6;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
|
||||
}
|
||||
|
||||
/* Скрытие полей */
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Стили для input и textarea */
|
||||
input, textarea {
|
||||
width: 100%;
|
||||
height: 40px; /* Сделаем высоту фиксированной */
|
||||
padding: 8px;
|
||||
box-sizing: border-box;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* Убираем возможность изменения размеров textarea */
|
||||
textarea {
|
||||
resize: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user