|
@@ -917,21 +917,39 @@ textarea::placeholder {
|
|
|
.weight-input-wrapper {
|
|
.weight-input-wrapper {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- background: rgba(0, 0, 0, 0.2);
|
|
|
|
|
- border-radius: 6px;
|
|
|
|
|
- padding: 2px 6px;
|
|
|
|
|
|
|
+ background: rgba(0, 0, 0, 0.25);
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ padding: 4px 10px;
|
|
|
border: 1px solid var(--border);
|
|
border: 1px solid var(--border);
|
|
|
|
|
+ transition: border-color 0.2s, box-shadow 0.2s;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.weight-input-wrapper:focus-within {
|
|
|
|
|
+ border-color: var(--primary);
|
|
|
|
|
+ box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.weight-input-wrapper input {
|
|
.weight-input-wrapper input {
|
|
|
background: transparent;
|
|
background: transparent;
|
|
|
border: none;
|
|
border: none;
|
|
|
color: var(--text);
|
|
color: var(--text);
|
|
|
- width: 45px;
|
|
|
|
|
- font-size: 0.85rem;
|
|
|
|
|
|
|
+ width: 65px;
|
|
|
|
|
+ font-size: 0.95rem;
|
|
|
text-align: right;
|
|
text-align: right;
|
|
|
padding: 2px;
|
|
padding: 2px;
|
|
|
outline: none;
|
|
outline: none;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+/* Hide Spinners (Arrows) for cleaner look */
|
|
|
|
|
+.weight-input-wrapper input::-webkit-outer-spin-button,
|
|
|
|
|
+.weight-input-wrapper input::-webkit-inner-spin-button {
|
|
|
|
|
+ -webkit-appearance: none;
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.weight-input-wrapper input[type=number] {
|
|
|
|
|
+ -moz-appearance: textfield;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.weight-unit {
|
|
.weight-unit {
|