Sha256: ee24c1dd8b7e9e070f303bfc60ef4049d77e18679c6bd3aa7605b54051c55499

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

label {
  font-size: $font-size-sm;

  &:hover {
    cursor: pointer;
  }
}

span.or {
  @extend label;

  padding: 0 10px;
}

.form-group {
  &.withError {
    label, .formError, .required {
      color: $danger;
    }

    input,
    .select2-choice {
      border-color: $danger;
    }
  }
}

// Hide number toggler
  // Chrome, Safari, Edge, Opera
input.hide-number-toggle::-webkit-outer-spin-button,
input.hide-number-toggle::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
  // Firefox
input[type=number].hide-number-toggle {
  -moz-appearance: textfield;
}

input[type="file"] {
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


// Remove the default 5px outlines and box-shadows
// from all inputs on focus.
.form-control:focus {
  box-shadow: none !important;
}

*:focus {
  outline: none;
}

:-webkit-direct-focus {
  outline-color: transparent;
  outline-style: auto;
  outline-width: 0;
}

.custom-select {
  background: $input-bg url(asset-path("backend-chevron-down.svg")) no-repeat right 0.5rem center/8px 10px;
  background-size: 0.7em;
  &:focus{
    outline: none;
    box-shadow: none;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_backend-4.4.1 app/assets/stylesheets/spree/backend/shared/_forms.scss
spree_backend-4.4.0 app/assets/stylesheets/spree/backend/shared/_forms.scss
spree_backend-4.4.0.rc2 app/assets/stylesheets/spree/backend/shared/_forms.scss
spree_backend-4.4.0.rc1 app/assets/stylesheets/spree/backend/shared/_forms.scss