diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index a457eefcf..33157f819 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -15,6 +15,28 @@ input { } } +input:-moz-placeholder { // FF 18- + color: inherit; + opacity: 1; +} + +input::-moz-placeholder { // FF 19+ + color: inherit; + opacity: 1; +} + +input:-ms-input-placeholder { + color: inherit; +} + +input::-webkit-input-placeholder { + color: inherit; +} + +input[placeholder] { + color: inherit; +} + input.search { padding-left: 20px; background: transparent url('../img/icons/search.png') no-repeat 2px; @@ -23,22 +45,6 @@ input.search { &:focus { background-color: @body-bg-color; } - - &::-webkit-input-placeholder { - color: inherit; - } - - &:-moz-placeholder { - color: inherit; - } - - &::-moz-placeholder { - color: inherit; - } - - &:-ms-input-placeholder { - color: inherit; - } } input, select, textarea {