themes/openwrt.org: add reference css for cbi tabs
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 16 Aug 2009 03:30:34 +0000 (03:30 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 16 Aug 2009 03:30:34 +0000 (03:30 +0000)
themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css

index 90081a6044c1c838b96d33cb6e8da0308f5af3e4..01ccb1e1adf8e0fddd61119d37685f51a63926db 100644 (file)
@@ -741,6 +741,51 @@ td.cbi-value-error {
        padding: 3px;
 }
 
+ul.cbi-tabmenu {
+       padding: 3px 0;
+       margin-left: 0 !important;
+       margin-bottom: -1px;
+       list-style-type: none;
+}
+
+ul.cbi-tabmenu li.cbi-tab,
+ul.cbi-tabmenu li.cbi-tab-disabled {
+       display: inline;
+       margin: 0;
+}
+
+ul.cbi-tabmenu li.cbi-tab a,
+ul.cbi-tabmenu li.cbi-tab-disabled a {
+       text-decoration: none;
+       padding: 3px 7px;
+       margin-right: 3px;
+       border: 1px outset #000000;
+       border-bottom: none;
+       background-color: #EEEEEE;
+       color: #BBBBBB;
+}
+
+ul.cbi-tabmenu li a:hover {
+       color: #000000;
+}
+
+ul.cbi-tabmenu li.cbi-tab a {
+       position: relative;
+       top: 1px;
+       padding-top: 4px;
+       color: #000000;
+       background-color: #FFFFFF;
+}
+
+div.cbi-tab-descr {
+       background-image: url(/luci-static/resources/cbi/help.gif);
+       background-position: 0.25em 50%;
+       background-repeat: no-repeat;
+       border-bottom: 1px solid #CCCCCC;
+       margin: 0.25em 0.25em 2em;
+       padding: 0.5em 0.5em 0.5em 2em;
+}
+
 .right {
        text-align: right;
 }