From f5c86a266910bba684ba5d8e6577aa76b22c8d8a Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 20 Jan 2016 13:50:00 +0100 Subject: [PATCH] highlight "Sure?" button when delete a token --- .../src/main/js/apps/account/templates/account-tokens.hbs | 2 +- .../sonar-web/src/main/js/apps/users/templates/users-tokens.hbs | 2 +- server/sonar-web/src/main/less/init/forms.less | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs b/server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs index faae3a4e20c..5450a14b6f5 100644 --- a/server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs +++ b/server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs @@ -23,7 +23,7 @@
{{#if deleting}} - + {{else}} {{/if}} diff --git a/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs b/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs index e520db60f5a..c9d15489111 100644 --- a/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs +++ b/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs @@ -27,7 +27,7 @@
{{#if deleting}} - + {{else}} {{/if}} diff --git a/server/sonar-web/src/main/less/init/forms.less b/server/sonar-web/src/main/less/init/forms.less index 97259b1edb5..273dd911daf 100644 --- a/server/sonar-web/src/main/less/init/forms.less +++ b/server/sonar-web/src/main/less/init/forms.less @@ -122,7 +122,7 @@ input[type="submit"].button-red { border-color: @red; color: @red; - &:hover, &:focus { + &:hover, &:focus, &.active { background: @red; color: #fff; } -- 2.39.5