UX: Use flat button style for bulk selection
This commit is contained in:
parent
5da848088a
commit
3152eabbb0
|
@ -0,0 +1,3 @@
|
|||
<button class='btn-flat {{class}}' title='{{i18n "topics.bulk.toggle"}}'>
|
||||
{{fa-icon icon}}
|
||||
</button>
|
|
@ -1,7 +1,7 @@
|
|||
<th data-sort-order='{{order}}' class='{{view.className}}'>
|
||||
{{~#if canBulkSelect}}
|
||||
{{~#if showBulkToggle}}
|
||||
<button class='btn bulk-select' title='{{i18n "topics.bulk.toggle"}}'><i class='fa fa-list'></i></button>
|
||||
{{raw "flat-button" class="bulk-select" icon="list" title="topics.bulk.toggle"}}
|
||||
{{/if ~}}
|
||||
{{~#if bulkSelectEnabled}}
|
||||
<span class='bulk-select-topics'>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{#if bulkSelectEnabled}}
|
||||
<th class='star'>
|
||||
{{#if canBulkSelect}}
|
||||
<button class='btn bulk-select' title='{{i18n "topics.bulk.toggle"}}'><i class='fa fa-list'></i></button>
|
||||
{{raw "flat-button" class="bulk-select" icon="list" title="topics.bulk.toggle"}}
|
||||
{{/if}}
|
||||
</th>
|
||||
{{/if}}
|
||||
|
|
|
@ -194,4 +194,7 @@
|
|||
background: transparent;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
i.fa {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,10 +61,8 @@
|
|||
}
|
||||
button.bulk-select {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
&:hover {
|
||||
color: $primary-low;
|
||||
}
|
||||
font-size: 1.05em;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
.star {
|
||||
|
|
Loading…
Reference in New Issue