mirror of https://github.com/zulip/zulip.git
settings: Improve styling of draggable profile field rows.
This changes the icon indicating that you can drug the custom profile field rows in settings to be the double rows of dots typically used to indicate draggability. It also gives those rows the "move" cursor on hover.
This commit is contained in:
parent
960f83238b
commit
4af3b8bdda
|
@ -705,6 +705,17 @@ input[type=checkbox].inline-block {
|
|||
.admin_profile_fields_table,
|
||||
.admin_filters_table {
|
||||
margin-top: 20px;
|
||||
.movable-profile-field-row {
|
||||
cursor: move;
|
||||
i {
|
||||
color: hsl(0, 0, 75%);
|
||||
position: relative;
|
||||
top: 1px;
|
||||
+ i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#admin-filter-pattern-status,
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{{#with profile_field}}
|
||||
<tr class="profile-field-row" data-profile-field-id="{{id}}">
|
||||
<tr class="profile-field-row movable-profile-field-row" data-profile-field-id="{{id}}">
|
||||
<td>
|
||||
{{#if ../can_modify}}
|
||||
<i class="fa fa-sort" aria-hidden="true"></i>
|
||||
<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
|
||||
<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
|
||||
{{/if}}
|
||||
<span class="profile_field_name">{{name}}</span>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue