mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:54:59 +08:00
Merge pull request #2208 from riking/notext
Add no-text class to buttons with no text
This commit is contained in:
commit
956b14a4ab
|
@ -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>
|
||||
|
|
|
@ -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}}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -542,9 +542,6 @@ ol.category-breadcrumb {
|
|||
right: 20px;
|
||||
padding: 5px;
|
||||
background-color: $primary_background_color;
|
||||
button {
|
||||
padding: 3px 0 3px 6px;
|
||||
}
|
||||
}
|
||||
|
||||
button.dismiss-read {
|
||||
|
|
Loading…
Reference in New Issue
Block a user