Spaces:
Sleeping
Sleeping
Update nutri_call.html
Browse files- nutri_call.html +37 -36
nutri_call.html
CHANGED
@@ -123,6 +123,7 @@
|
|
123 |
padding: 1em;
|
124 |
margin-bottom: 20px;
|
125 |
border-radius: 8px;
|
|
|
126 |
}
|
127 |
.calculation-box legend {
|
128 |
font-weight: bold;
|
@@ -130,78 +131,78 @@
|
|
130 |
padding: 0 10px;
|
131 |
}
|
132 |
|
133 |
-
/*
|
134 |
.calculation-container {
|
135 |
display: flex;
|
136 |
-
|
137 |
-
|
138 |
}
|
139 |
|
140 |
-
/*
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
font-size: 16px;
|
147 |
-
border-radius: 5px;
|
148 |
-
cursor: pointer;
|
149 |
-
transition: background-color 0.3s;
|
150 |
-
margin-bottom: 10px;
|
151 |
-
align-self: flex-start;
|
152 |
-
}
|
153 |
-
#calculate-btn:hover {
|
154 |
-
background-color: #3cb371;
|
155 |
}
|
156 |
|
157 |
-
/*
|
158 |
-
.
|
159 |
display: flex;
|
160 |
flex-direction: column;
|
161 |
-
gap:
|
162 |
-
margin-bottom: 10px;
|
163 |
}
|
164 |
-
.
|
165 |
font-weight: bold;
|
166 |
color: #2e8b57;
|
167 |
margin-bottom: 5px;
|
168 |
}
|
169 |
-
|
170 |
-
/* Группы полей ввода */
|
171 |
-
.compensation-weights {
|
172 |
display: flex;
|
173 |
-
|
174 |
-
|
175 |
}
|
176 |
-
.
|
177 |
display: flex;
|
178 |
align-items: center;
|
179 |
gap: 8px;
|
180 |
}
|
181 |
-
.
|
182 |
-
min-width: 70px;
|
183 |
text-align: right;
|
184 |
}
|
185 |
|
186 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
.input-group {
|
188 |
display: flex;
|
189 |
align-items: center;
|
190 |
gap: 8px;
|
191 |
}
|
192 |
.input-group label {
|
193 |
-
min-width:
|
194 |
-
text-align: right;
|
195 |
}
|
196 |
|
197 |
-
/* Поля ввода */
|
198 |
input[type="number"] {
|
199 |
width: 80px;
|
200 |
padding: 5px;
|
201 |
border: 1px solid #ccc;
|
202 |
border-radius: 4px;
|
203 |
}
|
204 |
-
|
205 |
</style>
|
206 |
</head>
|
207 |
|
|
|
123 |
padding: 1em;
|
124 |
margin-bottom: 20px;
|
125 |
border-radius: 8px;
|
126 |
+
width: fit-content;
|
127 |
}
|
128 |
.calculation-box legend {
|
129 |
font-weight: bold;
|
|
|
131 |
padding: 0 10px;
|
132 |
}
|
133 |
|
134 |
+
/* Основной контейнер */
|
135 |
.calculation-container {
|
136 |
display: flex;
|
137 |
+
gap: 30px;
|
138 |
+
align-items: flex-start;
|
139 |
}
|
140 |
|
141 |
+
/* Основные контролы (кнопка, литры, точность) */
|
142 |
+
.main-controls {
|
143 |
+
display: flex;
|
144 |
+
flex-direction: column;
|
145 |
+
gap: 10px;
|
146 |
+
min-width: 150px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
|
149 |
+
/* Блок усиления */
|
150 |
+
.enhancement-block {
|
151 |
display: flex;
|
152 |
flex-direction: column;
|
153 |
+
gap: 5px;
|
|
|
154 |
}
|
155 |
+
.enhancement-title {
|
156 |
font-weight: bold;
|
157 |
color: #2e8b57;
|
158 |
margin-bottom: 5px;
|
159 |
}
|
160 |
+
.enhancement-controls {
|
|
|
|
|
161 |
display: flex;
|
162 |
+
flex-direction: column;
|
163 |
+
gap: 8px;
|
164 |
}
|
165 |
+
.enhancement-input {
|
166 |
display: flex;
|
167 |
align-items: center;
|
168 |
gap: 8px;
|
169 |
}
|
170 |
+
.enhancement-input label {
|
171 |
+
min-width: 70px;
|
172 |
text-align: right;
|
173 |
}
|
174 |
|
175 |
+
/* Общие стили для элементов */
|
176 |
+
#calculate-btn {
|
177 |
+
background-color: #2e8b57;
|
178 |
+
color: white;
|
179 |
+
border: none;
|
180 |
+
padding: 8px 16px;
|
181 |
+
font-size: 16px;
|
182 |
+
border-radius: 5px;
|
183 |
+
cursor: pointer;
|
184 |
+
transition: background-color 0.3s;
|
185 |
+
margin-bottom: 5px;
|
186 |
+
}
|
187 |
+
#calculate-btn:hover {
|
188 |
+
background-color: #3cb371;
|
189 |
+
}
|
190 |
+
|
191 |
.input-group {
|
192 |
display: flex;
|
193 |
align-items: center;
|
194 |
gap: 8px;
|
195 |
}
|
196 |
.input-group label {
|
197 |
+
min-width: 60px;
|
|
|
198 |
}
|
199 |
|
|
|
200 |
input[type="number"] {
|
201 |
width: 80px;
|
202 |
padding: 5px;
|
203 |
border: 1px solid #ccc;
|
204 |
border-radius: 4px;
|
205 |
}
|
|
|
206 |
</style>
|
207 |
</head>
|
208 |
|