X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Ffreifunk%2Fhtdocs%2Fluci-static%2Ffreifunk%2Fcascade.css;h=26e3509fe20d36de56a546fb8fc7bf972d2fcd75;hp=8f8dc693981a1d98d756a6052b6806eaa9d6fe45;hb=6a79dfc77e2e6904cb73d8a80dd069a86fe0bb54;hpb=a4bf60679d0e7cea78874afa80319b8ed98c455e diff --git a/themes/freifunk/htdocs/luci-static/freifunk/cascade.css b/themes/freifunk/htdocs/luci-static/freifunk/cascade.css index 8f8dc6939..26e3509fe 100644 --- a/themes/freifunk/htdocs/luci-static/freifunk/cascade.css +++ b/themes/freifunk/htdocs/luci-static/freifunk/cascade.css @@ -60,7 +60,7 @@ a:hover { min-height: 710px; } -div#content ul { +div#maincontent ul { margin-left: 2em; } @@ -170,6 +170,7 @@ div#content ul { .mainmenu li { white-space: nowrap; + text-align: left; } .mainmenu div ul { @@ -190,7 +191,7 @@ div#content ul { .mainmenu ul li > ul { left: 100%; - margin-top: -1.8em; + margin-top: -1.3em; border-width: 1px; } @@ -222,8 +223,8 @@ div#content ul { .mainmenu li:hover > span > a, .mainmenu div:hover > a { -color: #ffffff; -background-color: #FFCB05; + color: #DC0067; + background-color: #FFCB05; } @@ -234,8 +235,8 @@ background-color: #FFCB05; .mainmenu a:hover, .modemenu a:hover { -color: #ffffff; -background-color: #FFCB05; + color: #DC0067; + background-color: #FFCB05; } .mainmenu div.preactive > a { @@ -244,7 +245,7 @@ background-color: #FFCB05; } .mainmenu div.preactive > a:hover, .mainmenu div.preactive > a:focus { - color: #ffffff; + color: #DC0067; font-weight: bold; } @@ -260,7 +261,7 @@ background-color: #FFCB05; } -#content { +#maincontent { clear: both; width: 98%; margin: 0 auto; @@ -269,22 +270,23 @@ background-color: #FFCB05; color: #000000; font-size: 80%; border-top:1px solid #D2A800; + text-align:left } -#content h1 { +#maincontent h2 { margin: 0.25em 0 0.5em 0; font-size: 150%; font-weight: normal; } -#content h2 { +#maincontent h3 { margin: 0.5em 0; font-size: 120%; font-weight: normal; text-decoration: underline; } -#content p { +#maincontent p { margin-bottom: 1em; } @@ -342,6 +344,12 @@ textarea { border-color: #000000; } +textarea#syslog +{ +width: 98%; +font-family: monospace; + +} input[type=image] { border: none; } @@ -368,13 +376,19 @@ td input[type=password] { width: 99%; } +img.cbi-image-button { + cursor: pointer; + margin: 0 2px; + vertical-align: middle; +} + input.cbi-input-user { background: url('../resources/cbi/user.gif') no-repeat scroll 1px center; background-color: inherit; padding-left: 17px; } -input.cbi-input-key { +input.cbi-input-password { background: url('../resources/cbi/key.gif') no-repeat scroll 1px center; background-color: inherit; padding-left: 17px; @@ -440,6 +454,54 @@ div.cbi-section-remove input { padding-right: 1px; } +input.cbi-button-up { + background-image: url('../resources/cbi/up.gif'); + padding-left: 11px; + padding-right: 1px; +} + +input.cbi-button-down { + background-image: url('../resources/cbi/down.gif'); + padding-left: 11px; + padding-right: 1px; +} + +input.cbi-button-edit { + background-image: url('../resources/cbi/edit.gif'); + color: #000000; + padding-left: 17px; + padding-right: 1px; +} + +input.cbi-button-reload { + background-image: url('../resources/cbi/reload.gif'); + color: #000000; + padding-left: 17px; + padding-right: 1px; +} + +input.cbi-button-reset { + background-image: url('../resources/cbi/reset.gif'); + color: #000000; + padding-left: 17px; + padding-right: 1px; +} + +input.cbi-button-remove { + background-image: url('../resources/cbi/remove.gif'); + color: #000000; + padding-left: 17px; + padding-right: 1px; +} + +.cbi-input-invalid { + background-image: url('../resources/cbi/reset.gif'); + background-repeat: no-repeat; + background-position: right; + color: #FF0000 !important; + border-color: #FF0000; +} + div.cbi-section-remove input { border-bottom: none; } @@ -490,6 +552,11 @@ table.smalltext tr td { .cbi-rowstyle-2 { } +table.cbi-section-table .cbi-section-table-cell { + padding: 3px; + white-space: nowrap; +} + div.cbi-value { clear: left; vertical-align: middle; @@ -520,13 +587,12 @@ div.cbi-value-description { } div.cbi-value-field > div.cbi-value-description { - display: none; + display: inline; + color: #ffe990; } div.cbi-value:hover div.cbi-value-field > div.cbi-value-description { - display: block; - color: #ffffff; - background-color: #FFCB05; + color: #000000; } option:active, @@ -619,8 +685,63 @@ ul.cbi-apply { font-size: 90%; } +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 #000; + border-bottom: none; + background-color: #eee; + color: #bbb; +} + +ul.cbi-tabmenu li.cbi-tab-highlighted a { + color: #000; + background-color: #FFEEAA; +} + +ul.cbi-tabmenu li a:hover { + color: #000; +} + +ul.cbi-tabmenu li.cbi-tab a { + position: relative; + top: 1px; + padding-top: 4px; + color: #000; + background-color: #fff; +} + +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 #ccc; + margin: 0.25em 0.25em 2em; + padding: 0.5em 0.5em 0.5em 2em; +} + + +.left { + text-align: left !important; +} + .right { - text-align: right; + text-align: right !important; } .luci { @@ -647,32 +768,6 @@ ul.cbi-apply { padding: 0.5em; } -#memorybar { - width:200px; - height:8px; - border:1px solid #bbb; - background-color:red -} - -#memfree, #membuffers, #memcached { - float:right; - border:1px solid #bbb; - height:6px; -} - -#memfree { - background-color:green; -} - -#membuffers { - background-color:yellow; -} - -#memcached { - background-color:orange; -} - - /* obligatory IE6 Voodoo Code */ * html body { padding-left: 50% !important; @@ -687,7 +782,7 @@ ul.cbi-apply { width: 200% !important; } -* html div#content { +* html div#maincontent { margin-left: -80% !important; width: 160% !important; } @@ -724,3 +819,35 @@ ul.cbi-apply { * html div.cbi-value-description { margin-left: 40%; } + + +.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; + display: inline-block; +} + +.ifacebadge-active { + border-color: #000000; + font-weight: bold; +}