themes: add cbi-button-download class, whitespace cleanup

This commit is contained in:
Jo-Philipp Wich 2012-11-21 16:04:10 +00:00
parent 8da6c1a49f
commit c9556c02bb
4 changed files with 124 additions and 95 deletions

View file

@ -1457,6 +1457,18 @@ footer {
background-image: url('../resources/cbi/link.gif'), linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); background-image: url('../resources/cbi/link.gif'), linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
} }
.cbi-button-download,
.cbi-input-download {
background-position: 6px center, left top;
padding-left: 28px;
background-image: url('../resources/cbi/download.gif'), -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
background-image: url('../resources/cbi/download.gif'), -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
background-image: url('../resources/cbi/download.gif'), -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
background-image: url('../resources/cbi/download.gif'), -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
background-image: url('../resources/cbi/download.gif'), -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
background-image: url('../resources/cbi/download.gif'), linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
}
.btn.active, .btn:active { .btn.active, .btn:active {
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);

View file

@ -697,7 +697,7 @@ input.cbi-button-apply {
} }
input.cbi-input-link, input.cbi-input-link,
input.cbi-button-link { input.cbi-button-link {
background: url('../resources/cbi/link.gif') no-repeat scroll 1px center; background: url('../resources/cbi/link.gif') no-repeat scroll 1px center;
background-color: inherit; background-color: inherit;
color: #000; color: #000;
@ -705,6 +705,15 @@ input.cbi-input-link,
border: none; border: none;
} }
input.cbi-input-download,
input.cbi-button-download {
background: url('../resources/cbi/download.gif') no-repeat scroll 1px center;
background-color: inherit;
color: #000;
padding: 0 1px 0 17px;
border: none;
}
input.cbi-input-remove, input.cbi-input-remove,
div.cbi-section-remove input { div.cbi-section-remove input {
background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center; background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center;

View file

@ -529,6 +529,14 @@ input.cbi-button-link {
padding-right: 1px; padding-right: 1px;
} }
input.cbi-input-download,
input.cbi-button-download {
background-image: url('../resources/cbi/download.gif');
color: #000000;
padding-left: 17px;
padding-right: 1px;
}
input.cbi-input-remove, input.cbi-input-remove,
div.cbi-section-remove input { div.cbi-section-remove input {
background-image: url('../resources/cbi/remove.gif'); background-image: url('../resources/cbi/remove.gif');