mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
forms.less: Apply fixed height to input elements
- Apply unitless line-height
This commit is contained in:
parent
2e164a75d4
commit
7649c71dda
@ -228,11 +228,20 @@ form.icinga-form {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
form.icinga-form select:not([multiple]),
|
form.icinga-form {
|
||||||
form.icinga-form input[type="datetime-local"] {
|
select:not([multiple]),
|
||||||
// Compensate inconsistent select height calculations
|
input[type="text"],
|
||||||
line-height: 1em;
|
input[type="password"],
|
||||||
height: 2.25em;
|
input[type="number"],
|
||||||
|
input[type="datetime-local"],
|
||||||
|
input[type="date"],
|
||||||
|
input[type="time"] {
|
||||||
|
// Use the same height for select and all supported input elements. input[type="file"] is not styled here
|
||||||
|
// because it requires more height due to the built-in ‘Choose file’ button.
|
||||||
|
// Elements such as checkbox, radio and submit buttons have their own custom style.
|
||||||
|
line-height: 1;
|
||||||
|
height: 2.25em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove native dropdown arrow in IE10+
|
// Remove native dropdown arrow in IE10+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user