From ae3b50080c7bfeaf3dab509e772c63b4108b8540 Mon Sep 17 00:00:00 2001 From: arlogn <claudio@bastardi.net> Date: Thu, 26 Dec 2013 00:21:12 +0100 Subject: [PATCH] Fix spinner overlapping in webkit search box (#4446) and replace deprecated pseudo class :-moz-placeholder --- app/assets/stylesheets/application.css.sass | 2 +- app/assets/stylesheets/header.css.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/application.css.sass b/app/assets/stylesheets/application.css.sass index b97a1e1dce..fff92719be 100644 --- a/app/assets/stylesheets/application.css.sass +++ b/app/assets/stylesheets/application.css.sass @@ -528,7 +528,7 @@ form p.checkbox_select *::-webkit-input-placeholder @include placeholder_styles -*:-moz-placeholder +*::-moz-placeholder @include placeholder_styles .field_with_submit diff --git a/app/assets/stylesheets/header.css.scss b/app/assets/stylesheets/header.css.scss index 2e6c3c48f6..74481ca662 100644 --- a/app/assets/stylesheets/header.css.scss +++ b/app/assets/stylesheets/header.css.scss @@ -214,7 +214,8 @@ body > header { } &::-webkit-input-placeholder { text-shadow: none; } - &:-moz-placeholder { text-shadow: none; } + &::-moz-placeholder { text-shadow: none; } + &.ac_loading::-webkit-search-cancel-button { -webkit-appearance: none; } } } } -- GitLab