From: Manuel Munz Date: Mon, 30 May 2011 21:55:28 +0000 (+0000) Subject: themes/openwrt and freifunk-generic: Add css to color cbi-table-rows while hovering... X-Git-Tag: 0.11.0~2089 X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=cbdf1e095cf2263eba7e208d68217833cd77135f;p=project%2Fluci.git themes/openwrt and freifunk-generic: Add css to color cbi-table-rows while hovering them, closes https://dev.openwrt.org/ticket/9248 --- 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;