X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fopenwrt%2Fhtdocs%2Fluci-static%2Fopenwrt.org%2Fcascade.css;h=95e6a075e4036a6789aff5d2e4a5fd73c50b58cb;hb=d942285d01489bbf8bb612ce1b4ced34d550f4c8;hp=aaba385e5a5c128b2325da1ec3a8c697ba0378a8;hpb=61d0b4e734017499288e19d2339c5a29c3927910;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 aaba385e5..95e6a075e 100644 --- a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -5,16 +5,16 @@ html { min-height: 100%; height: auto; + position:relative; } body { color: #ffffff; background-color: #4a6b7c; - background-image: url(bg.jpg); background-position: bottom center; background-repeat: repeat-x; font-family: Verdana, Arial, sans-serif; - font-size: 101%; + font-size: 11pt; line-height: 100%; padding-bottom: 1.5em; } @@ -24,12 +24,21 @@ body { padding: 0; } +a img { + border: none; + text-decoration: none; +} + +small { + white-space: nowrap; +} + ul.tabmenu { margin: 0; clear: both; display: block; vertical-align: bottom; - font-size: 90%; + font-size: 10pt; padding: 5px 0 0 5px; } @@ -89,6 +98,10 @@ ul.l1 li a { border-color: #444444; } +ul.l1 li.tabmenu-item-logout a { + margin-left: 30px; +} + abbr, acronym { font-style: normal; @@ -153,6 +166,20 @@ div.hostinfo { padding: 0.5em; } +#xhr_poll_status { + cursor: pointer; +} + +#xhr_poll_status #xhr_poll_status_off { + font-weight: bold; + color: #FF0000; +} + +#xhr_poll_status #xhr_poll_status_on { + font-weight: bold; + color: #00FF00; +} + #menubar { position: relative; width: 100%; @@ -211,6 +238,8 @@ html #menubar a:visited.warning { color: #ffffff; list-style: none; margin-right: 1px; + margin-left: 2em; + float: right; } #modemenu li { @@ -220,7 +249,6 @@ html #menubar a:visited.warning { #savemenu { float: right; - margin-right: 2em; } .lang_de #submenu_admin_uci { @@ -241,8 +269,9 @@ textarea#syslog { #maincontainer { clear: both; - width: 80%; + width: 96%; margin: 0 auto; + height:100%; } #maincontent { @@ -324,13 +353,21 @@ ul.cbi-apply { font-size: 90%; } +input:-webkit-input-placeholder { + color: #AAAAAA; +} + +input:-moz-input-placeholder { + color: #AAAAAA; +} + input[type=submit], input[type=reset], -input[type=image] { +input[type=image], +input[type=button] { cursor: pointer; } - select, input, textarea { @@ -347,9 +384,7 @@ input[type=image] { input:focus, input:hover, select:focus, -select:hover, -textarea:focus, -textarea:hover { +select:hover { background-color: #ffffff; color: #000000; } @@ -366,38 +401,63 @@ 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-button[disabled] { + color: #CCCCCC; + border-color: #CCCCCC; + background-color: #EEEEEE; + cursor: default; +} + 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; @@ -405,8 +465,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; @@ -414,8 +473,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; @@ -423,8 +481,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; @@ -432,8 +489,15 @@ 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; +} + +input.cbi-input-link, +input.cbi-button-link { + background-image: url('../resources/cbi/link.gif'); color: #000000; padding-left: 17px; padding-right: 1px; @@ -441,8 +505,7 @@ input.cbi-button-apply { 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; @@ -506,12 +569,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; @@ -524,7 +592,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; } @@ -556,10 +624,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; } @@ -583,11 +647,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 { @@ -649,11 +720,18 @@ td.cbi-value-error { padding: 3px; } +.cbi-value-field var { + color: #2222FF; +} + ul.cbi-tabmenu { padding: 3px 0; margin-left: 0 !important; - margin-bottom: -1px; list-style-type: none; + position: relative; + z-index: 10; + top: 4px; + line-height: 20px; } ul.cbi-tabmenu li.cbi-tab, @@ -667,8 +745,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; } @@ -683,8 +762,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; @@ -699,15 +776,20 @@ div.cbi-tab-descr { padding: 0.5em 0.5em 0.5em 2em; } +.left { + text-align: left !important; +} + .right { - text-align: right; + text-align: right !important; } .luci { - position: fixed; + position: absolute; bottom: 0; - left: 0; - text-align: right; + left: 1em; + height: 1.5em; + font-size: 80%; } .luci a:link, @@ -737,6 +819,11 @@ div.cbi-tab-descr { margin-bottom: 5px; } +.errorbox a { + color: #000000 !important; +} + + .uci-change-list { font-family: monospace; } @@ -806,33 +893,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; -} - }