Upgrade to Bootstrap 3

This commit is contained in:
benweet 2013-08-15 01:01:40 +01:00
parent 3d92e33571
commit 63e7f9f029
5 changed files with 4 additions and 5 deletions

View File

@ -561,9 +561,9 @@ define([
// Close panel if open
menuPanelElt.collapse('hide');
documentPanelElt.collapse('hide');
isModalShown = true;
}).on('shown.bs.modal', function() {
// Focus on the first input when modal opens
isModalShown = true;
_.defer(function(elt) {
elt.find("input:enabled:visible:first").focus();
}, $(this));

View File

@ -147,7 +147,7 @@
<button type="button" class="close" title="clear">&times;</button>
<div class="input-group-btn">
<a data-toggle="modal" data-target=".modal-document-manager"
class="btn btn-default" title="Manage documents"><i
class="btn btn-link" title="Manage documents"><i
class="icon-layers"></i></a>
</div>
</div>

View File

@ -4,7 +4,7 @@
</span> <input class="form-control" type="text"
value="<%= publishDesc %>" disabled />
<div class="input-group-btn">
<a class="btn btn-default remove-button" title="Remove this location"
<a class="btn btn-link remove-button" title="Remove this location"
data-publish-index="<%= publishAttributes.publishIndex %>"><i
class="icon-trash"></i></a>
</div>

View File

@ -6,7 +6,7 @@
</span> <input class="form-control" type="text"
value="<%= syncDesc %>" disabled />
<div class="input-group-btn">
<a class="btn btn-default remove-button" title="Remove this location"
<a class="btn btn-link remove-button" title="Remove this location"
data-sync-index="<%= syncAttributes.syncIndex %>"><i class="icon-trash"></i></a>
</div>
</div>

View File

@ -162,7 +162,6 @@ body {
.input-group-btn {
.btn {
color: @btn-success-color;
i {
font-size: 120%;
}