Add no-text class to buttons with no text

This commit is contained in:
riking 2014-03-29 23:28:04 -07:00
parent 6b2da6e794
commit 0828cf52ee
4 changed files with 7 additions and 10 deletions

View File

@ -58,8 +58,8 @@
<div class='controls'>
{{#if primaryGroupDirty}}
<div>
<button class='btn ok' {{action savePrimaryGroup}}><i class='fa fa-check'></i></button>
<button class='btn cancel' {{action resetPrimaryGroup}}><i class='fa fa-times'></i></button>
<button class='btn ok no-text' {{action savePrimaryGroup}}><i class='fa fa-check'></i></button>
<button class='btn cancel no-text' {{action resetPrimaryGroup}}><i class='fa fa-times'></i></button>
</div>
{{/if}}
</div>
@ -226,8 +226,8 @@
{{#if dirty}}
<div>
<button class='btn ok' {{action saveTrustLevel target="content"}}><i class='fa fa-check'></i></button>
<button class='btn cancel' {{action restoreTrustLevel target="content"}}><i class='fa fa-times'></i></button>
<button class='btn ok no-text' {{action saveTrustLevel target="content"}}><i class='fa fa-check'></i></button>
<button class='btn cancel no-text' {{action restoreTrustLevel target="content"}}><i class='fa fa-times'></i></button>
</div>
{{/if}}
</div>

View File

@ -1,6 +1,6 @@
{{#if selected}}
<div id='bulk-select'>
<button class='btn' {{action showBulkActions}}><i class="fa fa-wrench"></i></button>
<button class='btn no-text' {{action showBulkActions}}><i class="fa fa-wrench"></i></button>
</div>
{{/if}}

View File

@ -22,8 +22,8 @@
{{/if}}
{{textField id='edit-title' value=newTitle}}
<button class='btn btn-primary btn-small' {{action finishedEditingTopic}}><i class='fa fa-check'></i></button>
<button class='btn btn-small' {{action cancelEditingTopic}}><i class='fa fa-times'></i></button>
<button class='btn btn-primary btn-small no-text' {{action finishedEditingTopic}}><i class='fa fa-check'></i></button>
<button class='btn btn-small no-text' {{action cancelEditingTopic}}><i class='fa fa-times'></i></button>
{{else}}
<h1>
<span class="private-message-glyph"><i class='fa fa-envelope'></i></span>

View File

@ -539,9 +539,6 @@ ol.category-breadcrumb {
right: 20px;
padding: 5px;
background-color: $primary_background_color;
button {
padding: 3px 0 3px 6px;
}
}
button.dismiss-read {