]> git.proxmox.com Git - extjs.git/blame - extjs/classic/theme-base/sass/src/panel/Table.scss
add extjs 6.0.1 sources
[extjs.git] / extjs / classic / theme-base / sass / src / panel / Table.scss
CommitLineData
6527f429
DM
1.#{$prefix}grid-view {\r
2 overflow: hidden;\r
3 position: relative;\r
4}\r
5\r
6/* A grid *item* is a dataview item. It is encapsulated by a <table class="x-grid-item">.\r
7 * One item always corresponds to one store record\r
8 * But an item may contain more than one <tr>.\r
9 * ONE child row, <tr class="x-grid-row"> will be the grid-row and will contain record data\r
10 */\r
11.#{$prefix}grid-row-table {\r
12 // When the touch scroller is used, we need to measure the table immediately after\r
13 // setting the widths of the column sizers (all cells in a column, or <COL> elements when the first row has a colspanning cell)\r
14 // so that the scroller's width can be refreshed.\r
15 // Unfortunately, if the table is auto width, browsers won't resize the cells until\r
16 // the current thread completes. Setting the width of the table to 0 allows us to\r
17 // avoid refreshing the scroller on a delay\r
18 width: 0;\r
19 table-layout: fixed;\r
20 border: 0 none;\r
21 border-collapse: separate;\r
22 border-spacing: 0;\r
23}\r
24\r
25.#{$prefix}grid-item {\r
26 table-layout: fixed;\r
27 outline: none;\r
28}\r
29\r
30.#{$prefix}grid-row {\r
31 outline: none;\r
32}\r
33\r
34.#{$prefix}grid-td {\r
35 overflow: hidden;\r
36 border-width: 0;\r
37 vertical-align: top;\r
38}\r
39\r
40.#{$prefix}grid-cell-inner {\r
41 overflow: hidden;\r
42 white-space: nowrap;\r
43}\r
44\r
45.#{$prefix}wrap-cell {\r
46 .#{$prefix}grid-cell-inner {\r
47 white-space: normal;\r
48 }\r
49}\r
50\r
51.#{$prefix}grid-resize-marker {\r
52 position: absolute;\r
53 z-index: 5;\r
54 top: 0;\r
55}\r