/*
   Copyright (C) 2016 Cuckoo Foundation.
   This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
   see the file 'docs/LICENSE' for copying permission.
 */

// COLOR DEFINITIONS
$cuckoo_color_priority_low: #00FF1E;
$cuckoo_color_priority_medium: #FFD700;
$cuckoo_color_priority_high: #D7586F;

// UTILITY COLORS
$cuckoo_default_grey: #999999;
$cuckoo_secundary_color: #6297F8;
$cuckoo_border_color: #CECECE;

// THEME COLORS
$cyborg_background_color: #020e10;
$cyborg_panel_color: #0d1b21;
$cyborg_alt_blue: #152d3d;

$cyborg_primary_color: #152D3B;
$cyborg_secundary_color: #0ce3ac;

$cyborg_text_color: #d7d7d7;
$cyborg_border_color: #133b4a;

// cyborg heading style
%cyborg-heading {
  color: #ffffff;
  background: linear-gradient(rgb(40, 79, 92), #112c35);
  border-color: #2b5a6a;
  border: 0px;
  border-top: 1px solid #2b5a6a;
  border-left: 1px solid #003f54;
  border-right: 1px solid #003f54;
}

$night_primary_color: #152d3b;
$night_background_color: #232323;
$night_text_color: #d7d7d7;
$night_panel_color: #375a7f;
$night_border_color: #375a7f;

$night_link_color: #0ce3ac;
$night_accent_color: #555;
$night_darker_color: #131313;

// headstart on the dynamic cuckoo color library: badges
$badge-colors: (
  'default': #777777,
  'registry': #ffc5c5,
  'file': #c5e0ff,
  'network': #d3ffc5,
  'process': #c5e0ff,
  'services': #ccc5ff,
  'synchronisation': #ccc5ff,
  'iexplore': #ccddbb,
  'office': #ccddbb,
  'device': #ccc5ff,
  'system': #fffcc5,
  'windows': #ffc5ee,
  'pdf': #ccddbb
);

// responsive hooks (utilized in _mixins.scss)
$cuckoo_small_screen_limit: 960px;
$cuckoo_tiny_screen_limit: 650px;
$cuckoo_nav_collapse_limit: 850px;

// mixin for creating badge swagger based on color
@mixin badge($color-name, $useTint: false) {
  $color: map-get($badge-colors, $color-name);
  background-color: $color;

  @if $useTint {
    color: tint($color, 50%);
  } @else {
    color: shade($color, 50%);
  }

  &:hover { background-color: shade($color, 5%); }

  &.active {
    background-color: $cuckoo_secundary_color;
    color: #fff;
  }
}
