Align listview layout icons and make icon boxes same sizes
This commit is contained in:
committed by
Sebastiaan Janssen
parent
b476f91789
commit
824d2fd46d
@@ -259,20 +259,21 @@
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.list-view-layout__icon-wrapper {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.list-view-layout__icon {
|
||||
font-size: 18px;
|
||||
margin-right: 10px;
|
||||
vertical-align: middle;
|
||||
border: 1px solid @gray-8;
|
||||
background: @white;
|
||||
padding: 6px 8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.list-view-layout__icon:hover,
|
||||
.list-view-layout__icon:focus,
|
||||
.list-view-layout__icon:active {
|
||||
text-decoration: none;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.list-view-layout__remove {
|
||||
|
||||
@@ -8,21 +8,23 @@
|
||||
|
||||
<i class="icon-navigation list-view-layout__sort-handle" aria-hidden="true" aria-label="Sort"></i>
|
||||
|
||||
<div>
|
||||
<div class="list-view-layout__icon-wrapper">
|
||||
|
||||
<button ng-if="layout.isSystem !== 1" type="button" ng-click="vm.openIconPicker(layout)" class="list-view-layout__icon" umb-auto-focus>
|
||||
<i class="{{ layout.icon }}" aria-hidden="true"></i>
|
||||
<button ng-if="layout.isSystem !== 1" type="button" class="btn-reset" ng-click="vm.openIconPicker(layout)" umb-auto-focus>
|
||||
<span class="list-view-layout__icon">
|
||||
<i class="{{layout.icon}}" aria-hidden="true"></i>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<div ng-if="layout.isSystem === 1" class="list-view-layout__icon">
|
||||
<i class="{{ layout.icon }}" aria-hidden="true"></i>
|
||||
<i class="{{layout.icon}}" aria-hidden="true"></i>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="list-view-layout__name">
|
||||
<input ng-if="layout.isSystem !== 1" type="text" ng-model="layout.name" placeholder="Name..." class="-full-width-input" focus-when="{{ vm.focusLayoutName }}" />
|
||||
<span ng-if="layout.isSystem === 1" class="list-view-layout__name-text">{{ layout.name }}</span>
|
||||
<span ng-if="layout.isSystem === 1" class="list-view-layout__name-text">{{layout.name}}</span>
|
||||
<span ng-if="layout.isSystem === 1" class="list-view-layout__system">(system layout)</span>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user