<commit_before>/*
 * Copyright (c) 2008-2013 Haulmont. All rights reserved.
 * Use is subject to license terms, see http://www.cuba-platform.com/license for details.
 */

// Version: $Id$

@mixin readonly-checkbox {
  width: 13px;
  height: 13px;
  background-position: center center;
}

@mixin havana-table($primaryStyleName : v-table) {
  .#{$primaryStyleName} {
    text-align: left;

    .checkbox-checked {
      @include readonly-checkbox;
      background-image: url(sprites/checkbox-checked.png); /** sprite-ref: components; */
    }

    .checkbox-unchecked {
      @include readonly-checkbox;
      background-image: url(sprites/checkbox-unchecked.png); /** sprite-ref: components; */
    }

    .#{$primaryStyleName}-header-wrap {
      height: 23px;
      background: $theme_tableHeaderBackgroundColor;
      border: 1px solid $theme_fieldBorderColor;
      border-bottom: none;
      overflow: hidden;
      position: relative;

      .#{$primaryStyleName}-header {
        height: 23px;

        .#{$primaryStyleName}-caption-container {
          color: $theme_tableTextColor;
          height: 23px;
          float: left;
          overflow: hidden;
          white-space: nowrap;
          padding-top: 3px;
          margin-left: 5px;
          font-size: 11px;
        }

        .#{$primaryStyleName}-header-cell:hover,
        .#{$primaryStyleName}-header-cell-asc:hover,
        .#{$primaryStyleName}-header-cell-desc:hover {
          background: $theme_tableHeaderHoverBackgroundColor;
        }

        table {
          td {
            height: 23px;
            cursor: pointer;
          }
        }
      }

      .#{$primaryStyleName}-resizer {
        @include box-defaults;

        display: block;
        height: 23px;
        float: right;
        background: transparent;
        border-right: 1px solid $theme_fieldBorderColor;
        width: 3px;
        cursor: col-resize;
      }

      .#{$primaryStyleName}-header > div {
        height: 23px;
      }
    }

    .v-table-body-wrapper {
      border: 1px solid $theme_fieldBorderColor;
    }

    .#{$primaryStyleName}-body {
      background: #fff;
    }

    .#{$primaryStyleName}-cell-content {
      border-right-color: $theme_tableCellSeparatorColor;
      font-size: 11px;
      line-height: 15px;
      color: $theme_tableTextColor;

      .v-button-caption,
      .v-button-link .v-button-caption {
        font-size: 11px;
        color: $theme_buttonCaptionColor;
      }

      .v-label {
        font-size: 11px;
      }

      .#{$primaryStyleName}-cell-wrapper {
        font-size: 11px;
      }
    }

    .#{$primaryStyleName}-cell-wrapper.widget-container {
      padding-top: 2px;
      padding-bottom: 2px;

      .v-label {
        white-space: nowrap;
      }
    }

    .#{$primaryStyleName}-row,
    .#{$primaryStyleName}-row-odd {
      background-color: $theme_tableRowBackgroundColor;
      height: 24px;
      cursor: default;
    }

    .#{$primaryStyleName}-row-odd {
      background-color: $theme_tableRowOddBackgroundColor;
    }

    .#{$primaryStyleName}-row:hover,
    .#{$primaryStyleName}-row-odd:hover {
      background-color: $theme_tableRowHoverBackgroundColor;
    }

    .#{$primaryStyleName}-caption-row {
      background-color: #c6cbcd;
      cursor: default;
    }

    .#{$primaryStyleName}-caption-row-content {
      white-space: nowrap;
      overflow: hidden;
      line-height: 15px;
    }

    .#{$primaryStyleName}-row.v-selected,
    .#{$primaryStyleName}-row-odd.v-selected,
    .#{$primaryStyleName}-caption-row.v-selected {
      background-color: $theme_tableRowSelectionBackgroundColor;

      .#{$primaryStyleName}-cell-content {
        color: $theme_tableTextColor;
      }
    }

    .#{$primaryStyleName}-focus .#{$primaryStyleName}-cell-content {
      border-top: 0;
      border-bottom: 0;
    }

    .#{$primaryStyleName}-focus .#{$primaryStyleName}-cell-wrapper {
      margin-top: 0;
      margin-bottom: 0;
    }

    .#{$primaryStyleName}-header-cell-asc .#{$primaryStyleName}-sort-indicator,
    .#{$primaryStyleName}-header-cell-desc .#{$primaryStyleName}-sort-indicator {
      width: 10px;
      height: 10px;
      background: transparent;
      background-repeat: no-repeat;
      margin-right: 5px;
      margin-top: 4px;
    }

    .#{$primaryStyleName}-header-cell-asc .#{$primaryStyleName}-sort-indicator {
      background-image: url(sprites/sort-asc.png);      /** sprite-ref: components; */
    }

    .#{$primaryStyleName}-header-cell-desc .#{$primaryStyleName}-sort-indicator {
      background-image: url(sprites/sort-desc.png);    /** sprite-ref: components; */
    }

    .#{$primaryStyleName}-column-selector {
      width: 16px;<commit_msg>Inter-row horizontal border in tables #PL-3162<commit_after>/*
 * Copyright (c) 2008-2013 Haulmont. All rights reserved.
 * Use is subject to license terms, see http://www.cuba-platform.com/license for details.
 */

// Version: $Id$

@mixin readonly-checkbox {
  width: 13px;
  height: 13px;
  background-position: center center;
}

@mixin havana-table($primaryStyleName : v-table) {
  .#{$primaryStyleName} {
    text-align: left;

    .checkbox-checked {
      @include readonly-checkbox;
      background-image: url(sprites/checkbox-checked.png); /** sprite-ref: components; */
    }

    .checkbox-unchecked {
      @include readonly-checkbox;
      background-image: url(sprites/checkbox-unchecked.png); /** sprite-ref: components; */
    }

    .#{$primaryStyleName}-header-wrap {
      height: 23px;
      background: $theme_tableHeaderBackgroundColor;
      border: 1px solid $theme_fieldBorderColor;
      border-bottom: none;
      overflow: hidden;
      position: relative;

      .#{$primaryStyleName}-header {
        height: 23px;

        .#{$primaryStyleName}-caption-container {
          color: $theme_tableTextColor;
          height: 23px;
          float: left;
          overflow: hidden;
          white-space: nowrap;
          padding-top: 3px;
          margin-left: 5px;
          font-size: 11px;
        }

        .#{$primaryStyleName}-header-cell:hover,
        .#{$primaryStyleName}-header-cell-asc:hover,
        .#{$primaryStyleName}-header-cell-desc:hover {
          background: $theme_tableHeaderHoverBackgroundColor;
        }

        table {
          td {
            height: 23px;
            cursor: pointer;
          }
        }
      }

      .#{$primaryStyleName}-resizer {
        @include box-defaults;

        display: block;
        height: 23px;
        float: right;
        background: transparent;
        border-right: 1px solid $theme_fieldBorderColor;
        width: 3px;
        cursor: col-resize;
      }

      .#{$primaryStyleName}-header > div {
        height: 23px;
      }
    }

    .v-table-body-wrapper {
      border: 1px solid $theme_fieldBorderColor;
    }

    .#{$primaryStyleName}-body {
      background: #fff;
    }

    .#{$primaryStyleName}-cell-content {
      border-right-color: $theme_tableCellSeparatorColor;
      font-size: 11px;
      line-height: 15px;
      color: $theme_tableTextColor;
      border-bottom: 1px solid $theme_tableCellSeparatorColor;

      .v-button-caption,
      .v-button-link .v-button-caption {
        font-size: 11px;
        color: $theme_buttonCaptionColor;
      }

      .v-label {
        font-size: 11px;
      }

      .#{$primaryStyleName}-cell-wrapper {
        font-size: 11px;
      }
    }

    .#{$primaryStyleName}-cell-wrapper.widget-container {
      padding-top: 2px;
      padding-bottom: 2px;

      .v-label {
        white-space: nowrap;
      }
    }

    .#{$primaryStyleName}-row,
    .#{$primaryStyleName}-row-odd {
      background-color: $theme_tableRowBackgroundColor;
      height: 24px;
      cursor: default;
    }

    .#{$primaryStyleName}-row-odd {
      background-color: $theme_tableRowOddBackgroundColor;
    }

    .#{$primaryStyleName}-row:hover,
    .#{$primaryStyleName}-row-odd:hover {
      background-color: $theme_tableRowHoverBackgroundColor;
    }

    .#{$primaryStyleName}-caption-row {
      background-color: #c6cbcd;
      cursor: default;
    }

    .#{$primaryStyleName}-caption-row-content {
      white-space: nowrap;
      overflow: hidden;
      line-height: 15px;
    }

    .#{$primaryStyleName}-row.v-selected,
    .#{$primaryStyleName}-row-odd.v-selected,
    .#{$primaryStyleName}-caption-row.v-selected {
      background-color: $theme_tableRowSelectionBackgroundColor;

      .#{$primaryStyleName}-cell-content {
        color: $theme_tableTextColor;
      }
    }

    .#{$primaryStyleName}-focus .#{$primaryStyleName}-cell-content {
      border-top: 0;
      border-bottom: 1px solid $theme_tableCellSeparatorColor;
    }

    .#{$primaryStyleName}-focus .#{$primaryStyleName}-cell-wrapper {
      margin-top: 0;
      margin-bottom: 0;
    }

    .#{$primaryStyleName}-header-cell-asc .#{$primaryStyleName}-sort-indicator,
    .#{$primaryStyleName}-header-cell-desc .#{$primaryStyleName}-sort-indicator {
      width: 10px;
      height: 10px;
      background: transparent;
      background-repeat: no-repeat;
      margin-right: 5px;
      margin-top: 4px;
    }

    .#{$primaryStyleName}-header-cell-asc .#{$primaryStyleName}-sort-indicator {
      background-image: url(sprites/sort-asc.png);      /** sprite-ref: components; */
    }

    .#{$primaryStyleName}-header-cell-desc .#{$primaryStyleName}-sort-indicator {
      background-image: url(sprites/sort-desc.png);    /** sprite-ref: components; */
    }

    .#{$primaryStyleName}-column-selector {
      width: 16px;
{'fraction_non_alphanumeric': 0.13739184822266237, 'fraction_numerical': 0.013238819972896904, 'mean_word_length': 2.3185748875821517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4436621', 'n_tokens_mistral': 3153, 'n_tokens_neox': 2890, 'n_words': 478}