HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: yenicep (1023)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home2/yenicep/public_html/assets/library/lightcase/scss/components/mixins/_presets.scss
/**
 * Mixin providing icon defaults to be used on top of font-lightcase.
 *
 * Example usage:
 * @include icon(#e9e9e9)
 */
@mixin icon($color: #fff) {
  position: fixed;
  z-index: 9999;

  width: 1.123em;
  height: auto;

  font-size: #{map-get($lightcase-settings, 'icon-font-size')};
  line-height: 1;

  text-align: center;
  text-shadow: none;

  &, &:focus {
    text-decoration: none;
    color: $color;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    -webkit-transition: color, opacity, ease-in-out 0.25s;
    -moz-transition: color, opacity, ease-in-out 0.25s;
    -o-transition: color, opacity, ease-in-out 0.25s;
    transition: color, opacity, ease-in-out 0.25s;
  }

  & > span {
    display: inline-block;
    text-indent: -9999px;
  }
}

/**
 * Mixin providing icon defaults including a hover status to be used
 * on top of font-lightcase.
 *
 * Example usage:
 * @include icon-hover(#e9e9e9, #fff)
 */
@mixin icon-hover($color: #fff, $color-hover: #f9f9f9) {
  @include icon($color);

  // Default hover status
  &:hover {
    color: $color-hover;
    text-shadow: 0 0 15px $color-hover;
  }
}