/**
 * YITH CSS Variables
 */

$content_bg: #ffffff; // Content Background.
$content_text: #3c434a; // Content Text.

$primary: #00799f; // Primary color, for buttons
$primary_hover: #0094c4; // Primary hover color, for buttons
$primary_focus: #bddce6; // Primary focus color, for buttons
$primary_text: #ffffff; // Text on primary color bg

$delete: #c41d04; // color for delete buttons
$delete_hover: lighten($delete, 5%); // color for delete buttons - hover
$delete_text: #ffffff; // Text on delete buttons
$delete_focus: #f0d2cd; // Text on delete buttons

// Outline is used to stylize Secondary buttons.
$outline_text: #0087b3; // outline button - text color
$outline_border: #0094c4; // outline button - border color
$outline_bg: rgba(255, 255, 255, 0); // outline button - background color
$outline_bg_hover: rgba(157, 198, 205, .2); // outline button - background color on hover
$outline_border_hover: #007ba3; // outline button - border color on hover
$outline_focus: #dfeef2; // Outline focus color, for buttons

$update: #94aa09; // Update button - background
$update_hover: darken($update, 5%); // Update button - hover
$update_text: #ffffff; // Text on update button background
$update_focus: #e7eccc; // Text on update button background

$accent: #98aa36;

$light_bg: #f0f6fb;
$light_border_color: #d7e3e7;
$light_shadow: rgba(145, 191, 227, 0.11);
$light_accent: #0079b0;

$success: #98aa36;
$success_light: lighten($success, 30%);
$success_lighter: lighten($success, 43%);
$success_lightest: lighten($success, 50%);


$table_row_highlight: #f0f6fb;
$table_row_striped: #f6f7f7;
$table_border_light: #eff0f0;

$field_border_color: #d8d8d8;
$field_border_weight: 1px;
$field_border: $field_border_weight solid $field_border_color;

$link: #0079b0; // Link Color.

// Extra variables: these will be not converted to CSS Variables
$wp_menu_size: 160px;
$wp_menu_folded_size: 36px;
$wp_menu_mobile_size: 190px;
$wp_top_bar_size: 32px;
$wp_top_bar_mobile_size: 46px;

// export vars as CSS vars
:root {
  --yith-content-bg: #{$content_bg};
  --yith-content-text: #{$content_text};
  --yith-primary: #{$primary};
  --yith-primary-hover: #{$primary_hover};
  --yith-primary-focus: #{$primary_focus};
  --yith-primary-text: #{$primary_text};

  --yith-delete: #{$delete};
  --yith-delete-hover: #{$delete_hover};
  --yith-delete-text: #{$delete_text};
  --yith-delete-focus: #{$delete_focus};

  --yith-update: #{$update};
  --yith-update-hover: #{$update_hover};
  --yith-update-text: #{$update_text};
  --yith-update-focus: #{$update_focus};

  --yith-outline-text: #{$outline_text};
  --yith-outline-border: #{$outline_border};
  --yith-outline-bg: #{$outline_bg};
  --yith-outline-bg-hover: #{$outline_bg_hover};
  --yith-outline-border-hover: #{$outline_border_hover};
  --yith-outline-focus: #{$outline_focus};

  --yith-accent: #{$accent};

  --yith-light-bg: #{$light_bg};
  --yith-light-border-color: #{$light_border_color};
  --yith-light-shadow: #{$light_shadow};
  --yith-light-accent: #{$light_accent};

  --yith-success: #{$success};
  --yith-success-light: #{$success_light};
  --yith-success-lighter: #{$success_lighter};
  --yith-success-lightest: #{$success_lightest};

  --yith-table-row-highlight: #{$table_row_highlight};
  --yith-table-row-striped: #{$table_row_striped};
  --yith-table-border-light: #{$table_border_light};

  --yith-field-border-color: #{$field_border_color};
  --yith-field-border-weight: #{$field_border_color};
  --yith-field-border: #{$field_border};
  --yith-link: #{$link};
}
