jtable-rails4 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +3 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +44 -0
  7. data/Rakefile +2 -0
  8. data/bin/console +14 -0
  9. data/bin/setup +7 -0
  10. data/jtable-rails4.gemspec +29 -0
  11. data/lib/jtable/rails4/version.rb +5 -0
  12. data/lib/jtable/rails4.rb +8 -0
  13. data/vendor/assets/javascripts/jtable/jquery.jtable.js +5021 -0
  14. data/vendor/assets/stylesheets/jtable/themes/basic/close.png +0 -0
  15. data/vendor/assets/stylesheets/jtable/themes/basic/column-asc.png +0 -0
  16. data/vendor/assets/stylesheets/jtable/themes/basic/column-desc.png +0 -0
  17. data/vendor/assets/stylesheets/jtable/themes/basic/column-sortable.png +0 -0
  18. data/vendor/assets/stylesheets/jtable/themes/basic/delete.png +0 -0
  19. data/vendor/assets/stylesheets/jtable/themes/basic/edit.png +0 -0
  20. data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.css +282 -0
  21. data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.less +83 -0
  22. data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.min.css +1 -0
  23. data/vendor/assets/stylesheets/jtable/themes/jqueryui/add.png +0 -0
  24. data/vendor/assets/stylesheets/jtable/themes/jqueryui/bg-thead.png +0 -0
  25. data/vendor/assets/stylesheets/jtable/themes/jqueryui/close.png +0 -0
  26. data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-asc.png +0 -0
  27. data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-desc.png +0 -0
  28. data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-sortable.png +0 -0
  29. data/vendor/assets/stylesheets/jtable/themes/jqueryui/delete.png +0 -0
  30. data/vendor/assets/stylesheets/jtable/themes/jqueryui/edit.png +0 -0
  31. data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.css +398 -0
  32. data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.less +296 -0
  33. data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.min.css +1 -0
  34. data/vendor/assets/stylesheets/jtable/themes/jqueryui/loading.gif +0 -0
  35. data/vendor/assets/stylesheets/jtable/themes/jtable_theme_base.less +524 -0
  36. data/vendor/assets/stylesheets/jtable/themes/lightcolor/add.png +0 -0
  37. data/vendor/assets/stylesheets/jtable/themes/lightcolor/bg-thead.png +0 -0
  38. data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.css +521 -0
  39. data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.less +90 -0
  40. data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.min.css +1 -0
  41. data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/loading.gif +0 -0
  42. data/vendor/assets/stylesheets/jtable/themes/lightcolor/close.png +0 -0
  43. data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-asc.png +0 -0
  44. data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-desc.png +0 -0
  45. data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-sortable.png +0 -0
  46. data/vendor/assets/stylesheets/jtable/themes/lightcolor/delete.png +0 -0
  47. data/vendor/assets/stylesheets/jtable/themes/lightcolor/edit.png +0 -0
  48. data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.css +521 -0
  49. data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.less +90 -0
  50. data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.min.css +1 -0
  51. data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/loading.gif +0 -0
  52. data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.css +521 -0
  53. data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.less +90 -0
  54. data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.min.css +1 -0
  55. data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/loading.gif +0 -0
  56. data/vendor/assets/stylesheets/jtable/themes/lightcolor/jtable_lightcolor_base.less +329 -0
  57. data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.css +521 -0
  58. data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.less +90 -0
  59. data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.min.css +1 -0
  60. data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/loading.gif +0 -0
  61. data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.css +521 -0
  62. data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.less +90 -0
  63. data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.min.css +1 -0
  64. data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/loading.gif +0 -0
  65. data/vendor/assets/stylesheets/jtable/themes/metro/add.png +0 -0
  66. data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.css +495 -0
  67. data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.less +11 -0
  68. data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.min.css +1 -0
  69. data/vendor/assets/stylesheets/jtable/themes/metro/blue/loading.gif +0 -0
  70. data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.css +495 -0
  71. data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.less +11 -0
  72. data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.min.css +1 -0
  73. data/vendor/assets/stylesheets/jtable/themes/metro/brown/loading.gif +0 -0
  74. data/vendor/assets/stylesheets/jtable/themes/metro/close.png +0 -0
  75. data/vendor/assets/stylesheets/jtable/themes/metro/column-asc.png +0 -0
  76. data/vendor/assets/stylesheets/jtable/themes/metro/column-desc.png +0 -0
  77. data/vendor/assets/stylesheets/jtable/themes/metro/column-sortable.png +0 -0
  78. data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.css +495 -0
  79. data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.less +11 -0
  80. data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.min.css +1 -0
  81. data/vendor/assets/stylesheets/jtable/themes/metro/crimson/loading.gif +0 -0
  82. data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.css +495 -0
  83. data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.less +11 -0
  84. data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.min.css +1 -0
  85. data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/loading.gif +0 -0
  86. data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.css +495 -0
  87. data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.less +11 -0
  88. data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.min.css +1 -0
  89. data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/loading.gif +0 -0
  90. data/vendor/assets/stylesheets/jtable/themes/metro/delete.png +0 -0
  91. data/vendor/assets/stylesheets/jtable/themes/metro/edit.png +0 -0
  92. data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.css +495 -0
  93. data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.less +11 -0
  94. data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.min.css +1 -0
  95. data/vendor/assets/stylesheets/jtable/themes/metro/green/loading.gif +0 -0
  96. data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.css +48 -0
  97. data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.less +439 -0
  98. data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.min.css +1 -0
  99. data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.css +495 -0
  100. data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.less +11 -0
  101. data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.min.css +1 -0
  102. data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/loading.gif +0 -0
  103. data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.css +495 -0
  104. data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.less +11 -0
  105. data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.min.css +1 -0
  106. data/vendor/assets/stylesheets/jtable/themes/metro/pink/loading.gif +0 -0
  107. data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.css +495 -0
  108. data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.less +11 -0
  109. data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.min.css +1 -0
  110. data/vendor/assets/stylesheets/jtable/themes/metro/purple/loading.gif +0 -0
  111. data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.css +495 -0
  112. data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.less +11 -0
  113. data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.min.css +1 -0
  114. data/vendor/assets/stylesheets/jtable/themes/metro/red/loading.gif +0 -0
  115. metadata +226 -0
@@ -0,0 +1 @@
1
+ div.jtable-main-container{position:relative}div.jtable-main-container div.jtable-title{position:relative;text-align:left}div.jtable-main-container div.jtable-title .jtable-close-button{right:0;top:0;bottom:0;position:absolute}div.jtable-main-container div.jtable-title div.jtable-toolbar{bottom:0;right:0;position:absolute;display:inline-block;margin-right:5px}div.jtable-main-container div.jtable-title div.jtable-toolbar span.jtable-toolbar-item{position:relative;display:inline-block;margin:0 0 0 5px;cursor:pointer;font-size:.9em;padding:2px;vertical-align:bottom}div.jtable-main-container div.jtable-title div.jtable-toolbar span.jtable-toolbar-item span.jtable-toolbar-item-icon{display:inline-block;margin:2px;vertical-align:middle;width:16px;height:16px}div.jtable-main-container div.jtable-title div.jtable-toolbar span.jtable-toolbar-item span.jtable-toolbar-item-text{display:inline-block;margin:2px;vertical-align:middle}div.jtable-main-container div.jtable-title .jtable-close-button+div.jtable-toolbar{margin-right:30px}div.jtable-main-container table.jtable{width:100%}div.jtable-main-container table.jtable thead th{vertical-align:middle;text-align:left}div.jtable-main-container table.jtable thead th.jtable-column-header div.jtable-column-header-container{position:relative}div.jtable-main-container table.jtable thead th.jtable-column-header div.jtable-column-header-container span.jtable-column-header-text{display:inline-block}div.jtable-main-container table.jtable thead th.jtable-column-header div.jtable-column-header-container div.jtable-column-resize-handler{position:absolute;height:24px;width:8px;right:-8px;top:-2px;z-index:2;cursor:col-resize}div.jtable-main-container table.jtable thead th.jtable-command-column-header{text-align:center}div.jtable-main-container table.jtable thead th.jtable-column-header-selecting{text-align:center;width:1%}div.jtable-main-container table.jtable thead th.jtable-column-header-selecting input{cursor:pointer}div.jtable-main-container table.jtable thead th.jtable-column-header-sortable{cursor:pointer}div.jtable-main-container table.jtable tbody tr>td .jtable-command-button{margin:0;padding:0;cursor:pointer;border:none;display:inline}div.jtable-main-container table.jtable tbody tr>td .jtable-command-button span{display:none}div.jtable-main-container table.jtable tbody tr>td.jtable-command-column{text-align:center;vertical-align:middle}div.jtable-main-container table.jtable tbody tr>td.jtable-selecting-column{text-align:center;vertical-align:middle}div.jtable-main-container table.jtable tbody tr>td.jtable-selecting-column input{cursor:pointer}div.jtable-main-container table.jtable tbody tr.jtable-no-data-row{text-align:center}div.jtable-main-container>div.jtable-bottom-panel{position:relative;min-height:24px;text-align:left}div.jtable-main-container>div.jtable-bottom-panel div.jtable-right-area{right:0;top:0;bottom:0;position:absolute}div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list{display:inline-block}div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number,div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-space,div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-first,div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-last,div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-previous,div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-next,div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-active{padding:2px 5px;display:inline-block;cursor:pointer}div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-space,div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-active,div.jtable-main-container>div.jtable-bottom-panel .jtable-page-list .jtable-page-number-disabled{cursor:default}div.jtable-main-container>div.jtable-bottom-panel span.jtable-page-size-change{margin-left:5px}div.jtable-main-container>div.jtable-bottom-panel span.jtable-goto-page{margin-left:5px}div.jtable-main-container>div.jtable-bottom-panel span.jtable-goto-page input[type=text]{width:22px}div.jtable-main-container>div.jtable-bottom-panel span.jtable-page-info{vertical-align:middle}div.jtable-main-container div.jtable-column-resize-bar{opacity:.5;filter:alpha(opacity=50);position:absolute;display:none;width:1px;background-color:#000}div.jtable-main-container div.jtable-column-selection-container{position:absolute;display:none;border:1px solid #c8c8c8;background:#fff;color:#000;z-index:101;padding:5px}div.jtable-main-container div.jtable-column-selection-container ul.jtable-column-select-list{margin:0;padding:0;list-style:none}div.jtable-main-container div.jtable-column-selection-container ul.jtable-column-select-list li{margin:0;padding:2px 0}div.jtable-main-container div.jtable-column-selection-container ul.jtable-column-select-list li label span{position:relative;top:-1px;margin-left:4px}div.jtable-main-container div.jtable-column-selection-container ul.jtable-column-select-list li input[type="checkbox"]{cursor:pointer}form.jtable-dialog-form div.jtable-input-field-container{padding:2px 0 3px 0;border-bottom:1px solid #ddd}form.jtable-dialog-form div.jtable-input-field-container:last-child{border:none}form.jtable-dialog-form div.jtable-input-label{padding:2px 3px;font-size:1.1em;color:#666}form.jtable-dialog-form div.jtable-input{padding:2px}form.jtable-dialog-form div.jtable-date-input{}form.jtable-dialog-form div.jtable-text-input{}form.jtable-dialog-form span.jtable-option-text-clickable{position:relative;top:-2px}form.jtable-dialog-form div.jtable-textarea-input textarea{width:300px;min-height:60px}form.jtable-dialog-form div.jtable-checkbox-input span,form.jtable-dialog-form div.jtable-radio-input span{padding-left:4px}form.jtable-dialog-form div.jtable-radio-input input,form.jtable-dialog-form div.jtable-checkbox-input input,form.jtable-dialog-form span.jtable-option-text-clickable{cursor:pointer}div.jtable-busy-panel-background{opacity:.1;filter:alpha(opacity=50);z-index:998;position:absolute;background-color:#000}div.jtable-busy-panel-background.jtable-busy-panel-background-invisible{background-color:transparent}div.jtable-busy-message{cursor:wait;z-index:999;position:absolute;margin:5px}div.jtable-contextmenu-overlay{position:fixed;left:0;top:0;width:100%;height:100%;z-index:100}div.jtable-main-container div.jtable-title{position:relative;line-height:34px;padding-left:10px}div.jtable-main-container div.jtable-title .jtable-close-button{right:6px;top:6px;bottom:6px;position:absolute;opacity:.8;filter:alpha(opacity=50);background:url('close.png') no-repeat;width:22px;height:22px}div.jtable-main-container div.jtable-title .jtable-close-button:hover{opacity:1;filter:alpha(opacity=50)}div.jtable-main-container div.jtable-title div.jtable-toolbar{bottom:0;right:0;position:absolute;line-height:20px;margin-right:2px;margin-bottom:2px}div.jtable-main-container div.jtable-title div.jtable-toolbar span.jtable-toolbar-item.jtable-toolbar-item-add-record span.jtable-toolbar-item-icon{background-image:url('add.png')}div.jtable-main-container table.jtable{border-collapse:collapse;border-spacing:0}div.jtable-main-container table.jtable thead th{padding:4px 3px 4px 6px}div.jtable-main-container table.jtable thead th.jtable-column-header div.jtable-column-header-container{height:20px}div.jtable-main-container table.jtable thead th.jtable-column-header span.jtable-column-header-text{margin-top:3px}div.jtable-main-container table.jtable thead th.jtable-column-header-selecting{padding:5px}div.jtable-main-container table.jtable thead th.jtable-column-header-sortable div.jtable-column-header-container{background:url('column-sortable.png') no-repeat right}div.jtable-main-container table.jtable thead th.jtable-column-header-sorted-asc div.jtable-column-header-container{background:url('column-asc.png') no-repeat right}div.jtable-main-container table.jtable thead th.jtable-column-header-sorted-desc div.jtable-column-header-container{background:url('column-desc.png') no-repeat right}div.jtable-main-container table.jtable tbody>tr{padding:2px;height:30px}div.jtable-main-container table.jtable tbody>tr>td{padding:5px;border:1px solid #ddd}div.jtable-main-container table.jtable tbody>tr>td:first-child{border-left:none}div.jtable-main-container table.jtable tbody>tr>td .jtable-edit-command-button{background:url('edit.png') no-repeat;width:16px;height:16px}div.jtable-main-container table.jtable tbody>tr>td .jtable-delete-command-button{background:url('delete.png') no-repeat;width:16px;height:16px}div.jtable-main-container table.jtable tbody>tr.jtable-child-row>td{padding:2px 1px 2px 2px}div.jtable-main-container table.jtable tbody>tr.jtable-child-row>td div.jtable-toolbar{margin-right:33px}div.jtable-main-container table.jtable tbody>tr.jtable-child-row>td .jtable{border:none}div.jtable-main-container table.jtable tbody>tr.jtable-child-row>td .jtable-title,div.jtable-main-container table.jtable tbody>tr.jtable-child-row>td .jtable-bottom-panel{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:none}div.jtable-main-container div.jtable-bottom-panel{padding:1px;min-height:24px;line-height:16px;font-size:.9em}div.jtable-main-container div.jtable-bottom-panel div.jtable-right-area{padding:2px}div.jtable-main-container div.jtable-bottom-panel .jtable-page-list{margin:3px}div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number,div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-space,div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-first,div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-last,div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-previous,div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-next,div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-active{padding:2px 5px}div.jtable-main-container div.jtable-bottom-panel span.jtable-page-size-change{vertical-align:middle}div.jtable-main-container div.jtable-bottom-panel span.jtable-goto-page{vertical-align:middle}div.jtable-main-container div.jtable-bottom-panel .jtable-page-info{display:inline-block;padding:4px}div.jtable-main-container div.jtable-bottom-panel span.jtable-add-record{margin:3px}div.jtable-main-container div.jtable-bottom-panel span.jtable-add-record a{font-weight:bold;text-decoration:none}div.jtable-main-container div.jtable-bottom-panel span.jtable-add-record a:hover{text-decoration:underline}div.jtable-main-container div.jtable-column-selection-container{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:2px 2px 4px rgba(50,51,50,.75);-moz-box-shadow:2px 2px 4px rgba(50,51,50,.75);box-shadow:2px 2px 4px rgba(50,51,50,.75)}form.jtable-dialog-form div.jtable-input-label{font-weight:bold}div.jtable-busy-message{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:2px 2px 4px rgba(50,51,50,.75);-moz-box-shadow:2px 2px 4px rgba(50,51,50,.75);box-shadow:2px 2px 4px rgba(50,51,50,.75);padding:5px;color:none}
@@ -0,0 +1,524 @@
1
+ // Base styles for jTable.
2
+ // All themes must inherit from jtable_theme_base.
3
+ // Created by Halil İbrahim Kalkan
4
+ // http://www.jtable.org
5
+
6
+ // GENERAL MIXINGS ////////////////////////////////////////////////////////////
7
+
8
+ .centered()
9
+ {
10
+ text-align: center;
11
+ vertical-align: middle;
12
+ }
13
+
14
+ .clear-margin-padding()
15
+ {
16
+ margin: 0px;
17
+ padding: 0px;
18
+ }
19
+
20
+ .clear-list-styles()
21
+ {
22
+ .clear-margin-padding;
23
+ list-style: none;
24
+ }
25
+
26
+ .border-radius(@radius)
27
+ {
28
+ -webkit-border-radius: @radius;
29
+ -moz-border-radius: @radius;
30
+ border-radius: @radius;
31
+ }
32
+
33
+ .text-shadow(@shadow)
34
+ {
35
+ -webkit-text-shadow: @shadow;
36
+ text-shadow: @shadow;
37
+ }
38
+
39
+ .box-shadow(@shadow)
40
+ {
41
+ -webkit-box-shadow: @shadow;
42
+ -moz-box-shadow: @shadow;
43
+ box-shadow: @shadow;
44
+ }
45
+
46
+ .opacity(@value)
47
+ {
48
+ opacity: @value;
49
+ //for IE8 and earlier
50
+ @ieValue: @value * 100;
51
+ filter: alpha(opacity=@ieValue);
52
+ }
53
+
54
+ .vertical-gradient(@top_color, @bottom_color)
55
+ {
56
+ background: @top_color; // Old browsers
57
+ background: -moz-linear-gradient(top, @top_color 0%, @bottom_color 100%); // FF3.6+
58
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,@top_color), color-stop(100%,@bottom_color)); // Chrome,Safari4+
59
+ background: -webkit-linear-gradient(top, @top_color 0%,@bottom_color 100%); // Chrome10+,Safari5.1+
60
+ background: -o-linear-gradient(top, @top_color 0%,@bottom_color 100%); // Opera 11.10+
61
+ background: -ms-linear-gradient(top, @top_color 0%,@bottom_color 100%); // IE10+
62
+ background: linear-gradient(to bottom, @top_color 0%,@bottom_color 100%); // W3C
63
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{top_color}', endColorstr='@{bottom_color}',GradientType=0 ); // IE6-9
64
+ }
65
+
66
+ // Docking
67
+
68
+ @default-dock-margin: 0px;
69
+
70
+ .dock(top, @margin: @default-dock-margin)
71
+ {
72
+ left: @margin;
73
+ top: @margin;
74
+ right: @margin;
75
+ }
76
+
77
+ .dock(right, @margin: @default-dock-margin)
78
+ {
79
+ right: @margin;
80
+ top: @margin;
81
+ bottom: @margin;
82
+ }
83
+
84
+ .dock(bottom, @margin: @default-dock-margin)
85
+ {
86
+ left: @margin;
87
+ right: @margin;
88
+ bottom: @margin;
89
+ }
90
+
91
+ .dock(left, @margin: @default-dock-margin)
92
+ {
93
+ left: @margin;
94
+ top: @margin;
95
+ bottom: @margin;
96
+ }
97
+
98
+ .dock(top-left, @margin: @default-dock-margin)
99
+ {
100
+ left: @margin;
101
+ top: @margin;
102
+ }
103
+
104
+ .dock(top-right, @margin: @default-dock-margin)
105
+ {
106
+ top: @margin;
107
+ right: @margin;
108
+ }
109
+
110
+ .dock(bottom-right, @margin: @default-dock-margin)
111
+ {
112
+ bottom: @margin;
113
+ right: @margin;
114
+ }
115
+
116
+ .dock(bottom-left, @margin: @default-dock-margin)
117
+ {
118
+ bottom: @margin;
119
+ left: @margin;
120
+ }
121
+
122
+ .dock(@direction, @margin: @default-dock-margin)
123
+ {
124
+ position: absolute;
125
+ }
126
+
127
+ // JTABLE THEME BASE STYLES ///////////////////////////////////////////////////
128
+
129
+ .jtable_theme_base()
130
+ {
131
+ div.jtable-main-container
132
+ {
133
+ position: relative;
134
+
135
+ div.jtable-title
136
+ {
137
+ position: relative;
138
+ text-align: left;
139
+
140
+ .jtable-close-button
141
+ {
142
+ .dock(right);
143
+ }
144
+
145
+ // Toolbar -------------------------------------------------------------
146
+
147
+ div.jtable-toolbar
148
+ {
149
+ .dock(bottom-right);
150
+
151
+ display: inline-block;
152
+ margin-right: 5px;
153
+
154
+ span.jtable-toolbar-item
155
+ {
156
+ position: relative;
157
+ display: inline-block;
158
+ margin: 0px 0px 0px 5px;
159
+ cursor: pointer;
160
+ font-size: 0.9em;
161
+ padding: 2px;
162
+ vertical-align: bottom;
163
+
164
+ span.jtable-toolbar-item-icon
165
+ {
166
+ display: inline-block;
167
+ margin: 2px;
168
+ vertical-align: middle;
169
+ width: 16px;
170
+ height: 16px;
171
+ }
172
+
173
+ span.jtable-toolbar-item-text
174
+ {
175
+ display: inline-block;
176
+ margin: 2px;
177
+ vertical-align: middle;
178
+ }
179
+ }
180
+ }
181
+
182
+ .jtable-close-button+div.jtable-toolbar
183
+ {
184
+ margin-right: 30px;
185
+ }
186
+ }
187
+
188
+ table.jtable
189
+ {
190
+ width: 100%;
191
+
192
+ thead
193
+ {
194
+ th
195
+ {
196
+ vertical-align: middle;
197
+ text-align: left;
198
+
199
+ &.jtable-column-header
200
+ {
201
+ div.jtable-column-header-container
202
+ {
203
+ position: relative;
204
+
205
+ span.jtable-column-header-text
206
+ {
207
+ display: inline-block;
208
+ }
209
+
210
+ div.jtable-column-resize-handler
211
+ {
212
+ position: absolute;
213
+ height: 24px;
214
+ width: 8px;
215
+ right: -8px;
216
+ top: -2px;
217
+ z-index: 2;
218
+ cursor: col-resize;
219
+ }
220
+ }
221
+ }
222
+
223
+ &.jtable-command-column-header
224
+ {
225
+ text-align: center;
226
+ }
227
+
228
+ &.jtable-column-header-selecting
229
+ {
230
+ text-align: center;
231
+ width: 1%;
232
+
233
+ input
234
+ {
235
+ cursor: pointer;
236
+ }
237
+ }
238
+
239
+ &.jtable-column-header-sortable
240
+ {
241
+ cursor: pointer;
242
+ }
243
+ }
244
+ }
245
+
246
+ tbody
247
+ {
248
+ tr
249
+ {
250
+ > td
251
+ {
252
+ .jtable-command-button
253
+ {
254
+ .clear-margin-padding;
255
+ cursor: pointer;
256
+ border: none;
257
+ display: inline;
258
+
259
+ span
260
+ {
261
+ display: none;
262
+ }
263
+ }
264
+
265
+ &.jtable-command-column
266
+ {
267
+ .centered;
268
+ }
269
+
270
+ &.jtable-selecting-column
271
+ {
272
+ .centered;
273
+
274
+ input
275
+ {
276
+ cursor: pointer;
277
+ }
278
+ }
279
+ }
280
+
281
+ &.jtable-no-data-row
282
+ {
283
+ text-align: center;
284
+ }
285
+
286
+ &.jtable-row-created
287
+ {
288
+ }
289
+
290
+ &.jtable-row-updated
291
+ {
292
+ }
293
+
294
+ &.jtable-row-deleting
295
+ {
296
+ }
297
+ }
298
+ }
299
+ }
300
+
301
+ > div.jtable-bottom-panel
302
+ {
303
+ position: relative;
304
+ min-height: 24px;
305
+ text-align: left;
306
+
307
+ div.jtable-right-area
308
+ {
309
+ .dock(right);
310
+ }
311
+
312
+ .jtable-page-list
313
+ {
314
+ display: inline-block;
315
+
316
+ .jtable-page-number,
317
+ .jtable-page-number-space,
318
+ .jtable-page-number-first,
319
+ .jtable-page-number-last,
320
+ .jtable-page-number-previous,
321
+ .jtable-page-number-next,
322
+ .jtable-page-number-active
323
+ {
324
+ padding: 2px 5px;
325
+ display: inline-block;
326
+ cursor: pointer;
327
+ }
328
+
329
+ .jtable-page-number-space,
330
+ .jtable-page-number-active,
331
+ .jtable-page-number-disabled
332
+ {
333
+ cursor: default;
334
+ }
335
+ }
336
+
337
+ span.jtable-page-size-change
338
+ {
339
+ margin-left: 5px;
340
+ }
341
+
342
+ span.jtable-goto-page
343
+ {
344
+ margin-left: 5px;
345
+
346
+ input[type=text]
347
+ {
348
+ width:22px;
349
+ }
350
+ }
351
+
352
+ span.jtable-page-info
353
+ {
354
+ vertical-align: middle;
355
+ }
356
+ }
357
+
358
+ div.jtable-column-resize-bar
359
+ {
360
+ .opacity(0.5);
361
+ position: absolute;
362
+ display: none;
363
+ width: 1px;
364
+ background-color: #000;
365
+ }
366
+
367
+ div.jtable-column-selection-container
368
+ {
369
+ position: absolute;
370
+ display: none;
371
+ border: 1px solid #C8C8C8;
372
+ background: #fff;
373
+ color: #000;
374
+ z-index: 101;
375
+ padding: 5px;
376
+
377
+ ul.jtable-column-select-list
378
+ {
379
+ .clear-list-styles;
380
+
381
+ li
382
+ {
383
+ margin: 0px;
384
+ padding: 2px 0px;
385
+
386
+ label
387
+ {
388
+ span
389
+ {
390
+ position: relative;
391
+ top: -1px;
392
+ margin-left: 4px;
393
+ }
394
+ }
395
+
396
+ input[type="checkbox"]
397
+ {
398
+ cursor: pointer;
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
404
+
405
+ form.jtable-dialog-form
406
+ {
407
+ div.jtable-input-field-container
408
+ {
409
+ padding: 2px 0px 3px 0px;
410
+ border-bottom: 1px solid #ddd;
411
+
412
+ &:last-child
413
+ {
414
+ border: none;
415
+ }
416
+ }
417
+
418
+ div.jtable-input-label
419
+ {
420
+ padding: 2px 3px;
421
+ font-size: 1.1em;
422
+ color: #666;
423
+ }
424
+
425
+ div.jtable-input
426
+ {
427
+ padding: 2px;
428
+ }
429
+
430
+ div.jtable-date-input
431
+ {
432
+ /* No additional style */
433
+ }
434
+
435
+ div.jtable-text-input
436
+ {
437
+ /* No additional style */
438
+ }
439
+
440
+ span.jtable-option-text-clickable
441
+ {
442
+ position: relative;
443
+ top: -2px;
444
+ }
445
+
446
+ div.jtable-textarea-input textarea
447
+ {
448
+ width: 300px;
449
+ min-height: 60px;
450
+ }
451
+
452
+ div.jtable-password-input
453
+ {
454
+ }
455
+
456
+ div.jtable-dropdown-input
457
+ {
458
+ }
459
+
460
+ div.jtable-radiobuttonlist-input
461
+ {
462
+ }
463
+
464
+ div.jtable-checkbox-input span,
465
+ div.jtable-radio-input span
466
+ {
467
+ padding-left: 4px;
468
+ }
469
+
470
+ div.jtable-radio-input input,
471
+ div.jtable-checkbox-input input,
472
+ span.jtable-option-text-clickable
473
+ {
474
+ cursor: pointer;
475
+ }
476
+ }
477
+
478
+ form.jtable-create-form
479
+ {
480
+ }
481
+
482
+ form.jtable-edit-form
483
+ {
484
+ }
485
+
486
+ div.jtable-busy-panel-background
487
+ {
488
+ .opacity(0.1);
489
+ z-index: 998;
490
+ position: absolute;
491
+ background-color: #000;
492
+
493
+ &.jtable-busy-panel-background-invisible
494
+ {
495
+ background-color: transparent;
496
+ }
497
+ }
498
+
499
+ div.jtable-busy-message
500
+ {
501
+ cursor: wait;
502
+ z-index: 999;
503
+ position: absolute;
504
+ margin: 5px;
505
+ }
506
+
507
+ div.jtable-contextmenu-overlay
508
+ {
509
+ position: fixed;
510
+ left: 0px;
511
+ top: 0px;
512
+ width: 100%;
513
+ height: 100%;
514
+ z-index: 100;
515
+ }
516
+
517
+ .jtable-delete-confirm-message
518
+ {
519
+ }
520
+
521
+ .jtable-row-ready-to-remove
522
+ {
523
+ }
524
+ }