themes/openwrt.org: display error if Java Script is disabled
[project/luci.git] / themes / openwrt.org / htdocs / luci-static / openwrt.org / cascade.css
index 7fb7fc8..91771a7 100644 (file)
@@ -2,19 +2,21 @@
 
 @media all {
 
-html,
+html {
+       min-height: 100%;
+       height: auto;
+}
+
 body {
+       color: #ffffff;
        background-color: #4a6b7c;
        background-image: url(bg.jpg);
        background-position: bottom center;
        background-repeat: repeat-x;
-       color: #ffffff;
-}
-
-body {
        font-family: Verdana, Arial, sans-serif;
        font-size: 101%;
        line-height: 100%;
+       padding-bottom: 1.5em;
 }
 
 * {
@@ -546,6 +548,14 @@ div.cbi-section-remove input {
        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;
 }
@@ -614,7 +624,7 @@ table.cbi-section-table .cbi-rowstyle-1 * {
 div.cbi-value {
        clear: left;
        vertical-align: middle;
-       padding-left: 0.25em;
+       padding: 0.25em;
        border-bottom: 1px dotted #bbbbbb;
 }
 
@@ -739,6 +749,56 @@ 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.cbi-tab-highlighted a {
+       color: #000000;
+       background-color: #FFEEAA;
+}
+
+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;
 }
@@ -770,6 +830,12 @@ td.cbi-value-error {
        padding: 0.5em;
 }
 
+.errorbox {
+       border: 1px solid #FF0000;
+       background-color: #FFCCCC;
+       padding: 5px;
+}
+
 #memorybar {
        width: 200px;
        height: 8px;