themes/openwrt: polish layout

This commit is contained in:
Jo-Philipp Wich 2011-09-22 17:51:42 +00:00
parent 8f25290a38
commit 5771ef47a1

View file

@ -392,38 +392,50 @@ img.cbi-image-button {
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-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;
@ -431,8 +443,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;
@ -440,8 +451,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;
@ -449,8 +459,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;
@ -458,8 +467,7 @@ 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;
@ -467,8 +475,7 @@ input.cbi-button-apply {
input.cbi-input-link,
input.cbi-button-link {
background: url('../resources/cbi/link.gif') no-repeat scroll 1px center;
background-color: inherit;
background-image: url('../resources/cbi/link.gif');
color: #000000;
padding-left: 17px;
padding-right: 1px;
@ -476,8 +483,7 @@ input.cbi-button-link {
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;
@ -564,7 +570,7 @@ table.cbi-section-table .cbi-rowstyle-2:hover {
div.cbi-value {
clear: left;
vertical-align: middle;
padding: 0.25em;
padding: 0.25em 0.6em;
border-bottom: 1px dotted #bbbbbb;
}
@ -596,10 +602,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;
}
@ -623,11 +625,14 @@ 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 .cbi-value-last {
border-bottom: none;
}
.cbi-section-node table div {
@ -692,8 +697,10 @@ td.cbi-value-error {
ul.cbi-tabmenu {
padding: 3px 0;
margin-left: 0 !important;
margin-bottom: -1px;
list-style-type: none;
position: relative;
z-index: 10;
top: 1px;
}
ul.cbi-tabmenu li.cbi-tab,
@ -707,8 +714,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;
}
@ -723,8 +731,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;