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.1 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.1.0 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.11 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.2 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.10.5 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.10 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.1 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.0 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.9 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.8 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.7 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.6 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-3.0.0.rc2 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.5 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.4 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.3 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.2 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.1 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.10.3 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss
solidus_backend-2.11.0 app/assets/stylesheets/spree/backend/components/_number_with_currency.scss