Sha256: 0dc0f7bf8370b968a03c73fe9b14005452cc636b48540ca689686e2d5b3ed569

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

/* ==========================================================================
   BUTTONS
   ========================================================================== */

/*
   Default button
   ========================================================================== */

.btn {
  /* default */
  display: inline-block;
  margin-bottom: 0.25em;
  padding: 0.5em 1em;
  font-family: $sans-serif-font-family;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-width: 0;
  border-radius: $border-radius;
  cursor: pointer;

  .icon {
    margin-right: 0.5em;
  }

  .icon + .hidden {
    margin-left: -0.5em; /* override for hidden text*/
  }

  /* fills width of parent container */
  &--block {
    display: block;
    width: 100%;

    + .btn--block {
      margin-top: 0.25em;
    }
  }

  /* disabled */
  &--disabled {
    pointer-events: none;
    cursor: not-allowed;
    filter: alpha(opacity=65);
    box-shadow: none;
    opacity: 0.65;
  }

  /* extra large button */
  &--x-large {
    font-size: 2em;
  }

  /* large button */
  &--large {
    font-size: 1.5em;
  }

  /* small button */
  &--small {
    font-size: 0.75em;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-so-simple-3.2.0 _sass/so-simple/_buttons.scss