Sha256: 92a3ed940fd3a1f0d95d8d9eac6d2eb8a5d5e9b8d0eaca93278a47aa9f5314f1

Contents?: true

Size: 829 Bytes

Versions: 91

Compression:

Stored size: 829 Bytes

Contents

.number-with-currency {
  $currency-width: 5.5rem;

  &-symbol {
    min-width: 2.5em;

    /* bootstrap makes this a flexbox item */
    justify-content: space-around;
  }

  &-amount {
    min-width: 5rem;
    text-align: right;
  }

  &-addon {
    width: $currency-width;
    text-align: left;
  }

  &-with-select {
    .number-with-currency-amount {
      border-right: 0;

      &:focus + .number-with-currency-select {
        border-left-color: $input-focus-border-color;
      }
    }

    .number-with-currency-select {
      @extend .custom-select;

      cursor: pointer;
      width: $currency-width;

      @include border-radius($border-radius);
      @include border-left-radius(0);

      &::-ms-expand {
        // Required to see full text of selected value on IE11
        display: none;
      }
    }
  }
}

Version data entries

91 entries across 91 versions & 2 rubygems

Version Path
solidus_backend_devise_token_auth-2.8.0.alpha.4 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend_devise_token_auth-2.8.0.alpha.3 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend_devise_token_auth-2.8.0.alpha.2 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.7.0 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.6.1 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.6.0 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.6.0.rc1 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.5.0 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.5.0.rc1 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.5.0.beta2 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.5.0.beta1 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss