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 id="select-sync-import-couchdb-tag" class="col-sm-4 form-control">
</select> </select>
<span class="col-sm-5"> <span class="col-sm-5">
<button class="btn btn-link action-add-tag"><i class="icon-tag"></i> Add <a class="btn btn-link action-add-tag"><i class="icon-tag"></i> Add
</button> </a>
<button class="btn btn-link action-remove-tag"><i class="icon-tag"></i> Remove <a class="btn btn-link action-remove-tag"><i class="icon-tag"></i> Remove
</button> </a>
</span> </span>
</div> </div>
</div> </div>

View File

@ -312,7 +312,7 @@ define([
setMode('byid'); setMode('byid');
}) })
.on('click', '.action-add-tag', function() { .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) { if(!e || !tag) {
return; return;
} }

View File

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

View File

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