Sha256: a3da99d3d2c7fe9849c64e98229a6f84d57531ebb88a8163a1c01cc77edf1210

Contents?: true

Size: 1.22 KB

Versions: 8

Compression:

Stored size: 1.22 KB

Contents

.btn-primary.btn-outline:active, .btn-primary.btn-outline:focus {
  color: #fff;
}

.btn {
  text-transform: uppercase;
  font-weight: lighter;
  border-radius: 0;
  @include transition(0.3s);

  &.btn-delete-resource {
    i {
      position: relative;
      top: 1px;
    }
  }

  &.btn-icon, &.btn-icon:active, &.btn-icon:focus {
    font-size: 28px;
    line-height: 30px;
    padding: 0;
    border: none;
    outline: none;
    @include box-shadow(none);
    background: transparent;

    &.rotate-on-hover {
      &:hover {
        @include rotate(45deg);
      }
    }

    &:hover {
      background: transparent;
    }

    i {
      position: relative;
      top: 2px;
    }
  }

  &.margin-right {
    margin-right: 10px;
  }

  &.margin-left {
    margin-left: 10px;
  }
}

.btn-primary {
  @include button-variant($st-btn-primary-color, $st-btn-primary-bg, $st-btn-primary-border);
}

.btn-danger {
  @include button-variant($st-btn-danger-color, $st-btn-danger-bg, $st-btn-danger-border);
}

.btn-outline {
  background-color: transparent;

  &.btn-primary {
    @include btn-outline-variant($st-btn-primary-color, $st-btn-primary-bg);
  }

  &.btn-danger {
    @include btn-outline-variant($st-btn-danger-color, $st-btn-danger-bg);
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
storytime-2.1.6 app/assets/stylesheets/storytime/_buttons.scss
storytime-2.1.5 app/assets/stylesheets/storytime/_buttons.scss
storytime-2.1.4 app/assets/stylesheets/storytime/_buttons.scss
storytime-2.1.3 app/assets/stylesheets/storytime/_buttons.scss
storytime-2.1.2 app/assets/stylesheets/storytime/_buttons.scss
storytime-2.1.1 app/assets/stylesheets/storytime/_buttons.scss
storytime-2.1.0 app/assets/stylesheets/storytime/_buttons.scss
storytime-2.0.0 app/assets/stylesheets/storytime/_buttons.scss