mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-11-04 12:52:08 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			50 lines
		
	
	
		
			1002 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1002 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
@import '../style/var';
 | 
						|
 | 
						|
.van-collapse-item {
 | 
						|
  &__title {
 | 
						|
    .van-cell__right-icon::before {
 | 
						|
      transform: rotate(90deg);
 | 
						|
      transition: @collapse-item-transition-duration;
 | 
						|
    }
 | 
						|
 | 
						|
    &::after {
 | 
						|
      visibility: hidden;
 | 
						|
    }
 | 
						|
 | 
						|
    &--expanded {
 | 
						|
      .van-cell__right-icon::before {
 | 
						|
        transform: rotate(-90deg);
 | 
						|
      }
 | 
						|
 | 
						|
      &::after {
 | 
						|
        visibility: visible;
 | 
						|
      }
 | 
						|
    }
 | 
						|
 | 
						|
    &--disabled {
 | 
						|
      &,
 | 
						|
      & .van-cell__right-icon {
 | 
						|
        color: @collapse-item-title-disabled-color;
 | 
						|
      }
 | 
						|
 | 
						|
      &:active {
 | 
						|
        background-color: @white;
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  &__wrapper {
 | 
						|
    overflow: hidden;
 | 
						|
    transition: height @collapse-item-transition-duration ease-in-out;
 | 
						|
    will-change: height;
 | 
						|
  }
 | 
						|
 | 
						|
  &__content {
 | 
						|
    padding: @collapse-item-content-padding;
 | 
						|
    color: @collapse-item-content-text-color;
 | 
						|
    font-size: @collapse-item-content-font-size;
 | 
						|
    line-height: @collapse-item-content-line-height;
 | 
						|
    background-color: @collapse-item-content-background-color;
 | 
						|
  }
 | 
						|
}
 |