<commit_before>@import "variables";
@import "fadable_control";
@import "publisher_button";

html[data-factlink-suppress-scrolling] {
  overflow: hidden !important;
}

span.factlink {
  cursor: pointer;

  &.fl-active, &.fl-scroll-highlight, &.fl-load-highlight {
    background: #B4D5FE !important;
    color: #333  !important;
  }
  transition: all $highlight_visibility_transition_time;

  &.fl-first::before {
    padding: 0 3px 0 0;
    content: '\2713';
  }
}

#factlink-containment-wrapper {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;

  > #factlink-iframe {
    border: none;
    height: 0px;
    width: 0px;
    display: none;
  }

  > .factlink-control-frame {
    @extend %fadable-control;

    border: none;
    z-index: $max-z-index;
    display: block;
    height: 0;
    width: 0;
    position: absolute;
  }


  > #factlink-modal-frame {
    @extend %fadable-control;

    background: transparent;
    border: none;
    z-index: $max-z-index;
    padding: 0;
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }
}<commit_msg>Simplify+centralize frame styling<commit_after>@import "variables";
@import "fadable_control";
@import "publisher_button";

html[data-factlink-suppress-scrolling] {
  overflow: hidden !important;
}

span.factlink {
  cursor: pointer;

  &.fl-active, &.fl-scroll-highlight, &.fl-load-highlight {
    background: #B4D5FE !important;
    color: #333  !important;
  }
  transition: all $highlight_visibility_transition_time;

  &.fl-first::before {
    padding: 0 3px 0 0;
    content: '\2713';
  }
}

%frame-styles {
  background: transparent;
  border: none;
  z-index: $max-z-index;
  margin: 0;
  padding: 0;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}

#factlink-containment-wrapper {
  @extend %frame-styles;
  visibility: hidden;

  > #factlink-iframe {
    @extend %frame-styles;
    display: none;
  }

  > .factlink-control-frame {
    @extend %frame-styles;
    @extend %fadable-control;
  }


  > #factlink-modal-frame {
    @extend %frame-styles;
    @extend %fadable-control;

    position: fixed;
    width: 100%;
    height: 100%;
  }
}
{'fraction_non_alphanumeric': 0.1436289959477713, 'fraction_numerical': 0.024313372354795137, 'mean_word_length': 3.0547445255474455, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7562669', 'n_tokens_mistral': 879, 'n_tokens_neox': 806, 'n_words': 175}