myreplicator 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/javascripts/myreplicator/application.js +21 -0
  5. data/app/assets/javascripts/myreplicator/chosen.jquery.min.js +10 -0
  6. data/app/assets/javascripts/myreplicator/cronwtf.js +156 -0
  7. data/app/assets/javascripts/myreplicator/exports.js +2 -0
  8. data/app/assets/javascripts/myreplicator/jquery.tipTip.minified.js +21 -0
  9. data/app/assets/stylesheets/myreplicator/FrancoisOne.ttf +0 -0
  10. data/app/assets/stylesheets/myreplicator/application.css +544 -0
  11. data/app/assets/stylesheets/myreplicator/asc-white.gif +0 -0
  12. data/app/assets/stylesheets/myreplicator/bg.gif +0 -0
  13. data/app/assets/stylesheets/myreplicator/bg.png +0 -0
  14. data/app/assets/stylesheets/myreplicator/chosen-sprite.png +0 -0
  15. data/app/assets/stylesheets/myreplicator/chosen.css +398 -0
  16. data/app/assets/stylesheets/myreplicator/clipboard-list.png +0 -0
  17. data/app/assets/stylesheets/myreplicator/cross.png +0 -0
  18. data/app/assets/stylesheets/myreplicator/desc-white.gif +0 -0
  19. data/app/assets/stylesheets/myreplicator/exports.css +4 -0
  20. data/app/assets/stylesheets/myreplicator/gear.png +0 -0
  21. data/app/assets/stylesheets/myreplicator/plus.png +0 -0
  22. data/app/assets/stylesheets/myreplicator/status-busy.png +0 -0
  23. data/app/assets/stylesheets/myreplicator/status.png +0 -0
  24. data/app/assets/stylesheets/myreplicator/tipTip.css +113 -0
  25. data/app/assets/stylesheets/myreplicator/websymbols-regular-webfont.eot +0 -0
  26. data/app/assets/stylesheets/myreplicator/websymbols-regular-webfont.svg +108 -0
  27. data/app/assets/stylesheets/myreplicator/websymbols-regular-webfont.ttf +0 -0
  28. data/app/assets/stylesheets/myreplicator/websymbols-regular-webfont.woff +0 -0
  29. data/app/assets/stylesheets/scaffold.css +56 -0
  30. data/app/controllers/myreplicator/application_controller.rb +4 -0
  31. data/app/controllers/myreplicator/exports_controller.rb +106 -0
  32. data/app/controllers/myreplicator/home_controller.rb +23 -0
  33. data/app/helpers/myreplicator/application_helper.rb +12 -0
  34. data/app/helpers/myreplicator/exports_helper.rb +4 -0
  35. data/app/models/myreplicator/export.rb +121 -0
  36. data/app/views/layouts/myreplicator/application.html.erb +24 -0
  37. data/app/views/myreplicator/exports/_form.html.erb +117 -0
  38. data/app/views/myreplicator/exports/edit.html.erb +2 -0
  39. data/app/views/myreplicator/exports/index.html.erb +56 -0
  40. data/app/views/myreplicator/exports/new.html.erb +2 -0
  41. data/app/views/myreplicator/exports/show.html.erb +28 -0
  42. data/app/views/myreplicator/home/_home_menu.erb +5 -0
  43. data/app/views/myreplicator/home/errors.html.erb +10 -0
  44. data/app/views/myreplicator/home/index.html.erb +58 -0
  45. data/config/routes.rb +6 -0
  46. data/db/migrate/20121025191622_create_myreplicator_exports.rb +35 -0
  47. data/lib/configuration.rb +25 -0
  48. data/lib/exporter/export_metadata.rb +198 -0
  49. data/lib/exporter/export_metadata.rb~ +9 -0
  50. data/lib/exporter/mysql_exporter.rb +187 -0
  51. data/lib/exporter/sql_commands.rb +126 -0
  52. data/lib/exporter/sql_commands.rb~ +5 -0
  53. data/lib/exporter.rb +3 -0
  54. data/lib/loader/import_sql.rb +91 -0
  55. data/lib/loader/import_sql.rb~ +27 -0
  56. data/lib/loader/loader.rb +122 -0
  57. data/lib/loader/loader.rb~ +4 -0
  58. data/lib/myreplicator/engine.rb +5 -0
  59. data/lib/myreplicator/version.rb +3 -0
  60. data/lib/myreplicator.rb +34 -0
  61. data/lib/tasks/myreplicator_tasks.rake +4 -0
  62. data/lib/transporter/parallelizer.rb +78 -0
  63. data/lib/transporter/transporter.rb +80 -0
  64. data/test/dummy/README.rdoc +261 -0
  65. data/test/dummy/Rakefile +7 -0
  66. data/test/dummy/app/assets/javascripts/application.js +15 -0
  67. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  68. data/test/dummy/app/controllers/application_controller.rb +3 -0
  69. data/test/dummy/app/helpers/application_helper.rb +2 -0
  70. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  71. data/test/dummy/config/application.rb +59 -0
  72. data/test/dummy/config/boot.rb +10 -0
  73. data/test/dummy/config/database.yml +42 -0
  74. data/test/dummy/config/database.yml.sample +47 -0
  75. data/test/dummy/config/database.yml.sample~ +26 -0
  76. data/test/dummy/config/database.yml~ +35 -0
  77. data/test/dummy/config/environment.rb +5 -0
  78. data/test/dummy/config/environments/development.rb +37 -0
  79. data/test/dummy/config/environments/production.rb +67 -0
  80. data/test/dummy/config/environments/test.rb +37 -0
  81. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  82. data/test/dummy/config/initializers/inflections.rb +15 -0
  83. data/test/dummy/config/initializers/mime_types.rb +5 -0
  84. data/test/dummy/config/initializers/secret_token.rb +7 -0
  85. data/test/dummy/config/initializers/session_store.rb +8 -0
  86. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  87. data/test/dummy/config/locales/en.yml +5 -0
  88. data/test/dummy/config/myreplicator.yml +22 -0
  89. data/test/dummy/config/myreplicator.yml.sample +23 -0
  90. data/test/dummy/config/myreplicator.yml~ +21 -0
  91. data/test/dummy/config/routes.rb +4 -0
  92. data/test/dummy/config.ru +4 -0
  93. data/test/dummy/db/migrate/20121101005152_sample_data.rb +24 -0
  94. data/test/dummy/db/migrate/20121115194022_create_myreplicator_exports.myreplicator.rb +36 -0
  95. data/test/dummy/db/schema.rb +45 -0
  96. data/test/dummy/db/seeds.rb +13 -0
  97. data/test/dummy/db/seeds.rb~ +1 -0
  98. data/test/dummy/log/development.log +1364 -0
  99. data/test/dummy/log/test.log +49 -0
  100. data/test/dummy/public/404.html +26 -0
  101. data/test/dummy/public/422.html +26 -0
  102. data/test/dummy/public/500.html +25 -0
  103. data/test/dummy/public/favicon.ico +0 -0
  104. data/test/dummy/script/rails +6 -0
  105. data/test/dummy/test/fixtures/myreplicator_exports.yml +0 -0
  106. data/test/dummy/tmp/cache/assets/C2E/D00/sprockets%2F667019818351638709494c01bddb5f68 +0 -0
  107. data/test/dummy/tmp/cache/assets/C83/BA0/sprockets%2F701a6339a558e5af28f150c161f43878 +0 -0
  108. data/test/dummy/tmp/cache/assets/C8B/150/sprockets%2F37163d05e55ad0b31b602ac5330412e3 +0 -0
  109. data/test/dummy/tmp/cache/assets/CBF/800/sprockets%2F00142a873933017aaa760316d0e2dcea +0 -0
  110. data/test/dummy/tmp/cache/assets/CC5/870/sprockets%2F4e91734f6f02a779d39f8272f627dd24 +0 -0
  111. data/test/dummy/tmp/cache/assets/CC9/1C0/sprockets%2Fa7a2b5a56180e1b21f783a9b30c03167 +0 -0
  112. data/test/dummy/tmp/cache/assets/CD5/B90/sprockets%2Fc999d13a6a21113981c0d820e8043bdf +0 -0
  113. data/test/dummy/tmp/cache/assets/CD7/030/sprockets%2F9ba4859590582b8b72a650b2b00b6cd2 +0 -0
  114. data/test/dummy/tmp/cache/assets/CDE/780/sprockets%2F6982ce9303b4e69c26f2a1a246a180e7 +0 -0
  115. data/test/dummy/tmp/cache/assets/CE5/670/sprockets%2Fe9e4122f1706626a21da6f8457f088ce +0 -0
  116. data/test/dummy/tmp/cache/assets/CF7/820/sprockets%2F6284656df87a7eb2545ed9b957560a7b +0 -0
  117. data/test/dummy/tmp/cache/assets/D00/9B0/sprockets%2F2bc203eb4802b393a589093debb65c04 +0 -0
  118. data/test/dummy/tmp/cache/assets/D00/A90/sprockets%2F3fa6fcf2205c530208681446cbc36bd3 +0 -0
  119. data/test/dummy/tmp/cache/assets/D0B/B30/sprockets%2F55059589d999952597c5c86e5becaf4e +0 -0
  120. data/test/dummy/tmp/cache/assets/D0D/DA0/sprockets%2F34d6b075a16a5a58ff4050988d8bd4b0 +0 -0
  121. data/test/dummy/tmp/cache/assets/D12/B40/sprockets%2F9c825562fe2a2a38bd6f41a635265bd9 +0 -0
  122. data/test/dummy/tmp/cache/assets/D1B/D40/sprockets%2F7cc2142509e95f7168a82a652d8d9dea +0 -0
  123. data/test/dummy/tmp/cache/assets/D1D/700/sprockets%2Ffe9cb975216709e2881c74b3d1d3e35f +0 -0
  124. data/test/dummy/tmp/cache/assets/D20/A20/sprockets%2Fb503e93ff1966dd94d03e79f291d75c1 +0 -0
  125. data/test/dummy/tmp/cache/assets/D26/A70/sprockets%2F63d95ae156df465783cd78e95069b2cc +0 -0
  126. data/test/dummy/tmp/cache/assets/D2B/E60/sprockets%2F8615ecf645b553c959544af9ff8438da +0 -0
  127. data/test/dummy/tmp/cache/assets/D34/F70/sprockets%2Fb93de9992473bee94e369fe3198c529c +0 -0
  128. data/test/dummy/tmp/cache/assets/D36/4D0/sprockets%2Fc050a64b5a803a638e155d05dcfe577d +0 -0
  129. data/test/dummy/tmp/cache/assets/D3E/310/sprockets%2F333a2a7535eac766267ebb7d5c2ab489 +0 -0
  130. data/test/dummy/tmp/cache/assets/D3F/A00/sprockets%2F7a803404e1f60b8d672d763cb9ba8af5 +0 -0
  131. data/test/dummy/tmp/cache/assets/D50/570/sprockets%2F6c1d20a178f66e798958d1e437fdb5da +0 -0
  132. data/test/dummy/tmp/cache/assets/D57/420/sprockets%2F937ea7429c536578ec7b688dee0cdf41 +0 -0
  133. data/test/dummy/tmp/cache/assets/D69/6F0/sprockets%2F94fff7f55bc4c300b25f3f9361ac1a52 +0 -0
  134. data/test/dummy/tmp/cache/assets/D86/D00/sprockets%2Fa4f32b4234d0d1bba272cd75e0d48e1d +0 -0
  135. data/test/dummy/tmp/cache/assets/D8B/B60/sprockets%2Faa32227c440a378ccd21218eefeb80bf +0 -0
  136. data/test/dummy/tmp/cache/assets/D9F/0B0/sprockets%2Faf0d2e69be3a6b56a76c20bf14d9e468 +0 -0
  137. data/test/dummy/tmp/cache/assets/DA8/910/sprockets%2Fab5775c4a837bd4d97ac394d473cda9b +0 -0
  138. data/test/dummy/tmp/cache/assets/DC0/100/sprockets%2F7a5d4f0d352bceed0dce0449c82251bd +0 -0
  139. data/test/dummy/tmp/cache/assets/DD2/490/sprockets%2Fa452ee92a092bc2feabc572cce49896d +0 -0
  140. data/test/dummy/tmp/cache/assets/DE1/320/sprockets%2F9f44ecdec8ceeef70871e15d88a448b1 +0 -0
  141. data/test/dummy/tmp/cache/assets/DF8/5D0/sprockets%2Fb815ed34d61cfed96222daa3bfd1d84d +0 -0
  142. data/test/dummy/tmp/cache/assets/E16/C70/sprockets%2F21ad93418ff75ceac86c7a85dfffe8f6 +0 -0
  143. data/test/dummy/tmp/cache/assets/E35/4F0/sprockets%2F96b1cdf8db6a1c8eb8abcce05958ae74 +0 -0
  144. data/test/dummy/tmp/cache/assets/E4E/300/sprockets%2Fefaae6e1a19a7c8f3acebdd5a36a6103 +0 -0
  145. data/test/fixtures/myreplicator/exports.yml +11 -0
  146. data/test/functional/myreplicator/exports_controller_test.rb +51 -0
  147. data/test/integration/navigation_test.rb +10 -0
  148. data/test/myreplicator_test.rb +7 -0
  149. data/test/test_helper.rb +15 -0
  150. data/test/unit/helpers/myreplicator/exports_helper_test.rb +6 -0
  151. data/test/unit/myreplicator/export_test.rb +10 -0
  152. data/test/unit/myreplicator/exporter_test.rb +11 -0
  153. data/test/unit/myreplicator/exporter_test.rb~ +10 -0
  154. metadata +410 -0
@@ -0,0 +1,398 @@
1
+ /* @group Base */
2
+ .chzn-container {
3
+ font-size: 13px;
4
+ position: relative;
5
+ display: inline-block;
6
+ zoom: 1;
7
+ *display: inline;
8
+ margin-bottom:20px;
9
+ }
10
+ .chzn-container .chzn-drop {
11
+ background: #fff;
12
+ border: 1px solid #aaa;
13
+ border-top: 0;
14
+ position: absolute;
15
+ top: 29px;
16
+ left: 0;
17
+ -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
18
+ -moz-box-shadow : 0 4px 5px rgba(0,0,0,.15);
19
+ box-shadow : 0 4px 5px rgba(0,0,0,.15);
20
+ z-index: 1010;
21
+ }
22
+ /* @end */
23
+
24
+ /* @group Single Chosen */
25
+ .chzn-container-single .chzn-single {
26
+ background-color: #ffffff;
27
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 );
28
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
29
+ background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
30
+ background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
31
+ background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
32
+ background-image: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
33
+ -webkit-border-radius: 5px;
34
+ -moz-border-radius : 5px;
35
+ border-radius : 5px;
36
+ -moz-background-clip : padding;
37
+ -webkit-background-clip: padding-box;
38
+ background-clip : padding-box;
39
+ border: 1px solid #aaaaaa;
40
+ -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
41
+ -moz-box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
42
+ box-shadow : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
43
+ display: block;
44
+ overflow: hidden;
45
+ white-space: nowrap;
46
+ position: relative;
47
+ height: 23px;
48
+ line-height: 24px;
49
+ padding: 0 0 0 8px;
50
+ color: #444444;
51
+ text-decoration: none;
52
+ }
53
+ .chzn-container-single .chzn-default {
54
+ color: #999;
55
+ }
56
+ .chzn-container-single .chzn-single span {
57
+ margin-right: 26px;
58
+ display: block;
59
+ overflow: hidden;
60
+ white-space: nowrap;
61
+ -o-text-overflow: ellipsis;
62
+ -ms-text-overflow: ellipsis;
63
+ text-overflow: ellipsis;
64
+ }
65
+ .chzn-container-single .chzn-single abbr {
66
+ display: block;
67
+ position: absolute;
68
+ right: 26px;
69
+ top: 6px;
70
+ width: 12px;
71
+ height: 13px;
72
+ font-size: 1px;
73
+ background: url('chosen-sprite.png') right top no-repeat;
74
+ }
75
+ .chzn-container-single .chzn-single abbr:hover {
76
+ background-position: right -11px;
77
+ }
78
+ .chzn-container-single.chzn-disabled .chzn-single abbr:hover {
79
+ background-position: right top;
80
+ }
81
+ .chzn-container-single .chzn-single div {
82
+ position: absolute;
83
+ right: 0;
84
+ top: 0;
85
+ display: block;
86
+ height: 100%;
87
+ width: 18px;
88
+ }
89
+ .chzn-container-single .chzn-single div b {
90
+ background: url('chosen-sprite.png') no-repeat 0 0;
91
+ display: block;
92
+ width: 100%;
93
+ height: 100%;
94
+ }
95
+ .chzn-container-single .chzn-search {
96
+ padding: 3px 4px;
97
+ position: relative;
98
+ margin: 0;
99
+ white-space: nowrap;
100
+ z-index: 1010;
101
+ }
102
+ .chzn-container-single .chzn-search input {
103
+ background: #fff url('chosen-sprite.png') no-repeat 100% -22px;
104
+ background: url('chosen-sprite.png') no-repeat 100% -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
105
+ background: url('chosen-sprite.png') no-repeat 100% -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
106
+ background: url('chosen-sprite.png') no-repeat 100% -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
107
+ background: url('chosen-sprite.png') no-repeat 100% -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
108
+ background: url('chosen-sprite.png') no-repeat 100% -22px, linear-gradient(#eeeeee 1%, #ffffff 15%);
109
+ margin: 1px 0;
110
+ padding: 4px 20px 4px 5px;
111
+ outline: 0;
112
+ border: 1px solid #aaa;
113
+ font-family: sans-serif;
114
+ font-size: 1em;
115
+ }
116
+ .chzn-container-single .chzn-drop {
117
+ -webkit-border-radius: 0 0 4px 4px;
118
+ -moz-border-radius : 0 0 4px 4px;
119
+ border-radius : 0 0 4px 4px;
120
+ -moz-background-clip : padding;
121
+ -webkit-background-clip: padding-box;
122
+ background-clip : padding-box;
123
+ }
124
+ /* @end */
125
+
126
+ .chzn-container-single-nosearch .chzn-search input {
127
+ position: absolute;
128
+ left: -9000px;
129
+ }
130
+
131
+ /* @group Multi Chosen */
132
+ .chzn-container-multi .chzn-choices {
133
+ background-color: #fff;
134
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
135
+ background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
136
+ background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
137
+ background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
138
+ background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
139
+ border: 1px solid #aaa;
140
+ margin: 0;
141
+ padding: 0;
142
+ cursor: text;
143
+ overflow: hidden;
144
+ height: auto !important;
145
+ height: 1%;
146
+ position: relative;
147
+ }
148
+ .chzn-container-multi .chzn-choices li {
149
+ float: left;
150
+ list-style: none;
151
+ }
152
+ .chzn-container-multi .chzn-choices .search-field {
153
+ white-space: nowrap;
154
+ margin: 0;
155
+ padding: 0;
156
+ }
157
+ .chzn-container-multi .chzn-choices .search-field input {
158
+ color: #666;
159
+ background: transparent !important;
160
+ border: 0 !important;
161
+ font-family: sans-serif;
162
+ font-size: 100%;
163
+ height: 15px;
164
+ padding: 5px;
165
+ margin: 1px 0;
166
+ outline: 0;
167
+ -webkit-box-shadow: none;
168
+ -moz-box-shadow : none;
169
+ box-shadow : none;
170
+ }
171
+ .chzn-container-multi .chzn-choices .search-field .default {
172
+ color: #999;
173
+ }
174
+ .chzn-container-multi .chzn-choices .search-choice {
175
+ -webkit-border-radius: 3px;
176
+ -moz-border-radius : 3px;
177
+ border-radius : 3px;
178
+ -moz-background-clip : padding;
179
+ -webkit-background-clip: padding-box;
180
+ background-clip : padding-box;
181
+ background-color: #e4e4e4;
182
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 );
183
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
184
+ background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
185
+ background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
186
+ background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
187
+ background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
188
+ -webkit-box-shadow: 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
189
+ -moz-box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
190
+ box-shadow : 0 0 2px #ffffff inset, 0 1px 0 rgba(0,0,0,0.05);
191
+ color: #333;
192
+ border: 1px solid #aaaaaa;
193
+ line-height: 13px;
194
+ padding: 3px 20px 3px 5px;
195
+ margin: 3px 0 3px 5px;
196
+ position: relative;
197
+ cursor: default;
198
+ }
199
+ .chzn-container-multi .chzn-choices .search-choice.search-choice-disabled {
200
+ background-color: #e4e4e4;
201
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#eeeeee', GradientType=0 );
202
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
203
+ background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
204
+ background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
205
+ background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
206
+ background-image: -ms-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
207
+ background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
208
+ color: #666;
209
+ border: 1px solid #cccccc;
210
+ padding-right: 5px;
211
+ }
212
+ .chzn-container-multi .chzn-choices .search-choice-focus {
213
+ background: #d4d4d4;
214
+ }
215
+ .chzn-container-multi .chzn-choices .search-choice .search-choice-close {
216
+ display: block;
217
+ position: absolute;
218
+ right: 3px;
219
+ top: 4px;
220
+ width: 12px;
221
+ height: 13px;
222
+ font-size: 1px;
223
+ background: url('chosen-sprite.png') right top no-repeat;
224
+ }
225
+ .chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover {
226
+ background-position: right -11px;
227
+ }
228
+ .chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close {
229
+ background-position: right -11px;
230
+ }
231
+ /* @end */
232
+
233
+ /* @group Results */
234
+ .chzn-container .chzn-results {
235
+ margin: 0 4px 4px 0;
236
+ max-height: 240px;
237
+ padding: 0 0 0 4px;
238
+ position: relative;
239
+ overflow-x: hidden;
240
+ overflow-y: auto;
241
+ -webkit-overflow-scrolling: touch;
242
+ }
243
+ .chzn-container-multi .chzn-results {
244
+ margin: -1px 0 0;
245
+ padding: 0;
246
+ }
247
+ .chzn-container .chzn-results li {
248
+ display: none;
249
+ line-height: 15px;
250
+ padding: 5px 6px;
251
+ margin: 0;
252
+ list-style: none;
253
+ }
254
+ .chzn-container .chzn-results .active-result {
255
+ cursor: pointer;
256
+ display: list-item;
257
+ }
258
+ .chzn-container .chzn-results .highlighted {
259
+ background-color: #3875d7;
260
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 );
261
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
262
+ background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
263
+ background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
264
+ background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
265
+ background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
266
+ color: #fff;
267
+ }
268
+ .chzn-container .chzn-results li em {
269
+ background: #feffde;
270
+ font-style: normal;
271
+ }
272
+ .chzn-container .chzn-results .highlighted em {
273
+ background: transparent;
274
+ }
275
+ .chzn-container .chzn-results .no-results {
276
+ background: #f4f4f4;
277
+ display: list-item;
278
+ }
279
+ .chzn-container .chzn-results .group-result {
280
+ cursor: default;
281
+ color: #999;
282
+ font-weight: bold;
283
+ }
284
+ .chzn-container .chzn-results .group-option {
285
+ padding-left: 15px;
286
+ }
287
+ .chzn-container-multi .chzn-drop .result-selected {
288
+ display: none;
289
+ }
290
+ .chzn-container .chzn-results-scroll {
291
+ background: white;
292
+ margin: 0 4px;
293
+ position: absolute;
294
+ text-align: center;
295
+ width: 321px; /* This should by dynamic with js */
296
+ z-index: 1;
297
+ }
298
+ .chzn-container .chzn-results-scroll span {
299
+ display: inline-block;
300
+ height: 17px;
301
+ text-indent: -5000px;
302
+ width: 9px;
303
+ }
304
+ .chzn-container .chzn-results-scroll-down {
305
+ bottom: 0;
306
+ }
307
+ .chzn-container .chzn-results-scroll-down span {
308
+ background: url('chosen-sprite.png') no-repeat -4px -3px;
309
+ }
310
+ .chzn-container .chzn-results-scroll-up span {
311
+ background: url('chosen-sprite.png') no-repeat -22px -3px;
312
+ }
313
+ /* @end */
314
+
315
+ /* @group Active */
316
+ .chzn-container-active .chzn-single {
317
+ -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
318
+ -moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
319
+ box-shadow : 0 0 5px rgba(0,0,0,.3);
320
+ border: 1px solid #5897fb;
321
+ }
322
+ .chzn-container-active .chzn-single-with-drop {
323
+ border: 1px solid #aaa;
324
+ -webkit-box-shadow: 0 1px 0 #fff inset;
325
+ -moz-box-shadow : 0 1px 0 #fff inset;
326
+ box-shadow : 0 1px 0 #fff inset;
327
+ background-color: #eee;
328
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
329
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
330
+ background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
331
+ background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
332
+ background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
333
+ background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
334
+ -webkit-border-bottom-left-radius : 0;
335
+ -webkit-border-bottom-right-radius: 0;
336
+ -moz-border-radius-bottomleft : 0;
337
+ -moz-border-radius-bottomright: 0;
338
+ border-bottom-left-radius : 0;
339
+ border-bottom-right-radius: 0;
340
+ }
341
+ .chzn-container-active .chzn-single-with-drop div {
342
+ background: transparent;
343
+ border-left: none;
344
+ }
345
+ .chzn-container-active .chzn-single-with-drop div b {
346
+ background-position: -18px 1px;
347
+ }
348
+ .chzn-container-active .chzn-choices {
349
+ -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
350
+ -moz-box-shadow : 0 0 5px rgba(0,0,0,.3);
351
+ box-shadow : 0 0 5px rgba(0,0,0,.3);
352
+ border: 1px solid #5897fb;
353
+ }
354
+ .chzn-container-active .chzn-choices .search-field input {
355
+ color: #111 !important;
356
+ }
357
+ /* @end */
358
+
359
+ /* @group Disabled Support */
360
+ .chzn-disabled {
361
+ cursor: default;
362
+ opacity:0.5 !important;
363
+ }
364
+ .chzn-disabled .chzn-single {
365
+ cursor: default;
366
+ }
367
+ .chzn-disabled .chzn-choices .search-choice .search-choice-close {
368
+ cursor: default;
369
+ }
370
+
371
+ /* @group Right to Left */
372
+ .chzn-rtl { text-align: right; }
373
+ .chzn-rtl .chzn-single { padding: 0 8px 0 0; overflow: visible; }
374
+ .chzn-rtl .chzn-single span { margin-left: 26px; margin-right: 0; direction: rtl; }
375
+
376
+ .chzn-rtl .chzn-single div { left: 3px; right: auto; }
377
+ .chzn-rtl .chzn-single abbr {
378
+ left: 26px;
379
+ right: auto;
380
+ }
381
+ .chzn-rtl .chzn-choices .search-field input { direction: rtl; }
382
+ .chzn-rtl .chzn-choices li { float: right; }
383
+ .chzn-rtl .chzn-choices .search-choice { padding: 3px 5px 3px 19px; margin: 3px 5px 3px 0; }
384
+ .chzn-rtl .chzn-choices .search-choice .search-choice-close { left: 4px; right: auto; background-position: right top;}
385
+ .chzn-rtl.chzn-container-single .chzn-results { margin: 0 0 4px 4px; padding: 0 4px 0 0; }
386
+ .chzn-rtl .chzn-results .group-option { padding-left: 0; padding-right: 15px; }
387
+ .chzn-rtl.chzn-container-active .chzn-single-with-drop div { border-right: none; }
388
+ .chzn-rtl .chzn-search input {
389
+ background: #fff url('chosen-sprite.png') no-repeat -38px -22px;
390
+ background: url('chosen-sprite.png') no-repeat -38px -22px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
391
+ background: url('chosen-sprite.png') no-repeat -38px -22px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
392
+ background: url('chosen-sprite.png') no-repeat -38px -22px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
393
+ background: url('chosen-sprite.png') no-repeat -38px -22px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
394
+ background: url('chosen-sprite.png') no-repeat -38px -22px, linear-gradient(#eeeeee 1%, #ffffff 15%);
395
+ padding: 4px 5px 4px 20px;
396
+ direction: rtl;
397
+ }
398
+ /* @end */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,113 @@
1
+ /* TipTip CSS - Version 1.2 */
2
+
3
+ #tiptip_holder {
4
+ display: none;
5
+ position: absolute;
6
+ top: 0;
7
+ left: 0;
8
+ z-index: 99999;
9
+ }
10
+
11
+ #tiptip_holder.tip_top {
12
+ padding-bottom: 5px;
13
+ }
14
+
15
+ #tiptip_holder.tip_bottom {
16
+ padding-top: 5px;
17
+ }
18
+
19
+ #tiptip_holder.tip_right {
20
+ padding-left: 5px;
21
+ }
22
+
23
+ #tiptip_holder.tip_left {
24
+ padding-right: 5px;
25
+ }
26
+
27
+ #tiptip_content {
28
+ font-size: 11px;
29
+ color: #fff;
30
+ text-shadow: 0 0 2px #000;
31
+ padding: 4px 8px;
32
+ border: 1px solid rgba(255,255,255,0.25);
33
+ background-color: rgb(25,25,25);
34
+ background-color: rgba(25,25,25,0.92);
35
+ background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
36
+ border-radius: 3px;
37
+ -webkit-border-radius: 3px;
38
+ -moz-border-radius: 3px;
39
+ box-shadow: 0 0 3px #555;
40
+ -webkit-box-shadow: 0 0 3px #555;
41
+ -moz-box-shadow: 0 0 3px #555;
42
+ }
43
+
44
+ #tiptip_arrow, #tiptip_arrow_inner {
45
+ position: absolute;
46
+ border-color: transparent;
47
+ border-style: solid;
48
+ border-width: 6px;
49
+ height: 0;
50
+ width: 0;
51
+ }
52
+
53
+ #tiptip_holder.tip_top #tiptip_arrow {
54
+ border-top-color: #fff;
55
+ border-top-color: rgba(255,255,255,0.35);
56
+ }
57
+
58
+ #tiptip_holder.tip_bottom #tiptip_arrow {
59
+ border-bottom-color: #fff;
60
+ border-bottom-color: rgba(255,255,255,0.35);
61
+ }
62
+
63
+ #tiptip_holder.tip_right #tiptip_arrow {
64
+ border-right-color: #fff;
65
+ border-right-color: rgba(255,255,255,0.35);
66
+ }
67
+
68
+ #tiptip_holder.tip_left #tiptip_arrow {
69
+ border-left-color: #fff;
70
+ border-left-color: rgba(255,255,255,0.35);
71
+ }
72
+
73
+ #tiptip_holder.tip_top #tiptip_arrow_inner {
74
+ margin-top: -7px;
75
+ margin-left: -6px;
76
+ border-top-color: rgb(25,25,25);
77
+ border-top-color: rgba(25,25,25,0.92);
78
+ }
79
+
80
+ #tiptip_holder.tip_bottom #tiptip_arrow_inner {
81
+ margin-top: -5px;
82
+ margin-left: -6px;
83
+ border-bottom-color: rgb(25,25,25);
84
+ border-bottom-color: rgba(25,25,25,0.92);
85
+ }
86
+
87
+ #tiptip_holder.tip_right #tiptip_arrow_inner {
88
+ margin-top: -6px;
89
+ margin-left: -5px;
90
+ border-right-color: rgb(25,25,25);
91
+ border-right-color: rgba(25,25,25,0.92);
92
+ }
93
+
94
+ #tiptip_holder.tip_left #tiptip_arrow_inner {
95
+ margin-top: -6px;
96
+ margin-left: -7px;
97
+ border-left-color: rgb(25,25,25);
98
+ border-left-color: rgba(25,25,25,0.92);
99
+ }
100
+
101
+ /* Webkit Hacks */
102
+ @media screen and (-webkit-min-device-pixel-ratio:0) {
103
+ #tiptip_content {
104
+ padding: 4px 8px 5px 8px;
105
+ background-color: rgba(45,45,45,0.88);
106
+ }
107
+ #tiptip_holder.tip_bottom #tiptip_arrow_inner {
108
+ border-bottom-color: rgba(45,45,45,0.88);
109
+ }
110
+ #tiptip_holder.tip_top #tiptip_arrow_inner {
111
+ border-top-color: rgba(20,20,20,0.92);
112
+ }
113
+ }