<commit_before>@Infeedl ||= {}

class @Infeedl.Placement
  @_css: """
/* COMMON */
.infeedl--creative {
  cursor: pointer;
}

.infeedl--creative:before, .infeedl--creative:after {
  display: table;
  content: " ";
}

.infeedl--creative:after {
  clear: both;
}

.infeedl--creative .infeedl--link-image {
  display: block;
}

.infeedl--creative .infeedl--link-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.infeedl--creative .infeedl--brand {
  display: inline-block;
  padding: 5px 10px;
  margin: 0;
  background: #ffa60d;
}

.infeedl--creative .infeedl--title {
  margin: 8px 0 10px 0;
  padding: 0;
  font-weight: normal;
}

.infeedl--creative .infeedl--title .infeedl--link-title,
.infeedl--creative .infeedl--title .infeedl--link-title:hover {
  color: #000;
}

/* VIDEO */
.infeedl--video .infeedl--link-image {
  position: relative;
  text-decoration: none;
}

.infeedl--video .infeedl--link-image::after {
  display: inline-block;
  content: "";
  width: 48px;
  height: 48px;
  background: url(//cdn.infeedl.com/shared/creatives/icon-play.png);
  background-size: 48px 48px;
  position: absolute;
  bottom: 10px;
  left: 10px;
}

/* HORIZONTAL */
.infeedl--appearance--horizontal {
  padding: 10px 15px;
  background: #fff;
  border: 2px solid #FFA60D;
  border-radius: 5px;
}

.infeedl--appearance--horizontal .infeedl--link-image {
  float: left;
  width: 20%;
  min-width: 150px;
  min-height: 112px;
  margin-right: 15px;
}

@media (max-width: 600px) {
  .infeedl--appearance--horizontal .infeedl--link-image {
    width: 100%;
    margin-bottom: 15px;
  }
}

.infeedl--appearance--horizontal.infeedl--video .infeedl--link-image::after {
  width: 32px;
  height: 32px;
  background-size: 32px;
}

/* SQUARE, VERTICAL */
.infeedl--appearance--square,
.infeedl--appearance--vertical {
  max-width: 400px;
}

.infeedl--appearance--square .infeedl--title,
.infeedl--appearance--vertical .infeedl--title {
  margin-bottom: 15px;
}

.infeedl--appearance--square .infeedl--link-image,
.infeedl--appearance--vertical .infeedl--link-image {
  margin-bottom: 15px;
}

/* OVERLAY */
.infeedl--no-scroll {
  overflow: hidden !important;
}

@media (max-width: 600px) {
  .infeedl--no-scroll {
    position: fixed;
  }
}

.infeedl--embedded-wrapper, .infeedl--embedded--loader {
  position: absolute;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483644;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
<commit_msg>Fill background with white on touch devices<commit_after>@Infeedl ||= {}

class @Infeedl.Placement
  @_css: """
/* COMMON */
.infeedl--creative {
  cursor: pointer;
}

.infeedl--creative:before, .infeedl--creative:after {
  display: table;
  content: " ";
}

.infeedl--creative:after {
  clear: both;
}

.infeedl--creative .infeedl--link-image {
  display: block;
}

.infeedl--creative .infeedl--link-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.infeedl--creative .infeedl--brand {
  display: inline-block;
  padding: 5px 10px;
  margin: 0;
  background: #ffa60d;
}

.infeedl--creative .infeedl--title {
  margin: 8px 0 10px 0;
  padding: 0;
  font-weight: normal;
}

.infeedl--creative .infeedl--title .infeedl--link-title,
.infeedl--creative .infeedl--title .infeedl--link-title:hover {
  color: #000;
}

/* VIDEO */
.infeedl--video .infeedl--link-image {
  position: relative;
  text-decoration: none;
}

.infeedl--video .infeedl--link-image::after {
  display: inline-block;
  content: "";
  width: 48px;
  height: 48px;
  background: url(//cdn.infeedl.com/shared/creatives/icon-play.png);
  background-size: 48px 48px;
  position: absolute;
  bottom: 10px;
  left: 10px;
}

/* HORIZONTAL */
.infeedl--appearance--horizontal {
  padding: 10px 15px;
  background: #fff;
  border: 2px solid #FFA60D;
  border-radius: 5px;
}

.infeedl--appearance--horizontal .infeedl--link-image {
  float: left;
  width: 20%;
  min-width: 150px;
  min-height: 112px;
  margin-right: 15px;
}

@media (max-width: 600px) {
  .infeedl--appearance--horizontal .infeedl--link-image {
    width: 100%;
    margin-bottom: 15px;
  }
}

.infeedl--appearance--horizontal.infeedl--video .infeedl--link-image::after {
  width: 32px;
  height: 32px;
  background-size: 32px;
}

/* SQUARE, VERTICAL */
.infeedl--appearance--square,
.infeedl--appearance--vertical {
  max-width: 400px;
}

.infeedl--appearance--square .infeedl--title,
.infeedl--appearance--vertical .infeedl--title {
  margin-bottom: 15px;
}

.infeedl--appearance--square .infeedl--link-image,
.infeedl--appearance--vertical .infeedl--link-image {
  margin-bottom: 15px;
}

/* OVERLAY */
.infeedl--no-scroll {
  overflow: hidden !important;
}

@media (max-width: 600px) {
  .infeedl--no-scroll {
    position: fixed;
  }

  .infeedl--no-scroll:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    z-index: 2147483643;
  }
}

.infeedl--embedded-wrapper, .infeedl--embedded--loader {
  position: absolute;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483644;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

{'fraction_non_alphanumeric': 0.16927722211738064, 'fraction_numerical': 0.037742970371768256, 'mean_word_length': 3.121306376360809, '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': '1316785', 'n_tokens_mistral': 2302, 'n_tokens_neox': 2104, 'n_words': 394}