]> source.dussan.org Git - sonarqube.git/commitdiff
Fix button disabled style
authorStas Vilchik <vilchiks@gmail.com>
Wed, 4 Dec 2013 06:22:59 +0000 (12:22 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 4 Dec 2013 06:22:59 +0000 (12:22 +0600)
sonar-server/src/main/webapp/stylesheets/style.css
sonar-server/src/main/webapp/stylesheets/ui.css
sonar-server/src/main/webapp/stylesheets/ui.less

index 0579c6dbf05704eb13c436d2f3940e46dc5c613e..88bd5be6d4beebb82acdd431c98b3daf889fa8b7 100644 (file)
@@ -186,7 +186,6 @@ a.external {
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#AC2F29', endColorstr = '#D35650') !important;
 }
 
-button[disabled], .button[disabled], input[type="submit"][disabled], input[type="button"][disabled],
 .red-button[disabled] {
   position: relative;
   top: 0;
index 0caf2ce8e5d926ed6db5e413f135f77db9542e9f..5b96d257e1c97d4dc64c3829968d21f40d98dbb9 100644 (file)
@@ -83,3 +83,24 @@ input[type=submit]:focus,
 input[type=button]:focus {
   border-color: #4b9fd5;
 }
+button[disabled],
+.button[disabled],
+input[type=submit][disabled],
+input[type=button][disabled],
+button[disabled]:hover,
+.button[disabled]:hover,
+input[type=submit][disabled]:hover,
+input[type=button][disabled]:hover,
+button[disabled]:active,
+.button[disabled]:active,
+input[type=submit][disabled]:active,
+input[type=button][disabled]:active,
+button[disabled]:focus,
+.button[disabled]:focus,
+input[type=submit][disabled]:focus,
+input[type=button][disabled]:focus {
+  color: #bbb;
+  border-color: #ddd;
+  background: #ebebeb;
+  cursor: default;
+}
index b4cca9c56210ee391d6cfbb0061e99a0dadb1df5..5dc200c871ebc1d7aaca525005f0d4c860b33954 100644 (file)
@@ -70,4 +70,14 @@ input[type=button] {
   &:focus {
     border-color: @highlighted;
   }
+
+  &[disabled],
+  &[disabled]:hover,
+  &[disabled]:active,
+  &[disabled]:focus {
+    color: #bbb;
+    border-color: #ddd;
+    background: #ebebeb;
+    cursor: default;
+  }
 }