#757: some refactoring, move "bootstrap" styles

This commit is contained in:
Vokhmin Alexey V 2013-02-22 15:17:46 +04:00
parent 7a2b547d2b
commit c6bdb1fc44
3 changed files with 17 additions and 16 deletions

View File

@ -54,7 +54,8 @@ $(document).ready(function() {
$('#extra-repos-and-build-lists-dialog').dialog({ $('#extra-repos-and-build-lists-dialog').dialog({
autoOpen: false, autoOpen: false,
resizable: false, resizable: false,
width: 400 width: 400,
height: 130
}); });
$('#extra-repos-and-build-lists .icon-question-sign').click(function() { $('#extra-repos-and-build-lists .icon-question-sign').click(function() {

View File

@ -1825,23 +1825,9 @@ table#myTable thead tr.search th form.button_to div input {
#extra-repos-and-build-lists { #extra-repos-and-build-lists {
width: 330px; width: 330px;
.actions { width: 15px; } .actions { width: 15px; }
.icon-question-sign {
background-position: -96px -96px;
}
} }
#extra-repos-and-build-lists-dialog, .ui-dialog-titlebar { font-size: 12px; }
#extra-repos-and-build-lists-dialog { #extra-repos-and-build-lists-dialog {
text-align: left; text-align: left;
p { margin: 0; } p { margin: 0; }
} }
[class^="icon-"], [class*=" icon-"] {
display: inline-block;
width: 14px;
height: 14px;
margin-top: 1px;
line-height: 14px;
vertical-align: text-top;
background-image: url("glyphicons-halflings.png");
background-position: 14px 14px;
background-repeat: no-repeat;
}

View File

@ -815,3 +815,17 @@ a.badge:hover {
.badge-inverse[href] { .badge-inverse[href] {
background-color: #1a1a1a; background-color: #1a1a1a;
} }
[class^="icon-"], [class*=" icon-"] {
display: inline-block;
width: 14px;
height: 14px;
margin-top: 1px;
line-height: 14px;
vertical-align: text-top;
background-image: url("glyphicons-halflings.png");
background-position: 14px 14px;
background-repeat: no-repeat;
}
.icon-question-sign {
background-position: -96px -96px;
}