Sha256: 819fc24d2664e08eaec70fa648520b25971be2cbda9557b3edfc9de541f686d0

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

// ----------------------------------------------
// CLEARING FLOAT
// Make a container wraps floated element
// ----------------------------------------------
@mixin clearfix {
  &::before, &::after {
    content: " ";
    display: table;
  }
  &::after {
    clear: both;
  }
}

// --------------------------------
// SELECTION
// Change the text highlight color
// --------------------------------

@mixin selection($background-color:lighten($main-color, 35%), $color:white) {
  ::-moz-selection {
    background: $background-color;
    text-shadow: none !important;
    color: $color !important;
  }

  ::selection {
    background: $background-color;
    text-shadow: none !important;
    color: $color !important;
  }
}

// -------------------------------
// DISABLE SELECTION
// Prevents highlighting
// -------------------------------

@mixin user-select($value) {
  -webkit-touch-callout: $value;
  -webkit-user-select: $value;
  -moz-user-select: $value;
  user-select: $value;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
edge_framework-2.1.1 assets/sass/edge/utility/_other.scss
edge_framework-2.1.0 assets/sass/edge/utility/_other.scss