summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org/htdocs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-13 14:09:33 +0000
committerSteven Barth <steven@midlink.org>2008-08-13 14:09:33 +0000
commit5a92c0fc089f8af4cdd5c35e94a563526c872ffd (patch)
tree50dedc13d40efbcad813f61d1b64eb9a87c9e7f6 /themes/openwrt.org/htdocs
parenta59044df9b87c7e4ce668649726aa2d355206965 (diff)
libs/cbi: Improved user interface draft #1
Diffstat (limited to 'themes/openwrt.org/htdocs')
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css66
1 files changed, 55 insertions, 11 deletions
diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
index 218d7674d..ae3e5901d 100644
--- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
@@ -216,20 +216,31 @@ div#content ul {
input[type=submit],
input[type=reset],
+input[type=image],
label {
cursor: pointer;
}
+
select,
input,
textarea {
background: #eeeeee;
color: #000000;
- border: 1px solid #000000;
+ border-width: 1px;
+ border-color: #000000;
+}
+
+input[type=image] {
+ border: none;
}
input:focus,
-textarea:focus {
+input:hover,
+select:focus,
+select:hover,
+textarea:focus,
+textarea:hover {
background: #ffffff;
}
@@ -245,10 +256,40 @@ td input[type=password] {
width: 99%;
}
-button.clean {
- cursor: pointer;
- border: none;
- background-color: inherit;
+input.cbi-button {
+ padding-left: 17px;
+}
+
+input.cbi-button-add {
+ background: url('../resources/cbi/add.gif') 1px 1px;
+ background-repeat: no-repeat;
+}
+
+input.cbi-button-fieldadd {
+ background: url('../resources/cbi/fieldadd.gif') 1px 1px;
+ background-repeat: no-repeat;
+}
+
+input.cbi-button-reset {
+ background: url('../resources/cbi/reset.gif') 1px 1px;
+ background-repeat: no-repeat;
+}
+
+input.cbi-button-save {
+ background: url('../resources/cbi/save.gif') 1px 1px;
+ background-repeat: no-repeat;
+}
+
+input.cbi-button-apply {
+ background: url('../resources/cbi/apply.gif') 1px 1px;
+ background-repeat: no-repeat;
+}
+
+div.cbi-section-remove input {
+ background: url('../resources/cbi/remove.gif') 1px 1px;
+ background-repeat: no-repeat;
+ padding-left: 17px;
+ border-bottom: none;
}
textarea {
@@ -290,6 +331,14 @@ table.smalltext tr td {
border-left: 1px solid #666666;
}
+.cbi-rowstyle-1 {
+ background-color: #eeeeff;
+}
+
+.cbi-rowstyle-2 {
+
+}
+
div.cbi-value {
clear: left;
padding: 0.25em;
@@ -344,11 +393,6 @@ div.cbi-section-remove {
float: right;
}
-div.cbi-section-remove input {
- border-color: #bbbbbb;
- border-bottom: none;
-}
-
.cbi-section-node {
clear: both;
border: 1px dotted #bbbbbb;