From cbdf1e095cf2263eba7e208d68217833cd77135f Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Mon, 30 May 2011 21:55:28 +0000 Subject: [PATCH] themes/openwrt and freifunk-generic: Add css to color cbi-table-rows while hovering them, closes https://dev.openwrt.org/ticket/9248 --- .../htdocs/luci-static/freifunk-generic/cascade.css | 9 +++++++-- .../openwrt/htdocs/luci-static/openwrt.org/cascade.css | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css b/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css index 514096efe..1f9f7ef7f 100644 --- a/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css +++ b/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css @@ -702,12 +702,17 @@ table.smalltext tr td { border-left: 1px dotted #666; } -table.cbi-section-table .cbi-rowstyle-1, -table.cbi-section-table .cbi-rowstyle-1 * { +table.cbi-section-table .cbi-rowstyle-1 { background-color: #f1f6fa; color: #000; } +table.cbi-section-table .cbi-rowstyle-1:hover, +table.cbi-section-table .cbi-rowstyle-2:hover { + background-color: #b2c8d4; + color: #000000; +} + .cbi-section .cbi-rowstyle-1 h3 { background-color: #f1f6fa; color: #555; diff --git a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css index 8d9a7a77e..b1c2a8127 100644 --- a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -541,12 +541,17 @@ table.smalltext tr td { border-left: 1px solid #666666; } -table.cbi-section-table .cbi-rowstyle-1, -table.cbi-section-table .cbi-rowstyle-1>* { +table.cbi-section-table .cbi-rowstyle-1 { background-color: #eeeeff; color: #000000; } +table.cbi-section-table .cbi-rowstyle-1:hover, +table.cbi-section-table .cbi-rowstyle-2:hover { + background-color: #b2c8d4; + color: #000000; +} + .cbi-section .cbi-rowstyle-1 h3 { background-color: #eeeeff; color: #555555; -- 2.25.1