<commit_before>// Ink by ZURB
// zurb.com/ink/
// Licensed under MIT Open Source

@import "global";

//
// @variables
//
$include-html-button-classes: $include-html-classes !default;

// We use these to build padding for buttons.
$button-dft: 8px 0 !default;
$button-tny: 5px 0 4px !default;
$button-sml: 8px 0 7px !default;
$button-med: 12px 0 10px !default;
$button-lrg: 21px 0 18px !default;

// We use these to control button text styles.
$button-font-family: $base-font-family !default;
$button-font-color: #ffffff !default;
$button-font-color-alt: #555555 !default;
$button-font-tny: 12px !default;
$button-font-sml: 16px !default;
$button-font-med: 20px !default;
$button-font-lrg: 24px !default;

// We use these to control button border styles.
$button-border-width: 1px !default;
$button-border-style: solid !default;
$button-bg: #2ba6cb !default;
$button-border-color: #2284a1 !default;

// We use these as default colors throughout
$primary-color: #2795b6 !default;
$secondary-color: #e9e9e9 !default;
$alert-color: #c60f13 !default;
$success-color: #5da423 !default;
$secondary-border-color: #d0d0d0 !default;
$alert-border-color: #457a1a !default;
$success-border-color: #970b0e !default;

// We use this to set the default radius used throughout the core.
$button-radius: $global-radius !default;
$button-round: $global-rounded !default;

@include exports("buttons") {
  @if $include-html-button-classes {
    /* Buttons */

    table.button,
    table.tiny-button,
    table.small-button,
    table.medium-button,
    table.large-button {
      width: 100%;
      overflow: hidden;
    }

    table.button td,
    table.tiny-button td,
    table.small-button td,
    table.medium-button td,
    table.large-button td {
      display: block;
      width: auto !important;
      text-align: center;
      background: color2hex($button-bg);
      border: $button-border-width $button-border-style color2hex($button-border-color);
      color: color2hex($button-font-color);
      padding: $button-dft;
    }

    table.tiny-button td {
      padding: $button-tny;
    }

    table.small-button td {
      padding: $button-sml;
    }

    table.medium-button td {
      padding: $button-med;
    }

    table.large-button td {
      padding: $button-lrg;
    }

    table.button td a,
    table.tiny-button td a,
    table.small-button td a,
    table.medium-button td a,
    table.large-button td a {
      font-weight: bold;
      text-decoration: none;
      font-family: $button-font-family;
      color: color2hex($button-font-color);
      font-size: $button-font-sml;
      display: block;
      height: 100%;
      width: 100%;
    }

    table.tiny-button td a {
      font-size: $button-font-tny;
      font-weight: normal;
    }

    table.small-button td a {
      font-size: $button-font-sml;
    }

    table.medium-button td a {
      font-size: $button-font-med;
    }

    table.large-button td a {
      font-size: $button-font-lrg;
    }

    table.button:hover td,
    table.button:visited td,
    table.button:active td {
      background: color2hex($primary-color) !important;
    }

    table.button:hover td a,
    table.button:visited td a,
    table.button:active td a {
      color: color2hex($button-font-color) !important;
    }

    table.button:hover td,
    table.tiny-button:hover td,
    table.small-button:hover td,
    table.medium-button:hover td,
    table.large-button:hover td {
      background: color2hex($primary-color) !important;
    }

    table.button:hover td a,
    table.button:active td a,
    table.button td a:visited,
    table.tiny-button:hover td a,
    table.tiny-button:active td a,
    table.tiny-button td a:visited,
    table.small-button:hover td a,
    table.small-button:active td a,
    table.small-button td a:visited,
    table.medium-button:hover td a,
    table.medium-button:active td a,
    table.medium-button td a:visited,
    table.large-button:hover td a,
    table.large-button:active td a,
    table.large-button td a:visited {
      color: color2hex($button-font-color) !important; 
    }

    table.secondary td {
      background: color2hex($secondary-color);
      border-color: color2hex($secondary-border-color);
      color: color2hex($button-font-color-alt);
    }

    table.secondary td a {
      color: color2hex($button-font-color-alt);
    }

    table.secondary:hover td {
      background: color2hex($secondary-border-color) !important;
      color: color2hex($button-font-color-alt);
    }

    table.secondary:hover td a,
    table.secondary td a:visited,
    table.secondary:active td a {
      color: color2hex($button-font-color-alt) !important;
    }

    table.success td {
      background: color2hex($success-color);
      border-color: color2hex($alert-border-color);
    }

    table.success:hover td {
      background: color2hex($alert-border-color) !important;
    }

    table.alert td {
      background: color2hex($alert-color);
      border-color: color2hex($success-border-color);
    }

    table.alert:hover td {
      background: color2hex($success-border-color) !important;
    }

    table.radius td {
      -webkit-border-radius: $global-radius;
      -moz-border-radius: $global-radius;
      border-radius: $global-radius;
    }

    table.round td {
      -webkit-border-radius: $global-rounded;
      -moz-border-radius: $global-rounded;
      border-radius: $global-rounded;
    }
  }
}<commit_msg>Fix alert and success buttons.<commit_after>// Ink by ZURB
// zurb.com/ink/
// Licensed under MIT Open Source

@import "global";

//
// @variables
//
$include-html-button-classes: $include-html-classes !default;

// We use these to build padding for buttons.
$button-dft: 8px 0 !default;
$button-tny: 5px 0 4px !default;
$button-sml: 8px 0 7px !default;
$button-med: 12px 0 10px !default;
$button-lrg: 21px 0 18px !default;

// We use these to control button text styles.
$button-font-family: $base-font-family !default;
$button-font-color: #ffffff !default;
$button-font-color-alt: #555555 !default;
$button-font-tny: 12px !default;
$button-font-sml: 16px !default;
$button-font-med: 20px !default;
$button-font-lrg: 24px !default;

// We use these to control button border styles.
$button-border-width: 1px !default;
$button-border-style: solid !default;
$button-bg: #2ba6cb !default;
$button-border-color: #2284a1 !default;

// We use these as default colors throughout
$primary-color: #2795b6 !default;
$secondary-color: #e9e9e9 !default;
$alert-color: #c60f13 !default;
$success-color: #5da423 !default;
$secondary-border-color: #d0d0d0 !default;
$alert-border-color: #970b0e !default;
$success-border-color: #457a1a !default;

// We use this to set the default radius used throughout the core.
$button-radius: $global-radius !default;
$button-round: $global-rounded !default;

@include exports("buttons") {
  @if $include-html-button-classes {
    /* Buttons */

    table.button,
    table.tiny-button,
    table.small-button,
    table.medium-button,
    table.large-button {
      width: 100%;
      overflow: hidden;
    }

    table.button td,
    table.tiny-button td,
    table.small-button td,
    table.medium-button td,
    table.large-button td {
      display: block;
      width: auto !important;
      text-align: center;
      background: color2hex($button-bg);
      border: $button-border-width $button-border-style color2hex($button-border-color);
      color: color2hex($button-font-color);
      padding: $button-dft;
    }

    table.tiny-button td {
      padding: $button-tny;
    }

    table.small-button td {
      padding: $button-sml;
    }

    table.medium-button td {
      padding: $button-med;
    }

    table.large-button td {
      padding: $button-lrg;
    }

    table.button td a,
    table.tiny-button td a,
    table.small-button td a,
    table.medium-button td a,
    table.large-button td a {
      font-weight: bold;
      text-decoration: none;
      font-family: $button-font-family;
      color: color2hex($button-font-color);
      font-size: $button-font-sml;
      display: block;
      height: 100%;
      width: 100%;
    }

    table.tiny-button td a {
      font-size: $button-font-tny;
      font-weight: normal;
    }

    table.small-button td a {
      font-size: $button-font-sml;
    }

    table.medium-button td a {
      font-size: $button-font-med;
    }

    table.large-button td a {
      font-size: $button-font-lrg;
    }

    table.button:hover td,
    table.button:visited td,
    table.button:active td {
      background: color2hex($primary-color) !important;
    }

    table.button:hover td a,
    table.button:visited td a,
    table.button:active td a {
      color: color2hex($button-font-color) !important;
    }

    table.button:hover td,
    table.tiny-button:hover td,
    table.small-button:hover td,
    table.medium-button:hover td,
    table.large-button:hover td {
      background: color2hex($primary-color) !important;
    }

    table.button:hover td a,
    table.button:active td a,
    table.button td a:visited,
    table.tiny-button:hover td a,
    table.tiny-button:active td a,
    table.tiny-button td a:visited,
    table.small-button:hover td a,
    table.small-button:active td a,
    table.small-button td a:visited,
    table.medium-button:hover td a,
    table.medium-button:active td a,
    table.medium-button td a:visited,
    table.large-button:hover td a,
    table.large-button:active td a,
    table.large-button td a:visited {
      color: color2hex($button-font-color) !important; 
    }

    table.secondary td {
      background: color2hex($secondary-color);
      border-color: color2hex($secondary-border-color);
      color: color2hex($button-font-color-alt);
    }

    table.secondary td a {
      color: color2hex($button-font-color-alt);
    }

    table.secondary:hover td {
      background: color2hex($secondary-border-color) !important;
      color: color2hex($button-font-color-alt);
    }

    table.secondary:hover td a,
    table.secondary td a:visited,
    table.secondary:active td a {
      color: color2hex($button-font-color-alt) !important;
    }

    table.success td {
      background: color2hex($success-color);
      border-color: color2hex($success-border-color);
    }

    table.success:hover td {
      background: color2hex($success-border-color) !important;
    }

    table.alert td {
      background: color2hex($alert-color);
      border-color: color2hex($alert-border-color);
    }

    table.alert:hover td {
      background: color2hex($alert-border-color) !important;
    }

    table.radius td {
      -webkit-border-radius: $global-radius;
      -moz-border-radius: $global-radius;
      border-radius: $global-radius;
    }

    table.round td {
      -webkit-border-radius: $global-rounded;
      -moz-border-radius: $global-rounded;
      border-radius: $global-rounded;
    }
  }
}
{'fraction_non_alphanumeric': 0.1329841007260362, 'fraction_numerical': 0.017829243635695248, 'mean_word_length': 2.8155680224403925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6254496', 'n_tokens_mistral': 3799, 'n_tokens_neox': 3625, 'n_words': 814}