Spaces:
Sleeping
Sleeping
Update nutri_call.html
Browse files- nutri_call.html +46 -25
nutri_call.html
CHANGED
|
@@ -151,7 +151,24 @@ legend {
|
|
| 151 |
border-radius: 4px;
|
| 152 |
}
|
| 153 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
|
|
|
|
|
|
|
|
|
|
| 155 |
|
| 156 |
|
| 157 |
/* Стили для контейнера первого блока (NPK) */
|
|
@@ -584,34 +601,38 @@ legend {
|
|
| 584 |
</div>
|
| 585 |
|
| 586 |
<!-- NH4 -- NO3 -->
|
| 587 |
-
|
| 588 |
-
|
| 589 |
-
|
| 590 |
-
|
| 591 |
-
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
|
| 598 |
-
<input id="calculated_nh4" type="number" value="0.000" step="0.001" readonly style="background-color: #f0f0f0; color: #666;">
|
| 599 |
-
</div>
|
| 600 |
-
</div>
|
| 601 |
-
|
| 602 |
-
<!-- Колонка 2: NO3 -->
|
| 603 |
-
<div class="nitrogen-column">
|
| 604 |
-
<div class="column-header">NO3</div>
|
| 605 |
-
<div class="nitrogen-group">
|
| 606 |
-
<input id="profile_no3" type="number" value="8.25" step="0.01" min="0" max="100.001"/>
|
| 607 |
-
</div>
|
| 608 |
-
<div class="nitrogen-group">
|
| 609 |
-
<input id="calculated_no3" type="number" value="0.000" step="0.001" readonly style="background-color: #f0f0f0; color: #666;">
|
| 610 |
-
</div>
|
| 611 |
-
</div>
|
| 612 |
</div>
|
|
|
|
| 613 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 614 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 615 |
|
| 616 |
<!-- Первый блок NPK -->
|
| 617 |
<div class="npk-container">
|
|
|
|
| 151 |
border-radius: 4px;
|
| 152 |
}
|
| 153 |
|
| 154 |
+
.square-button {
|
| 155 |
+
width: 50px; /* Ширина кнопки */
|
| 156 |
+
height: 50px; /* Высота кнопки (квадратная форма) */
|
| 157 |
+
font-size: 24px; /* Размер текста */
|
| 158 |
+
font-weight: bold; /* Жирный шрифт */
|
| 159 |
+
border: none; /* Убираем границы */
|
| 160 |
+
border-radius: 5px; /* Легкое скругление углов */
|
| 161 |
+
background-color: #007bff; /* Цвет фона */
|
| 162 |
+
color: white; /* Цвет текста */
|
| 163 |
+
cursor: pointer; /* Курсор при наведении */
|
| 164 |
+
display: flex; /* Центрирование текста внутри кнопки */
|
| 165 |
+
align-items: center; /* Вертикальное центрирование */
|
| 166 |
+
justify-content: center; /* Горизонтальное центрирование */
|
| 167 |
+
}
|
| 168 |
|
| 169 |
+
.square-button:hover {
|
| 170 |
+
background-color: #0056b3; /* Темнее при наведении */
|
| 171 |
+
}
|
| 172 |
|
| 173 |
|
| 174 |
/* Стили для контейнера первого блока (NPK) */
|
|
|
|
| 601 |
</div>
|
| 602 |
|
| 603 |
<!-- NH4 -- NO3 -->
|
| 604 |
+
<div style="display: flex; align-items: flex-start; gap: 20px;">
|
| 605 |
+
<!-- Колонки азотных элементов -->
|
| 606 |
+
<div class="nitrogen-container" style="display: flex; gap: 20px;">
|
| 607 |
+
<!-- Колонка 1: NH4 -->
|
| 608 |
+
<div class="nitrogen-column">
|
| 609 |
+
<div class="column-header">NH4</div>
|
| 610 |
+
<div class="nitrogen-group">
|
| 611 |
+
<input id="profile_nh4" type="number" value="1.0" step="1.0" readonly style="background-color: #f0f0f0; color: #666;">
|
| 612 |
+
</div>
|
| 613 |
+
<div class="nitrogen-group">
|
| 614 |
+
<input id="calculated_nh4" type="number" value="0.000" step="0.001" readonly style="background-color: #f0f0f0; color: #666;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 615 |
</div>
|
| 616 |
+
</div>
|
| 617 |
|
| 618 |
+
<!-- Колонка 2: NO3 -->
|
| 619 |
+
<div class="nitrogen-column">
|
| 620 |
+
<div class="column-header">NO3</div>
|
| 621 |
+
<div class="nitrogen-group">
|
| 622 |
+
<input id="profile_no3" type="number" value="8.25" step="0.01" min="0" max="100.001"/>
|
| 623 |
+
</div>
|
| 624 |
+
<div class="nitrogen-group">
|
| 625 |
+
<input id="calculated_no3" type="number" value="0.000" step="0.001" readonly style="background-color: #f0f0f0; color: #666;">
|
| 626 |
+
</div>
|
| 627 |
+
</div>
|
| 628 |
+
</div>
|
| 629 |
|
| 630 |
+
<!-- Кнопки -->
|
| 631 |
+
<div style="display: flex; flex-direction: column; gap: 10px; margin-top: 10px;">
|
| 632 |
+
<button class="square-button" id="plus-button" style="font-weight: bold;">+</button>
|
| 633 |
+
<button class="square-button" id="minus-button" style="font-weight: bold;">-</button>
|
| 634 |
+
</div>
|
| 635 |
+
</div>
|
| 636 |
|
| 637 |
<!-- Первый блок NPK -->
|
| 638 |
<div class="npk-container">
|