forgeos_core 1.9.1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. data/COPYING +339 -0
  2. data/COPYING.LESSER +165 -0
  3. data/app/assets/images/forgeos/dataTables/Sorting icons.psd +0 -0
  4. data/app/assets/images/forgeos/dataTables/back_disabled.jpg +0 -0
  5. data/app/assets/images/forgeos/dataTables/back_enabled.jpg +0 -0
  6. data/app/assets/images/forgeos/dataTables/favicon.ico +0 -0
  7. data/app/assets/images/forgeos/dataTables/forward_disabled.jpg +0 -0
  8. data/app/assets/images/forgeos/dataTables/forward_enabled.jpg +0 -0
  9. data/app/assets/images/forgeos/dataTables/sort_asc.png +0 -0
  10. data/app/assets/images/forgeos/dataTables/sort_asc_disabled.png +0 -0
  11. data/app/assets/images/forgeos/dataTables/sort_both.png +0 -0
  12. data/app/assets/images/forgeos/dataTables/sort_desc.png +0 -0
  13. data/app/assets/images/forgeos/dataTables/sort_desc_disabled.png +0 -0
  14. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/bubble-quantity-products.png +0 -0
  15. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/check-checked.png +0 -0
  16. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/check-unchecked.png +0 -0
  17. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/context.gif +0 -0
  18. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/create.png +0 -0
  19. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dark-blue-minus.png +0 -0
  20. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dark-blue-plus.png +0 -0
  21. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/dot.gif +0 -0
  22. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/f.png +0 -0
  23. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fminus.gif +0 -0
  24. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fminus_rtl.gif +0 -0
  25. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/folder.png +0 -0
  26. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fplus.gif +0 -0
  27. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/fplus_rtl.gif +0 -0
  28. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/lastli.gif +0 -0
  29. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/lastli_rtl.gif +0 -0
  30. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/li.gif +0 -0
  31. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/remove.png +0 -0
  32. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/rename.png +0 -0
  33. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/association_categories/throbber.gif +0 -0
  34. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/brown-minus.png +0 -0
  35. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/brown-plus.png +0 -0
  36. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/bubble-quantity-elements.png +0 -0
  37. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/context.gif +0 -0
  38. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/create.png +0 -0
  39. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/dot.gif +0 -0
  40. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/f.png +0 -0
  41. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fminus.gif +0 -0
  42. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fminus_rtl.gif +0 -0
  43. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fplus.gif +0 -0
  44. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/fplus_rtl.gif +0 -0
  45. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/images.png +0 -0
  46. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/lastli.gif +0 -0
  47. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/lastli_rtl.gif +0 -0
  48. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/li.gif +0 -0
  49. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/remove.png +0 -0
  50. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/rename.png +0 -0
  51. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/categories/throbber.gif +0 -0
  52. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/marker.gif +0 -0
  53. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/marker_rtl.gif +0 -0
  54. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/plus.gif +0 -0
  55. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/remove.gif +0 -0
  56. data/app/assets/{stylesheets → images}/forgeos/jstree/themes/remove.png +0 -0
  57. data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/commons.js +8 -3
  58. data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/dataTable.js +2 -2
  59. data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/tinyMCE.js +1 -1
  60. data/app/assets/javascripts/forgeos/admin/functions/forgeos_core/trees.js +202 -257
  61. data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/left-sidebar.js +16 -23
  62. data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/settings.js +5 -5
  63. data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/tabs.js +3 -3
  64. data/app/assets/javascripts/forgeos/admin/inits/forgeos_core/trees.js +2 -45
  65. data/app/assets/javascripts/forgeos/jquery.dataTables.min.js +138 -529
  66. data/app/assets/javascripts/forgeos/jstree/jquery.jstree.js +4544 -0
  67. data/app/assets/stylesheets/forgeos/admin/forgeos_core/_lightbox.css.sass +2 -21
  68. data/app/assets/stylesheets/forgeos/admin/forgeos_core/_settings.css.sass +77 -39
  69. data/app/assets/stylesheets/forgeos/dataTables/demo_table.css +150 -27
  70. data/app/assets/stylesheets/forgeos/jstree/themes/association_categories/style.css.sass +36 -154
  71. data/app/assets/stylesheets/forgeos/jstree/themes/categories/style.css.sass +59 -58
  72. data/app/controllers/admin/accounts_controller.rb +1 -1
  73. data/app/controllers/admin/administrators_controller.rb +13 -4
  74. data/app/controllers/admin/attachments_controller.rb +7 -3
  75. data/app/controllers/admin/base_controller.rbc +1305 -0
  76. data/app/controllers/admin/categories_controller.rb +1 -1
  77. data/app/controllers/admin/dashboard_controller.rbc +361 -0
  78. data/app/controllers/admin/person_sessions_controller.rbc +1248 -0
  79. data/app/controllers/admin/rights_controller.rb +6 -6
  80. data/app/controllers/admin/roles_controller.rb +8 -3
  81. data/app/controllers/admin/users_controller.rb +12 -6
  82. data/app/controllers/forgeos/application_controller.rb +1 -2
  83. data/app/controllers/forgeos/application_controller.rbc +2027 -0
  84. data/app/helpers/admin/attachment_helper.rbc +2340 -0
  85. data/app/helpers/admin/base_helper.rb +0 -15
  86. data/app/helpers/admin/base_helper.rbc +2522 -0
  87. data/app/helpers/forgeos/application_helper.rbc +3152 -0
  88. data/app/models/administrator.rbc +415 -0
  89. data/app/models/category.rb +3 -3
  90. data/app/models/person.rb +5 -9
  91. data/app/models/person.rbc +1498 -0
  92. data/app/models/person_session.rbc +142 -0
  93. data/app/models/right.rbc +432 -0
  94. data/app/models/role.rbc +469 -0
  95. data/app/models/setting.rbc +699 -0
  96. data/app/views/admin/accounts/_form.html.haml +1 -1
  97. data/app/views/admin/administrators/activate.js.erb +1 -0
  98. data/app/views/admin/administrators/destroy.js.erb +1 -0
  99. data/app/views/admin/administrators/index.json.erb +10 -12
  100. data/app/views/admin/attachments/_form.html.haml +2 -2
  101. data/app/views/admin/attachments/destroy.js.erb +1 -0
  102. data/app/views/admin/attachments/index.json.erb +4 -5
  103. data/app/views/admin/categories/_associated_elements.html.haml +4 -8
  104. data/app/views/admin/categories/index.json.erb +1 -1
  105. data/app/views/admin/rights/destroy.js.erb +1 -0
  106. data/app/views/admin/rights/index.json.erb +5 -6
  107. data/app/views/admin/roles/activate.js.erb +1 -0
  108. data/app/views/admin/roles/destroy.js.erb +1 -0
  109. data/app/views/admin/roles/index.json.erb +10 -12
  110. data/app/views/admin/settings/_tabs.html.haml +0 -6
  111. data/app/views/admin/settings/edit.html.haml +19 -16
  112. data/app/views/admin/sidebars/_attachments_popups.html.haml +1 -1
  113. data/app/views/admin/sidebars/_left_sidebar.html.haml +2 -2
  114. data/app/views/admin/users/activate.js.erb +1 -0
  115. data/app/views/admin/users/destroy.js.erb +1 -0
  116. data/app/views/admin/users/index.json.erb +8 -11
  117. data/app/views/admin/visual/_visual_popup.html.haml +2 -2
  118. data/app/views/admin/visual/_visuals_popup.html.haml +1 -1
  119. data/app/views/layouts/admin.html.haml +5 -4
  120. data/app/views/layouts/admin_login.html.haml +3 -3
  121. data/config/initializers/load_settings.rbc +330 -0
  122. data/config/routes.rb +5 -8
  123. data/config/routes.rbc +2203 -0
  124. data/lib/extensions/form_helper_extensions.rb +2 -2
  125. data/lib/extensions/form_helper_extensions.rbc +295 -0
  126. data/lib/extensions/i18n_fallbacks_config.rbc +246 -0
  127. data/lib/extensions.rbc +126 -0
  128. data/lib/forgeos/core/engine.rbc +316 -0
  129. data/lib/forgeos/core.rbc +325 -0
  130. data/lib/forgeos.rbc +1942 -0
  131. data/lib/forgeos_core.rbc +53 -0
  132. data/lib/map_fields.rbc +4437 -0
  133. data/lib/sortable_attachments.rbc +1399 -0
  134. data/lib/sphinx_globalize.rbc +785 -0
  135. metadata +286 -53
  136. data/app/assets/javascripts/forgeos/jstree/jquery.tree.js +0 -2061
  137. data/app/assets/javascripts/forgeos/jstree/plugins/jquery.tree.contextmenu.js +0 -129
  138. data/app/assets/javascripts/forgeos/jstree/plugins/jquery.tree.cookie.js +0 -70
  139. data/app/assets/stylesheets/forgeos/jquery.selectbox.css +0 -75
  140. data/app/assets/stylesheets/forgeos/jstree/themes/categories/style.css +0 -106
  141. data/app/assets/stylesheets/forgeos/jstree/tree_component.css.sass +0 -204
@@ -4,27 +4,6 @@
4
4
  .add-link
5
5
  padding-left: 30px
6
6
  background-position: 10px -1434px
7
- #inner-lightbox, #blocks-header
8
- background-position: 0 0
9
- font-size: 0.9em
10
- padding: 10px 5px 10px 10px
11
- a
12
- padding: 0 10px
13
- padding-left: 25px
14
- color: $lightGray
15
- background-color: transparent
16
- border: 1px solid $contentHeaderBorder
17
- +borderCorner(8px,8px,8px,8px)
18
- font-weight: bold
19
- outline: none
20
- &:hover, &.selected
21
- color: $white
22
- background-color: $lightGray
23
- &.backgrounds.big-header
24
- padding-bottom: 0
25
- padding-top: 0
26
- background-position: 0 -251px
27
- font-size: .8em
28
7
  .media-hoverlay
29
8
  padding: 0px !important
30
9
  .media-hoverlay-header
@@ -100,6 +79,8 @@ div.tree-link
100
79
  color: $lightGray
101
80
  width: 95px
102
81
  clear: left
82
+ select
83
+ +left()
103
84
  input, textarea
104
85
  +left()
105
86
  border: 2px solid $gray
@@ -1,43 +1,81 @@
1
1
  #blocks-header
2
- &.backgrounds
3
- &.settings
2
+ padding: 0px
3
+ border: 0
4
+ background-color: white
5
+ ul
6
+ &.ui-widget-header
7
+ background: none
8
+ padding: 0
9
+ height: auto
10
+ line-height: 1em
11
+ &.ui-tabs-nav a
12
+ padding: 0 12px
13
+ color: $lightGray
14
+ background-color: transparent
15
+ border: 1px solid $contentHeaderBorder
16
+ +borderCorner(8px,8px,8px,8px)
17
+ font-weight: bold
18
+ outline: none
19
+
20
+
21
+ li
22
+ padding: 0
23
+ margin: 5px 0 5px 5px
24
+ background: none
4
25
  border: 0
5
- ul
6
- float: left
7
- padding: 0
8
- margin: 0
9
- background: none
26
+ font-size: 1em
27
+ height: auto
28
+ line-height: 1em
29
+ &.ui-state-active
30
+ top: 4px
31
+ a
32
+ font-size: 0.9em
10
33
  height: auto
11
34
  line-height: 1em
12
- li
13
- float: left
14
- padding: 0
15
- margin: 0
16
- background: none
17
- border: 0
18
- font-size: 1em
19
- position: static
20
- height: auto
21
- line-height: 1em
22
- a
23
- height: auto
24
- line-height: 1em
25
- &.ui-tabs-selected
26
- a
27
- color: $white !important
28
- background-color: $lightGray !important
29
- &.ui-state-default
30
- a
31
- color: $lightGray
32
- background-color: transparent
33
- &.big-header
34
- ul
35
- margin-top: 15px
36
- li
37
- margin: 0 2px
38
- a
39
- line-height: 18px
40
- .interact-links
41
- margin-top: 7px
42
- .content_setting_div
43
- padding: 0 !important
35
+ &.ui-state-default a
36
+ color: $lightGray
37
+ background-color: transparent
38
+ &.ui-tabs-selected a, &.ui-state-hover a
39
+ color: $white
40
+ background-color: $lightGray
41
+
42
+ .ui-tabs-panel
43
+ padding: 0
44
+ min-height: 600px
45
+ .big-header
46
+ background-position: 0 -234px
47
+ height: auto
48
+ padding: 0 0
49
+ font-size: 0.8em
50
+ .interact-links
51
+ margin-top: 7px
52
+
53
+ #sub-links, #inner-lightbox
54
+ padding: 0
55
+ border: 0
56
+ background-color: white
57
+ ul
58
+ padding: 0
59
+ margin: 0
60
+ height: auto
61
+ line-height: 1em
62
+ li
63
+ padding: 0
64
+ margin: 5px 0 5px 5px
65
+ display: inline-block
66
+ a
67
+ padding: 0 12px
68
+ color: $lightGray
69
+ background-color: transparent
70
+ border: 1px solid $contentHeaderBorder
71
+ +borderCorner(8px,8px,8px,8px)
72
+ font-weight: bold
73
+ outline: none
74
+ font-size: 0.9em
75
+ height: auto
76
+ line-height: 1em
77
+ color: $lightGray
78
+ background-color: transparent
79
+ &:hover, &.selected
80
+ color: $white
81
+ background-color: $lightGray
@@ -5,10 +5,10 @@
5
5
  * Author: Allan Jardine
6
6
  * Created: Tue May 12 06:47:22 BST 2009
7
7
  * Modified: $Date$ by $Author$
8
- * Language: C#
9
- * Project: RCAD/USB VPN creation utility
8
+ * Language: CSS
9
+ * Project: DataTables
10
10
  *
11
- * Copyright 2009 U4EA. All Rights Reserved.
11
+ * Copyright 2009 Allan Jardine. All Rights Reserved.
12
12
  *
13
13
  * ***************************************************************************
14
14
  * DESCRIPTION
@@ -23,7 +23,7 @@
23
23
  * ensure that you either have "example_alt_pagination" as a body class name, or better yet,
24
24
  * modify that selector.
25
25
  * Note that the path used for Images is relative. All images are by default located in
26
- * /assets/dataTables/ - relative to this CSS file.
26
+ * /assets/forgeos/dataTables/ - relative to this CSS file.
27
27
  */
28
28
 
29
29
  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
@@ -33,21 +33,25 @@
33
33
  .dataTables_wrapper {
34
34
  position: relative;
35
35
  min-height: 302px;
36
- _height: 302px;
37
36
  clear: both;
37
+ _height: 302px;
38
+ zoom: 1; /* Feeling sorry for IE */
38
39
  }
39
40
 
40
41
  .dataTables_processing {
41
42
  position: absolute;
42
- top: 0px;
43
+ top: 50%;
43
44
  left: 50%;
44
45
  width: 250px;
46
+ height: 30px;
45
47
  margin-left: -125px;
48
+ margin-top: -15px;
49
+ padding: 14px 0 2px 0;
46
50
  border: 1px solid #ddd;
47
51
  text-align: center;
48
52
  color: #999;
49
- font-size: 11px;
50
- padding: 2px 0;
53
+ font-size: 14px;
54
+ background-color: white;
51
55
  }
52
56
 
53
57
  .dataTables_length {
@@ -82,19 +86,19 @@
82
86
  }
83
87
 
84
88
  .paginate_disabled_previous {
85
- background-image: url('/assets/dataTables/back_disabled.jpg');
89
+ background-image: url('/assets/forgeos/dataTables/back_disabled.jpg');
86
90
  }
87
91
 
88
92
  .paginate_enabled_previous {
89
- background-image: url('/assets/dataTables/back_enabled.jpg');
93
+ background-image: url('/assets/forgeos/dataTables/back_enabled.jpg');
90
94
  }
91
95
 
92
96
  .paginate_disabled_next {
93
- background-image: url('/assets/dataTables/forward_disabled.jpg');
97
+ background-image: url('/assets/forgeos/dataTables/forward_disabled.jpg');
94
98
  }
95
99
 
96
100
  .paginate_enabled_next {
97
- background-image: url('/assets/dataTables/forward_enabled.jpg');
101
+ background-image: url('/assets/forgeos/dataTables/forward_enabled.jpg');
98
102
  }
99
103
 
100
104
 
@@ -104,8 +108,21 @@
104
108
  */
105
109
  table.display {
106
110
  margin: 0 auto;
107
- width: 100%;
108
111
  clear: both;
112
+ width: 100%;
113
+
114
+ /* Note Firefox 3.5 and before have a bug with border-collapse
115
+ * ( https://bugzilla.mozilla.org/show%5Fbug.cgi?id=155955 )
116
+ * border-spacing: 0; is one possible option. Conditional-css.com is
117
+ * useful for this kind of thing
118
+ *
119
+ * Further note IE 6/7 has problems when calculating widths with border width.
120
+ * It subtracts one px relative to the other browsers from the first column, and
121
+ * adds one to the end...
122
+ *
123
+ * If you want that effect I'd suggest setting a border-top/left on th/td's and
124
+ * then filling in the gaps with other borders.
125
+ */
109
126
  }
110
127
 
111
128
  table.display thead th {
@@ -117,7 +134,7 @@ table.display thead th {
117
134
  }
118
135
 
119
136
  table.display tfoot th {
120
- padding: 3px 10px;
137
+ padding: 3px 18px 3px 10px;
121
138
  border-top: 1px solid black;
122
139
  font-weight: bold;
123
140
  }
@@ -141,34 +158,32 @@ table.display td.center {
141
158
  */
142
159
 
143
160
  .sorting_asc {
144
- background: url('/assets/dataTables/sort_asc.jpg') no-repeat center right;
161
+ background: url('/assets/forgeos/dataTables/sort_asc.png') no-repeat center right;
145
162
  }
146
163
 
147
164
  .sorting_desc {
148
- background: url('/assets/dataTables/sort_desc.jpg') no-repeat center right;
165
+ background: url('/assets/forgeos/dataTables/sort_desc.png') no-repeat center right;
149
166
  }
150
167
 
151
168
  .sorting {
152
- background: url('/assets/dataTables/sort_both.jpg') no-repeat center right;
169
+ background: url('/assets/forgeos/dataTables/sort_both.png') no-repeat center right;
153
170
  }
154
171
 
155
-
156
-
157
-
158
- /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
159
- * DataTables row classes
160
- */
161
- table.display tr.odd.gradeA {
162
- background-color: #ddffdd;
172
+ .sorting_asc_disabled {
173
+ background: url('/assets/forgeos/dataTables/sort_asc_disabled.png') no-repeat center right;
163
174
  }
164
175
 
165
- table.display tr.even.gradeA {
166
- background-color: #eeffee;
176
+ .sorting_desc_disabled {
177
+ background: url('/assets/forgeos/dataTables/sort_desc_disabled.png') no-repeat center right;
167
178
  }
168
179
 
169
180
 
170
181
 
171
182
 
183
+
184
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
185
+ * DataTables row classes
186
+ */
172
187
  table.display tr.odd.gradeA {
173
188
  background-color: #ddffdd;
174
189
  }
@@ -217,6 +232,14 @@ tr.even {
217
232
  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
218
233
  * Misc
219
234
  */
235
+ .dataTables_scroll {
236
+ clear: both;
237
+ }
238
+
239
+ .dataTables_scrollBody {
240
+ *margin-top: -1px;
241
+ }
242
+
220
243
  .top, .bottom {
221
244
  padding: 15px;
222
245
  background-color: #F5F5F5;
@@ -346,6 +369,10 @@ tr.odd.gradeA td.sorting_2 {
346
369
  background-color: #d1ffd1;
347
370
  }
348
371
 
372
+ tr.odd.gradeA td.sorting_3 {
373
+ background-color: #d1ffd1;
374
+ }
375
+
349
376
  tr.even.gradeA td.sorting_1 {
350
377
  background-color: #d5ffd5;
351
378
  }
@@ -354,6 +381,10 @@ tr.even.gradeA td.sorting_2 {
354
381
  background-color: #e2ffe2;
355
382
  }
356
383
 
384
+ tr.even.gradeA td.sorting_3 {
385
+ background-color: #e2ffe2;
386
+ }
387
+
357
388
  tr.odd.gradeC td.sorting_1 {
358
389
  background-color: #c4c4ff;
359
390
  }
@@ -362,6 +393,10 @@ tr.odd.gradeC td.sorting_2 {
362
393
  background-color: #d1d1ff;
363
394
  }
364
395
 
396
+ tr.odd.gradeC td.sorting_3 {
397
+ background-color: #d1d1ff;
398
+ }
399
+
365
400
  tr.even.gradeC td.sorting_1 {
366
401
  background-color: #d5d5ff;
367
402
  }
@@ -370,6 +405,10 @@ tr.even.gradeC td.sorting_2 {
370
405
  background-color: #e2e2ff;
371
406
  }
372
407
 
408
+ tr.even.gradeC td.sorting_3 {
409
+ background-color: #e2e2ff;
410
+ }
411
+
373
412
  tr.odd.gradeX td.sorting_1 {
374
413
  background-color: #ffc4c4;
375
414
  }
@@ -378,6 +417,10 @@ tr.odd.gradeX td.sorting_2 {
378
417
  background-color: #ffd1d1;
379
418
  }
380
419
 
420
+ tr.odd.gradeX td.sorting_3 {
421
+ background-color: #ffd1d1;
422
+ }
423
+
381
424
  tr.even.gradeX td.sorting_1 {
382
425
  background-color: #ffd5d5;
383
426
  }
@@ -386,6 +429,10 @@ tr.even.gradeX td.sorting_2 {
386
429
  background-color: #ffe2e2;
387
430
  }
388
431
 
432
+ tr.even.gradeX td.sorting_3 {
433
+ background-color: #ffe2e2;
434
+ }
435
+
389
436
  tr.odd.gradeU td.sorting_1 {
390
437
  background-color: #c4c4c4;
391
438
  }
@@ -394,6 +441,10 @@ tr.odd.gradeU td.sorting_2 {
394
441
  background-color: #d1d1d1;
395
442
  }
396
443
 
444
+ tr.odd.gradeU td.sorting_3 {
445
+ background-color: #d1d1d1;
446
+ }
447
+
397
448
  tr.even.gradeU td.sorting_1 {
398
449
  background-color: #d5d5d5;
399
450
  }
@@ -402,6 +453,10 @@ tr.even.gradeU td.sorting_2 {
402
453
  background-color: #e2e2e2;
403
454
  }
404
455
 
456
+ tr.even.gradeU td.sorting_3 {
457
+ background-color: #e2e2e2;
458
+ }
459
+
405
460
 
406
461
  /*
407
462
  * Row highlighting example
@@ -413,3 +468,71 @@ tr.even.gradeU td.sorting_2 {
413
468
  .ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
414
469
  background-color: #E6FF99;
415
470
  }
471
+
472
+ .ex_highlight_row #example tr.even:hover {
473
+ background-color: #ECFFB3;
474
+ }
475
+
476
+ .ex_highlight_row #example tr.even:hover td.sorting_1 {
477
+ background-color: #DDFF75;
478
+ }
479
+
480
+ .ex_highlight_row #example tr.even:hover td.sorting_2 {
481
+ background-color: #E7FF9E;
482
+ }
483
+
484
+ .ex_highlight_row #example tr.even:hover td.sorting_3 {
485
+ background-color: #E2FF89;
486
+ }
487
+
488
+ .ex_highlight_row #example tr.odd:hover {
489
+ background-color: #E6FF99;
490
+ }
491
+
492
+ .ex_highlight_row #example tr.odd:hover td.sorting_1 {
493
+ background-color: #D6FF5C;
494
+ }
495
+
496
+ .ex_highlight_row #example tr.odd:hover td.sorting_2 {
497
+ background-color: #E0FF84;
498
+ }
499
+
500
+ .ex_highlight_row #example tr.odd:hover td.sorting_3 {
501
+ background-color: #DBFF70;
502
+ }
503
+
504
+
505
+ /*
506
+ * KeyTable
507
+ */
508
+ table.KeyTable td {
509
+ border: 3px solid transparent;
510
+ }
511
+
512
+ table.KeyTable td.focus {
513
+ border: 3px solid #3366FF;
514
+ }
515
+
516
+ table.display tr.gradeA {
517
+ background-color: #eeffee;
518
+ }
519
+
520
+ table.display tr.gradeC {
521
+ background-color: #ddddff;
522
+ }
523
+
524
+ table.display tr.gradeX {
525
+ background-color: #ffdddd;
526
+ }
527
+
528
+ table.display tr.gradeU {
529
+ background-color: #ddd;
530
+ }
531
+
532
+ div.box {
533
+ height: 100px;
534
+ padding: 10px;
535
+ overflow: auto;
536
+ border: 1px solid #8080FF;
537
+ background-color: #E5E5FF;
538
+ }
@@ -1,166 +1,48 @@
1
- .tree-association_categories
2
- position: relative
3
-
4
- .locked li a
1
+ .jstree-association_categories
2
+ .jstree-locked li a
5
3
  color: gray
6
-
7
4
  ul
8
- display: block
9
5
  margin: 0
6
+ padding: 0
10
7
 
11
8
  li
12
- display: block !important
13
9
  float: none !important
14
10
  margin: 2px 0 !important
15
11
 
16
- .rtl
17
- background-position: right 1px
18
-
19
- ul
20
- background-position: right 1px
21
-
22
- li
23
- background-position: right 8px
24
-
25
- &.last
26
- background-image: url("lastli_rtl.gif")
27
- background-position: right top
28
-
29
- li
30
- &.open
31
- background: url("dark-blue-minus.png") 0 0 no-repeat
32
-
33
- &.closed
34
- background: url("dark-blue-plus.png") 0 1px no-repeat
35
-
36
-
37
- #jstree-dragged.tree-association_categories li li.open
38
- background: url("dark-blue-plus.png") 0 1px no-repeat
39
-
40
-
41
- .tree-association_categories li
42
- a
43
- padding: 0px 5px 0px 24px
44
- display: block
45
- color: #557383 !important
46
- font-weight: bold
47
- font-size: 1em
48
- background-image: url("folder.png")
49
- background-repeat: no-repeat
50
- background-color: #b0e0f1
51
- -moz-border-radius: 3px
52
- -webkit-border-radius: 3px
53
- height: 20px
54
- position: relative
55
-
56
- span
57
- height: 13px
58
- width: 19px
59
- font-size: 0.7em
60
- background-image: url("check-unchecked.png")
61
- background-repeat: no-repeat
62
- background-position: 0 0
63
- text-align: center
64
- color: #75491B
65
- right: 2px
66
- position: absolute
67
- top: 2px
68
-
69
- &.clicked
70
- color: #FFF !important
71
-
72
- span
73
- background-image: url("check-checked.png")
74
-
75
- &:hover
12
+ &.jstree-open
13
+ ins
14
+ background: url("dark-blue-minus.png") 0 0 no-repeat
15
+ &.jstree-closed
16
+ ins
17
+ background: url("dark-blue-plus.png") 0 0 no-repeat
18
+ ul
19
+ display: none
20
+ &.jstree-checked
21
+ ins.jstree-checkbox
22
+ background: url("check-checked.png") 0px 0 no-repeat
23
+ &.jstree-unchecked
24
+ ins.jstree-checkbox
25
+ background: url("check-unchecked.png") 0 0 no-repeat
26
+
27
+ ul li > ins.jstree-icon
28
+ background: none
29
+ a
30
+ display: inline !important
31
+ color: #557383 !important
32
+ font-weight: bold
33
+ font-size: 1em
34
+ -moz-border-radius: 3px
35
+ -webkit-border-radius: 3px
36
+ border-radius: 3px
37
+ height: 20px
38
+ &.jstree-hovered
39
+ background-color: #8fc864
76
40
  color: #FFF !important
77
-
78
- span.clicked
79
- color: #FFF !important
80
- padding: 0px 3px 0px 20px
81
-
82
- a.loading
83
- background-image: url("throbber.gif")
84
-
85
-
86
- .tree-association_categories-context
87
- width: 160px
88
- background: #F0F0F0 url("context.gif") 22px 0 repeat-y
89
- border: 1px solid silver
90
- position: absolute
91
-
92
- a
93
- display: block
94
- text-decoration: none
95
- color: black
96
- line-height: 20px
97
- background-repeat: no-repeat
98
- background-position: 2px center
99
- padding: 1px 0 1px 25px
100
- background-color: transparent
101
- border: 1px solid #f0f0f0
102
- border-width: 0 1px
103
- margin: 0
104
-
105
- &.disabled:hover
106
- display: block
107
- text-decoration: none
108
- color: black
109
- line-height: 20px
110
- background-repeat: no-repeat
111
- background-position: 2px center
112
- padding: 1px 0 1px 25px
113
- background-color: transparent
114
- border: 1px solid #f0f0f0
115
- border-width: 0 1px
116
- margin: 0
117
-
118
- &:hover
119
- background-color: #e7f4f9
120
- border: 1px solid #d8f0fa
121
- padding: 0 0 0 25px
122
- margin: 0
123
-
124
- &.disabled
125
- color: silver
126
- opacity: 0.5
127
- -ms-filter: 'alpha(opacity=50)'
128
- filter: alpha(opacity=50)
129
- zoom: 1
130
-
131
- &:hover
132
- color: silver
133
- opacity: 0.5
134
- -ms-filter: 'alpha(opacity=50)'
135
- filter: alpha(opacity=50)
136
- zoom: 1
137
-
138
- .separator
139
- background: #FFFFFF
140
- border-top: 1px solid #E0E0E0
141
- font-size: 1px
142
- height: 1px
143
- line-height: 1px
144
- margin: 0 2px 0 24px
145
- min-height: 1px
146
- display: block
147
-
148
-
149
- .tree-association_categories li li
150
- padding-left: 15px
41
+ ins.jstree-icon
42
+ background: url("folder.png") -4px -4px no-repeat
43
+ li
44
+ padding-left: 15px
151
45
 
152
46
 
153
- .leaf
47
+ .jstree-leaf
154
48
  padding-left: 5px !important
155
-
156
-
157
- .tree-association_categories li a
158
- &.clicked
159
- background-color: #8fc864
160
-
161
- &:hover
162
- background-color: #8fc864
163
- color: #FFF !important
164
-
165
- &.hover, &.clicked
166
- color: #FFF !important