Sha256: 71217dbaf5b5041c032fd6c88f0e4caf3ac0c3e13614b6229c2bf6052a17d308

Contents?: true

Size: 1.57 KB

Versions: 7

Compression:

Stored size: 1.57 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 {
  @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: $toolbar-height;
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/assets/stylesheets/alchemy/_extends.scss
alchemy_cms-4.0.5 app/assets/stylesheets/alchemy/_extends.scss
alchemy_cms-4.0.4 app/assets/stylesheets/alchemy/_extends.scss
alchemy_cms-4.0.3 app/assets/stylesheets/alchemy/_extends.scss
alchemy_cms-4.0.2 app/assets/stylesheets/alchemy/_extends.scss
alchemy_cms-4.0.1 app/assets/stylesheets/alchemy/_extends.scss
alchemy_cms-4.0.0 app/assets/stylesheets/alchemy/_extends.scss