@import "../../../style/mixin";

@include export-module('co-transaction-header-layout') {
  .co-transaction-header {
    display: block;
    font-family: $tp-co-transaction-header-font-family;
    font-size: $tp-co-transaction-header-font-size;
    .transaction-header-wrapper {
      display: flex;
      flex-direction: row;
      padding: $tp-co-transaction-header-padding;
      border: $tp-co-transaction-header-border;
      border-width: $tp-co-transaction-header-border-width;
      margin: $tp-co-transaction-header-margin;
      .collapse-handle {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid;
        border-radius: 25px;
        width: 45px;
        height: 30px;
        opacity: 0.3;
        margin-right: 25px;
        .collapse-icon {
          width: 40px;
          height: 40px;
          transition: all 0.2s;
        }
        &.expanded {
          .collapse-icon {
            transform: rotate(180deg);
          }
        }
      }
      .co-carousel {
        .carousel-wrapper {
          padding: 10px 0;
        }
      }
    }
  }
}
