From 536f03da477285c12ff9a31da49911376dbc18ee Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Tue, 21 Jun 2011 09:51:57 +0200 Subject: [PATCH] SONAR-2436 Improve CSS to grey disabled buttons --- .../webapp/WEB-INF/app/views/filters/new.html.erb | 2 +- sonar-server/src/main/webapp/stylesheets/style.css | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb index 5fb9ed095e7..6475a4d1ed6 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/new.html.erb @@ -163,7 +163,7 @@ table#columns td { <% if @filter.id %> - + Cancel <% else %> diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index 09c0a8fd691..a471d7c9d4f 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -377,6 +377,18 @@ button:active, .button:active, input[type="submit"]:active, input[type="button"] background: -moz-linear-gradient(top, #AC2F29, #D35650) !important; 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: 0px; + text-shadow: 1px 1px 0 #FFFFFF; + color: #BBBBBB; + border: solid 1px #EBEBEB; + background: #EBEBEB; + background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#E1E1E1)); + background: -moz-linear-gradient(top, #FFFFFF, #E1E1E1); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#E1E1E1'); +} */ /* ------------------- PAGE ------------------- */ -- 2.39.5