Fixed html and css

This commit is contained in:
benweet 2014-09-13 00:48:39 +01:00
parent 5afefd7b21
commit 654c9803b6
4 changed files with 11 additions and 5 deletions

View File

@ -563,10 +563,10 @@
<select id="select-sync-import-couchdb-tag" class="col-sm-4 form-control">
</select>
<span class="col-sm-5">
<button class="btn btn-link action-add-tag"><i class="icon-tag"></i> Add
</button>
<button class="btn btn-link action-remove-tag"><i class="icon-tag"></i> Remove
</button>
<a class="btn btn-link action-add-tag"><i class="icon-tag"></i> Add
</a>
<a class="btn btn-link action-remove-tag"><i class="icon-tag"></i> Remove
</a>
</span>
</div>
</div>

View File

@ -312,7 +312,7 @@ define([
setMode('byid');
})
.on('click', '.action-add-tag', function() {
alertify.prompt("Enter a tag:", function (e, tag) {
alertify.prompt("Enter a tag (case sensitive):", function (e, tag) {
if(!e || !tag) {
return;
}

View File

@ -164,6 +164,7 @@
border: 1px solid @input-border;
border-radius: @input-border-radius;
.box-shadow(~"@{form-control-inset-shadow}");
.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
}
.alertify-text:focus {
.form-control-focus();
@ -174,6 +175,7 @@
background:@secondary-bg-light;
border-top: 1px solid @secondary-border-color-light;
text-align: right;
border-radius: 0 0 6px 6px;
}
.alertify-button {
margin-left: 10px;

View File

@ -362,6 +362,10 @@ a {
}
}
.btn-link:hover {
text-decoration: none;
}
.btn-group {
.btn + .btn,
.btn + .btn-group,