<commit_before>@import "~@department-of-veterans-affairs/formation/sass/shared-variables";

/* Fonts */
#liveForm .ng-binding,
#liveForm div > span,
#liveForm textarea,
/* https://css-tricks.com/override-inline-styles-with-css/ */
.ng-scope span[style],
.ng-scope span,
.ng-scope textarea {
  font-family: "Source Sans Pro", sans-serif !important;
}

/* Radio buttons background color */
.neb-content md-radio-group div.radio md-radio-button ._md-on {
  background-color: $color-blue !important;
}

/* 150px-wide container div for "Very Dissatisfied" and "Very Satisfied" spans */
.ng-scope .edge-labels {
  display: flex;
  justify-content: space-between;
}

/* "Very Dissatisfied" label below "1 of 5" rating element */
.ng-scope #leftEdge {
  padding-right: 25px;
  text-align: left;
  width: 75px;
}

/* "Very Satisfied" label below "5 of 5" rating element */
.ng-scope #rightEdge {
  text-align: right;
  width: 50px;
}

/* CSS Overrides for the 3-question survey on /find-locations */

/* An excessively specific selector is needed to override !important and inline styles */
/* The `ng-hide` class only seems to be used in mobile browsers/emulators, but not laptop browsers */
#liveForm > div > div.row.neb-form-close-btn-container.ng-hide {
  /* `display: block !important;` is necessary because the `ng-hide` class applies `display: none !important` */
  display: block !important;
  /* `margin-top: 0px !important;` is necessary because this element has an inline style of `margin-top: -50px;` */
  margin-top: 0px !important;
  /* `font-size: 14px !important;` is necessary because this element has an inline style of `font-size: 35px;` */
  font-size: 14px !important;

  /* Add `position: relative;` so `position: absolute;` can be applied to the child `button` element */
  position: relative;
}

/* https://github.com/department-of-veterans-affairs/va.gov-team/issues/18706#issuecomment-769341669 */
/* style the focus-circles on radio buttons for the survey page */
.neb-component
  .neb-content
  .neb-native-radio
  input[type="radio"].wcag-radio-border:focus {
  border: 2px solid rgb(249, 198, 66) !important;
  padding: 1px !important;
}

/* style the focus-box on the invitation page */
.neb-wcag:focus {
  outline: 2px solid rgb(249, 198, 66) !important;
  outline-offset: 2px !important;
  transition: none !important;
}

/* style the focus-box on the survey & thank you page */
.form-outline-wcag,
#liveForm .kpl_builder.neb-form-wcag *:focus,
#liveForm .kpl_builder.neb-form-wcag * md-checkbox:focus ._md-container,
#liveForm .kpl_builder.neb-form-wcag:focus {
  outline: 2px solid rgb(249, 198, 66) !important;
  outline-offset: 2px !important;
  transition: none !important;
}
<commit_msg>Fix Medallia modal on tablets (#21860)<commit_after>@import "~@department-of-veterans-affairs/formation/sass/shared-variables";

/* Fonts */
#liveForm .ng-binding,
#liveForm div > span,
#liveForm textarea,
/* https://css-tricks.com/override-inline-styles-with-css/ */
.ng-scope span[style],
.ng-scope span,
.ng-scope textarea {
  font-family: "Source Sans Pro", sans-serif !important;
}

/* Radio buttons background color */
.neb-content md-radio-group div.radio md-radio-button ._md-on {
  background-color: $color-blue !important;
}

/* 150px-wide container div for "Very Dissatisfied" and "Very Satisfied" spans */
.ng-scope .edge-labels {
  display: flex;
  justify-content: space-between;
}

/* "Very Dissatisfied" label below "1 of 5" rating element */
.ng-scope #leftEdge {
  padding-right: 25px;
  text-align: left;
  width: 75px;
}

/* "Very Satisfied" label below "5 of 5" rating element */
.ng-scope #rightEdge {
  text-align: right;
  width: 50px;
}

/* CSS Overrides for the 3-question survey on /find-locations */

/* An excessively specific selector is needed to override !important and inline styles */
/* The `ng-hide` class only seems to be used in mobile browsers/emulators, but not laptop browsers */
#liveForm > div > div.row.neb-form-close-btn-container.ng-hide {
  /* `display: block !important;` is necessary because the `ng-hide` class applies `display: none !important` */
  display: block !important;
  /* `margin-top: 0px !important;` is necessary because this element has an inline style of `margin-top: -50px;` */
  margin-top: 0px !important;
  /* `font-size: 14px !important;` is necessary because this element has an inline style of `font-size: 35px;` */
  font-size: 14px !important;

  /* Add `position: relative;` so `position: absolute;` can be applied to the child `button` element */
  position: relative;
}

/* Very specific override that fixes an issue where the modal is unreadable because it is constrained to the width of col-sm-1 on tablet screens */
@media (min-width: 576px) {
  #liveForm>div>div.row.neb-form-close-btn-container.ng-hide>div.col-sm-offset-11.col-sm-1 {
    max-width: 100% !important;
  }
}

/* https://github.com/department-of-veterans-affairs/va.gov-team/issues/18706#issuecomment-769341669 */
/* style the focus-circles on radio buttons for the survey page */
.neb-component
  .neb-content
  .neb-native-radio
  input[type="radio"].wcag-radio-border:focus {
  border: 2px solid rgb(249, 198, 66) !important;
  padding: 1px !important;
}

/* style the focus-box on the invitation page */
.neb-wcag:focus {
  outline: 2px solid rgb(249, 198, 66) !important;
  outline-offset: 2px !important;
  transition: none !important;
}

/* style the focus-box on the survey & thank you page */
.form-outline-wcag,
#liveForm .kpl_builder.neb-form-wcag *:focus,
#liveForm .kpl_builder.neb-form-wcag * md-checkbox:focus ._md-container,
#liveForm .kpl_builder.neb-form-wcag:focus {
  outline: 2px solid rgb(249, 198, 66) !important;
  outline-offset: 2px !important;
  transition: none !important;
}

{'fraction_non_alphanumeric': 0.13906710594763308, 'fraction_numerical': 0.026183457603606727, 'mean_word_length': 3.9510729613733906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, 'https://': 4, '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': '2136841', 'n_tokens_mistral': 2078, 'n_tokens_neox': 1908, 'n_words': 570}