themes/openwrt: implement CSS classes for up and down buttons
[project/luci.git] / themes / openwrt / htdocs / luci-static / openwrt.org / cascade.css
index 2729393..cbc62b1 100644 (file)
@@ -357,7 +357,11 @@ input:-webkit-input-placeholder {
        color: #AAAAAA;
 }
 
-input:-moz-input-placeholder {
+input:-moz-placeholder {
+       color: #AAAAAA;
+}
+
+input:-ms-input-placeholder {
        color: #AAAAAA;
 }
 
@@ -420,6 +424,13 @@ input.cbi-button:hover {
        background-color: #FFFFFF;
 }
 
+input.cbi-button[disabled] {
+       color: #CCCCCC;
+       border-color: #CCCCCC;
+       background-color: #EEEEEE;
+       cursor: default;
+}
+
 input.cbi-input-user {
        background-image: url('../resources/cbi/user.gif');
        background-repeat: no-repeat;
@@ -504,6 +515,18 @@ 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;
+}
+
 .cbi-input-invalid {
        background-image: url('../resources/cbi/reset.gif');
        background-repeat: no-repeat;
@@ -713,13 +736,18 @@ td.cbi-value-error {
        padding: 3px;
 }
 
+.cbi-value-field var {
+       color: #2222FF;
+}
+
 ul.cbi-tabmenu {
        padding: 3px 0;
        margin-left: 0 !important;
        list-style-type: none;
        position: relative;
        z-index: 10;
-       top: 1px;
+       top: 4px;
+       line-height: 20px;
 }
 
 ul.cbi-tabmenu li.cbi-tab,
@@ -764,8 +792,12 @@ 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 {