Sha256: 0ec37856aba78d2cd62b13f1826de260816d0a913c1f1f31c0bbc5b2ff332d2d

Contents?: true

Size: 1.58 KB

Versions: 3

Compression:

Stored size: 1.58 KB

Contents

%rounded-border {
  border-radius: $default-border-radius;
}

%text-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  -moz-text-overflow: ellipsis;
}

%thumbnail-background {
  display: table-cell;
  background-color: $dark-gray;
  text-align: center;
  vertical-align: middle;
  padding: 0;
  line-height: 0;
}

%field-with-error {
  border-color: $error_border_color;
  color: $error_text_color;
  background-color: lighten($error_background_color, 8%);
  box-shadow: inset 1px 1px 4px rgba($error_border_color, 0.5);
}

%blue-focus-style {
  @include default-focus-style;
}

%default-input-style {
  box-sizing: border-box;
  @extend %rounded-border;
  box-shadow: inset 0px 1px 1px $medium-gray;
  font: $default-font-style;
  padding: 1px 2*$default-padding;
  margin: $default-form-field-margin;
  background: rgba(#fff, 0.9);
  border-top: 1px solid $default-border-color;
  border-left: 1px solid $default-border-color;
  border-bottom: 1px solid $border-inset-color;
  border-right: 1px solid $border-inset-color;
  width: 100%;
  font-size: 12px;
  line-height: 12px;
  height: $default-form-field-height;
  @include transition(
    box-shadow 0.25s ease-in-out,
    background-color 0.25s ease-in-out,
    border 0.25s ease-in-out
  );

  &:focus {
    @extend %blue-focus-style;
  }

  &[disabled], .disabled {
    color: #888;
    background-color: rgba(#fff, 0.5);
    cursor: not-allowed;
  }
}

%gradiated-toolbar {
  background: $toolbar-bg-color;
  padding: 8px 4px;
  height: $default-form-field-height;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy_cms-3.5.0 app/assets/stylesheets/alchemy/_extends.scss
alchemy_cms-3.5.0.rc2 app/assets/stylesheets/alchemy/_extends.scss
alchemy_cms-3.5.0.rc1 app/assets/stylesheets/alchemy/_extends.scss