aboutsummaryrefslogblamecommitdiffstats
path: root/ui/app/css/itcss/components/wallet-balance.scss
blob: 64b291b890591d20a6a1f47d1448aaaba1a40668 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                            
                                  
                                                                                                                           
 
                         
                 





                                            

 





                              

                  
                                           























                                                
                       






















                                                
$wallet-balance-bg: #e7e7e7;
$wallet-balance-breakpoint: 890px;
$wallet-balance-breakpoint-range: "screen and (min-width: #{$break-large}) and (max-width: #{$wallet-balance-breakpoint})";

.wallet-balance-wrapper {
  flex: 0 0 auto;
  transition: linear 200ms;
  background: rgba($wallet-balance-bg, 0);

  &--active {
    background: rgba($wallet-balance-bg, 1);
  }
}

.wallet-balance {
  background: inherit;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex: 0 0 auto;
  cursor: pointer;
  border-top: 1px solid $wallet-balance-bg;

  .balance-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 20px 24px;
    flex-direction: row;
    flex-grow: 3;

    @media #{$wallet-balance-breakpoint-range} {
      margin: 10% 4%;
    }
  }

  .balance-display {
    margin-left: 15px;
    justify-content: flex-start;
    align-items: flex-start;

    .token-amount {
      font-size: 135%;
    }

    .fiat-amount {
      margin-top: .25%;
      font-size: 105%;
    }

    @media #{$wallet-balance-breakpoint-range} {
      margin-left: 4%;

      .token-amount {
        font-size: 105%;
      }

      .fiat-amount {
        font-size: 95%;
      }
    }
  }

  .balance-icon {
    border-radius: 25px;
    width: 45px;
    height: 45px;
    border: 1px solid $alto;
  }
}