Sha256: 730687cdd7ccb2fafc60285338855353b2c4ebe1018559e8476c9f0e3b77b69c

Contents?: true

Size: 1.65 KB

Versions: 7

Compression:

Stored size: 1.65 KB

Contents

@import "bourbon";
@import "blogelator/variables";
@import "neat";

body.blogelator.admin.posts .form-action-bar .save-button {
  background-color: $base-accent-color;
  color: $base-body-color;
  display: block;
  float: right;
  font-weight: bold;
  margin: 6px 0.5em;
  min-width: 100px;
  text-align: center;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  
  &.destroy {
    float: left;
  }
  
  &.disabled {
    cursor: default;
    opacity: 0.6;
  }
}
  
body.blogelator.admin.posts .form-action-bar .save-button {
  .button-label {
    border: 1px solid $base-accent-color;
    padding: 4px;
    @include transition(border-color 0.1s linear);
  }
  
  &.publish {
    background-color: adjust-hue($base-accent-color, 210deg);
    
    .button-label {
      border: 1px solid adjust-hue($base-accent-color, 210deg);
    }
    
    .saving {
      background-color: adjust-hue($base-accent-color, 210deg);
      color: $base-body-color;
    }
    
    .saved,
    .error {
      color: adjust-hue($base-accent-color, 210deg);
    }
    
    &.disabled:hover {
      .button-label {
        border: 1px solid adjust-hue($base-accent-color, 210deg);
      }
    }
  }
  
  &:hover {
    .button-label {
      border-color: rgba($base-body-color, 0.8);
    }
    &.disabled {
      .button-label {
        border-color: $base-accent-color;
      }
    }
  }
}

body.blogelator.admin.posts .form-action-bar .last-saved {
  color: $base-body-color;
  float: right;
  font-size: 0.75em;
  opacity: 0.9;
  margin-right: 4px;
  min-width: 110px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  
  label {
    font-size: 1em;
    margin: 4px 0 0 0;
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
blogelator-0.1.6 app/assets/stylesheets/blogelator/admin/posts/_form_action_bar.scss
blogelator-0.1.5 app/assets/stylesheets/blogelator/admin/posts/_form_action_bar.scss
blogelator-0.1.4 app/assets/stylesheets/blogelator/admin/posts/_form_action_bar.scss
blogelator-0.1.3 app/assets/stylesheets/blogelator/admin/posts/_form_action_bar.scss
blogelator-0.1.2 app/assets/stylesheets/blogelator/admin/posts/_form_action_bar.scss
blogelator-0.1.1 app/assets/stylesheets/blogelator/admin/posts/_form_action_bar.scss
blogelator-0.1.0 app/assets/stylesheets/blogelator/admin/posts/_form_action_bar.scss