mirror of https://github.com/ElemeFE/element
parent
9a31f5f6e6
commit
717b3480b9
|
@ -20,11 +20,11 @@
|
|||
@focus="handleFocus"
|
||||
@blur="focusing = false"
|
||||
>
|
||||
<slot name="title">{{title}}</slot>
|
||||
<i
|
||||
class="el-collapse-item__arrow el-icon-arrow-right"
|
||||
:class="{'is-active': isActive}">
|
||||
</i>
|
||||
<slot name="title">{{title}}</slot>
|
||||
</div>
|
||||
</div>
|
||||
<el-collapse-transition>
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
}
|
||||
@include b(collapse-item) {
|
||||
@include e(header) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: $--collapse-header-height;
|
||||
line-height: $--collapse-header-height;
|
||||
background-color: $--collapse-header-fill;
|
||||
|
@ -19,10 +21,8 @@
|
|||
transition: border-bottom-color .3s;
|
||||
outline: none;
|
||||
@include e(arrow) {
|
||||
margin-right: 8px;
|
||||
margin: 0 8px 0 auto;
|
||||
transition: transform .3s;
|
||||
float: right;
|
||||
line-height: 48px;
|
||||
font-weight: 300;
|
||||
@include when(active) {
|
||||
transform: rotate(90deg);
|
||||
|
|
Loading…
Reference in New Issue