<commit_before><!--
@element v-grid
-->

<link rel='import' href='vaadin-grid-import.html'>
<link rel='import' href='../bower_components/polymer/polymer.html'>

<dom-module id="v-grid">
<style>
  /* Functional properties */

  :host {
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    transition: opacity 200ms;
  }

  :host(.loading) {
    opacity: 0;
  }

  :host,
  .v-grid-tablewrapper > table,
  .v-grid-body,
  .v-grid-header,
  .v-grid-footer,
  .v-grid-row {
    display: block;
    box-sizing: border-box;
  }

  .v-grid-cell {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
  }

  :host > div {
    position: relative;
    outline: none;
  }

  .v-grid-scroller {
    position: absolute;
    z-index: 1;
    outline: none;
    box-sizing: border-box;
  }

  .v-grid-scroller-horizontal {
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: hidden;
    -ms-overflow-y: hidden;
  }

  .v-grid-scroller-vertical {
    right: 0;
    top: 0;
    bottom: 0;
    overflow-x: hidden;
    -ms-overflow-x: hidden;
  }

  .v-grid-tablewrapper {
    position: absolute;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 5;
    outline: none;
  }

  .v-grid-header-deco,
  .v-grid-footer-deco,
  .v-grid-horizontal-scrollbar-deco {
    position: absolute;
    right: 0;
    box-sizing: border-box;
  }

  .v-grid-header,
  .v-grid-body,
  .v-grid-footer {
    position: absolute;
    left: 0;
    z-index: 10;
  }

  .v-grid-header,
  .v-grid-header-deco {
    top: 0;
  }

  .v-grid-footer,
  .v-grid-footer-deco {
    bottom: 0;
  }

  .v-grid-horizontal-scrollbar-deco {
    left: 0;
    bottom: 0;
  }

  .v-grid-body {
    z-index: 0;
    top: 0;
  }

  .v-grid-body .v-grid-row {
    position: absolute;
    top: 0;
    left: 0;
  }

  .v-grid-editor {
    position: absolute;
    z-index: 20;
    overflow: hidden;
    left: 0;
    right: 0;
    margin-top: -1px;<commit_msg>Set proper cursor depending on the selection mode<commit_after><!--
@element v-grid
-->

<link rel='import' href='vaadin-grid-import.html'>
<link rel='import' href='../bower_components/polymer/polymer.html'>

<dom-module id="v-grid">
<style>
  /* Functional properties */

  :host {
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    transition: opacity 200ms;
    cursor: default;
  }

  :host(.loading) {
    opacity: 0;
  }

  :host,
  .v-grid-tablewrapper > table,
  .v-grid-body,
  .v-grid-header,
  .v-grid-footer,
  .v-grid-row {
    display: block;
    box-sizing: border-box;
  }

  .v-grid-cell {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #fff;
  }

  :host > div {
    position: relative;
    outline: none;
  }

  .v-grid-scroller {
    position: absolute;
    z-index: 1;
    outline: none;
    box-sizing: border-box;
  }

  .v-grid-scroller-horizontal {
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: hidden;
    -ms-overflow-y: hidden;
  }

  .v-grid-scroller-vertical {
    right: 0;
    top: 0;
    bottom: 0;
    overflow-x: hidden;
    -ms-overflow-x: hidden;
  }

  .v-grid-tablewrapper {
    position: absolute;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 5;
    outline: none;
  }

  .v-grid-header-deco,
  .v-grid-footer-deco,
  .v-grid-horizontal-scrollbar-deco {
    position: absolute;
    right: 0;
    box-sizing: border-box;
  }

  .v-grid-header,
  .v-grid-body,
  .v-grid-footer {
    position: absolute;
    left: 0;
    z-index: 10;
  }

  .v-grid-header,
  .v-grid-header-deco {
    top: 0;
  }

  .v-grid-footer,
  .v-grid-footer-deco {
    bottom: 0;
  }

  .v-grid-horizontal-scrollbar-deco {
    left: 0;
    bottom: 0;
  }

  .v-grid-body {
    z-index: 0;
    top: 0;
  }

  .v-grid-body .v-grid-row {
    position: absolute;
    top: 0;
    left: 0;
  }

  :host(:not([selection-mode])) .v-grid-body,
  :host([selection-mode="single"]) .v-grid-body {
    cursor: pointer;
  }

  .v-grid-editor {
    position: absolute;
    z-index: 20;
    overflow: hidden;
    left: 0;
    right: 0;
    margin-top: -1px;
{'fraction_non_alphanumeric': 0.16257046223224353, 'fraction_numerical': 0.013077790304396843, 'mean_word_length': 2.166309778729479, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, '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': '1116018', 'n_tokens_mistral': 1854, 'n_tokens_neox': 1745, 'n_words': 334}