<commit_before><!--
Copyright 2017 Next Century Corporation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<dom-module id="single-item-styles">
  <template>
    <style>
      div[secondary] {
        color: var(--secondary-text-color, #727272);
        font-size: 14px;
      }

      .head {
        padding: 0 15px;
      }

      .head[clickable] {
        cursor: pointer;
      }

      .head.closed {
        /* Override default paper-material box-shadow. */
        box-shadow: none;
      }

      .head.opened,
      .head:hover {
        background-color: rgba(0,0,0,0.1);
      }

      .head .image-container {
        margin-top: 10px;
        margin-bottom: 10px;
      }

      .head iron-image {
        --iron-image-width: 50px;
        background-color: transparent;
      }

      .head.opened iron-image,
      .head:hover iron-image {
        /* Keep the color of a blank image the same as its background. */
        background-color: initial;
      }

      .head .vertical-text {
        min-height: 50px;
        /* Margin between the icon or image and the text. */
        margin-left: 15px;
        /* Margin to vertically center justify. */
        margin-top: 10px;
        margin-bottom: 10px;
      }

      .head .text {
        min-height: 25px;
        line-height: 25px;
        /* Needed to fix flexbox layout issues in newer browsers. */
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
      }

      .body {
        padding: 15px;
      }

      .body .text {
        font-size: 14px;
        line-height: 25px;
        /* Needed to fix flexbox layout issues in newer browsers. */
        white-space: normal;
      }

      .body image-gallery {
        /* Margin between the image gallery and the 'open' button. */
        margin-top: 10px;
      }
    </style>
  </template>
</dom-module>
<commit_msg>Fixed a minor style issue in formatting long text in the single-record descriptions.<commit_after><!--
Copyright 2017 Next Century Corporation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<dom-module id="single-item-styles">
  <template>
    <style>
      div[secondary] {
        color: var(--secondary-text-color, #727272);
        font-size: 14px;
      }

      .head {
        padding: 0 15px;
      }

      .head[clickable] {
        cursor: pointer;
      }

      .head.closed {
        /* Override default paper-material box-shadow. */
        box-shadow: none;
      }

      .head.opened,
      .head:hover {
        background-color: rgba(0,0,0,0.1);
      }

      .head .image-container {
        margin-top: 10px;
        margin-bottom: 10px;
      }

      .head iron-image {
        --iron-image-width: 50px;
        background-color: transparent;
      }

      .head.opened iron-image,
      .head:hover iron-image {
        /* Keep the color of a blank image the same as its background. */
        background-color: initial;
      }

      .head .vertical-text {
        min-height: 50px;
        /* Margin between the icon or image and the text. */
        margin-left: 15px;
        /* Margin to vertically center justify. */
        margin-top: 10px;
        margin-bottom: 10px;
      }

      .head .text {
        min-height: 25px;
        line-height: 25px;
        /* Needed to fix flexbox layout issues in newer browsers. */
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
      }

      .body {
        padding: 15px;
      }

      .body .text {
        font-size: 14px;
        line-height: 25px;
        /* Needed to fix flexbox layout issues in newer browsers. */
        word-break: break-word;
        white-space: normal;
      }

      .body image-gallery {
        /* Margin between the image gallery and the 'open' button. */
        margin-top: 10px;
      }
    </style>
  </template>
</dom-module>

{'fraction_non_alphanumeric': 0.10340027838536488, 'fraction_numerical': 0.020282362298667728, 'mean_word_length': 1.8825214899713467, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5305067', 'n_tokens_mistral': 1570, 'n_tokens_neox': 1430, 'n_words': 472}