From 83de41903cd65ea5f74fdcea8df288e9bbfbbdf9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 15 Feb 2012 15:52:49 +0000 Subject: [PATCH] themes/openwrt: add new CSS classes for iface boxes and badges as used in the iface overview or the physical settings of networks --- .../luci-static/openwrt.org/cascade.css | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css index 059dfc924f..9b94b5855c 100644 --- a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -624,6 +624,11 @@ table.cbi-section-table .cbi-rowstyle-2:hover { color: #000000; } +table.cbi-section-table .cbi-section-table-cell { + padding: 3px; + white-space: nowrap; +} + .cbi-section .cbi-rowstyle-1 h3 { background-color: #eeeeff; color: #555555; @@ -868,6 +873,37 @@ div.cbi-tab-descr { } +.ifacebox { + background-color: #FFFFFF; + border: 1px solid #CCCCCC; + margin: 0 10px; + text-align: center; + white-space: nowrap; +} + +.ifacebox .ifacebox-head { + border-bottom: 1px solid #CCCCCC; + padding: 2px; +} + +.ifacebox .ifacebox-body { + padding: 2px; +} + + +.ifacebadge { + background-color: #FFFFFF; + border: 1px solid #CCCCCC; + padding: 2px; + margin-left: 2px; +} + +.ifacebadge-active { + border-color: #000000; + font-weight: bold; +} + + .uci-change-list { font-family: monospace; } -- 2.30.2