Skip to content

Commit 1937e7b

Browse files
committed
Rename item actions to item actions dropdown
1 parent fc89f0e commit 1937e7b

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/_common/items-list/items-list.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ $(function() {
22
var $itemActions = $(".item-actions");
33

44
$(document).on('click',function(e) {
5-
if (!$(e.target).closest('.item-actions').length) {
5+
if (!$(e.target).closest('.item-actions-dropdown').length) {
66
$itemActions.removeClass('active');
77
}
88
});
99

1010
$('.item-actions-toggle-btn').on('click',function(e){
1111
e.preventDefault();
1212

13-
var $thisActionList = $(this).closest('.item-actions');
13+
var $thisActionList = $(this).closest('.item-actions-dropdown');
1414

1515
$itemActions.not($thisActionList).removeClass('active');
1616

src/_common/items-list/items-list.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ $item-list-col-shrink: 3 !default;
242242
* Actions
243243
*********************************************/
244244

245-
.item-col.item-col-actions {
245+
.item-col.item-col-actions-dropdown {
246246
flex-basis: 30px + $item-list-padding-x;
247247
text-align: center;
248248
padding-left: 0 !important;
@@ -255,7 +255,7 @@ $item-list-col-shrink: 3 !default;
255255
}
256256
}
257257

258-
.item-actions {
258+
.item-actions-dropdown {
259259
position: relative;
260260
font-size: 1.1rem;
261261

src/app/items/list/items-list-page.hbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ items:
125125
<span>Published</span>
126126
</div>
127127
</div>
128-
<div class="item-col fixed item-col-actions">
128+
<div class="item-col fixed item-col-actions-dropdown">
129129

130130
</div>
131131
</div>
@@ -188,8 +188,8 @@ items:
188188
{{this.date}}
189189
</div>
190190
</div>
191-
<div class="item-col fixed item-col-actions">
192-
<div class="item-actions">
191+
<div class="item-col fixed item-col-actions-dropdown">
192+
<div class="item-actions-dropdown">
193193
<a class="item-actions-toggle-btn">
194194
<span class="inactive">
195195
<i class="fa fa-cog"></i>

src/app/items/list/items-list.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
&.item-col-check,
131131
&.item-col-img,
132132
&.item-col-title,
133-
&.item-col-actions {
133+
&.item-col-actions-dropdown {
134134
border-bottom: 1px solid $color-divider;
135135

136136
.item-heading {
@@ -258,7 +258,7 @@
258258
}
259259
}
260260

261-
&.item-col-actions {
261+
&.item-col-actions-dropdown {
262262
border: none;
263263
padding-bottom: 0;
264264
}

0 commit comments

Comments
 (0)