DmitrMakeev commited on
Commit
f6a91bc
·
verified ·
1 Parent(s): 68faa40

Update nutri_call.html

Browse files
Files changed (1) hide show
  1. nutri_call.html +26 -7
nutri_call.html CHANGED
@@ -131,6 +131,26 @@
131
  padding: 0 10px;
132
  }
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  #calculate-btn {
135
  background-color: #2e8b57;
136
  color: white;
@@ -139,7 +159,6 @@
139
  font-size: 16px;
140
  border-radius: 5px;
141
  cursor: pointer;
142
- margin-top: 10px;
143
  transition: background-color 0.3s;
144
  width: 120px;
145
  }
@@ -150,9 +169,6 @@
150
 
151
 
152
 
153
-
154
-
155
-
156
 
157
  </style>
158
  </head>
@@ -303,10 +319,13 @@
303
  </fieldset>
304
 
305
 
306
- <fieldset class="calculation-box">
307
  <legend>Расчёт удобрений</legend>
308
- <button id="calculate-btn">Запуск</button>
309
- </fieldset>
 
 
 
310
 
311
 
312
  <script>
 
131
  padding: 0 10px;
132
  }
133
 
134
+ .input-group {
135
+ display: flex;
136
+ gap: 10px;
137
+ align-items: center;
138
+ }
139
+
140
+ #liters-input {
141
+ padding: 8px 12px;
142
+ border: 1px solid #2e8b57;
143
+ border-radius: 5px;
144
+ font-size: 16px;
145
+ width: 100px;
146
+ }
147
+
148
+ #liters-input:focus {
149
+ outline: none;
150
+ border-color: #3cb371;
151
+ box-shadow: 0 0 3px #2e8b57;
152
+ }
153
+
154
  #calculate-btn {
155
  background-color: #2e8b57;
156
  color: white;
 
159
  font-size: 16px;
160
  border-radius: 5px;
161
  cursor: pointer;
 
162
  transition: background-color 0.3s;
163
  width: 120px;
164
  }
 
169
 
170
 
171
 
 
 
 
172
 
173
  </style>
174
  </head>
 
319
  </fieldset>
320
 
321
 
322
+ <fieldset class="calculation-box">
323
  <legend>Расчёт удобрений</legend>
324
+ <div class="input-group">
325
+ <input type="number" id="liters-input" placeholder="Литры" min="1">
326
+ <button id="calculate-btn">Рассчитать</button>
327
+ </div>
328
+ </fieldset>
329
 
330
 
331
  <script>