// This file is part of the Front Foundation package.
//
// Copyright (c) 2017-present LIN3S <info@lin3s.com>
//
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
//
// @author Beñat Espiña <benatespina@gmail.com>
// @author Gorka Laucirica <gorka.lauzirika@gmail.com>

$body-background-color: #fff !default;
$selection-text-color: #fff !default;
$selection-background-color: #ccc !default;
$small-font-size: .7em !default;
$strong-font-weight: 700 !default;

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;

  .no-scroll,
  .no-scroll body {
    overflow: hidden !important;
  }

  .no-scroll {
    overflow-y: scroll !important;
  }
}

body {
  background-color: $body-background-color;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  overflow-x: hidden; // Prevents mobile menu been shown when is hidden
  overflow-y: auto;
  text-rendering: optimizelegibility;
}

small {
  font-size: $small-font-size;
}

strong {
  font-weight: $strong-font-weight;
}

em {
  font-style: italic;
}

// scss-lint:disable VendorPrefix
::-moz-selection,
::selection {
  background: $selection-background-color;
  color: $selection-text-color;
}

// Placeholders' ellipsis if not enough place
input[placeholder],
::-moz-placeholder,
input:-moz-placeholder {
  text-overflow: ellipsis;
}

// scss-lint:enable VendorPrefix
