@import "../../../../style/mixin";

@include export-module('co-transaction-container-layout') {
  .co-transaction-container {
    .transaction-container-content {
      display: flex;
      flex-direction: row;
      column-gap: 0px;
      .container-button {
        width: 40px;
        height: 40px;
        border: 1px solid $tp-color-action;
        border-radius: 5px;
        background-color: white;
        co-icon {
          svg {
            fill: $tp-color-action;
          }
          & [fill] { // for own icons
            fill: $tp-color-action;
          }
        }
        &.buttonActive {
          background-color: $tp-color-action;
          co-icon {
            svg {
              fill: white;
            }
            & [fill] { // for own icons
              fill: white;
            }
          }
        }
      }
      .container-information {
        display: flex;
        flex-direction: row;
        column-gap: 5px;
        border: 1px solid $tp-color-action-light;
        height: 40px;
        justify-content: center;
        align-items: center;
        .container-information-label {
          padding-left: 15px;
          padding-right: 10px;
          max-width: 120px;
          text-overflow: ellipsis;
          overflow: hidden;
          &.small-container-label {
            max-width: 80px;
          }
        }
        .container-load-bar {
          width: 100px;
          height: 20px;
          background-color: $tp-color-action;
          position: relative;
          align-items: center;
          &.small-container-bar {
            width: 60px;
          }
          .container-load-bar-fill {
            height: 20px;
            background-color: $tp-color-transaction-line-added;
          }
          .container-contents-label {
              position: absolute;
              left: 0px;
              top: 3px;
              padding-left: 5px;
              max-width: 90px;
              font-weight: bold;
              text-overflow: ellipsis;
              overflow: hidden;
           }
        }

        .info-icon {
          justify-content: center;
          align-items: center;
          height: 25px;
          width: 25px;
          padding-right: 5px;
        }
      }
    }
  }
}
