X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=themes%2Fopenwrt%2Fhtdocs%2Fluci-static%2Fopenwrt.org%2Fcascade.css;h=e820229207b80cbd85fa2056bdc37c8dcce839d6;hb=7aca8f2381c9821bf9b208db45de04bad9f21311;hp=dc1c30b2e32331b97d2f3aa8f8d85970f6ec8e7d;hpb=5b67f92b6fb535fe77ee180c376c0393a3b36ecf;p=project%2Fluci.git diff --git a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css index dc1c30b2e..e82022920 100644 --- a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -5,6 +5,7 @@ html { min-height: 100%; height: auto; + position:relative; } body { @@ -37,7 +38,7 @@ ul.tabmenu { clear: both; display: block; vertical-align: bottom; - font-size: 90%; + font-size: 10pt; padding: 5px 0 0 5px; } @@ -253,8 +254,9 @@ textarea#syslog { #maincontainer { clear: both; - width: 80%; + width: 96%; margin: 0 auto; + height:100%; } #maincontent { @@ -367,9 +369,7 @@ input[type=image] { input:focus, input:hover, select:focus, -select:hover, -textarea:focus, -textarea:hover { +select:hover { background-color: #ffffff; color: #000000; } @@ -386,38 +386,56 @@ td input[type=password] { width: 99%; } +img.cbi-image-button { + cursor: pointer; + margin: 0 2px; + vertical-align: middle; +} + +input.cbi-button { + background-color: #EEEEEE; + background-repeat: no-repeat; + background-position: 1px center; + border: 1px solid #CCCCCC; + border-radius: 3px; +} + +input.cbi-button:hover { + border-color: #4A6B7C; + background-color: #FFFFFF; +} + input.cbi-input-user { - background: url('../resources/cbi/user.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/user.gif'); + background-repeat: no-repeat; + background-position: 1px center; color: #000000; text-indent: 17px; } input.cbi-input-password { - background: url('../resources/cbi/key.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/key.gif'); + background-repeat: no-repeat; + background-position: 1px center; color: #000000; text-indent: 17px; } input.cbi-input-find { - background: url('../resources/cbi/find.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/find.gif'); color: #000000; padding-left: 17px; } input.cbi-input-reload { - background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/reload.gif'); color: #000000; padding-left: 17px; } input.cbi-input-add, input.cbi-button-add { - background: url('../resources/cbi/add.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/add.gif'); color: #000000; padding-left: 17px; padding-right: 1px; @@ -425,8 +443,7 @@ input.cbi-button-add { input.cbi-input-fieldadd, input.cbi-button-fieldadd { - background: url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center; - background-color: inherit; + background-image: url(../resources/cbi/fieldadd.gif); color: #000000; padding-left: 17px; padding-right: 1px; @@ -434,8 +451,7 @@ input.cbi-button-fieldadd { input.cbi-input-reset, input.cbi-button-reset { - background: url('../resources/cbi/reset.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/reset.gif'); color: #000000; padding-left: 17px; padding-right: 1px; @@ -443,8 +459,7 @@ input.cbi-button-reset { input.cbi-input-save, input.cbi-button-save { - background: url('../resources/cbi/save.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/save.gif'); color: #000000; padding-left: 17px; padding-right: 1px; @@ -452,8 +467,7 @@ input.cbi-button-save { input.cbi-input-apply, input.cbi-button-apply { - background: url('../resources/cbi/apply.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/apply.gif'); color: #000000; padding-left: 17px; padding-right: 1px; @@ -461,8 +475,7 @@ input.cbi-button-apply { input.cbi-input-link, input.cbi-button-link { - background: url('../resources/cbi/link.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/link.gif'); color: #000000; padding-left: 17px; padding-right: 1px; @@ -470,8 +483,7 @@ input.cbi-button-link { input.cbi-input-remove, div.cbi-section-remove input { - background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center; - background-color: inherit; + background-image: url('../resources/cbi/remove.gif'); color: #000000; padding-left: 17px; padding-right: 1px; @@ -535,12 +547,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; @@ -553,7 +570,7 @@ table.cbi-section-table .cbi-rowstyle-1>* { div.cbi-value { clear: left; vertical-align: middle; - padding: 0.25em; + padding: 0.25em 0.6em; border-bottom: 1px dotted #bbbbbb; } @@ -585,10 +602,6 @@ div.cbi-section-create { vertical-align: top; } -div.cbi-tblsection-create { - border-bottom: 1px dotted #bbbbbb; -} - div.cbi-section-create .cbi-button { margin: 0.25em; } @@ -612,11 +625,18 @@ div.cbi-section-remove { .cbi-section-node { clear: both; - border-top: 1px dotted #bbbbbb; - border-left: 1px dotted #bbbbbb; - border-right: 1px dotted #bbbbbb; - border-bottom: none; + border: 1px solid #BBBBBB; + border-radius: 3px; padding-bottom: 0; + position: relative; +} + +.cbi-section-node-tabbed { + border-top-left-radius: 0; +} + +.cbi-section-node .cbi-value-last { + border-bottom: none; } .cbi-section-node table div { @@ -681,8 +701,10 @@ td.cbi-value-error { ul.cbi-tabmenu { padding: 3px 0; margin-left: 0 !important; - margin-bottom: -1px; list-style-type: none; + position: relative; + z-index: 10; + top: 1px; } ul.cbi-tabmenu li.cbi-tab, @@ -696,8 +718,9 @@ ul.cbi-tabmenu li.cbi-tab-disabled a { text-decoration: none; padding: 3px 7px; margin-right: 3px; - border: 1px outset #000000; + border: 1px solid #BBBBBB; border-bottom: none; + border-radius: 3px 3px 0 0; background-color: #EEEEEE; color: #BBBBBB; } @@ -712,8 +735,6 @@ ul.cbi-tabmenu li a:hover { } ul.cbi-tabmenu li.cbi-tab a { - position: relative; - top: 1px; padding-top: 4px; color: #000000; background-color: #FFFFFF; @@ -733,10 +754,11 @@ div.cbi-tab-descr { } .luci { - position: fixed; + position: absolute; bottom: 0; - left: 0; - text-align: right; + left: 1em; + height: 1.5em; + font-size: 80%; } .luci a:link, @@ -835,33 +857,4 @@ div.cbi-tab-descr { } -#memorybar { - width: 200px; - height: 8px; - border: 1px solid #bbb; - color: black; - background-color: red; -} - -#memfree, #membuffers, #memcached { - float: right; - border: 1px solid #bbb; - height: 6px; -} - -#memfree { - background-color: green; - color: black; -} - -#membuffers { - background-color: yellow; - color: black; -} - -#memcached { - background-color: #ffa500; - color: black; -} - }