1
- /**
2
- * ParamQuery Pro v2.0.4
1
+ /*!
2
+ * ParamQuery Pro v2.1.0
3
3
*
4
- * Copyright (c) 2012-2015 Paramvir Dhindsa (http://paramquery.com)
4
+ * Copyright (c) 2012-2016 Paramvir Dhindsa (http://paramquery.com)
5
5
* Released under GPL v3 license
6
6
* http://paramquery.com/license
7
7
*
@@ -111,7 +111,7 @@ div.pq-toolbar .pq-separator
111
111
.pq-dialog-buttonset button {
112
112
padding : 0.5em 0em ;margin : 5px ;
113
113
}
114
- div .pq-grid div .draggable {
114
+ div .pq-grid div .pq- draggable {
115
115
cursor : move;
116
116
}
117
117
div .pq-grid-bottom {
@@ -130,10 +130,6 @@ div.pq-grid-inner{
130
130
overflow-x : hidden;
131
131
overflow-y : hidden;
132
132
}
133
- div .pq-grid-right {
134
- position : relative;overflow : hidden;
135
- display : block;
136
- }
137
133
div .pq-header-outer {
138
134
position : relative;
139
135
border-width : 0px ;
@@ -145,11 +141,12 @@ div.pq-header-outer{
145
141
top : -2px ;
146
142
cursor : default;
147
143
display : inline-block;
148
- overflow : hidden;
149
144
border-width : 0px ;
150
145
}
151
- .pq-grid .pq-cont div .pq-cont-inner {
152
- position : relative;
146
+ .pq-grid span .pq-grid-header-left {
147
+ overflow : hidden;
148
+ }
149
+ .pq-grid div .pq-cont-inner {
153
150
left : 0px ;
154
151
top : 0px ;
155
152
cursor : default;
@@ -210,6 +207,7 @@ table.pq-grid-table{
210
207
table-layout : fixed;width : 0px ;
211
208
position : relative;
212
209
top : 0px ;
210
+ left : 0px ;
213
211
margin-top : -1px ;
214
212
}
215
213
table .pq-grid-header-table {
@@ -265,7 +263,9 @@ div.pq-grid tr{
265
263
td .pq-grid-cell {
266
264
overflow : hidden;
267
265
padding : 0px ;
268
- vertical-align : top;
266
+ padding : 4px 5px ;
267
+ vertical-align : middle;
268
+ word-wrap : break-word;
269
269
}
270
270
.pq-grid td .pq-cell-dirty
271
271
{
@@ -274,35 +274,49 @@ td.pq-grid-cell{
274
274
background-position : left top;
275
275
}
276
276
td div .pq-td-div {
277
- padding : 4px 5px ;
277
+ padding : 0px ;
278
+ }
279
+ table .pq-td-border-right > tbody > tr > td .pq-grid-cell {
280
+ border-right : 1px solid # d0d0d0 ;
281
+ }
282
+ table .pq-td-border-bottom > tbody > tr > td .pq-grid-cell {
283
+ border-bottom : 1px solid # ededed ;
278
284
}
279
- .pq-wrap-text {
285
+ table .pq-wrap > tbody > tr > td .pq-grid-cell ,
286
+ table .pq-wrap > tbody > tr > td .pq-grid-col
287
+ {
288
+ word-wrap : break-word;
289
+ white-space : normal;
290
+ }
291
+ table .pq-no-wrap > tbody > tr > td .pq-grid-cell ,
292
+ table .pq-no-wrap > tbody > tr > td .pq-grid-col
293
+ {
294
+ word-wrap : normal;
295
+ white-space : nowrap;
280
296
overflow : hidden;
281
- text-overflow : ellipsis;
282
- white-space : nowrap;
283
- }
284
- table .pq-grid-td-border-right td .pq-grid-cell {
285
- border-right : 1px solid # d0d0d0 ;
297
+ text-overflow : ellipsis;
286
298
}
287
- table .pq-grid-td-border-bottom td .pq-grid-cell {
288
- border-bottom : 1px solid # ededed ;
299
+ div .pq-editor-outer {
300
+ border : 2px solid # 666 ;
301
+ position : absolute;
302
+ left : 0 ;top : 0 ;
303
+ padding : 0px ;
304
+ z-index : 5 ;
305
+ display : table;
306
+ color : # 333 ;
289
307
}
290
- tr td .pq-grid-td-border-right div {
291
- }
292
- div .pq-editor-border {
293
- border : 2px solid # 666 ;position : absolute;padding : 0px ;
294
- z-index : 2 ;
308
+ div .pq-editor-inner {
309
+ display : table-cell;
310
+ vertical-align : middle;
311
+ width : 100% ;
295
312
}
296
- div .pq-editor-border-edit {
313
+ div .pq-editor-inner > div [contenteditable = 'true' ]{
314
+ overflow : auto;
297
315
background : # fff ;
298
- color : # 333 ;
299
- }
300
- div .pq-grid-editor-default {
301
- background : # fff ;padding : 2px ;
316
+ padding : 2px ;
302
317
}
303
- .pq-grid .pq-cell-editor {
304
- border : 1px solid # 999 ;
305
- padding : 2px 3px ;
318
+ div .pq-editor-inner > .pq-cell-editor {
319
+ padding : 2px 3px ;
306
320
}
307
321
div .pq-tooltip {
308
322
padding : 3px 10px ;
@@ -321,6 +335,7 @@ tr td.pq-grid-number-cell{
321
335
.pq-grid td .pq-grid-number-cell {
322
336
border-top : 0px ;
323
337
border-left : 0px ;
338
+ padding : 4px 5px ;
324
339
}
325
340
.pq-grid table .pq-grid-table td .pq-last-freeze-col {
326
341
border-right : 1px solid # 333 ;
@@ -331,7 +346,7 @@ tr td.pq-grid-number-cell{
331
346
border-right : 1px solid # 333 ;
332
347
top : 0px ;
333
348
}
334
- .pq-grid tr .pq-last-freeze-row > td {
349
+ table .pq-grid-table > tbody > tr .pq-last-freeze-row > td . pq-grid-cell {
335
350
border-bottom : 1px solid # 333 ;
336
351
}
337
352
.pq-grid tr .pq-detail-master > td {
@@ -390,8 +405,9 @@ div.pq-hvscroll-square{
390
405
width : 17px ;
391
406
border : 0px solid blue;
392
407
position : absolute;
393
- right : 0px ;
408
+ right : 0px ;
394
409
bottom : 0px ;
410
+ z-index : 1 ;
395
411
}
396
412
.pq-tree-icon-container {
397
413
position : relative;float : left;height : 16px ;
@@ -402,22 +418,19 @@ div.pq-hvscroll-square{
402
418
tr .pq-grid-row-hover td
403
419
{
404
420
}
405
- tr .pq-row-select {
421
+ div .pq-grid tr .pq-row-select {
422
+ border-width : 0px ;
406
423
}
407
- tr .pq-row-select td
424
+ tr .pq-row-select > td
408
425
{
409
426
}
410
427
div .pq-grid tr td .pq-grid-cell-hover
411
428
{
412
429
border-width : 0px ;
413
430
}
414
- tr td .pq-grid-number-cell
415
- {
416
- }
417
431
div .pq-grid tr td .pq-cell-select
418
432
{
419
- border-top-width : 0px ;
420
- border-left-width : 0px ;
433
+ border-width : 0px ;
421
434
}
422
435
span .ui-sortable-placeholder {
423
436
}
0 commit comments