diff --git a/themes/enhanced/template.php b/themes/enhanced/template.php index 4dbd9168b4..935b18c58b 100644 --- a/themes/enhanced/template.php +++ b/themes/enhanced/template.php @@ -292,6 +292,11 @@ input.txt:focus, .formfld:focus { box-shadow: 0 0 5px #cddaf0; } +/* removes spinners (increment/decrement controls) inside input fields */ +input[type=number] { -moz-appearance: textfield; } +::-webkit-inner-spin-button { -webkit-appearance: none; } +::-webkit-outer-spin-button { -webkit-appearance: none; } + select.formfld { height: 27px; padding: 4px; diff --git a/themes/minimized/template.php b/themes/minimized/template.php index 4cd62c3d92..24ab156a1f 100644 --- a/themes/minimized/template.php +++ b/themes/minimized/template.php @@ -284,7 +284,7 @@ input.txt, .formfld { -moz-transition: width 0.25s; -webkit-transition: width 0.25s; max-width: 500px; -} + } input.txt:focus, .formfld:focus { -webkit-box-shadow: 0 0 5px #cddaf0; @@ -292,6 +292,11 @@ input.txt:focus, .formfld:focus { box-shadow: 0 0 5px #cddaf0; } +/* removes spinners (increment/decrement controls) inside input fields */ +input[type=number] { -moz-appearance: textfield; } +::-webkit-inner-spin-button { -webkit-appearance: none; } +::-webkit-outer-spin-button { -webkit-appearance: none; } + select.formfld { height: 27px; padding: 4px;