summaryrefslogtreecommitdiffstats
path: root/js/yui3/datatable-scroll/assets/datatable-scroll-core.css
blob: ec1d7a7e71d9dad8728f4d9701501ad4bc169940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
/* foundational CSS */
.yui3-datatable-scrollable-x {
    _overflow-x: hidden;
    _position: relative;
}

.yui3-datatable-scrollable-y,
.yui3-datatable-scrollable-y .yui3-datatable-x-scroller {
    _overflow-y: hidden;
    _position: relative;
}

.yui3-datatable-y-scroller-container {
    overflow-x: hidden;
    position: relative;
}

.yui3-datatable-scrollable-y .yui3-datatable-content {
    /* To allow absolute positioning of virtual scrollbar */
    position: relative;
}

.yui3-datatable-scrollable-y .yui3-datatable-table .yui3-datatable-columns {
    /* Prevent masked headers from showing during momentum scrolling */
    visibility: hidden;
}

.yui3-datatable-scroll-columns {
    position: absolute;
    width: 100%;
    z-index: 2;
}

.yui3-datatable-y-scroller,
.yui3-datatable-scrollable-x .yui3-datatable-caption-table {
    width: 100%;
}

.yui3-datatable-x-scroller {
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
}

.yui3-datatable-scrollable-y .yui3-datatable-y-scroller {
    position: relative;
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 1;
    -webkit-overflow-scrolling: touch;
}

.yui3-datatable-scrollbar {
    position: absolute;
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 2;
}

.yui3-datatable-scrollbar div {
    position: absolute;
    width: 1px;
    visibility: hidden;
}

/* Removed because it prevented cmd + zoom resizing in Chrome (at least) */
/*
.yui3-datatable-header {
    -webkit-text-size-adjust: none;
}
*/