cable 0.8.6 → 0.9.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 (94) hide show
  1. data/VERSION +1 -1
  2. data/app/views/layouts/_breadcrumb.html.erb +1 -0
  3. data/app/views/layouts/_messages.html.erb +3 -3
  4. data/app/views/layouts/admin.html.erb +21 -26
  5. data/lib/generators/cable/menu/templates/erb/menus/_menu_children_table.html.erb +1 -1
  6. data/lib/generators/cable/menu/templates/erb/menus/move.html.erb +0 -16
  7. data/lib/generators/cable/menu/templates/migration.rb +1 -0
  8. data/lib/generators/cable/resource/templates/erb/scaffold/_form.html.erb +18 -25
  9. data/lib/generators/cable/resource/templates/erb/scaffold/index.html.erb +47 -45
  10. data/lib/generators/cable/resource/templates/erb/scaffold/show.html.erb +1 -2
  11. data/public/images/cable/add.png +0 -0
  12. data/public/images/cable/children.png +0 -0
  13. data/public/images/cable/empty-menu.png +0 -0
  14. data/public/images/cable/header-background.jpg +0 -0
  15. data/public/images/cable/help.png +0 -0
  16. data/public/images/cable/loader.gif +0 -0
  17. data/public/javascripts/cable_menu.js +316 -0
  18. data/public/stylesheets/cable/base.css +25 -0
  19. data/public/stylesheets/cable/buttons.css +55 -0
  20. data/public/stylesheets/cable/formtastic_changes.css +51 -0
  21. data/public/stylesheets/cable/menu.css +120 -0
  22. data/public/stylesheets/cable/pagination.css +10 -0
  23. data/public/stylesheets/cable/regions.css +247 -0
  24. data/public/stylesheets/cable/search.css +45 -0
  25. data/public/stylesheets/cable/tables.css +34 -0
  26. data/public/stylesheets/cable/tags.css +61 -0
  27. data/public/stylesheets/cable.css +9 -859
  28. data/public/stylesheets/{ui/aristo/images/button_bg.png → jquery/ui/images/bg_fallback.png} +0 -0
  29. data/public/stylesheets/jquery/ui/images/icon_sprite.png +0 -0
  30. data/public/stylesheets/jquery/ui/images/progress_bar.gif +0 -0
  31. data/public/stylesheets/{ui/aristo/images/ui-icons_ffffff_256x240.png → jquery/ui/images/ui-icons_454545_256x240.png} +0 -0
  32. data/public/stylesheets/{ui/aristo/aristo.css → jquery/ui/jquery-ui-1.8.7.custom.css} +345 -166
  33. metadata +27 -66
  34. data/public/images/iphone-style-checkboxes/off.png +0 -0
  35. data/public/images/iphone-style-checkboxes/on.png +0 -0
  36. data/public/images/iphone-style-checkboxes/slider.png +0 -0
  37. data/public/images/iphone-style-checkboxes/slider_center.png +0 -0
  38. data/public/images/iphone-style-checkboxes/slider_left.png +0 -0
  39. data/public/images/iphone-style-checkboxes/slider_right.png +0 -0
  40. data/public/javascripts/iphone-style-checkboxes.js +0 -224
  41. data/public/javascripts/jquery.columnview.js +0 -84
  42. data/public/javascripts/jstree/_lib/jquery.cookie.js +0 -96
  43. data/public/javascripts/jstree/_lib/jquery.hotkeys.js +0 -99
  44. data/public/javascripts/jstree/_lib/jquery.js +0 -6240
  45. data/public/javascripts/jstree/jquery.jstree.js +0 -4526
  46. data/public/javascripts/jstree/themes/apple/bg.jpg +0 -0
  47. data/public/javascripts/jstree/themes/apple/d.png +0 -0
  48. data/public/javascripts/jstree/themes/apple/dot_for_ie.gif +0 -0
  49. data/public/javascripts/jstree/themes/apple/style.css +0 -61
  50. data/public/javascripts/jstree/themes/apple/throbber.gif +0 -0
  51. data/public/javascripts/jstree/themes/classic/d.png +0 -0
  52. data/public/javascripts/jstree/themes/classic/dot_for_ie.gif +0 -0
  53. data/public/javascripts/jstree/themes/classic/style.css +0 -59
  54. data/public/javascripts/jstree/themes/classic/throbber.gif +0 -0
  55. data/public/javascripts/jstree/themes/default/d.gif +0 -0
  56. data/public/javascripts/jstree/themes/default/d.png +0 -0
  57. data/public/javascripts/jstree/themes/default/style.css +0 -73
  58. data/public/javascripts/jstree/themes/default/throbber.gif +0 -0
  59. data/public/javascripts/jstree/themes/default-rtl/d.gif +0 -0
  60. data/public/javascripts/jstree/themes/default-rtl/d.png +0 -0
  61. data/public/javascripts/jstree/themes/default-rtl/dots.gif +0 -0
  62. data/public/javascripts/jstree/themes/default-rtl/style.css +0 -83
  63. data/public/javascripts/jstree/themes/default-rtl/throbber.gif +0 -0
  64. data/public/stylesheets/columnview.css +0 -61
  65. data/public/stylesheets/formtastic_changes.css +0 -66
  66. data/public/stylesheets/iphone_checkboxes.css +0 -76
  67. data/public/stylesheets/ui/aristo/icons.psd +0 -0
  68. data/public/stylesheets/ui/aristo/images/datepicker.gif +0 -0
  69. data/public/stylesheets/ui/aristo/images/icon_sprite.png +0 -0
  70. data/public/stylesheets/ui/aristo/images/progress_bar.gif +0 -0
  71. data/public/stylesheets/ui/aristo/images/right-arrow.png +0 -0
  72. data/public/stylesheets/ui/aristo/images/slider_h_bg.gif +0 -0
  73. data/public/stylesheets/ui/aristo/images/slider_v_bg.gif +0 -0
  74. data/public/stylesheets/ui/aristo/images/tab_bg.gif +0 -0
  75. data/public/stylesheets/ui/aristo/images/the_gradient.gif +0 -0
  76. data/public/stylesheets/ui/aristo/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  77. data/public/stylesheets/ui/aristo/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  78. data/public/stylesheets/ui/aristo/images/ui-bg_flat_10_000000_40x100.png +0 -0
  79. data/public/stylesheets/ui/aristo/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  80. data/public/stylesheets/ui/aristo/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  81. data/public/stylesheets/ui/aristo/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  82. data/public/stylesheets/ui/aristo/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  83. data/public/stylesheets/ui/aristo/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  84. data/public/stylesheets/ui/aristo/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  85. data/public/stylesheets/ui/aristo/images/ui-icons_228ef1_256x240.png +0 -0
  86. data/public/stylesheets/ui/aristo/images/ui-icons_ef8c08_256x240.png +0 -0
  87. data/public/stylesheets/ui/aristo/images/ui-icons_ffd27a_256x240.png +0 -0
  88. data/public/stylesheets/ui/images/sprite-aristo.png +0 -0
  89. data/public/stylesheets/ui/images/uniform/sprite.png +0 -0
  90. data/public/stylesheets/ui/uniform/uniform.aristo.css +0 -470
  91. data/public/stylesheets/ui/uniform/uniform.default.css +0 -477
  92. /data/public/stylesheets/{formtastic.css → cable/formtastic.css} +0 -0
  93. /data/public/stylesheets/{ui/aristo → jquery/ui}/images/slider_handles.png +0 -0
  94. /data/public/stylesheets/{ui/aristo → jquery/ui}/images/ui-icons_222222_256x240.png +0 -0
@@ -0,0 +1,55 @@
1
+ .pagination .current,
2
+ .pagination em,
3
+ .pagination a,
4
+ .previous_page,
5
+ .formtastic input.button,
6
+ .formtastic input[type=button],
7
+ .formtastic input[type=file],
8
+ .formtastic input[type=submit],
9
+ .actions a,
10
+ .user-session a{
11
+ display:inline-block;
12
+ font-size: 14px;
13
+ color: #ffffff;
14
+ padding: 4px 8px;
15
+ background: #777;
16
+ background: -moz-linear-gradient(top,#aaa 0%,#777);
17
+ background: -webkit-gradient(linear, left top, left bottom,from(#aaa),to(#777));
18
+ border-radius: 4px;
19
+ -moz-border-radius: 4px;
20
+ -webkit-border-radius: 4px;
21
+ border: 1px solid #444;
22
+ -moz-box-shadow: 0px 1px 2px rgba(000,000,000,0.5), inset 0px 0px 1px rgba(255,255,255,1);
23
+ -webkit-box-shadow: 0px 1px 2px rgba(000,000,000,0.5), inset 0px 0px 1px rgba(255,255,255,1);
24
+ text-shadow: 0px -1px 0px rgba(000,000,000,0.4), 0px 1px 0px rgba(255,255,255,0.3);
25
+ }
26
+ .user-session a{
27
+ margin-left:12px;
28
+ }
29
+ .pagination .current,
30
+ .actions a.active{
31
+ background: #2494fa;
32
+ border: 1px solid #0474c2;
33
+ }
34
+ .pagination em:hover,
35
+ .pagination a:hover,
36
+ .previous_page:hover,
37
+ .actions a:hover,
38
+ .user-session a:hover{
39
+ background:#333;
40
+ text-decoration:none;
41
+ cursor:pointer;
42
+ }
43
+ .formtastic input[type=button]:hover,
44
+ .formtastic input[type=file]:hover,
45
+ .formtastic input[type=submit]:hover{
46
+ background:#333;
47
+ text-decoration:none;
48
+ cursor:pointer;
49
+ }
50
+
51
+ .pagination em{
52
+ font-weight: bold;
53
+ color: white;
54
+ font-style: normal;
55
+ }
@@ -0,0 +1,51 @@
1
+ /* @override http://localhost:3000/stylesheets/cable/formtastic_changes.css */
2
+
3
+ form.formtastic legend {
4
+ white-space:normal;
5
+ color:#333;
6
+ font-weight: normal;
7
+ }
8
+ form.formtastic fieldset.inputs {
9
+ background: #f9f9f9;
10
+ margin-bottom: 1em;
11
+ padding: 1em;
12
+ }
13
+ form.formtastic fieldset.buttons {
14
+ padding-left:15%;
15
+ }
16
+ form.formtastic fieldset.buttons li {
17
+ float:left;
18
+ padding-right:0.5em;
19
+ }
20
+ form.formtastic fieldset > ol > li label {
21
+ display:block;
22
+ width: 15%;
23
+ float:left;
24
+ padding-top:.2em;
25
+ font-weight: bold;
26
+ color: #222;
27
+ }
28
+
29
+
30
+ form.formtastic fieldset > ol > li p.inline-hints {
31
+ color:#000;
32
+ margin:0.5em 0 0 15%;
33
+ padding: 10px;
34
+ border-radius: 4px;
35
+ -moz-border-radius: 4px;
36
+ -webkit-border-radius: 4px;
37
+ }
38
+
39
+
40
+
41
+ form.formtastic fieldset > ol > li.string input,
42
+ form.formtastic fieldset > ol > li.password input,
43
+ form.formtastic fieldset > ol > li.numeric input,
44
+ form.formtastic fieldset > ol > li.url input{
45
+ padding: .5em;
46
+ font-size: 16px;
47
+ min-width: 40%;
48
+ -moz-box-shadow: 0px 0px 4px #ccc inset;
49
+ -webkit-box-shadow: 0px 0px 4px #ccc inset;
50
+ box-shadow: 0px 0px 4px #ccc inset;
51
+ }
@@ -0,0 +1,120 @@
1
+ /* @override http://localhost:3000/stylesheets/cable/menu.css */
2
+
3
+ .cable_menu_wrapper {
4
+ position: relative;
5
+ height: 360px;
6
+ overflow-x: scroll;
7
+ overflow-y: hidden;
8
+ margin-bottom: 1em;
9
+ width:100%;
10
+ }
11
+
12
+ ul.cable_menu,
13
+ ul.cable_menu ul {
14
+ position: absolute;
15
+ left: 0;
16
+ top: 0;
17
+ height: 340px;
18
+ overflow-x: hidden;
19
+ overflow-y: scroll;
20
+ padding: 2px 0px 2px 2px;
21
+ margin: 0;
22
+ width: 170px;
23
+ background:#fff;
24
+ border-left:1px solid #eee;
25
+ }
26
+ .cable_menu_wrapper li.has-children {
27
+ width: 129px;
28
+ padding: 4px 20px 4px 4px;
29
+ }
30
+ .cable_menu_wrapper li:hover{
31
+ background-color: #f4f4f4;
32
+ cursor: pointer;
33
+ }
34
+ .cable_menu_wrapper li {
35
+ width: 145px;
36
+ padding: 4px 4px 4px 4px;
37
+ white-space: nowrap;
38
+ list-style: none;
39
+ display: block;
40
+ overflow: hidden;
41
+ text-overflow: ellipsis;
42
+ background-color: white;
43
+ -webkit-border-radius: 3px;
44
+ margin-bottom: 3px;
45
+ }
46
+ .cable_menu_wrapper li.selected.last,
47
+ .cable_menu_wrapper li.selected.last.has-children{
48
+ background-color: #2494fc;
49
+ color: white;
50
+ }
51
+ .cable_menu_wrapper .selected {
52
+ background: #ccc;
53
+ }
54
+
55
+ .current_selection {
56
+ padding: 1em;
57
+ -webkit-border-radius: 4px;
58
+ background: #ccc;
59
+ margin-bottom: 1em;
60
+ }
61
+ .cable_menu_wrapper .ui-state-highlight{
62
+ display:block;
63
+ border: 2px solid #ffd47f;
64
+ background: #ffbf3f;
65
+ height: 10px;
66
+ width: 141px;
67
+ }
68
+ .cable_menu_wrapper .has-children {
69
+ background: #fff url(/images/cable/children.png) no-repeat right center;
70
+ }
71
+
72
+ .cable_menu_wrapper li.selected.has-children {
73
+ background: #ccc url(/images/cable/children.png) no-repeat right center;
74
+ }
75
+
76
+ #add-menu{
77
+ background-color:#eee;
78
+ background-image:url(/images/cable/add.png);
79
+ background-repeat:no-repeat;
80
+ background-position:left center;
81
+ padding-left:35px;
82
+ width: 114px;
83
+ }
84
+ #add-menu:hover{
85
+ background-color:#ddd;
86
+ }
87
+ ::-webkit-scrollbar {
88
+ height: 8px;
89
+ width: 8px;
90
+ }
91
+
92
+ ::-webkit-scrollbar-track-piece {
93
+ margin-bottom: 10px;
94
+ border-bottom-left-radius: 4px 4px;
95
+ border-bottom-right-radius: 4px 4px;
96
+ border-top-left-radius: 4px 4px;
97
+ border-top-right-radius: 4px 4px;
98
+ }
99
+
100
+ ::-webkit-scrollbar-thumb:vertical {
101
+ height: 25px;
102
+ background-color: #ccc;
103
+ -webkit-border-radius: 4px;
104
+ -webkit-box-shadow: 0 1px 1px rgba(255,255,255,1);
105
+ }
106
+
107
+ ::-webkit-scrollbar-thumb:horizontal {
108
+ width: 25px;
109
+ background-color: #ccc;
110
+ -webkit-border-radius: 4px;
111
+ }
112
+ ul.cable_menu.empty{
113
+ background:url(/images/cable/empty-menu.png);
114
+ }
115
+ #add-menu-form{
116
+ margin-top:1em;
117
+ }
118
+ #save-tree{
119
+ margin-bottom:1em;
120
+ }
@@ -0,0 +1,10 @@
1
+ /* @override http://localhost:3000/stylesheets/cable/pagination.css */
2
+
3
+ .pagination{
4
+ text-align: right;
5
+ padding: 1em 0;
6
+ }
7
+
8
+ .pagination .disabled{
9
+ display: none;
10
+ }
@@ -0,0 +1,247 @@
1
+ /* @override http://localhost:3000/stylesheets/cable/regions.css */
2
+
3
+
4
+ /* @group Headers */
5
+
6
+ #header{
7
+ background: #333;
8
+ background: -moz-linear-gradient(top,#333 0%,#111);
9
+ background: -webkit-gradient(linear, left top, left bottom,from(#333),to(#111));
10
+ }
11
+ #header .container{
12
+ position: relative;
13
+ height: 120px;
14
+ }
15
+ #header h1 {
16
+ color: white;
17
+ margin: 1em 0;
18
+ font-size: 2em;
19
+ font-weight: bold;
20
+ }
21
+ #header .user-session{
22
+ text-align: right;
23
+ padding: .5em;
24
+ color:white;
25
+ -webkit-border-bottom-left-radius: 3px;
26
+ -webkit-border-bottom-right-radius: 3px;
27
+ border-right: none;
28
+ background-color: #444;
29
+ -moz-box-shadow: 0px 1px 2px rgba(0,0,0,1);
30
+ -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,1);
31
+ }
32
+
33
+
34
+ /* @end */
35
+
36
+ /* @group Main Navigation */
37
+
38
+ #main-navigation{
39
+ position: absolute;
40
+ bottom: 0;
41
+ }
42
+ #main-navigation ul li{
43
+ list-style: none;
44
+ }
45
+ #main-navigation > ul li:first-child a {
46
+ -webkit-border-top-left-radius: 3px;
47
+ }
48
+
49
+ #main-navigation > ul li:last-child a {
50
+ -webkit-border-top-right-radius: 3px;
51
+ border-right: none;
52
+ }
53
+
54
+ #main-navigation ul li a:hover {
55
+ color: #000;
56
+ background-color: #ddd;
57
+ }
58
+
59
+ #main-navigation ul li a:link,
60
+ #main-navigation ul li a:visited {
61
+ display: block;
62
+ text-align: center;
63
+ text-decoration: none;
64
+ color: #000;
65
+ letter-spacing: 1px;
66
+ outline: none;
67
+ float: left;
68
+ background: #ccc;
69
+ }
70
+
71
+ #main-navigation ul li a {
72
+ float: left;
73
+ font-weight: bold;
74
+ padding: 4px 8px;
75
+ text-decoration: none;
76
+ border-right: 2px groove #ddd;
77
+ }
78
+
79
+ #main-navigation ul li,
80
+ #main-navigation ul li.selected a:link,
81
+ #main-navigation ul li.selected a:visited {
82
+ color: #000;
83
+ background: #eee;
84
+ }
85
+
86
+ #main-navigation ul li.selected {
87
+ z-index: 3;
88
+ }
89
+
90
+ #main-navigation ul li.shadow {
91
+ width: 100%;
92
+ height: 2px;
93
+ position: absolute;
94
+ bottom: -3px;
95
+ left: 0;
96
+ border: none;
97
+ background: none;
98
+ z-index: 2;
99
+ }
100
+
101
+ #main-navigation ul li {
102
+ -webkit-border-radius: 4px;
103
+ -moz-border-radius: 4px;
104
+ border-radius: 4px;
105
+ float: left;
106
+ background-color: #ccc;
107
+ position: relative;
108
+ z-index: 1;
109
+ margin-top: 0;
110
+ margin-left: 0;
111
+ margin-bottom: 0;
112
+ }
113
+
114
+ #main-navigation ul, #main-navigation {
115
+ padding: 0;
116
+ }
117
+
118
+ /* @end */
119
+
120
+ /* @group Main */
121
+
122
+ #main-wrapper{
123
+ padding-top: 1em;
124
+ }
125
+ #main .box{
126
+ min-height: 400px;
127
+ -webkit-border-radius: 4px;
128
+ }
129
+ #main h2{
130
+ font-size: 1.5em;
131
+ display: block;
132
+ float: left;
133
+ }
134
+ #help{
135
+ float: right;
136
+ }
137
+ #help .button{
138
+ background: url(/images/cable/help.png) no-repeat right top;
139
+ padding-right: 20px;
140
+ display: inline-block;
141
+ }
142
+
143
+ /* @end */
144
+
145
+ /* @group Secondary Navigation */
146
+
147
+ #secondary-navigation{
148
+ padding: 0;
149
+ }
150
+ #secondary-navigation ul {
151
+ padding: 0;
152
+ margin: 0;
153
+ }
154
+ #secondary-navigation ul ul{
155
+ padding: 0 0 0 1em;
156
+ }
157
+ #secondary-navigation ul li{
158
+ list-style: none;
159
+ }
160
+ #secondary-navigation ul li a{
161
+ padding: 5px;
162
+ display: block;
163
+ border-bottom: 1px solid #eee;
164
+ }
165
+ /* @end */
166
+
167
+ /* @group Footer */
168
+
169
+ #footer div.box {
170
+ text-align: right;
171
+ padding: 5px;
172
+ margin-bottom: 0;
173
+ }
174
+
175
+ #footer ul li a {
176
+ text-decoration: none;
177
+ color: #333;
178
+ }
179
+
180
+ #footer ul li {
181
+ display: inline;
182
+ padding-right: 1em;
183
+ }
184
+
185
+ #footer ul {
186
+ margin: 0;
187
+ padding: 0;
188
+ }
189
+
190
+ #powered-by-cable {
191
+ text-align: right;
192
+ font-size: 12px;
193
+ color: #777;
194
+ font-weight: bold;
195
+ }
196
+
197
+ /* @end */
198
+
199
+ /* @group Breadcrumbs */
200
+
201
+ #breadcrumb a:hover {
202
+ color: #618193;
203
+ }
204
+
205
+ #breadcrumb a {
206
+ color: #333;
207
+ text-decoration: none;
208
+ }
209
+
210
+ #breadcrumb {
211
+ font-weight: bold;
212
+ border-bottom: 1px solid #ccc;
213
+ margin-bottom: 1em;
214
+ padding-bottom: 1em;
215
+ clear: both;
216
+ }
217
+
218
+ /* @end */
219
+
220
+ /* @group Messages */
221
+
222
+ #errorExplanation p {
223
+ margin: 0;
224
+ }
225
+
226
+ #errorExplanation ul {
227
+ margin: 0;
228
+ padding: 0 1em;
229
+ }
230
+
231
+ #messages div.flash-notice {
232
+
233
+ }
234
+
235
+ #messages.box.error {
236
+ background: #fff1f1 url(../images/icons/exclamation.png) no-repeat 7px 14px;
237
+ padding-left: 31px;
238
+ border-color: red;
239
+ }
240
+
241
+ #messages {
242
+ border: 1px solid #ff9123;
243
+ background-color: #fff4e9;
244
+ padding: 1em;
245
+ }
246
+
247
+ /* @end */
@@ -0,0 +1,45 @@
1
+ .inline-search form.formtastic.search fieldset.inputs {
2
+ float: left;
3
+ padding: 0;
4
+ margin: 0;
5
+ border-bottom: none;
6
+ }
7
+
8
+ #search_term {
9
+ font-size: 1em;
10
+ }
11
+
12
+ #search_term_input {
13
+ margin: 0 1em 0 0;
14
+ width: 200px;
15
+ }
16
+
17
+ #search_term_input label {
18
+ float: left;
19
+ display: block;
20
+ width: 70px;
21
+ }
22
+
23
+ .inline-search #search_submit {
24
+ font-size: .75em !important;
25
+ }
26
+
27
+ .inline-search form.formtastic.search fieldset.inputs ol {
28
+ border-bottom: none;
29
+ }
30
+
31
+ .inline-search form.formtastic.search fieldset.buttons {
32
+ margin: 0;
33
+ padding: 0;
34
+ border-bottom: none;
35
+ }
36
+
37
+ .inline-search form.formtastic.search fieldset.buttons ol li.commit {
38
+ margin: 0;
39
+ padding: 0;
40
+ }
41
+
42
+ .inline-search {
43
+ float: left;
44
+ width: 260px;
45
+ }
@@ -0,0 +1,34 @@
1
+ /* @override http://localhost:3000/stylesheets/cable/tables.css */
2
+ table{
3
+ border-bottom: 2px solid #ccc;
4
+ }
5
+ thead th{
6
+ background: #eee;
7
+ border-bottom: 2px solid #ccc;
8
+ font-weight:normal;
9
+ font-size:1.25em;
10
+ }
11
+
12
+ table td{
13
+ border-bottom: 1px dashed #ccc;
14
+ border-right: 1px dashed #ccc;
15
+ }
16
+
17
+ tbody tr:nth-child(even) td,
18
+ tbody tr.even td {
19
+ background:#eee;
20
+ }
21
+
22
+ th.actions,
23
+ td.actions{
24
+ text-align: right;
25
+ }
26
+ td.actions{
27
+ padding-right:0px;
28
+ }
29
+ tbody tr td:first-child{
30
+ border-left: none;
31
+ }
32
+ tbody tr td:last-child{
33
+ border-right: none;
34
+ }
@@ -0,0 +1,61 @@
1
+ a.tag {
2
+ cursor: pointer;
3
+ }
4
+ div.tagsinput {
5
+ border: none;
6
+ background: none;
7
+ padding: 5px;
8
+ width: 420px !important;
9
+ overflow-y: auto;
10
+ }
11
+ div.tagsinput span.tag {
12
+ border: 1px solid #2494fa;
13
+ -moz-border-radius: 2px;
14
+ -webkit-border-radius: 2px;
15
+ display: block;
16
+ float: left;
17
+ padding: 4px;
18
+ text-decoration: none;
19
+ background: #2494fa;
20
+ color: #000;
21
+ margin-right: 5px;
22
+ margin-bottom: 5px;
23
+ font-family: helvetica;
24
+ font-size: 13px;
25
+ }
26
+ div.tagsinput span.tag a {
27
+ font-weight: bold;
28
+ color: #2494fa;
29
+ text-decoration: none;
30
+ font-size: 13px;
31
+ width: 16px;
32
+ height: 16px;
33
+ text-indent: -1090px;
34
+ display: inline-block;
35
+ background-image: url(/images/cable/delete.png);
36
+ }
37
+ div.tagsinput input {
38
+ width: 80px;
39
+ margin: 0px;
40
+ font-family: helvetica;
41
+ font-size: 12px !important;
42
+ border: 1px solid transparent;
43
+ padding: 5px;
44
+ background: transparent;
45
+ color: #000;
46
+ outline: 0px;
47
+ margin-right: 5px;
48
+ margin-bottom: 5px;
49
+ }
50
+ div.tagsinput div {
51
+ display: block;
52
+ float: left;
53
+ background-color: #fff;
54
+ border: 1px solid #bbb;
55
+ }
56
+ div.tagsinput div.tags_clear {
57
+ clear: both;
58
+ width: 100%;
59
+ height: 0px;
60
+ border: none;
61
+ }