Sha256: b92d7883e403fd866b04d50e4695de4d9503660c5208bf5ce8f30928b7b19aa5

Contents?: true

Size: 1.61 KB

Versions: 2

Compression:

Stored size: 1.61 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 {
  position: relative;
  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;
  transition-property: box-shadow, background-color, border;
  transition-duration: 0.25s;
  transition-timing-function: 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

2 entries across 2 versions & 1 rubygems

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