Sha256: 2b2e7e9c5a97907100a2f4370e04be702ed11732c094bd407b1e96adead65cb8

Contents?: true

Size: 793 Bytes

Versions: 5

Compression:

Stored size: 793 Bytes

Contents

// Icon variables
$icon-border-width: $border-width-lg;
$icon-prefix: "icon";

// Icon base style
.#{$icon-prefix} {
  box-sizing: border-box;
  display: inline-block;
  font-size: inherit;
  font-style: normal;
  height: 1em;
  position: relative;
  text-indent: -9999px;
  vertical-align: middle;
  width: 1em;
  &::before,
  &::after {
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  // Icon sizes
  &.icon-2x {
    font-size: 1.6rem;
  }

  &.icon-3x {
    font-size: 2.4rem;
  }

  &.icon-4x {
    font-size: 3.2rem;
  }
}

// Component icon support
.accordion,
.btn,
.toast,
.menu {
  .#{$icon-prefix} {
    vertical-align: -10%;
  }
}

.btn-lg {
  .#{$icon-prefix} {
    vertical-align: -15%;
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spectre_scss-0.5.9.1 vendor/assets/stylesheets/spectre/icons/_icons-core.scss
spectre_scss-0.5.9.0 vendor/assets/stylesheets/spectre/icons/_icons-core.scss
spectre_scss-0.5.8.0 vendor/assets/stylesheets/spectre/icons/_icons-core.scss
spectre_scss-0.5.7.0 vendor/assets/stylesheets/spectre/icons/_icons-core.scss
spectre_scss-0.5.6.0 vendor/assets/stylesheets/spectre/icons/_icons-core.scss