<commit_before>﻿// Copyright (c) Microsoft Open Technologies, Inc.  All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
.win-listview {
    overflow: hidden;
    height: 400px;
}
.win-listview .win-surface {
    overflow: visible;
}
.win-listview > .win-viewport.win-horizontal .win-surface {
    height: 100%;
}
.win-listview > .win-viewport.win-vertical .win-surface {
    width: 100%;
}
.win-listview > .win-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.win-listview > .win-viewport.win-horizontal {
    overflow-x: auto;
    overflow-y: hidden;
}
.win-listview > .win-viewport.win-vertical {
    overflow-x: hidden;
    overflow-y: auto;
}
.win-listview .win-itemscontainer {
    overflow:hidden;
}
.win-listview .win-itemscontainer-padder {
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}
.win-listview > .win-horizontal .win-container {
    margin: 10px 5px 0px 5px;
}
.win-listview > .win-vertical .win-container {
    margin: 10px 24px 0px 7px;
}
.win-listview.win-rtl > .win-vertical .win-container {
    margin: 10px 7px 0px 24px;
}
.win-listview .win-container, .win-listview .win-itembox,
.win-itemcontainer.win-container, .win-itemcontainer .win-itembox {
    cursor: default;
    z-index: 0;
}
.win-listview .win-container  {
    touch-action:pan-x pan-y pinch-zoom;
}
.win-listview.win-swipeable .win-horizontal .win-container,
.win-listview.win-swipeable .win-horizontal .win-itembox.win-nonswipeable  {
    touch-action:pan-x pinch-zoom;
}
.win-listview.win-swipeable .win-vertical .win-container,
.win-listview.win-swipeable .win-vertical .win-itembox.win-nonswipeable  {
    touch-action:pan-y pinch-zoom;
}
.win-listview.win-swipeable .win-horizontal .win-itembox  {
    touch-action:pan-x pinch-zoom double-tap-zoom cross-slide-y;
}
.win-listview.win-swipeable .win-vertical .win-itembox  {
    touch-action:pan-y pinch-zoom double-tap-zoom cross-slide-x;
}
.win-semanticzoom  .win-listview > .win-viewport * {
    touch-action: auto;
}
.win-semanticzoom .win-listview > .win-viewport.win-zooming-x {
    overflow-x: visible;
}
.win-semanticzoom .win-listview > .win-viewport.win-zooming-y {
    overflow-y: visible;
}
.win-listview .win-itembox,
.win-itemcontainer .win-itembox {
    width:100%;
    height:100%;
}
.win-listview .win-item,
.win-itemcontainer .win-item {
    // Used to place above .win-selectionbackground in ListView
    z-index: 1;
}
.win-listview .win-item,
.win-itemcontainer .win-item {
    overflow: hidden;
    position: relative;
}
.win-listview > .win-vertical .win-item
{
    // Allow flex box to fill win-item in list layout
    width: 100%;
}
.win-listview .win-item:focus,
.win-itemcontainer .win-item:focus {
    outline-style: none;
}
.win-listview .win-focusedoutline,
.win-itemcontainer .win-focusedoutline {
    width: ~"calc(100% + 4px)";
    height: ~"calc(100% + 4px)";
    left: -2px;
    top: -2px;
    position: absolute;
    z-index: 5;
    pointer-events: none;
}
.win-container.win-selected .win-selectionborder {
    border-width: 4px;
    border-style: solid;
}
.win-container.win-selected:hover .win-selectionborder {
    border-width: 4px;
    border-style: solid;
}
.win-listview .win-groupheader {
    padding: 10px 10px 10px 2px;
    overflow: hidden;
    outline-width: 0.01px;
    outline-style: none;
    // Causes the focus outline to tightly wrap the header content
    float: left;
    .win-type-x-large-internal();
}
.win-listview .win-groupheadercontainer {
    z-index: 1;
    touch-action:pan-x pan-y pinch-zoom;
    overflow: hidden;
}
.win-listview .win-groupheader.win-focused {
    outline-style: dotted;
}
.win-listview.win-rtl .win-groupheader {
    padding-left: 10px;
    padding-right: 2px;
    float: right;
}
.win-listview.win-groups .win-horizontal .win-groupleader {
    margin-left: 70px;
}
.win-listview.win-groups.win-rtl .win-horizontal .win-groupleader {
    margin-left: 0;
    margin-right: 70px;
}
.win-listview.win-groups .win-vertical .win-listlayout .win-groupleader,
.win-listview.win-groups .win-vertical .win-gridlayout .win-groupleader {
    margin-top: 70px;
}
.win-listview.win-groups > .win-vertical .win-surface.win-listlayout,
.win-listview.win-groups > .win-vertical .win-surface.win-gridlayout {
    margin-top: -65px;
}
.win-listview.win-groups > .win-horizontal .win-surface {
    margin-left: -70px;
}
.win-listview.win-groups.win-rtl > .win-horizontal .win-surface {
    margin-left: 0;
    margin-right: -70px;
}
.win-surface ._win-proxy {
    // Position relative + overflow hidden are applied to this element to stop margin collapsing of a margin-top on a header + the margin-top on the surface in list layout
    position: relative;
    overflow: hidden;
    width: 0;
    height: 0;
    touch-action: none;
}
.win-selectionborder {
    position: absolute;
    opacity: inherit;
    z-index: 2;
    pointer-events: none;
}
.win-container.win-selected .win-selectionborder {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.win-selectionbackground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    // Used to place behind .win-item in the ListView/ItemContainer
    z-index: 0;
}
.win-selectioncheckmarkbackground {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border-width: 20px;
    border-style: solid;
    z-index: 3;
}
.win-listview.win-rtl .win-selectioncheckmarkbackground,
.win-itemcontainer.win-rtl .win-selectioncheckmarkbackground {
    left: 0;
    right: auto;
}
.win-selectioncheckmark {
    position: absolute;
    margin: 0;
    padding: 2px;
    right: 0;
    top: 0;
    font-family: "Segoe UI Symbol", "Symbols";
    font-size: 11pt;
    z-index: 4;
}
.win-listview.win-rtl .win-selectioncheckmark,
.win-itemcontainer.win-rtl .win-selectioncheckmark {
    left: 0;
    right: auto;
}
.win-selectionhint {
    position: absolute;
    margin: 0;
    padding: 2px;
    right: 0;
    font-family: "Segoe UI Symbol", "Symbols";
    font-size: 11pt;
    opacity: 0.5;
}
.win-selectionhint.win-revealed {
    opacity: 1;
}
.win-listview.win-rtl .win-selectionhint,
.win-itemcontainer.win-rtl .win-selectionhint {
    left: 0;
    right: auto;
}
.win-listview .win-progress {
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    z-index: 1;
    position: absolute;
}
.win-listview .win-progress::-ms-fill {
    animation-name: -ms-ring;
}

.win-listview .win-itemsblock {
    overflow: hidden;
}
//
// Layouts when there is no CSS grid available
//

// Use flexbox to lay out header and item containers in all grid layouts, all horizontal list layouts, and grouped vertical lists with headers to the side.
// Ungrouped vertical lists and vertical lists with headers above use flow layout.
.win-listview .win-surface.win-nocssgrid.win-gridlayout,
.win-listview .win-horizontal .win-nocssgrid.win-listlayout,
.win-listview .win-vertical .win-nocssgrid.win-listlayout.win-headerpositionleft {
    #flex > .display-flex();
}
.win-listview .win-horizontal .win-surface.win-nocssgrid {
    #flex > .flex-flow(column; wrap);
    #flex > .align-content(flex-start);
}
.win-listview .win-vertical .win-surface.win-nocssgrid {
    #flex > .flex-flow(row; wrap);
    #flex > .align-content(flex-start);
}

//
// ListLayout
//
.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer,
.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer,
.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer,
.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer {
    display: none;
}
.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer.win-laidout,
.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer.win-laidout,
.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer.win-laidout {
    display: block;
}
.win-listview .win-listlayout .win-itemscontainer {
    overflow: visible;
}
.win-listview .win-listlayout .win-itemsblock {
    // Avoid clipping of the focus and hover visuals
    padding-bottom: 4px;
    margin-bottom: -4px;
}
//
// ListLayout - Vertical
//
// Vertical grouped list layout needs to remove float from group headers when headers are above so that static positioning gets applied properly
.win-listview > .win-vertical .win-listlayout.win-headerpositiontop .win-groupheader {
    float: none;
}
.win-listview > .win-vertical .win-surface.win-listlayout {
    margin-bottom: 5px;
}

.win-listview .win-vertical .win-listlayout.win-headerpositionleft.win-surface {
    display: -ms-inline-grid;
    -ms-grid-columns: auto 1fr;
    -ms-grid-rows: auto;
}
.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer {
    -ms-grid-column: 1;
}
.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer {
    -ms-grid-column: 2;
}
//
// ListLayout - Horizontal
//
.win-listview > .win-horizontal .win-surface.win-listlayout {
    display: -ms-inline-grid;
    -ms-grid-columns: auto;
    -ms-grid-rows: auto;
    // Use vertical-align:top when using display:-ms-inline-grid to avoid extra spacing around itself
    vertical-align:top;
}
.win-listview .win-horizontal .win-listlayout .win-itemsblock {
    height: 100%;
}
.win-listview .win-horizontal .win-listlayout .win-itemscontainer {
    // leave room for the scrollbar
    margin-bottom: 24px;
}
.win-listview .win-horizontal .win-listlayout .win-container {
    height: ~"calc(100% - 10px)";
}
// Headers above
.win-listview > .win-horizontal .win-surface.win-listlayout.win-headerpositiontop {
    -ms-grid-rows: auto 1fr;
}
.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-groupheadercontainer {
    -ms-grid-row: 1;
}
.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-itemscontainer {
    -ms-grid-row: 2;
}

//
// GridLayout
//
.win-listview .win-gridlayout.win-surface {
    // Use a grid even in non-grouped layouts so that there is consistent margin
    // collapsing behavior between the surface and itemsContainer in all grid layouts
    display: -ms-inline-grid;
    // Use vertical-align:top when using display:-ms-inline-grid to avoid extra spacing around itself
    vertical-align:top;
}
.win-listview .win-gridlayout .win-container {
    margin: 5px;
}
// Headers
.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,
.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-groupheadercontainer {
    -ms-grid-column: 1;
}
.win-listview.win-groups .win-gridlayout .win-itemscontainer,
.win-listview.win-groups .win-gridlayout .win-groupheadercontainer {
    display: none;
}
.win-listview.win-groups .win-gridlayout .win-groupheadercontainer.win-laidout {
    display: block;
}
// Horizontal - Headers above
.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop.win-surface {
    -ms-grid-columns: auto;
    -ms-grid-rows: auto 1fr;
}
.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-groupheadercontainer {
    -ms-grid-row: 1;
}
.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-itemscontainer {
    -ms-grid-row: 2;
}
// Horizontal - Headers on the left
.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft.win-surface {
    -ms-grid-columns: auto;
    -ms-grid-rows: auto;
}
.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-groupheadercontainer {
    -ms-grid-row: 1;
}
.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-itemscontainer {
    -ms-grid-row: 1;
}
// Vertical - headers above
.win-listview .win-vertical .win-gridlayout.win-headerpositiontop.win-surface {
    -ms-grid-columns: auto;
    -ms-grid-rows: auto;
}
.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-itemscontainer {
    -ms-grid-column: 1;
}
// Vertical - headers on the left
.win-listview .win-vertical .win-gridlayout.win-headerpositionleft.win-surface {
    -ms-grid-columns: auto 1fr;
    -ms-grid-rows: auto;
}
.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-itemscontainer {
    -ms-grid-column: 2;
}
// Uniform and cell spanning groups
.win-listview .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout {
    #flex > .display-flex();
    #flex > .flex-direction(row);
}
.win-listview .win-horizontal .win-listlayout .win-itemscontainer,
.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer.win-laidout,
.win-listview .win-horizontal .win-listlayout .win-itemsblock,
.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,
.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock {
    #flex > .display-flex();
    #flex > .flex-flow(column; wrap);
    #flex > .align-content(flex-start);
}
.win-listview .win-horizontal .win-itemscontainer-padder {
    height: 100%;
}
.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock {
    height: 100%;
}
.win-listview .win-horizontal .win-gridlayout .win-cellspanninggridlayout.win-itemscontainer.win-laidout {
    display: -ms-grid;
}
// Vertical - uniform group
.win-listview .win-vertical .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout {
    #flex > .display-flex();
    #flex > .flex-direction(column);
}
.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,
.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock {
    #flex > .display-flex();
    #flex > .flex-flow(row; wrap);
    #flex > .align-content(flex-start);
}
.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock {
    width: 100%;
}
// Cell spanning
.win-listview .win-cellspanninggridlayout .win-container.win-laidout {
    display: block;
}
.win-listview .win-cellspanninggridlayout .win-container {
    display: none;
}
.win-listview .win-itembox {
    position: relative;
}
.win-listview.win-dragover .win-itembox {
    transform: scale(0.86);
    -webkit-transform: scale(0.86);
}
.win-listview .win-itembox.win-dragsource,
.win-itemcontainer .win-itembox.win-dragsource {
    opacity: 0.5;
    transition: opacity cubic-bezier(0.1, 0.9, 0.2, 1) 167ms, transform cubic-bezier(0.1, 0.9, 0.2, 1) 220ms;
    -webkit-transition: opacity cubic-bezier(0.1, 0.9, 0.2, 1) 167ms, transform cubic-bezier(0.1, 0.9, 0.2, 1) 220ms;
}
.win-listview.win-dragover .win-itembox.win-dragsource {
    opacity: 0;
    transition: none;
    -webkit-transition: none;
}
.win-listview.win-dragover .win-container:hover {
    outline: none;
}
.win-listview .win-container.win-swipe, .win-listview .win-container.win-swipe .win-itembox,
.win-itemcontainer.win-container.win-swipe, .win-itemcontainer.win-container.win-swipe .win-itembox {
    position: relative;
    z-index: 1;
}

<commit_msg>enable inertial scrolling listview in webkit<commit_after>﻿// Copyright (c) Microsoft Open Technologies, Inc.  All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
.win-listview {
    overflow: hidden;
    height: 400px;
}
.win-listview .win-surface {
    overflow: visible;
}
.win-listview > .win-viewport.win-horizontal .win-surface {
    height: 100%;
}
.win-listview > .win-viewport.win-vertical .win-surface {
    width: 100%;
}
.win-listview > .win-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -webkit-overflow-scrolling: touch;
}
.win-listview > .win-viewport.win-horizontal {
    overflow-x: auto;
    overflow-y: hidden;
}
.win-listview > .win-viewport.win-vertical {
    overflow-x: hidden;
    overflow-y: auto;
}
.win-listview .win-itemscontainer {
    overflow:hidden;
}
.win-listview .win-itemscontainer-padder {
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}
.win-listview > .win-horizontal .win-container {
    margin: 10px 5px 0px 5px;
}
.win-listview > .win-vertical .win-container {
    margin: 10px 24px 0px 7px;
}
.win-listview.win-rtl > .win-vertical .win-container {
    margin: 10px 7px 0px 24px;
}
.win-listview .win-container, .win-listview .win-itembox,
.win-itemcontainer.win-container, .win-itemcontainer .win-itembox {
    cursor: default;
    z-index: 0;
}
.win-listview .win-container  {
    touch-action:pan-x pan-y pinch-zoom;
}
.win-listview.win-swipeable .win-horizontal .win-container,
.win-listview.win-swipeable .win-horizontal .win-itembox.win-nonswipeable  {
    touch-action:pan-x pinch-zoom;
}
.win-listview.win-swipeable .win-vertical .win-container,
.win-listview.win-swipeable .win-vertical .win-itembox.win-nonswipeable  {
    touch-action:pan-y pinch-zoom;
}
.win-listview.win-swipeable .win-horizontal .win-itembox  {
    touch-action:pan-x pinch-zoom double-tap-zoom cross-slide-y;
}
.win-listview.win-swipeable .win-vertical .win-itembox  {
    touch-action:pan-y pinch-zoom double-tap-zoom cross-slide-x;
}
.win-semanticzoom  .win-listview > .win-viewport * {
    touch-action: auto;
}
.win-semanticzoom .win-listview > .win-viewport.win-zooming-x {
    overflow-x: visible;
}
.win-semanticzoom .win-listview > .win-viewport.win-zooming-y {
    overflow-y: visible;
}
.win-listview .win-itembox,
.win-itemcontainer .win-itembox {
    width:100%;
    height:100%;
}
.win-listview .win-item,
.win-itemcontainer .win-item {
    // Used to place above .win-selectionbackground in ListView
    z-index: 1;
}
.win-listview .win-item,
.win-itemcontainer .win-item {
    overflow: hidden;
    position: relative;
}
.win-listview > .win-vertical .win-item
{
    // Allow flex box to fill win-item in list layout
    width: 100%;
}
.win-listview .win-item:focus,
.win-itemcontainer .win-item:focus {
    outline-style: none;
}
.win-listview .win-focusedoutline,
.win-itemcontainer .win-focusedoutline {
    width: ~"calc(100% + 4px)";
    height: ~"calc(100% + 4px)";
    left: -2px;
    top: -2px;
    position: absolute;
    z-index: 5;
    pointer-events: none;
}
.win-container.win-selected .win-selectionborder {
    border-width: 4px;
    border-style: solid;
}
.win-container.win-selected:hover .win-selectionborder {
    border-width: 4px;
    border-style: solid;
}
.win-listview .win-groupheader {
    padding: 10px 10px 10px 2px;
    overflow: hidden;
    outline-width: 0.01px;
    outline-style: none;
    // Causes the focus outline to tightly wrap the header content
    float: left;
    .win-type-x-large-internal();
}
.win-listview .win-groupheadercontainer {
    z-index: 1;
    touch-action:pan-x pan-y pinch-zoom;
    overflow: hidden;
}
.win-listview .win-groupheader.win-focused {
    outline-style: dotted;
}
.win-listview.win-rtl .win-groupheader {
    padding-left: 10px;
    padding-right: 2px;
    float: right;
}
.win-listview.win-groups .win-horizontal .win-groupleader {
    margin-left: 70px;
}
.win-listview.win-groups.win-rtl .win-horizontal .win-groupleader {
    margin-left: 0;
    margin-right: 70px;
}
.win-listview.win-groups .win-vertical .win-listlayout .win-groupleader,
.win-listview.win-groups .win-vertical .win-gridlayout .win-groupleader {
    margin-top: 70px;
}
.win-listview.win-groups > .win-vertical .win-surface.win-listlayout,
.win-listview.win-groups > .win-vertical .win-surface.win-gridlayout {
    margin-top: -65px;
}
.win-listview.win-groups > .win-horizontal .win-surface {
    margin-left: -70px;
}
.win-listview.win-groups.win-rtl > .win-horizontal .win-surface {
    margin-left: 0;
    margin-right: -70px;
}
.win-surface ._win-proxy {
    // Position relative + overflow hidden are applied to this element to stop margin collapsing of a margin-top on a header + the margin-top on the surface in list layout
    position: relative;
    overflow: hidden;
    width: 0;
    height: 0;
    touch-action: none;
}
.win-selectionborder {
    position: absolute;
    opacity: inherit;
    z-index: 2;
    pointer-events: none;
}
.win-container.win-selected .win-selectionborder {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.win-selectionbackground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    // Used to place behind .win-item in the ListView/ItemContainer
    z-index: 0;
}
.win-selectioncheckmarkbackground {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border-width: 20px;
    border-style: solid;
    z-index: 3;
}
.win-listview.win-rtl .win-selectioncheckmarkbackground,
.win-itemcontainer.win-rtl .win-selectioncheckmarkbackground {
    left: 0;
    right: auto;
}
.win-selectioncheckmark {
    position: absolute;
    margin: 0;
    padding: 2px;
    right: 0;
    top: 0;
    font-family: "Segoe UI Symbol", "Symbols";
    font-size: 11pt;
    z-index: 4;
}
.win-listview.win-rtl .win-selectioncheckmark,
.win-itemcontainer.win-rtl .win-selectioncheckmark {
    left: 0;
    right: auto;
}
.win-selectionhint {
    position: absolute;
    margin: 0;
    padding: 2px;
    right: 0;
    font-family: "Segoe UI Symbol", "Symbols";
    font-size: 11pt;
    opacity: 0.5;
}
.win-selectionhint.win-revealed {
    opacity: 1;
}
.win-listview.win-rtl .win-selectionhint,
.win-itemcontainer.win-rtl .win-selectionhint {
    left: 0;
    right: auto;
}
.win-listview .win-progress {
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    z-index: 1;
    position: absolute;
}
.win-listview .win-progress::-ms-fill {
    animation-name: -ms-ring;
}

.win-listview .win-itemsblock {
    overflow: hidden;
}
//
// Layouts when there is no CSS grid available
//

// Use flexbox to lay out header and item containers in all grid layouts, all horizontal list layouts, and grouped vertical lists with headers to the side.
// Ungrouped vertical lists and vertical lists with headers above use flow layout.
.win-listview .win-surface.win-nocssgrid.win-gridlayout,
.win-listview .win-horizontal .win-nocssgrid.win-listlayout,
.win-listview .win-vertical .win-nocssgrid.win-listlayout.win-headerpositionleft {
    #flex > .display-flex();
}
.win-listview .win-horizontal .win-surface.win-nocssgrid {
    #flex > .flex-flow(column; wrap);
    #flex > .align-content(flex-start);
}
.win-listview .win-vertical .win-surface.win-nocssgrid {
    #flex > .flex-flow(row; wrap);
    #flex > .align-content(flex-start);
}

//
// ListLayout
//
.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer,
.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer,
.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer,
.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer {
    display: none;
}
.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer.win-laidout,
.win-listview.win-groups .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer.win-laidout,
.win-listview.win-groups .win-horizontal .win-listlayout .win-groupheadercontainer.win-laidout {
    display: block;
}
.win-listview .win-listlayout .win-itemscontainer {
    overflow: visible;
}
.win-listview .win-listlayout .win-itemsblock {
    // Avoid clipping of the focus and hover visuals
    padding-bottom: 4px;
    margin-bottom: -4px;
}
//
// ListLayout - Vertical
//
// Vertical grouped list layout needs to remove float from group headers when headers are above so that static positioning gets applied properly
.win-listview > .win-vertical .win-listlayout.win-headerpositiontop .win-groupheader {
    float: none;
}
.win-listview > .win-vertical .win-surface.win-listlayout {
    margin-bottom: 5px;
}

.win-listview .win-vertical .win-listlayout.win-headerpositionleft.win-surface {
    display: -ms-inline-grid;
    -ms-grid-columns: auto 1fr;
    -ms-grid-rows: auto;
}
.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-groupheadercontainer {
    -ms-grid-column: 1;
}
.win-listview .win-vertical .win-listlayout.win-headerpositionleft .win-itemscontainer {
    -ms-grid-column: 2;
}
//
// ListLayout - Horizontal
//
.win-listview > .win-horizontal .win-surface.win-listlayout {
    display: -ms-inline-grid;
    -ms-grid-columns: auto;
    -ms-grid-rows: auto;
    // Use vertical-align:top when using display:-ms-inline-grid to avoid extra spacing around itself
    vertical-align:top;
}
.win-listview .win-horizontal .win-listlayout .win-itemsblock {
    height: 100%;
}
.win-listview .win-horizontal .win-listlayout .win-itemscontainer {
    // leave room for the scrollbar
    margin-bottom: 24px;
}
.win-listview .win-horizontal .win-listlayout .win-container {
    height: ~"calc(100% - 10px)";
}
// Headers above
.win-listview > .win-horizontal .win-surface.win-listlayout.win-headerpositiontop {
    -ms-grid-rows: auto 1fr;
}
.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-groupheadercontainer {
    -ms-grid-row: 1;
}
.win-listview .win-horizontal .win-listlayout.win-headerpositiontop .win-itemscontainer {
    -ms-grid-row: 2;
}

//
// GridLayout
//
.win-listview .win-gridlayout.win-surface {
    // Use a grid even in non-grouped layouts so that there is consistent margin
    // collapsing behavior between the surface and itemsContainer in all grid layouts
    display: -ms-inline-grid;
    // Use vertical-align:top when using display:-ms-inline-grid to avoid extra spacing around itself
    vertical-align:top;
}
.win-listview .win-gridlayout .win-container {
    margin: 5px;
}
// Headers
.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-groupheadercontainer,
.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-groupheadercontainer {
    -ms-grid-column: 1;
}
.win-listview.win-groups .win-gridlayout .win-itemscontainer,
.win-listview.win-groups .win-gridlayout .win-groupheadercontainer {
    display: none;
}
.win-listview.win-groups .win-gridlayout .win-groupheadercontainer.win-laidout {
    display: block;
}
// Horizontal - Headers above
.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop.win-surface {
    -ms-grid-columns: auto;
    -ms-grid-rows: auto 1fr;
}
.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-groupheadercontainer {
    -ms-grid-row: 1;
}
.win-listview .win-horizontal .win-gridlayout.win-headerpositiontop .win-itemscontainer {
    -ms-grid-row: 2;
}
// Horizontal - Headers on the left
.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft.win-surface {
    -ms-grid-columns: auto;
    -ms-grid-rows: auto;
}
.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-groupheadercontainer {
    -ms-grid-row: 1;
}
.win-listview .win-horizontal .win-gridlayout.win-headerpositionleft .win-itemscontainer {
    -ms-grid-row: 1;
}
// Vertical - headers above
.win-listview .win-vertical .win-gridlayout.win-headerpositiontop.win-surface {
    -ms-grid-columns: auto;
    -ms-grid-rows: auto;
}
.win-listview .win-vertical .win-gridlayout.win-headerpositiontop .win-itemscontainer {
    -ms-grid-column: 1;
}
// Vertical - headers on the left
.win-listview .win-vertical .win-gridlayout.win-headerpositionleft.win-surface {
    -ms-grid-columns: auto 1fr;
    -ms-grid-rows: auto;
}
.win-listview .win-vertical .win-gridlayout.win-headerpositionleft .win-itemscontainer {
    -ms-grid-column: 2;
}
// Uniform and cell spanning groups
.win-listview .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout {
    #flex > .display-flex();
    #flex > .flex-direction(row);
}
.win-listview .win-horizontal .win-listlayout .win-itemscontainer,
.win-listview.win-groups .win-horizontal .win-listlayout .win-itemscontainer.win-laidout,
.win-listview .win-horizontal .win-listlayout .win-itemsblock,
.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,
.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock {
    #flex > .display-flex();
    #flex > .flex-flow(column; wrap);
    #flex > .align-content(flex-start);
}
.win-listview .win-horizontal .win-itemscontainer-padder {
    height: 100%;
}
.win-listview .win-horizontal .win-gridlayout .win-uniformgridlayout .win-itemsblock {
    height: 100%;
}
.win-listview .win-horizontal .win-gridlayout .win-cellspanninggridlayout.win-itemscontainer.win-laidout {
    display: -ms-grid;
}
// Vertical - uniform group
.win-listview .win-vertical .win-gridlayout.win-structuralnodes .win-uniformgridlayout.win-itemscontainer.win-laidout {
    #flex > .display-flex();
    #flex > .flex-direction(column);
}
.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout.win-itemscontainer.win-laidout,
.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock {
    #flex > .display-flex();
    #flex > .flex-flow(row; wrap);
    #flex > .align-content(flex-start);
}
.win-listview .win-vertical .win-gridlayout .win-uniformgridlayout .win-itemsblock {
    width: 100%;
}
// Cell spanning
.win-listview .win-cellspanninggridlayout .win-container.win-laidout {
    display: block;
}
.win-listview .win-cellspanninggridlayout .win-container {
    display: none;
}
.win-listview .win-itembox {
    position: relative;
}
.win-listview.win-dragover .win-itembox {
    transform: scale(0.86);
    -webkit-transform: scale(0.86);
}
.win-listview .win-itembox.win-dragsource,
.win-itemcontainer .win-itembox.win-dragsource {
    opacity: 0.5;
    transition: opacity cubic-bezier(0.1, 0.9, 0.2, 1) 167ms, transform cubic-bezier(0.1, 0.9, 0.2, 1) 220ms;
    -webkit-transition: opacity cubic-bezier(0.1, 0.9, 0.2, 1) 167ms, transform cubic-bezier(0.1, 0.9, 0.2, 1) 220ms;
}
.win-listview.win-dragover .win-itembox.win-dragsource {
    opacity: 0;
    transition: none;
    -webkit-transition: none;
}
.win-listview.win-dragover .win-container:hover {
    outline: none;
}
.win-listview .win-container.win-swipe, .win-listview .win-container.win-swipe .win-itembox,
.win-itemcontainer.win-container.win-swipe, .win-itemcontainer.win-container.win-swipe .win-itembox {
    position: relative;
    z-index: 1;
}


{'fraction_non_alphanumeric': 0.14220362079034457, 'fraction_numerical': 0.015054182077736681, 'mean_word_length': 3.206769482735089, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 73, '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': '4107133', 'n_tokens_mistral': 11214, 'n_tokens_neox': 10706, 'n_words': 2209}