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-3.1.9 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.1.8 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.8 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.7 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.17 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.1.7 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.16 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.6 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.1.6 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.15 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.14 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.5 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.1.5 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.13 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.4 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.1.4 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.12 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.3 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.1.3 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.1.2 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss