locomotive-aloha-rails 0.20.1.2 → 0.20.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/Rakefile +1 -1
  2. data/lib/aloha/rails/version.rb +2 -2
  3. data/vendor/assets/javascripts/aloha/css/aloha.css +3 -0
  4. data/vendor/assets/javascripts/aloha/css/ext-aloha.css +3 -0
  5. data/vendor/assets/javascripts/aloha/lib/aloha-bootstrap.js +4565 -3934
  6. data/vendor/assets/javascripts/aloha/lib/aloha.js +1357 -702
  7. data/vendor/assets/javascripts/aloha/lib/aloha/command.js +16 -13
  8. data/vendor/assets/javascripts/aloha/lib/aloha/core.js +23 -3
  9. data/vendor/assets/javascripts/aloha/lib/aloha/ecma5shims.js +23 -7
  10. data/vendor/assets/javascripts/aloha/lib/aloha/editable.js +57 -14
  11. data/vendor/assets/javascripts/aloha/lib/aloha/engine.js +9 -5
  12. data/vendor/assets/javascripts/aloha/lib/aloha/floatingmenu.js +288 -96
  13. data/vendor/assets/javascripts/aloha/lib/aloha/jquery.js +11 -1
  14. data/vendor/assets/javascripts/aloha/lib/aloha/markup.js +318 -40
  15. data/vendor/assets/javascripts/aloha/lib/aloha/repositorymanager.js +11 -10
  16. data/vendor/assets/javascripts/aloha/lib/aloha/selection.js +20 -1
  17. data/vendor/assets/javascripts/aloha/lib/aloha/sidebar.js +11 -1
  18. data/vendor/assets/javascripts/aloha/lib/jquery-plugin.js +10 -7
  19. data/vendor/assets/javascripts/aloha/lib/util/dom.js +18 -6
  20. data/vendor/assets/javascripts/aloha/lib/util/range.js +6 -6
  21. data/vendor/assets/javascripts/aloha/lib/vendor/ext-3.2.1/ext-all-debug.js +26 -2
  22. data/vendor/assets/javascripts/aloha/lib/vendor/jquery.store.js +39 -15
  23. data/vendor/assets/javascripts/aloha/plugins/common/abbr/lib/abbr-plugin.js +1 -0
  24. data/vendor/assets/javascripts/aloha/plugins/common/align/lib/align-plugin.js +344 -334
  25. data/vendor/assets/javascripts/aloha/plugins/common/block/css/block.css +65 -12
  26. data/vendor/assets/javascripts/aloha/plugins/common/block/lib/block-plugin.js +12 -15
  27. data/vendor/assets/javascripts/aloha/plugins/common/block/lib/block.js +796 -180
  28. data/vendor/assets/javascripts/aloha/plugins/common/block/lib/blockcontenthandler.js +54 -13
  29. data/vendor/assets/javascripts/aloha/plugins/common/block/lib/blockmanager.js +315 -78
  30. data/vendor/assets/javascripts/aloha/plugins/common/block/lib/editor.js +111 -8
  31. data/vendor/assets/javascripts/aloha/plugins/common/block/lib/editormanager.js +2 -0
  32. data/vendor/assets/javascripts/aloha/plugins/common/block/lib/jquery-ui-1.8.16.custom.min.js +198 -0
  33. data/vendor/assets/javascripts/aloha/plugins/common/block/lib/sidebarattributeeditor.js +7 -20
  34. data/vendor/assets/javascripts/aloha/plugins/common/characterpicker/lib/characterpicker-plugin.js +15 -3
  35. data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/sanitizecontenthandler.js +3 -2
  36. data/vendor/assets/javascripts/aloha/plugins/common/contenthandler/lib/wordcontenthandler.js +111 -5
  37. data/vendor/assets/javascripts/aloha/plugins/common/dom-to-xhtml/lib/dom-to-xhtml-plugin.js +29 -0
  38. data/vendor/assets/javascripts/aloha/plugins/common/dom-to-xhtml/lib/dom-to-xhtml.js +306 -0
  39. data/vendor/assets/javascripts/aloha/plugins/common/format/lib/format-plugin.js +59 -5
  40. data/vendor/assets/javascripts/aloha/plugins/common/format/nls/i18n.js +1 -1
  41. data/vendor/assets/javascripts/aloha/plugins/common/horizontalruler/lib/horizontalruler-plugin.js +18 -3
  42. data/vendor/assets/javascripts/aloha/plugins/common/image/img/crop-buttons.gif +0 -0
  43. data/vendor/assets/javascripts/aloha/plugins/common/image/lib/image-plugin.js +1629 -1601
  44. data/vendor/assets/javascripts/aloha/plugins/common/image/vendor/jcrop/jquery.jcrop.css +11 -0
  45. data/vendor/assets/javascripts/aloha/plugins/common/link/extra/linklist.js +8 -6
  46. data/vendor/assets/javascripts/aloha/plugins/common/link/lib/link-plugin.js +26 -10
  47. data/vendor/assets/javascripts/aloha/plugins/common/list/nls/de/i18n.js +5 -1
  48. data/vendor/assets/javascripts/aloha/plugins/common/paste/lib/paste-plugin.js +3 -4
  49. data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-cell.js +13 -12
  50. data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-plugin.js +108 -61
  51. data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table-selection.js +61 -1
  52. data/vendor/assets/javascripts/aloha/plugins/common/table/lib/table.js +1 -0
  53. data/vendor/assets/javascripts/aloha/plugins/common/table/nls/de/i18n.js +28 -1
  54. data/vendor/assets/javascripts/aloha/plugins/common/table/nls/i18n.js +36 -10
  55. data/vendor/assets/javascripts/aloha/plugins/extra/browser/css/browser.jqgrid.css +292 -292
  56. data/vendor/assets/javascripts/aloha/plugins/extra/browser/lib/browser.js +28 -5
  57. data/vendor/assets/javascripts/aloha/plugins/extra/browser/lib/locale.js +2 -2
  58. data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/grid.locale.de.js +6 -1
  59. data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/grid.locale.en.js +5 -0
  60. data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/jquery.jqGrid.js +5 -0
  61. data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/jquery.jstree.js +6 -1
  62. data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/jquery.ui.js +6 -1
  63. data/vendor/assets/javascripts/aloha/plugins/extra/browser/vendor/ui-layout.js +6 -1
  64. data/vendor/assets/javascripts/aloha/plugins/extra/cite/lib/cite-plugin.js +18 -4
  65. data/vendor/assets/javascripts/aloha/plugins/extra/formatlesspaste/lib/formatlesspaste-plugin.js +1 -1
  66. data/vendor/assets/javascripts/aloha/plugins/extra/linkbrowser/lib/linkbrowser-plugin.js +14 -2
  67. data/vendor/assets/javascripts/aloha/plugins/extra/numerated-headers/demo/js/aloha-config.js +2 -2
  68. data/vendor/assets/javascripts/aloha/plugins/extra/toc/lib/toc-plugin.js +382 -0
  69. data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/de/i18n.js +3 -0
  70. data/vendor/assets/javascripts/aloha/plugins/extra/toc/nls/i18n.js +4 -0
  71. metadata +15 -11
  72. data/vendor/assets/javascripts/aloha/plugins/extra/toc/i18n/de.json +0 -1
  73. data/vendor/assets/javascripts/aloha/plugins/extra/toc/i18n/en.json +0 -1
  74. data/vendor/assets/javascripts/aloha/plugins/extra/toc/src/toc.js +0 -350
@@ -127,7 +127,7 @@ function (Aloha, $, Utils, TableCell, i18n) {
127
127
  */
128
128
  TableSelection.prototype.notifyCellsSelected = function () {
129
129
  Aloha.trigger( 'aloha-table-selection-changed' );
130
-
130
+
131
131
  // the UI feels more consisten when we remove the non-table
132
132
  // selection when cells are selected
133
133
  // TODO this code doesn't work right in IE as it causes the table
@@ -342,6 +342,8 @@ function (Aloha, $, Utils, TableCell, i18n) {
342
342
  this.baseCellPosition = null;
343
343
  this.lastSelectionRange = null;
344
344
  this.selectionType = 'cell';
345
+
346
+ Aloha.trigger( 'aloha-table-selection-changed' );
345
347
  };
346
348
 
347
349
  /**
@@ -367,6 +369,64 @@ function (Aloha, $, Utils, TableCell, i18n) {
367
369
  this.baseCellPosition = null;
368
370
  this.lastSelectionRange = null;
369
371
  this.selectionType = 'cell';
372
+
373
+ Aloha.trigger( 'aloha-table-selection-changed' );
374
+ }
375
+ };
376
+
377
+ /**
378
+ * This method checks if the current selection of cells is merge able
379
+ *
380
+ * @return {boolean}
381
+ * true if more than one cell is selected.
382
+ */
383
+ TableSelection.prototype.cellsAreMergeable = function() {
384
+ var selectedCells = this.selectedCells;
385
+
386
+ if ( selectedCells.length < 2 ) {
387
+ return false;
388
+ }
389
+
390
+ var isSelected = function ( cellInfo ) {
391
+ return -1 != $.inArray( cellInfo.cell, selectedCells );
392
+ };
393
+
394
+ var grid = Utils.makeGrid( this.table.getRows() );
395
+ var contour = Utils.makeContour( grid, isSelected );
396
+
397
+ if ( ! isMergeable( grid, contour, isSelected ) ) {
398
+ return false;
399
+ } else {
400
+ return true;
401
+ }
402
+ };
403
+
404
+ /**
405
+ * This method checks if the current selection of cells is split able
406
+ *
407
+ * @return {boolean}
408
+ * true if more than one cell is selected.
409
+ */
410
+ TableSelection.prototype.cellsAreSplitable = function() {
411
+ var splitable = 0;
412
+ if ( this.selectedCells.length > 0 ) {
413
+ $(this.selectedCells).each(function(){
414
+ var cell = this;
415
+ var colspan = Utils.colspan( cell );
416
+ var rowspan = Utils.rowspan( cell );
417
+
418
+ if ( colspan > 1 || rowspan > 1 ) {
419
+ splitable++;
420
+ }
421
+ });
422
+
423
+ if ( splitable > 0 ) {
424
+ return true;
425
+ } else {
426
+ return false;
427
+ }
428
+ } else {
429
+ return false;
370
430
  }
371
431
  };
372
432
 
@@ -359,6 +359,7 @@ define( [
359
359
  // Disable resize and selection of the controls (only IE)
360
360
  // Events only can be set to elements which are loaded from the DOM (if they
361
361
  // were created dynamically before) ;)
362
+
362
363
  htmlTableWrapper = this.obj.parents( '.' + this.get( 'classTableWrapper' ) );
363
364
  htmlTableWrapper.get( 0 ).onresizestart = function ( e ) { return false; };
364
365
  htmlTableWrapper.get( 0 ).oncontrolselect = function ( e ) { return false; };
@@ -1 +1,28 @@
1
- define({"floatingmenu.tab.table":"Tabelle","floatingmenu.tab.tablelayout":"Tabellenlayout","deleterows.confirm":"Wollen Sie die ausgew\u00e4hlten Zeilen wirklich l\u00f6schen?","deletecolumns.confirm":"Wollen Sie die ausgew\u00e4hlten Spalten wirklich l\u00f6schen?","deletetable.confirm":"Wollen Sie wirklich die ganze Tabelle l\u00f6schen?","Table":"Tabelle","button.createtable.tooltip":"Tabelle einf\u00fcgen","button.addcolleft.tooltip":"Spalte links einf\u00fcgen","button.addcolright.tooltip":"Spalte rechts einf\u00fcgen","button.delcols.tooltip":"Spalten l\u00f6schen","button.addrowbefore.tooltip":"Zeile dar\u00fcber einf\u00fcgen","button.addrowafter.tooltip":"Zeile darunter einf\u00fcgen","button.delrows.tooltip":"Zeilen l\u00f6schen","button.caption.tooltip":"Tabellen Bezeichnung","empty.caption":"Tabellen Bezeichnung","button.removeFormat.tooltip":"Formatierung entfernen","button.removeFormat.text":"Formatierung entfernen","button.rowheader.tooltip":"Zeile als Tabellen&uuml;berschrift formatieren","button.columnheader.tooltip":"Spalte als Tabellen&uuml;berschrift formatieren"});
1
+ define({
2
+ "floatingmenu.tab.table": "Tabelle",
3
+ "floatingmenu.tab.tablelayout": "Tabellenlayout",
4
+ "deleterows.confirm": "Wollen Sie die ausgew\u00e4hlten Zeilen wirklich l\u00f6schen?",
5
+ "deletecolumns.confirm": "Wollen Sie die ausgew\u00e4hlten Spalten wirklich l\u00f6schen?",
6
+ "deletetable.confirm": "Wollen Sie wirklich die ganze Tabelle l\u00f6schen?",
7
+ "Table": "Tabelle",
8
+ "button.createtable.tooltip": "Tabelle einf\u00fcgen",
9
+ "button.addcolleft.tooltip": "Spalte links einf\u00fcgen",
10
+ "button.addcolright.tooltip": "Spalte rechts einf\u00fcgen",
11
+ "button.delcols.tooltip": "Spalten l\u00f6schen",
12
+ "button.addrowbefore.tooltip": "Zeile dar\u00fcber einf\u00fcgen",
13
+ "button.addrowafter.tooltip": "Zeile darunter einf\u00fcgen",
14
+ "button.delrows.tooltip": "Zeilen l\u00f6schen",
15
+ "button.caption.tooltip": "Tabellen Bezeichnung",
16
+ "empty.caption": "Tabellen Bezeichnung",
17
+ "button.removeFormat.tooltip": "Formatierung entfernen",
18
+ "button.removeFormat.text": "Formatierung entfernen",
19
+ "button.rowheader.tooltip": "Zeile als Tabellen\u00fcberschrift formatieren",
20
+ "button.columnheader.tooltip": "Spalte als Tabellen\u00fcberschrift formatieren",
21
+ "button.mergecells.tooltip": "Zellen verbinden",
22
+ "button.splitcells.tooltip": "Zelle teilen",
23
+ "table.label.target": "Zusammenfassung",
24
+ "table.sidebar.title": "Tabelle",
25
+ "table.mergeCells.notRectangular": "Nur eine rechteckige Auswahl kann zusammengefasst werden",
26
+ "table.addColumns.nonConsecutive": "Bitte nur einzelne oder fortlaufende Spalten ausw\u00e4hlen",
27
+ "table.createTable.nestedTablesNoSupported": "Verschachtelte Tabellen sind nicht unterst\u00fctzt"
28
+ });
@@ -1,11 +1,37 @@
1
1
  define({
2
- root: {"floatingmenu.tab.table":"Table","floatingmenu.tab.tablelayout":"Table Layout","deleterows.confirm":"Do you really want to delete the selected rows?","deletecolumns.confirm":"Do you really want to delete the selected columns?","deletetable.confirm":"Do you really want to delete the table?","Table":"Table","button.createtable.tooltip":"Insert Table","button.addcolleft.tooltip":"Add Column left","button.addcolright.tooltip":"Add Column right","button.delcols.tooltip":"Delete Columns","button.addrowbefore.tooltip":"Add Row before","button.addrowafter.tooltip":"Add Row after","button.delrows.tooltip":"Delete Rows","button.caption.tooltip":"Table caption","empty.caption":"Table caption","button.removeFormat.tooltip":"Remove formatting","button.removeFormat.text":"Remove formatting","button.rowheader.tooltip":"Format row as table header","button.columnheader.tooltip":"Format column as table header","button.mergecells.tooltip":"Merge Cells","button.splitcells.tooltip":"Split Cells","table.label.target":"Summary","table.sidebar.title":"Table","table.mergeCells.notRectangular":"Only a rectangular selection can be merged","table.addColumns.nonConsecutive":"Please select a single column or a consecutive range of columns",
3
- "table.createTable.nestedTablesNoSupported":"Sorry, nested tables are not supported"},
4
- "de":true,
5
- "eo":true,
6
- "fi":true,
7
- "fr":true,
8
- "it":true,
9
- "pl":true,
10
- "ru":true
11
- });
2
+ root: {
3
+ "floatingmenu.tab.table": "Table",
4
+ "floatingmenu.tab.tablelayout": "Table Layout",
5
+ "deleterows.confirm": "Do you really want to delete the selected rows?",
6
+ "deletecolumns.confirm": "Do you really want to delete the selected columns?",
7
+ "deletetable.confirm": "Do you really want to delete the table?",
8
+ "Table": "Table",
9
+ "button.createtable.tooltip": "Insert Table",
10
+ "button.addcolleft.tooltip": "Add Column left",
11
+ "button.addcolright.tooltip": "Add Column right",
12
+ "button.delcols.tooltip": "Delete Columns",
13
+ "button.addrowbefore.tooltip": "Add Row before",
14
+ "button.addrowafter.tooltip": "Add Row after",
15
+ "button.delrows.tooltip": "Delete Rows",
16
+ "button.caption.tooltip": "Table caption",
17
+ "empty.caption": "Table caption",
18
+ "button.removeFormat.tooltip": "Remove formatting",
19
+ "button.removeFormat.text": "Remove formatting",
20
+ "button.rowheader.tooltip": "Format row as table header",
21
+ "button.columnheader.tooltip": "Format column as table header",
22
+ "button.mergecells.tooltip": "Merge Cells",
23
+ "button.splitcells.tooltip": "Split Cells",
24
+ "table.label.target": "Summary",
25
+ "table.sidebar.title": "Table",
26
+ "table.mergeCells.notRectangular": "Only a rectangular selection can be merged",
27
+ "table.addColumns.nonConsecutive": "Please select a single column or a consecutive range of columns",
28
+ "table.createTable.nestedTablesNoSupported": "Sorry, nested tables are not supported"
29
+ },
30
+ "de": true,
31
+ "eo": true,
32
+ "fi": true,
33
+ "fr": true,
34
+ "it": true,
35
+ "pl": true,
36
+ "ru": true
37
+ });
@@ -1,373 +1,373 @@
1
1
  /* caption */
2
2
  .ui-jqgrid .ui-jqgrid-titlebar {
3
- /*
4
- border: 1px solid #33363b;
5
- border-left-color: #4c4f54;
6
- */
7
- position: relative;
8
-
9
- border-radius-topright: 6px;
10
- -moz-border-radius-topright: 6px;
11
- -webkit-border-top-right-radius: 6px;
12
-
13
- padding: 5px;
14
-
15
- background-color: #303539;
16
- background-image: -webkit-gradient(
17
- linear,
18
- center top,
19
- center bottom,
20
- color-stop(0.00, #6c6f74),
21
- color-stop(0.05, #4c4f54),
22
- color-stop(0.10, #3f4448),
23
- color-stop(0.45, #383d41),
24
- color-stop(0.50, #303539),
25
- color-stop(0.95, #33363b),
26
- color-stop(1.00, #4c4f54)
27
- );
28
- background-image: -moz-linear-gradient(
29
- center top,
30
- #6c6f74 0%,
31
- #4c4f54 5%,
32
- #3f4448 10%,
33
- #383d41 45%,
34
- #303539 50%,
35
- #33363b 95%,
36
- #4c4f54 100%
37
- );
38
- filter: progid:DXImageTransform.Microsoft.Gradient(
39
- startColorstr='#383d41',
40
- endColorstr='#303539',
41
- gradientType='0'
42
- );
43
-
44
- color: #ddd;
45
-
46
- text-shadow: 0 0 4px #23262b;
47
- font-weight: bold;
48
- font-size: 13px;
49
-
50
- white-space: nowrap;
3
+ /*
4
+ border: 1px solid #33363b;
5
+ border-left-color: #4c4f54;
6
+ */
7
+ position: relative;
8
+
9
+ border-radius-topright: 6px;
10
+ -moz-border-radius-topright: 6px;
11
+ -webkit-border-top-right-radius: 6px;
12
+
13
+ padding: 5px;
14
+
15
+ background-color: #303539;
16
+ background-image: -webkit-gradient(
17
+ linear,
18
+ center top,
19
+ center bottom,
20
+ color-stop(0.00, #6c6f74),
21
+ color-stop(0.05, #4c4f54),
22
+ color-stop(0.10, #3f4448),
23
+ color-stop(0.45, #383d41),
24
+ color-stop(0.50, #303539),
25
+ color-stop(0.95, #33363b),
26
+ color-stop(1.00, #4c4f54)
27
+ );
28
+ background-image: -moz-linear-gradient(
29
+ center top,
30
+ #6c6f74 0%,
31
+ #4c4f54 5%,
32
+ #3f4448 10%,
33
+ #383d41 45%,
34
+ #303539 50%,
35
+ #33363b 95%,
36
+ #4c4f54 100%
37
+ );
38
+ filter: progid:DXImageTransform.Microsoft.Gradient(
39
+ startColorstr='#383d41',
40
+ endColorstr='#303539',
41
+ gradientType='0'
42
+ );
43
+
44
+ color: #ddd;
45
+
46
+ text-shadow: 0 0 4px #23262b;
47
+ font-weight: bold;
48
+ font-size: 13px;
49
+
50
+ white-space: nowrap;
51
51
  }
52
52
  .ui-jqgrid .ui-jqgrid-title {
53
- float: none;
54
- display: block;
55
- padding: 2px;
53
+ float: none;
54
+ display: block;
55
+ padding: 2px;
56
56
  }
57
57
  .ui-jqgrid .ui-jqgrid-titlebar-close {display: none;}
58
58
  /* header */
59
59
  .ui-jqgrid .ui-jqgrid-hdiv {
60
- background: #303539;
60
+ background: #303539;
61
61
  }
62
62
  .ui-jqgrid .ui-jqgrid-htable {
63
- border: 0;
64
- background: #fff;
63
+ border: 0;
64
+ background: #fff;
65
65
  }
66
66
  .ui-jqgrid .ui-jqgrid-htable th {
67
- background-color: #303539;
68
- background-image: -webkit-gradient(
69
- linear,
70
- center top,
71
- center bottom,
72
- color-stop(0.00, #6c6f74),
73
- color-stop(0.05, #4c4f54),
74
- color-stop(0.10, #3f4448),
75
- color-stop(0.45, #383d41),
76
- color-stop(0.50, #303539),
77
- color-stop(0.95, #33363b),
78
- color-stop(1.00, #4c4f54)
79
- );
80
- background-image: -moz-linear-gradient(
81
- center top,
82
- #6c6f74 0%,
83
- #4c4f54 5%,
84
- #3f4448 10%,
85
- #383d41 45%,
86
- #303539 50%,
87
- #33363b 95%,
88
- #4c4f54 100%
89
- );
90
- filter: progid:DXImageTransform.Microsoft.Gradient(
91
- startColorstr='#383d41',
92
- endColorstr='#303539',
93
- gradientType='0'
94
- );
95
-
96
- color: #ddd;
97
- text-shadow: 0 0 4px #23262b;
98
- font-weight: bold;
99
- font-size: 13px;
67
+ background-color: #303539;
68
+ background-image: -webkit-gradient(
69
+ linear,
70
+ center top,
71
+ center bottom,
72
+ color-stop(0.00, #6c6f74),
73
+ color-stop(0.05, #4c4f54),
74
+ color-stop(0.10, #3f4448),
75
+ color-stop(0.45, #383d41),
76
+ color-stop(0.50, #303539),
77
+ color-stop(0.95, #33363b),
78
+ color-stop(1.00, #4c4f54)
79
+ );
80
+ background-image: -moz-linear-gradient(
81
+ center top,
82
+ #6c6f74 0%,
83
+ #4c4f54 5%,
84
+ #3f4448 10%,
85
+ #383d41 45%,
86
+ #303539 50%,
87
+ #33363b 95%,
88
+ #4c4f54 100%
89
+ );
90
+ filter: progid:DXImageTransform.Microsoft.Gradient(
91
+ startColorstr='#383d41',
92
+ endColorstr='#303539',
93
+ gradientType='0'
94
+ );
95
+
96
+ color: #ddd;
97
+ text-shadow: 0 0 4px #23262b;
98
+ font-weight: bold;
99
+ font-size: 13px;
100
100
  }
101
101
  /* Trio in D major (after Symphony No. 2): I. Adagio - Allegro con brio */
102
102
  .ui-jqgrid .ui-jqgrid-htable th:hover {
103
- background-color: #3f4448;
104
- background-image: -webkit-gradient(
105
- linear,
106
- center top,
107
- center bottom,
108
- color-stop(0.00, #6c6f74),
109
- color-stop(0.05, #4c4f54),
110
- color-stop(0.45, #3f4448),
111
- color-stop(0.50, #383d41),
112
- color-stop(1.00, #3f4448)
113
- );
114
- background-image: -moz-linear-gradient(
115
- center top,
116
- #6c6f74 0%,
117
- #4c4f54 5%,
118
- #3f4448 45%,
119
- #383d41 50%,
120
- #3f4448 100%
121
- );
122
- filter: progid:DXImageTransform.Microsoft.Gradient(
123
- startColorstr='#4c4f54',
124
- endColorstr='#3f4448',
125
- gradientType='0'
126
- );
127
- color: #fff;
128
- text-shadow: 0 0 2px gba(0, 0, 0, .5);
103
+ background-color: #3f4448;
104
+ background-image: -webkit-gradient(
105
+ linear,
106
+ center top,
107
+ center bottom,
108
+ color-stop(0.00, #6c6f74),
109
+ color-stop(0.05, #4c4f54),
110
+ color-stop(0.45, #3f4448),
111
+ color-stop(0.50, #383d41),
112
+ color-stop(1.00, #3f4448)
113
+ );
114
+ background-image: -moz-linear-gradient(
115
+ center top,
116
+ #6c6f74 0%,
117
+ #4c4f54 5%,
118
+ #3f4448 45%,
119
+ #383d41 50%,
120
+ #3f4448 100%
121
+ );
122
+ filter: progid:DXImageTransform.Microsoft.Gradient(
123
+ startColorstr='#4c4f54',
124
+ endColorstr='#3f4448',
125
+ gradientType='0'
126
+ );
127
+ color: #fff;
128
+ text-shadow: 0 0 2px gba(0, 0, 0, .5);
129
129
  }
130
130
  .ui-jqgrid .ui-jqgrid-htable th:hover .ui-grid-ico-sort {
131
- opacity: 1;
132
- filter: alpha(opacity=100);
131
+ opacity: 1;
132
+ filter: alpha(opacity=100);
133
133
  }
134
134
  .ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {
135
- border: 1px solid #33363b;
136
- border-right: 1px solid #3f4448;
135
+ border: 1px solid #33363b;
136
+ border-right: 1px solid #3f4448;
137
137
  }
138
138
  .ui-jqgrid-resize {
139
- background: #fff;
140
- opacity: 0.10;
141
- filter: alpha(opacity=10);
142
- text-indent: 0;
139
+ background: #fff;
140
+ opacity: 0.10;
141
+ filter: alpha(opacity=10);
142
+ text-indent: 0;
143
143
  }
144
144
  .ui-jqgrid-resize:hover {
145
- opacity: 0.5;
146
- filter: alpha(opacity=50);
145
+ opacity: 0.5;
146
+ filter: alpha(opacity=50);
147
147
  }
148
148
  .ui-jqgrid .s-ico {
149
- display: inline-block;
149
+ display: inline-block;
150
150
  }
151
151
  .ui-jqgrid .ui-grid-ico-sort {
152
- display: inline-block;
153
- height: 16px;
154
- width: 16px;
155
- padding: 0px;
156
- margin: -12px 0 0 10px;
157
- opacity: 0.7;
158
- filter: alpha(opacity=70);
152
+ display: inline-block;
153
+ height: 16px;
154
+ width: 16px;
155
+ padding: 0px;
156
+ margin: -12px 0 0 10px;
157
+ opacity: 0.7;
158
+ filter: alpha(opacity=70);
159
159
  }
160
160
  .ui-jqgrid .ui-icon-asc {
161
- background: url(../img/sort-alphabet.png) no-repeat center center;
161
+ background: url(../img/sort-alphabet.png) no-repeat center center;
162
162
  }
163
163
  .ui-jqgrid .ui-icon-desc {
164
- background: url(../img/sort-alphabet-descending.png) no-repeat center center;
164
+ background: url(../img/sort-alphabet-descending.png) no-repeat center center;
165
165
  }
166
166
  .ui-jqgrid .ui-grid-ico-sort.ui-state-disabled {
167
- display: none;
167
+ display: none;
168
168
  }
169
169
  .ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column {
170
- text-align: left;
171
- text-indent: 10px;
170
+ text-align: left;
171
+ text-indent: 10px;
172
172
  }
173
173
  /* body */
174
174
  .ui-jqgrid .ui-jqgrid-btable {
175
- border: 0;
175
+ border: 0;
176
176
  }
177
177
  .ui-jqgrid .ui-jqgrid-bdiv {
178
- background-color: #fff;
179
- background-image: -webkit-radial-gradient(
180
- #fff 50%,
181
- rgba(200, 200, 200, 0.5) 90%,
182
- rgba(200, 200, 200, 0.6) 100%
183
- );
184
- background-image: -moz-radial-gradient(
185
- #fff 50%,
186
- rgba(200, 200, 200, 0.5) 90%,
187
- rgba(200, 200, 200, 0.6) 100%
188
- );
178
+ background-color: #fff;
179
+ background-image: -webkit-radial-gradient(
180
+ #fff 50%,
181
+ rgba(200, 200, 200, 0.5) 90%,
182
+ rgba(200, 200, 200, 0.6) 100%
183
+ );
184
+ background-image: -moz-radial-gradient(
185
+ #fff 50%,
186
+ rgba(200, 200, 200, 0.5) 90%,
187
+ rgba(200, 200, 200, 0.6) 100%
188
+ );f
189
189
  }
190
190
  .ui-jqgrid tr.jqgfirstrow td {
191
- border: 0;
191
+ border: 0;
192
192
  }
193
193
  .ui-jqgrid tr.jqgrow td{
194
- border: 1px solid #ddd;
195
- border-left: 0;
196
- border-right: 0;
197
- padding: 2px 2px 2px 10px;
198
- color: #333;
199
- font-size: 12px;
200
- cursor: default;
194
+ border: 1px solid #ddd;
195
+ border-left: 0;
196
+ border-right: 0;
197
+ padding: 2px 2px 2px 10px;
198
+ color: #333;
199
+ font-size: 12px;
200
+ cursor: default;
201
201
  }
202
202
  .ui-jqgrid tr.jqgrow:hover td {
203
- border-color: #355ea0;
204
- background-color: #508ac9;
205
- background-image: -webkit-gradient(
206
- linear,
207
- center top,
208
- center bottom,
209
- color-stop(0.00, #81add2),
210
- color-stop(0.10, #5693cc),
211
- color-stop(0.45, #5b9acf),
212
- color-stop(0.60, #508ac9),
213
- color-stop(1.00, #456eb0)
214
- );
215
- background-image: -moz-linear-gradient(
216
- center top,
217
- #81add2 0%,
218
- #5693cc 10%,
219
- #5b9acf 45%,
220
- #508ac9 60%,
221
- #456eb0 100%
222
- );
223
- filter: progid:DXImageTransform.Microsoft.Gradient(
224
- startColorstr='#81add2',
225
- endColorstr='#456eb0',
226
- gradientType='0'
227
- );
228
-
229
- color: #fff;
203
+ border-color: #355ea0;
204
+ background-color: #508ac9;
205
+ background-image: -webkit-gradient(
206
+ linear,
207
+ center top,
208
+ center bottom,
209
+ color-stop(0.00, #81add2),
210
+ color-stop(0.10, #5693cc),
211
+ color-stop(0.45, #5b9acf),
212
+ color-stop(0.60, #508ac9),
213
+ color-stop(1.00, #456eb0)
214
+ );
215
+ background-image: -moz-linear-gradient(
216
+ center top,
217
+ #81add2 0%,
218
+ #5693cc 10%,
219
+ #5b9acf 45%,
220
+ #508ac9 60%,
221
+ #456eb0 100%
222
+ );
223
+ filter: progid:DXImageTransform.Microsoft.Gradient(
224
+ startColorstr='#81add2',
225
+ endColorstr='#456eb0',
226
+ gradientType='0'
227
+ );
228
+
229
+ color: #fff;
230
230
  }
231
231
  .ui-jqgrid tr.ui-row-ltr td {
232
- border-width: 1px;
232
+ border-width: 1px;
233
233
  }
234
234
  /* footer */
235
235
  /* Pager */
236
236
  .ui-jqgrid .ui-pg-table {
237
- border: 0;
237
+ border: 0;
238
238
  }
239
239
  .ui-jqgrid .ui-pg-table td {
240
- padding: 5px;
241
- border: 0;
242
- color: #ddd;
240
+ padding: 5px;
241
+ border: 0;
242
+ color: #ddd;
243
243
  }
244
244
  .ui-jqgrid .ui-jqgrid-pager {
245
- height: auto;
246
-
247
- border: 0;
248
- border-top: 1px solid #33363b;
249
- background-color: #303539;
250
- background-image: -webkit-gradient(
251
- linear,
252
- center top,
253
- center bottom,
254
- color-stop(0.00, #6c6f74),
255
- color-stop(0.05, #4c4f54),
256
- color-stop(0.10, #3f4448),
257
- color-stop(0.45, #383d41),
258
- color-stop(0.50, #303539),
259
- color-stop(0.95, #33363b),
260
- color-stop(1.00, #4c4f54)
261
- );
262
- background-image: -moz-linear-gradient(
263
- center top,
264
- #6c6f74 0%,
265
- #4c4f54 5%,
266
- #3f4448 10%,
267
- #383d41 45%,
268
- #303539 50%,
269
- #33363b 95%,
270
- #4c4f54 100%
271
- );
272
- filter: progid:DXImageTransform.Microsoft.Gradient(
273
- startColorstr='#383d41',
274
- endColorstr='#303539',
275
- gradientType='0'
276
- );
277
-
278
- color: #ddd;
279
- text-shadow: 0 0 4px #23262b;
280
- font-weight: bold;
281
- font-size: 13px;
245
+ height: auto;
246
+
247
+ border: 0;
248
+ border-top: 1px solid #33363b;
249
+ background-color: #303539;
250
+ background-image: -webkit-gradient(
251
+ linear,
252
+ center top,
253
+ center bottom,
254
+ color-stop(0.00, #6c6f74),
255
+ color-stop(0.05, #4c4f54),
256
+ color-stop(0.10, #3f4448),
257
+ color-stop(0.45, #383d41),
258
+ color-stop(0.50, #303539),
259
+ color-stop(0.95, #33363b),
260
+ color-stop(1.00, #4c4f54)
261
+ );
262
+ background-image: -moz-linear-gradient(
263
+ center top,
264
+ #6c6f74 0%,
265
+ #4c4f54 5%,
266
+ #3f4448 10%,
267
+ #383d41 45%,
268
+ #303539 50%,
269
+ #33363b 95%,
270
+ #4c4f54 100%
271
+ );
272
+ filter: progid:DXImageTransform.Microsoft.Gradient(
273
+ startColorstr='#383d41',
274
+ endColorstr='#303539',
275
+ gradientType='0'
276
+ );
277
+
278
+ color: #ddd;
279
+ text-shadow: 0 0 4px #23262b;
280
+ font-weight: bold;
281
+ font-size: 13px;
282
282
  }
283
283
  .ui-jqgrid .ui-pg-button {
284
- width: 16px;
285
- height: 16px;
286
- opacity: 0.6;
287
- filter: alpha(opacity=60);
284
+ width: 16px;
285
+ height: 16px;
286
+ opacity: 0.6;
287
+ filter: alpha(opacity=60);
288
288
  }
289
289
  .ui-jqgrid .ui-pg-button:hover {
290
- padding: 5px;
291
- opacity: 1;
292
- filter: alpha(opacity=100);
290
+ padding: 5px;
291
+ opacity: 1;
292
+ filter: alpha(opacity=100);
293
293
  }
294
294
  .ui-jqgrid .ui-pg-button.ui-state-disabled {
295
- opacity: 0.10;
296
- filter: alpha(opacity=10);
297
- cursor: default;
295
+ opacity: 0.10;
296
+ filter: alpha(opacity=10);
297
+ cursor: default;
298
298
  }
299
299
  .ui-jqgrid .ui-pg-button .ui-icon {
300
- display: inline-block;
301
- background-position: center center;
302
- background-repeat: no-repeat;
303
- width: 16px;
304
- height: 16px;
300
+ display: inline-block;
301
+ background-position: center center;
302
+ background-repeat: no-repeat;
303
+ width: 16px;
304
+ height: 16px;
305
305
  }
306
306
  .ui-jqgrid .ui-pg-button .ui-icon-seek-next {
307
- background-image: url(../img/arrow.png);
307
+ background-image: url(../img/arrow.png);
308
308
  }
309
309
  .ui-jqgrid .ui-pg-button .ui-icon-seek-end {
310
- background-image: url(../img/arrow-stop.png);
310
+ background-image: url(../img/arrow-stop.png);
311
311
  }
312
312
  .ui-jqgrid .ui-pg-button .ui-icon-seek-prev {
313
- background-image: url(../img/arrow-180.png);
313
+ background-image: url(../img/arrow-180.png);
314
314
  }
315
315
  .ui-jqgrid .ui-pg-button .ui-icon-seek-first {
316
- background-image: url(../img/arrow-stop-180.png);
316
+ background-image: url(../img/arrow-stop-180.png);
317
317
  }
318
318
  .ui-jqgrid .ui-pg-input {
319
- width: 20px;
320
- height: 20px;
321
- font-size: 11px;
322
- margin: 0;
323
- background-color: #fff;
324
- background-image: -webkit-gradient(
325
- linear,
326
- left top,
327
- left bottom,
328
- color-stop(0.00, #bbb),
329
- color-stop(0.10, #ddd),
330
- color-stop(0.30, #eee),
331
- color-stop(1.00, #fff)
332
- );
333
- background-image: -moz-linear-gradient(
334
- center top,
335
- #ccc 0%,
336
- #ddd 10%,
337
- #eee 30%,
338
- #fff 100%
339
- );
340
- filter: progid:DXImageTransform.Microsoft.Gradient(
341
- startColorstr='#dddddd',
342
- endColorstr='#ffffff',
343
- gradientType='0'
344
- );
345
-
346
- border-width: 0;
347
- border-radius: 4px;
348
- -moz-border-radius: 4px;
349
- -webkit-border-radius: 4px;
350
-
351
- color: #777;
352
- text-align: center;
319
+ width: 20px;
320
+ height: 20px;
321
+ font-size: 11px;
322
+ margin: 0;
323
+ background-color: #fff;
324
+ background-image: -webkit-gradient(
325
+ linear,
326
+ left top,
327
+ left bottom,
328
+ color-stop(0.00, #bbb),
329
+ color-stop(0.10, #ddd),
330
+ color-stop(0.30, #eee),
331
+ color-stop(1.00, #fff)
332
+ );
333
+ background-image: -moz-linear-gradient(
334
+ center top,
335
+ #ccc 0%,
336
+ #ddd 10%,
337
+ #eee 30%,
338
+ #fff 100%
339
+ );
340
+ filter: progid:DXImageTransform.Microsoft.Gradient(
341
+ startColorstr='#dddddd',
342
+ endColorstr='#ffffff',
343
+ gradientType='0'
344
+ );
345
+
346
+ border-width: 0;
347
+ border-radius: 4px;
348
+ -moz-border-radius: 4px;
349
+ -webkit-border-radius: 4px;
350
+
351
+ color: #777;
352
+ text-align: center;
353
353
  }
354
354
  /* subgrid */
355
355
  /* loading */
356
356
  .ui-jqgrid .loading {
357
- position: absolute;
358
- top: 45%;
359
- left: 45%;
360
- width: auto;
361
- z-index:101;
362
- padding: 6px 6px 6px 20px;
363
- margin: 5px;
364
- text-align: center;
365
- display: none;
366
- border-width: 2px !important;
367
- font-weight: normal;
368
- color: #777;
369
-
370
- background: url(../css/throbber.gif) no-repeat left center;
357
+ position: absolute;
358
+ top: 45%;
359
+ left: 45%;
360
+ width: auto;
361
+ z-index:101;
362
+ padding: 6px 6px 6px 20px;
363
+ margin: 5px;
364
+ text-align: center;
365
+ display: none;
366
+ border-width: 2px !important;
367
+ font-weight: normal;
368
+ color: #777;
369
+
370
+ background: url(../css/throbber.gif) no-repeat left center;
371
371
  }
372
372
  .ui-jqgrid .jqgrid-overlay {display:none; z-index:100;}
373
373
  /* Tree Grid */