]> source.dussan.org Git - sonarqube.git/commitdiff
highlight "Sure?" button when delete a token
authorStas Vilchik <vilchiks@gmail.com>
Wed, 20 Jan 2016 12:50:00 +0000 (13:50 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 20 Jan 2016 12:50:08 +0000 (13:50 +0100)
server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs
server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs
server/sonar-web/src/main/less/init/forms.less

index faae3a4e20c177f1ba81528281e7f97399fd4323..5450a14b6f53f3d630e76aaceab15e1a850aec6f 100644 (file)
@@ -23,7 +23,7 @@
             <div class="big-spacer-left">
               <form class="js-revoke-token-form" data-token="{{name}}">
                 {{#if deleting}}
-                  <button class="button-red input-small">Sure?</button>
+                  <button class="button-red active input-small">Sure?</button>
                 {{else}}
                   <button class="button-red input-small">Revoke</button>
                 {{/if}}
index e520db60f5ae58ca7b9a6f5f608cde67cb790458..c9d154891112593050645cdff2f976ebc94f7381 100644 (file)
@@ -27,7 +27,7 @@
             <div class="big-spacer-left">
               <form class="js-revoke-token-form" data-token="{{name}}">
                 {{#if deleting}}
-                  <button class="button-red input-small">Sure?</button>
+                  <button class="button-red active input-small">Sure?</button>
                 {{else}}
                   <button class="button-red input-small">Revoke</button>
                 {{/if}}
index 97259b1edb57b6b0806ff9e8ba6f84229b56e181..273dd911dafcaea0b1fa15628f6f76925c5b91c6 100644 (file)
@@ -122,7 +122,7 @@ input[type="submit"].button-red {
   border-color: @red;
   color: @red;
 
-  &:hover, &:focus {
+  &:hover, &:focus, &.active {
     background: @red;
     color: #fff;
   }