]> git.wh0rd.org - tt-rss.git/commitdiff
highlight option under mouse cursor in preferences
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 14 Aug 2008 06:05:16 +0000 (07:05 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 14 Aug 2008 06:05:16 +0000 (07:05 +0100)
modules/pref-prefs.php
themes/graycube/theme.css
tt-rss.css

index cf3d3aee20e5d8a9ef101b5b939f1ff2e6219d5b..0add856db7b74ffe5a1fcb2fea8917df83d0dcc5 100644 (file)
                                $email = db_fetch_result($result, 0, "email");
        
                                print "<tr><td width=\"40%\">".__('E-mail')."</td>";
-                               print "<td><input class=\"editbox\" name=\"email\" 
+                               print "<td class=\"prefValue\"><input class=\"editbox\" name=\"email\" 
                                        onfocus=\"javascript:disableHotkeys();\" 
                                        onblur=\"javascript:enableHotkeys();\"
                                        onkeypress=\"return filterCR(event, changeUserEmail)\"
                                print "<tr><td colspan='3'><h3>".__("Authentication")."</h3></tr></td>";
        
                                print "<tr><td width=\"40%\">".__("Old password")."</td>";
-                               print "<td><input class=\"editbox\" type=\"password\"
+                               print "<td class=\"prefValue\"><input class=\"editbox\" type=\"password\"
                                        onfocus=\"javascript:disableHotkeys();\" 
                                        onblur=\"javascript:enableHotkeys();\"
                                        onkeypress=\"return filterCR(event, changeUserPassword)\"
        
                                print "<tr><td width=\"40%\">".__("New password")."</td>";
                                
-                               print "<td><input class=\"editbox\" type=\"password\"
+                               print "<td class=\"prefValue\"><input class=\"editbox\" type=\"password\"
                                        onfocus=\"javascript:disableHotkeys();\" 
                                        onblur=\"javascript:enableHotkeys();\"
                                        onkeypress=\"return filterCR(event, changeUserPassword)\"
 
                                print "<tr><td width=\"40%\">".__("Confirm password")."</td>";
 
-                               print "<td><input class=\"editbox\" type=\"password\"
+                               print "<td class=\"prefValue\"><input class=\"editbox\" type=\"password\"
                                        onfocus=\"javascript:disableHotkeys();\" 
                                        onblur=\"javascript:enableHotkeys();\"
                                        onkeypress=\"return filterCR(event, changeUserPassword)\"
                                $def_value = $line["def_value"];
                                $help_text = $line["help_text"];
 
-                               print "<td width=\"40%\" id=\"$pref_name\">" . __($line["short_desc"]);
+                               print "<td width=\"40%\" class=\"prefName\" id=\"$pref_name\">" . __($line["short_desc"]);
 
                                if ($help_text) print "<div class=\"prefHelp\">".__($help_text)."</div>";
                                
                                print "</td>";
 
-                               print "<td>";
+                               print "<td class=\"prefValue\">";
 
                                if ($type_name == "bool") {
 //                                     print_select($pref_name, $value, array("true", "false"));
index b62f00f9e217c4171ec7d32f3f4c0c54027ab946..b7d0ac8b6c9045d4bcf8c82604edb3789b4c8c4b 100644 (file)
@@ -514,4 +514,11 @@ div.tagCloudContainer {
        background : url("images/resize_horiz.png") top left;
 }
 
+table.prefPrefsList tr:hover td.prefValue {
+       color : gray;
+}
+
+table.prefPrefsList tr:hover td.prefValue input {
+       color : gray;
+}
 
index dda8600b78b417eb4e052c38ed1aac868ab644dc..e52d4717a7903fa91e30a0dcafdf53da6b3350ed 100644 (file)
@@ -444,6 +444,14 @@ a.button {
 
 /* preferences */
 
+table.prefPrefsList tr:hover td.prefValue {
+       color : #88b0f0;
+}
+
+table.prefPrefsList tr:hover td.prefValue input {
+       color : #88b0f0;
+}
+
 tr.title td {
        border-width : 0px 0px 1px 0px;
        border-color : #ecf4ff;