From 26b83ae474e209e220684f3f79e341f4a53799b0 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Wed, 2 Feb 2011 00:08:38 +0000
Subject: [PATCH] New: Add the disabled style

---
 htdocs/theme/auguria/style.css.php     |  6 ++++++
 htdocs/theme/bureau2crea/style.css.php |  6 ++++++
 htdocs/theme/eldy/style.css.php        | 10 ++++++++++
 htdocs/theme/freelug/style.css.php     |  6 ++++++
 htdocs/theme/yellow/style.css.php      |  6 ++++++
 5 files changed, 34 insertions(+)

diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php
index 1cbff61772e..b70618c629f 100644
--- a/htdocs/theme/auguria/style.css.php
+++ b/htdocs/theme/auguria/style.css.php
@@ -98,6 +98,9 @@ input.flat {
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+input:disabled {
+background:#ddd;
+}
 textarea  {
 	font-size: <?php print $fontsize ?>px;
 	font-family: <?php print $fontlist ?>;
@@ -114,6 +117,9 @@ textarea.flat {
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+textarea:disabled {
+background:#ddd;
+}
 select.flat {
 	background: #FDFDFD;
     font-size: <?php print $fontsize ?>px;
diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php
index 7e13640c51b..1be30d71b95 100644
--- a/htdocs/theme/bureau2crea/style.css.php
+++ b/htdocs/theme/bureau2crea/style.css.php
@@ -133,6 +133,9 @@ input.flat {
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+input:disabled {
+background:#ddd;
+}
 textarea  {
 	font-size: <?php print $fontsize ?>px;
 	font-family: <?php print $fontlist ?>;
@@ -149,6 +152,9 @@ textarea.flat {
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+textarea:disabled {
+background:#ddd;
+}
 select.flat {
 	background: #FDFDFD;
     font-size: <?php print $fontsize ?>px;
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 407af7cf0fc..43a4f817e21 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -101,6 +101,9 @@ input.flat {
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+input:disabled {
+background:#ddd;
+}
 textarea  {
 	font-size: <?php print $fontsize ?>px;
 	font-family: <?php print $fontlist ?>;
@@ -117,6 +120,12 @@ textarea.flat {
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+textarea:disabled {
+background:#ddd;
+}
+input:disabled {
+background:#ddd;
+}
 select.flat {
 	background: #FDFDFD;
     font-size: <?php print $fontsize ?>px;
@@ -157,6 +166,7 @@ form {
 }
 
 
+
 /* For dragging lines */
 
 .dragClass {
diff --git a/htdocs/theme/freelug/style.css.php b/htdocs/theme/freelug/style.css.php
index 1479842d179..136a77ceab8 100644
--- a/htdocs/theme/freelug/style.css.php
+++ b/htdocs/theme/freelug/style.css.php
@@ -98,6 +98,9 @@ input.flat
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+input:disabled {
+background:#ddd;
+}
 textarea  {
 	font-size: <?php print empty($conf->browser->phone)?'12':'9'; ?>px;
     font-family: helvetica, verdana, arial, sans-serif;
@@ -115,6 +118,9 @@ textarea.flat
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+textarea:disabled {
+background:#ddd;
+}
 select.flat
 {
 	background: #FDFDFD;
diff --git a/htdocs/theme/yellow/style.css.php b/htdocs/theme/yellow/style.css.php
index 76f936c3aab..6d4f3aac2e1 100644
--- a/htdocs/theme/yellow/style.css.php
+++ b/htdocs/theme/yellow/style.css.php
@@ -94,6 +94,9 @@ input.flat
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+input:disabled {
+background:#ddd;
+}
 textarea  {
 	font-size: 12px;
     font-family: helvetica, verdana, arial, sans-serif;
@@ -109,6 +112,9 @@ textarea.flat
     padding: 0px 0px 0px 0px;
     margin: 0px 0px 0px 0px;
 }
+textarea:disabled {
+background:#ddd;
+}
 select.flat
 {
 	background: #FDFDFD;
-- 
GitLab