Hormold

VK Change (#1378872003)

Sep 10th, 2013
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 83.78 KB | None | 0 0
  1. Файл - ads.css (Старый размер - 26964 | Новый - 0):
  2. 0.  - #ads_css { display: none; }
  3. 1.  -
  4. 2.  - /* ------- */
  5. 3.  - /* General */
  6. 4.  - /* ------- */
  7. 5.  -
  8. 6.  - ul.ads_listing {
  9. 7.  -   padding: 0 0 0 30px;
  10. 8.  -   margin: 0 0 15px 0;
  11. 9.  - }
  12. 10.  - ul.ads_listing li {
  13. 11.  -   list-style: square;
  14. 12.  -   color: #758EAC;
  15. 13.  -   line-height: 160%;
  16. 14.  - }
  17. 15.  - ul.ads_listing li span {
  18. 16.  -   color: #000000;
  19. 17.  - }
  20. 18.  -
  21. 19.  - a .ads_sub_link:hover {
  22. 20.  -   text-decoration: underline;
  23. 21.  - }
  24. 22.  -
  25. 23.  - .ads_h2_add {
  26. 24.  -   font-weight: normal;
  27. 25.  -   font-size: 11px;
  28. 26.  -   padding-top: 0.185em;
  29. 27.  - }
  30. 28.  - .font_medium .ads_h2_add {
  31. 29.  -   font-size: 12px;
  32. 30.  -   padding-top: 0.14em;
  33. 31.  - }
  34. 32.  -
  35. 33.  - .ads_gradient_progress_wrap {
  36. 34.  -   height: 18px;
  37. 35.  -   margin: 0 auto;
  38. 36.  -   background: #FFFFFF;
  39. 37.  -   border: 1px solid #CCCCCC;
  40. 38.  - }
  41. 39.  -
  42. 40.  - .ads_gradient_progress {
  43. 41.  -   height: 18px;
  44. 42.  -   background: #597DA3 url(/images/progress_grad.gif) repeat;
  45. 43.  -   border: 1px solid #45688E;
  46. 44.  -   margin: -1px;
  47. 45.  - }
  48. 46.  -
  49. 47.  - /* ---- */
  50. 48.  - /* Page */
  51. 49.  - /* ---- */
  52. 50.  -
  53. 51.  - #ads_page_wrap2 {
  54. 52.  -   border: 1px solid #EBF0F4;
  55. 53.  -   border-top: 0;
  56. 54.  -   width: 791px;
  57. 55.  -   float: right;
  58. 56.  - }
  59. 57.  -
  60. 58.  - #ads_page_wrap1 {
  61. 59.  -   border: 1px solid #DAE1E8;
  62. 60.  -   border-top: 0;
  63. 61.  -   width: 789px;
  64. 62.  -   overflow: hidden;
  65. 63.  - }
  66. 64.  -
  67. 65.  - #ads_page {
  68. 66.  -   padding: 20px;
  69. 67.  - }
  70. 68.  - #ads_page.ads_page_no_padding {
  71. 69.  -   padding: 0;
  72. 70.  - }
  73. 71.  -
  74. 72.  - #ads_page_top {
  75. 73.  -   padding-top: 10px;
  76. 74.  - }
  77. 75.  -
  78. 76.  - .ads_page_extra_wide #ads_page_wrap2,
  79. 77.  - .ads_page_extra_wide #ads_page_wrap1 {
  80. 78.  -   width: auto;
  81. 79.  - }
  82. 80.  -
  83. 81.  - .ads_page_extra_wide #ads_page_wrap2 {
  84. 82.  -   float: none;
  85. 83.  - }
  86. 84.  -
  87. 85.  - #ads_page_bottom_info {
  88. 86.  -   border-top: 1px solid #C3CAD2;
  89. 87.  -   background-color: #F7F7F7;
  90. 88.  -   text-align: center;
  91. 89.  -   padding: 6px 20px;
  92. 90.  -   color: #444444;
  93. 91.  - }
  94. 92.  -
  95. 93.  - .ads_page_small {
  96. 94.  -   padding: 0 60px;
  97. 95.  - }
  98. 96.  -
  99. 97.  - /* ----- */
  100. 98.  - /* Title */
  101. 99.  - /* ----- */
  102. 100.  -
  103. 101.  - #ads_page_title {
  104. 102.  -   background-color: #E9EDF1;
  105. 103.  -   padding: 7px 10px;
  106. 104.  -   margin: 0;
  107. 105.  -   font-weight: bold;
  108. 106.  -   color: #607387;
  109. 107.  -   line-height: 140%;
  110. 108.  - }
  111. 109.  -
  112. 110.  - #ads_page_title h1 {
  113. 111.  -   font-size: 1em;
  114. 112.  -   overflow: hidden;
  115. 113.  -   padding: 0;
  116. 114.  -   margin: 0;
  117. 115.  - }
  118. 116.  -
  119. 117.  - #ads_page_title h1 a {
  120. 118.  -   color: #2B587A;
  121. 119.  - }
  122. 120.  -
  123. 121.  - #ads_page_title b {
  124. 122.  -   color: #AAB7C5;
  125. 123.  -   float: right;
  126. 124.  - }
  127. 125.  -
  128. 126.  - /* --------------- */
  129. 127.  - /* Main navigation */
  130. 128.  - /* --------------- */
  131. 129.  -
  132. 130.  - .ads_page_extra_wide #ads_navigation {
  133. 131.  -   display: none;
  134. 132.  - }
  135. 133.  -
  136. 134.  - #ads_navigation {
  137. 135.  -   width: 150px;
  138. 136.  -   padding: 12px 0 12px 0;
  139. 137.  -   word-wrap: break-word;
  140. 138.  - }
  141. 139.  -
  142. 140.  - #ads_navigation .edit_button_wrap {
  143. 141.  -   padding-bottom: 10px;
  144. 142.  - }
  145. 143.  -
  146. 144.  - #ads_navigation.ads_nav .nav {
  147. 145.  -   max-width: 128px;
  148. 146.  - }
  149. 147.  -
  150. 148.  - #ads_navigation a:hover {
  151. 149.  -   text-decoration: none;
  152. 150.  - }
  153. 151.  -
  154. 152.  - /* ------------------------------ */
  155. 153.  - /* Main navigation - offices menu */
  156. 154.  - /* ------------------------------ */
  157. 155.  -
  158. 156.  - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav {
  159. 157.  -   padding-right: 1px;
  160. 158.  -   width: 137px;
  161. 159.  -   max-width: 137px;
  162. 160.  - }
  163. 161.  -
  164. 162.  - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link {
  165. 163.  -   display: block;
  166. 164.  - }
  167. 165.  -
  168. 166.  - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text_wrap {
  169. 167.  -   display: block;
  170. 168.  -   overflow: hidden;
  171. 169.  -   white-space: nowrap;
  172. 170.  -   font-size: 0; /* Remove extra margin from inline-block */
  173. 171.  - }
  174. 172.  -
  175. 173.  - #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text {
  176. 174.  -   display: inline-block;
  177. 175.  -   overflow: hidden;
  178. 176.  -   white-space: nowrap;
  179. 177.  -   font-size: 11px; /* Remove extra margin from inline-block */
  180. 178.  - }
  181. 179.  - .font_medium #ads_navigation.ads_nav #ads_navigation_offices_menu.nav .dd_link #ads_navigation_offices_menu_text {
  182. 180.  -   font-size: 12px;
  183. 181.  - }
  184. 182.  -
  185. 183.  - .dd_menu.ads_navigation_dd_menu_header_wrap {
  186. 184.  -   margin: 4px 0 0 7px;
  187. 185.  - }
  188. 186.  -
  189. 187.  - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header {
  190. 188.  -   width: 148px;
  191. 189.  - }
  192. 190.  -
  193. 191.  - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header div {
  194. 192.  -   background-position: right -14px;
  195. 193.  -   *background-position: right -13px;
  196. 194.  - }
  197. 195.  -
  198. 196.  - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_header div #ads_navigation_dd_menu_header_text {
  199. 197.  -   padding: 1px 0 1px 4px;
  200. 198.  -   display: block;
  201. 199.  -   overflow: hidden;
  202. 200.  -   white-space: nowrap;
  203. 201.  - }
  204. 202.  -
  205. 203.  - .dd_menu.ads_navigation_dd_menu_header_wrap .dd_menu_body .ads_office_name_wrap {
  206. 204.  -   display: inline-block;
  207. 205.  -   overflow: hidden;
  208. 206.  -   max-width: 300px;
  209. 207.  - }
  210. 208.  -
  211. 209.  - /* ---------------------- */
  212. 210.  - /* Main navigation - news */
  213. 211.  - /* ---------------------- */
  214. 212.  -
  215. 213.  - .ads_naviagation_news {
  216. 214.  -   padding: 20px 0 5px 11px;
  217. 215.  - }
  218. 216.  -
  219. 217.  - .ads_naviagation_news .news_title {
  220. 218.  -   font-weight: bold;
  221. 219.  -   color: #2B587A;
  222. 220.  -   padding-bottom: 10px;
  223. 221.  - }
  224. 222.  -
  225. 223.  - .ads_naviagation_news ul {
  226. 224.  -   padding: 0;
  227. 225.  -   margin: 0;
  228. 226.  -   list-style-type: none;
  229. 227.  -   color: #758EAC;
  230. 228.  - }
  231. 229.  -
  232. 230.  - .ads_naviagation_news li {
  233. 231.  -   padding-bottom: 10px;
  234. 232.  - }
  235. 233.  -
  236. 234.  - .ads_naviagation_news span {
  237. 235.  -   color: #666666;
  238. 236.  -   font-size: 0.91em;
  239. 237.  - }
  240. 238.  -
  241. 239.  - #ads_navigation .ads_naviagation_news a:hover {
  242. 240.  -   text-decoration: underline;
  243. 241.  - }
  244. 242.  -
  245. 243.  - /* ---------- */
  246. 244.  - /* Navigation */
  247. 245.  - /* ---------- */
  248. 246.  -
  249. 247.  - .ads_nav .nav {
  250. 248.  -   padding: 4px 10px;
  251. 249.  -   display: block;
  252. 250.  -   overflow: hidden;
  253. 251.  - }
  254. 252.  -
  255. 253.  - .ads_nav .nav {
  256. 254.  -   border: 1px solid white;
  257. 255.  -   background-color: white;
  258. 256.  - }
  259. 257.  -
  260. 258.  - .ads_nav .nav:hover {
  261. 259.  -   background-color: #E1E7ED;
  262. 260.  -   border-color: #E1E7ED;
  263. 261.  -   text-decoration: none;
  264. 262.  - }
  265. 263.  -
  266. 264.  - .ads_nav .nav_selected,
  267. 265.  - .ads_nav .nav_selected:hover {
  268. 266.  -   border-color: #517295;
  269. 267.  -   background-color: #5e82a8;
  270. 268.  -   color: white;
  271. 269.  - }
  272. 270.  -
  273. 271.  - .ads_nav .nav_separator {
  274. 272.  -   border-bottom: 1px solid #D3DBE1;
  275. 273.  -   height: 1px;
  276. 274.  -   overflow: hidden;
  277. 275.  -   margin: 7px 0px 8px 0;
  278. 276.  - }
  279. 277.  -
  280. 278.  - /* ---- */
  281. 279.  - /* Tabs */
  282. 280.  - /* ---- */
  283. 281.  -
  284. 282.  - .ads_tabs_filters {
  285. 283.  -   background-color: #F7F7F7;
  286. 284.  -   border-bottom: 1px solid #DAE1E8;
  287. 285.  -   padding: 10px 10px 5px 10px;
  288. 286.  - }
  289. 287.  - .ads_tabs_filters.separate {
  290. 288.  -   border-top: 1px solid #DAE1E8;
  291. 289.  - }
  292. 290.  - .ads_round_tab_wrap {
  293. 291.  -   padding: 0 5px 5px 0;
  294. 292.  -   text-align: center;
  295. 293.  - }
  296. 294.  - .ads_round_tab_wrap .round_tab.disabled:hover,
  297. 295.  - .ads_round_tab_wrap .round_tab.label:hover {
  298. 296.  -   background-color: transparent;
  299. 297.  -   cursor: default;
  300. 298.  - }
  301. 299.  - .ads_round_tab_wrap .round_tab.label {
  302. 300.  -   color: #555555;
  303. 301.  - }
  304. 302.  - .ads_round_tabs_period_day .round_tab {
  305. 303.  -   width: 100px;
  306. 304.  - }
  307. 305.  - .ads_round_tabs_period_week .round_tab {
  308. 306.  -   width: 180px;
  309. 307.  - }
  310. 308.  - .ads_round_tabs_period_month .round_tab {
  311. 309.  -   width: 100px;
  312. 310.  - }
  313. 311.  -
  314. 312.  - /* Other */
  315. 313.  -
  316. 314.  - /* --- */
  317. 315.  - /* OLD */
  318. 316.  - /* --- */
  319. 317.  -
  320. 318.  - /* From rustyle.css */
  321. 319.  -
  322. 320.  - /* Uses in paginated_table.js */
  323. 321.  - .ads_lite_cb {
  324. 322.  -   background: transparent url(/images/icons/check_lt.gif) 0px 0px no-repeat;
  325. 323.  -   line-height: 0.81em;
  326. 324.  -   vertical-align: baseline;
  327. 325.  -   padding: 0px 0px 1px 20px;
  328. 326.  -   cursor: pointer;
  329. 327.  - }
  330. 328.  - .ads_lite_cb:hover {
  331. 329.  -   background-position: 0px -32px;
  332. 330.  -   text-decoration: none;
  333. 331.  - }
  334. 332.  - .ads_lite_cb.on {
  335. 333.  -   background-position: 0px -16px;
  336. 334.  - }
  337. 335.  - .ads_lite_cb.on:hover {
  338. 336.  -   background-position: 0px -48px;
  339. 337.  - }
  340. 338.  -
  341. 339.  - .ads_mass_act_container {
  342. 340.  -   text-align: right;
  343. 341.  - }
  344. 342.  - .ads_mass_act_container div {
  345. 343.  -   margin-right: 8px;
  346. 344.  -   margin-bottom: 5px;
  347. 345.  - }
  348. 346.  - .ads_mass_act_container button {
  349. 347.  -   height: 21px;
  350. 348.  -   line-height: 0.9em;
  351. 349.  -   padding: 4px 10px 4px;
  352. 350.  - }
  353. 351.  - .ads_search_cell {
  354. 352.  -   width: 140px;
  355. 353.  - }
  356. 354.  - .ads_search_cell div.pt_search_container {
  357. 355.  -   margin: 0px -3px 5px -3px;
  358. 356.  - }
  359. 357.  -
  360. 358.  - div.ads_selecting_subclasses {
  361. 359.  -   margin-bottom: 4px;
  362. 360.  - }
  363. 361.  -
  364. 362.  - .dd_menu_header.ads_dd_wide.ads_dd_header_popup div {
  365. 363.  -   background: url(/images/flydead.gif) no-repeat right 6px #FFFFFF;
  366. 364.  -   padding-right: 17px;
  367. 365.  -   border: 1px solid #FFFFFF;
  368. 366.  -   color: #2B587A;
  369. 367.  -   font-weight: normal;
  370. 368.  -   text-decoration: none;
  371. 369.  - }
  372. 370.  -
  373. 371.  - .dd_menu_header.ads_dd_wide div {
  374. 372.  -   background: #5e82a8 url(/images/flydead.gif) no-repeat right -12px;
  375. 373.  -   width: 106px;
  376. 374.  - }
  377. 375.  -
  378. 376.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a {
  379. 377.  -   height: 20px;
  380. 378.  - }
  381. 379.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span {
  382. 380.  -   margin: 4px 5px -2px -1px;
  383. 381.  - }
  384. 382.  -
  385. 383.  - .dd_menu_header.ads_dd_wide div .ads_status_image_span {
  386. 384.  -   margin: 4px 5px -1px -1px;
  387. 385.  - }
  388. 386.  - .dd_menu_header.ads_dd_wide div {
  389. 387.  -   line-height: 1.45em;
  390. 388.  - }
  391. 389.  -
  392. 390.  - td.paginated_table_cell.column_status_view {
  393. 391.  -   padding-left: 10px;
  394. 392.  - }
  395. 393.  -
  396. 394.  - .ads_status_selector_box {
  397. 395.  -   display: block;
  398. 396.  -   margin: 0px auto;
  399. 397.  -   width: 20px;
  400. 398.  -   height: 20px;
  401. 399.  - }
  402. 400.  -
  403. 401.  - .ads_status_selector_box.pnt {
  404. 402.  -   cursor: pointer;
  405. 403.  - }
  406. 404.  -
  407. 405.  - .ads_status_selector_box.pnt:hover {
  408. 406.  -   background-color: #E1E7ED;
  409. 407.  -   border-radius: 3px;
  410. 408.  -   -moz-border-radius: 3px;
  411. 409.  - }
  412. 410.  -
  413. 411.  - #ads_unions_content .table_label {
  414. 412.  -   min-width: 150px;
  415. 413.  -   max-width: 180px;
  416. 414.  -   color: rgb(102, 102, 102);
  417. 415.  -   padding: 0 10px 4px 0;
  418. 416.  -   vertical-align: top;
  419. 417.  -   word-wrap: break-word;
  420. 418.  - }
  421. 419.  - #ads_unions_content .table_value {
  422. 420.  -   padding: 0 0 4px 0;
  423. 421.  -   vertical-align: top;
  424. 422.  -   word-wrap: break-word;
  425. 423.  - }
  426. 424.  -
  427. 425.  - #ads_unions_content.ad_help {
  428. 426.  -   padding: 0;
  429. 427.  - }
  430. 428.  -
  431. 429.  - #ads_unions_content {
  432. 430.  -   vertical-align: top;
  433. 431.  - }
  434. 432.  -
  435. 433.  - #ads_union_children,
  436. 434.  - #ads_unions_budget {
  437. 435.  -   padding-top: 20px;
  438. 436.  - }
  439. 437.  -
  440. 438.  - #ads_union_children_graph {
  441. 439.  -   padding: 30px 0 15px 0;
  442. 440.  - }
  443. 441.  -
  444. 442.  - .ads_unions_box td.label {
  445. 443.  -   color: #777;
  446. 444.  -   padding: 5px 10px 5px 0px;
  447. 445.  -   text-align: right;
  448. 446.  - }
  449. 447.  - .ads_unions_box td.labeled {
  450. 448.  -   padding: 2px 0;
  451. 449.  - }
  452. 450.  - .ads_unions_box td.labeled_info {
  453. 451.  -   padding: 2px 0 2px 5px;
  454. 452.  - }
  455. 453.  -
  456. 454.  - .ads_unions_box input {
  457. 455.  -   width: 150px;
  458. 456.  - }
  459. 457.  -
  460. 458.  - .ads_unions_list table {
  461. 459.  -   border-collapse: collapse;
  462. 460.  -   border-left: 1px solid;
  463. 461.  -   border-right: 1px solid;
  464. 462.  -   width: 100%;
  465. 463.  - }
  466. 464.  -
  467. 465.  - .ads_unions_list th,
  468. 466.  - .ads_unions_list td {
  469. 467.  -   height: 32px;
  470. 468.  -   vertical-align: middle;
  471. 469.  - }
  472. 470.  -
  473. 471.  - .ads_unions_list .checkbox_container td {
  474. 472.  -   height: 20px;
  475. 473.  - }
  476. 474.  -
  477. 475.  - .ads_unions_list th {
  478. 476.  -   text-align: right;
  479. 477.  -   background-color: rgb(227, 233, 238);
  480. 478.  -   border: 1px solid;
  481. 479.  -   padding: 0;
  482. 480.  - }
  483. 481.  - .ads_table_header th th,
  484. 482.  - .ads_table_header th th * {
  485. 483.  -   background-color: transparent !important;
  486. 484.  - }
  487. 485.  -
  488. 486.  - .ads_unions_list th,
  489. 487.  - .ads_unions_list th * {
  490. 488.  -   color: rgb(81, 103, 122);
  491. 489.  - }
  492. 490.  -
  493. 491.  - .ads_unions_list td {
  494. 492.  -   text-align: right;
  495. 493.  - }
  496. 494.  -
  497. 495.  - .ads_unions_list .column_date_view,
  498. 496.  - .ads_unions_list .column_date_view *,
  499. 497.  - .ads_unions_list .column_action_view,
  500. 498.  - .ads_unions_list .column_action_view *,
  501. 499.  - .ads_unions_list .column_access_view,
  502. 500.  - .ads_unions_list .column_access_view *,
  503. 501.  - .ads_unions_list .column_name_view,
  504. 502.  - .ads_unions_list .column_name_view *,
  505. 503.  - .ads_unions_list .column_name,
  506. 504.  - .ads_unions_list .column_name *,
  507. 505.  - .ads_unions_list .column_status,
  508. 506.  - .ads_unions_list .column_status * {
  509. 507.  -   text-align: left;
  510. 508.  - }
  511. 509.  -
  512. 510.  - .ads_unions_list td.column_name_view {
  513. 511.  -   max-width: 160px;
  514. 512.  - }
  515. 513.  -
  516. 514.  - .ads_unions_list .table_footer td {
  517. 515.  -   background-color: rgb(246, 247, 249);
  518. 516.  -   border-top: 1px solid rgb(211, 219, 225);
  519. 517.  -   border-bottom: 1px solid rgb(211, 219, 225);
  520. 518.  - }
  521. 519.  -
  522. 520.  - .ads_unions_list table,
  523. 521.  - .ads_unions_list th,
  524. 522.  - .ads_unions_list td {
  525. 523.  -   border-color: rgb(211, 219, 225);
  526. 524.  - }
  527. 525.  -
  528. 526.  - .ads_unions_list th * {
  529. 527.  -   border: 0;
  530. 528.  -   padding: 0;
  531. 529.  -   height: auto;
  532. 530.  - }
  533. 531.  -
  534. 532.  - .ads_unions_list th table {
  535. 533.  -   height: 100%;
  536. 534.  -   border: 0;
  537. 535.  - }
  538. 536.  -
  539. 537.  - .ads_unions_list tr.ads_table_header th th {
  540. 538.  -   border-left: 1px solid rgb(239, 242, 245);
  541. 539.  -   white-space: nowrap;
  542. 540.  - }
  543. 541.  -
  544. 542.  - .ads_unions_list tr.ads_table_header th.first_table_header,
  545. 543.  - .ads_unions_list tr.ads_table_header th.first_table_header * {
  546. 544.  -   border-left: 0 none;
  547. 545.  - }
  548. 546.  -
  549. 547.  - .ads_unions_list th th,
  550. 548.  - .ads_unions_list td {
  551. 549.  -   padding: 0 8px;
  552. 550.  - }
  553. 551.  -
  554. 552.  - .ads_unions_list th.first_table_header th,
  555. 553.  - .ads_unions_list td.first_table_column {
  556. 554.  -   padding-left: 10px;
  557. 555.  - }
  558. 556.  -
  559. 557.  - .ads_unions_list th.last_table_header th,
  560. 558.  - .ads_unions_list td.last_table_column {
  561. 559.  -   padding-right: 10px;
  562. 560.  - }
  563. 561.  -
  564. 562.  - .ads_unions_list td.even_row {
  565. 563.  -   background-color: #F0F2F4;
  566. 564.  - }
  567. 565.  -
  568. 566.  - .ads_unions_table {
  569. 567.  -   margin-top: 7px;
  570. 568.  - }
  571. 569.  -
  572. 570.  - .paginated_table .ads_unions_table {
  573. 571.  -   margin-top: 0px;
  574. 572.  - }
  575. 573.  -
  576. 574.  - .ads_unions_list td.column_day_limit_view a,
  577. 575.  - .ads_unions_list td.column_all_limit_view a,
  578. 576.  - .ads_unions_list td.column_cost_per_click_view a {
  579. 577.  -   border-bottom: 1px dashed #2B587A;
  580. 578.  -   text-decoration: none;
  581. 579.  - }
  582. 580.  -
  583. 581.  - tr.ads_union_empty_row td.ads_union_empty_cell {
  584. 582.  -   height: auto;
  585. 583.  - }
  586. 584.  -
  587. 585.  - tr.ads_union_empty_row td.ads_union_empty_cell {
  588. 586.  -   text-align: center !important;
  589. 587.  -   color: #666666;
  590. 588.  -   line-height: 150%;
  591. 589.  -   background-color: #F7F7F7;
  592. 590.  -   padding: 15px 0;
  593. 591.  - }
  594. 592.  -
  595. 593.  - .ads_unions_list_p .paginated_table_cell {
  596. 594.  -   text-align: right;
  597. 595.  - }
  598. 596.  -
  599. 597.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_date_view,
  600. 598.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_date_view *,
  601. 599.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_action_view,
  602. 600.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_action_view *,
  603. 601.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_access_view,
  604. 602.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_access_view *,
  605. 603.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view,
  606. 604.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view *,
  607. 605.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name,
  608. 606.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name *,
  609. 607.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_status,
  610. 608.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_status * {
  611. 609.  -   text-align: left;
  612. 610.  - }
  613. 611.  -
  614. 612.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view,
  615. 613.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name_view *,
  616. 614.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name,
  617. 615.  - .ads_unions_list_p .paginated_table .paginated_table_cell.column_name *,
  618. 616.  - .paginated_table .paginated_table_cell.column_client_name,
  619. 617.  - .paginated_table .paginated_table_cell.column_client_name *,
  620. 618.  - .paginated_table .paginated_table_cell.column_campaign_name,
  621. 619.  - .paginated_table .paginated_table_cell.column_campaign_name * {
  622. 620.  -   white-space: normal !important;
  623. 621.  - }
  624. 622.  -
  625. 623.  - .ads_unions_list_p td.paginated_table_cell.column_name_view,
  626. 624.  - .ads_unions_list_p td.paginated_table_cell.column_name {
  627. 625.  -   max-width: 160px;
  628. 626.  -   overflow: visible;
  629. 627.  - }
  630. 628.  - .ads_unions_list_p td.paginated_table_cell.column_date_view {
  631. 629.  -   min-width: 20%;
  632. 630.  - }
  633. 631.  - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_day_limit_view a,
  634. 632.  - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_all_limit_view a,
  635. 633.  - .ads_unions_list_p .paginated_table td.paginated_table_cell.column_cost_per_click_view a {
  636. 634.  -   border-bottom: 1px dashed #2B587A;
  637. 635.  -   text-decoration: none;
  638. 636.  - }
  639. 637.  -
  640. 638.  - .ads_unions_list_p .paginated_table td.column_video_views_count_view {
  641. 639.  -   width: 1px;
  642. 640.  - }
  643. 641.  -
  644. 642.  - tr.ads_union_empty_row td.ads_union_empty_cell {
  645. 643.  -   height: auto;
  646. 644.  - }
  647. 645.  -
  648. 646.  - tr.ads_union_empty_row td.ads_union_empty_cell {
  649. 647.  -   text-align: center !important;
  650. 648.  -   color: #666666;
  651. 649.  -   line-height: 150%;
  652. 650.  -   background-color: #F7F7F7;
  653. 651.  -   padding: 15px 0;
  654. 652.  - }
  655. 653.  -
  656. 654.  - /* Some navigation - begin */
  657. 655.  -
  658. 656.  - #ads_graph_navigation a.nav,
  659. 657.  - #ads_demography_navigation a.nav {
  660. 658.  -   padding: 4px 5px 4px 10px;
  661. 659.  -   display: block;
  662. 660.  -   overflow: hidden;
  663. 661.  -   border: 1px solid #F7F7F7;
  664. 662.  - }
  665. 663.  - #ads_graph_navigation a.nav,
  666. 664.  - #ads_demography_navigation a.nav {
  667. 665.  -   border: 1px solid #FFFFFF;
  668. 666.  -   background-color: #FFFFFF;
  669. 667.  - }
  670. 668.  - #ads_graph_navigation a.nav:hover,
  671. 669.  - #ads_demography_navigation a.nav:hover {
  672. 670.  -   background-color: #DAE1E8;
  673. 671.  -   border-color: #DAE1E8;
  674. 672.  -   text-decoration: none;
  675. 673.  - }
  676. 674.  - #ads_graph_navigation a.nav_selected,
  677. 675.  - #ads_graph_navigation a.nav_selected:hover,
  678. 676.  - #ads_demography_navigation a.nav_selected,
  679. 677.  - #ads_demography_navigation a.nav_selected:hover {
  680. 678.  -   border-color: #517295;
  681. 679.  -   background-color: #5e82a8;
  682. 680.  -   color: #FFF;
  683. 681.  - }
  684. 682.  -
  685. 683.  - /* Some navigation - end */
  686. 684.  -
  687. 685.  - a.ads_status_link,
  688. 686.  - a.ads_inline_dropdown {
  689. 687.  -   background: none !important;
  690. 688.  -   border-bottom: 1px dashed #2B587A;
  691. 689.  -   padding-right: 0 !important;
  692. 690.  - }
  693. 691.  -
  694. 692.  - .ads_main_notice {
  695. 693.  -   background-color: #F6F7F9;
  696. 694.  -   border: 1px solid #D8DFEA;
  697. 695.  -   padding: 10px;
  698. 696.  -   margin-bottom: 15px;
  699. 697.  -   line-height: 160%;
  700. 698.  - }
  701. 699.  -
  702. 700.  - .ads_warning {
  703. 701.  -   background-color: #F9F6E7;
  704. 702.  -   border: 1px solid #D4BC4C;
  705. 703.  -   padding: 8px 11px;
  706. 704.  -   line-height: 160%;
  707. 705.  - }
  708. 706.  -
  709. 707.  - .ads_warning_light {
  710. 708.  -   background-color: #FFFFFF;
  711. 709.  -   border: 1px solid #B9C4DA;
  712. 710.  -   padding: 8px 11px;
  713. 711.  - }
  714. 712.  -
  715. 713.  - .ads_small_info {
  716. 714.  -   background: none repeat scroll 0 0 #F7F7F7;
  717. 715.  -   border: 1px solid #DAE1E8;
  718. 716.  -   font-size: 0.91em;
  719. 717.  -   margin-top: 10px;
  720. 718.  -   padding: 5px 10px;
  721. 719.  -   vertical-align: top;
  722. 720.  - }
  723. 721.  -
  724. 722.  - #ads_change_budget_box .ads_warning {
  725. 723.  -   margin-top: 10px;
  726. 724.  - }
  727. 725.  -
  728. 726.  - #ads_change_budget_box td {
  729. 727.  -   padding: 0px;
  730. 728.  - }
  731. 729.  -
  732. 730.  - .ads_union_status_image {
  733. 731.  -   background: url("/images/icons/ad_status.gif?3") no-repeat scroll left top transparent;
  734. 732.  -   width: 5px;
  735. 733.  -   height: 5px;
  736. 734.  -   margin: 0 5px 1px 0;
  737. 735.  -   display: block;
  738. 736.  -
  739. 737.  -   display:   -moz-inline-stack;
  740. 738.  -   display:   inline-block;
  741. 739.  -   _overflow: hidden;
  742. 740.  -   *zoom:     1;
  743. 741.  -   *display:  inline;
  744. 742.  - }
  745. 743.  -
  746. 744.  - .ads_union_status_image_on {
  747. 745.  -   background-position: left 0;
  748. 746.  - }
  749. 747.  - .ads_union_status_image_off {
  750. 748.  -   background-position: left -5px;
  751. 749.  - }
  752. 750.  - .ads_union_status_image_part_on {
  753. 751.  -   background-position: left -10px;
  754. 752.  - }
  755. 753.  - .ads_union_status_image_part_off {
  756. 754.  -   background-position: left -15px;
  757. 755.  - }
  758. 756.  - .ads_union_status_image_disapproved {
  759. 757.  -   background-position: left -20px;
  760. 758.  - }
  761. 759.  - .ads_union_status_image_deleted {
  762. 760.  -   background-position: left -25px;
  763. 761.  - }
  764. 762.  -
  765. 763.  - .ads_status_image_span {
  766. 764.  -   background: url("/images/icons/ad_status_new.gif") no-repeat scroll left top transparent;
  767. 765.  -   width: 11px;
  768. 766.  -   height: 11px;
  769. 767.  -   margin: 5px 0px 3px 2px;
  770. 768.  -   display: block;
  771. 769.  -
  772. 770.  -   display:   -moz-inline-stack;
  773. 771.  -   display:   inline-block;
  774. 772.  -   _overflow: hidden;
  775. 773.  -   *zoom:     1;
  776. 774.  -   *display:  inline;
  777. 775.  - }
  778. 776.  -
  779. 777.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_on,
  780. 778.  - .ads_status_image_span.status_on {
  781. 779.  -   background-position: left -0px;
  782. 780.  - }
  783. 781.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_off,
  784. 782.  - .ads_status_image_span.status_off {
  785. 783.  -   background-position: left -170px;
  786. 784.  - }
  787. 785.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_pending,
  788. 786.  - .ads_status_image_span.status_pending {
  789. 787.  -   background-position: left -157px;
  790. 788.  - }
  791. 789.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_off_red,
  792. 790.  - .ads_status_image_span.status_off_red {
  793. 791.  -   background-position: left -128px;
  794. 792.  - }
  795. 793.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_deleted,
  796. 794.  - .ads_status_image_span.status_deleted {
  797. 795.  -   background-position: left -183px;
  798. 796.  - }
  799. 797.  - .dd_menu_header.ads_dd_header_popup .ads_status_image_span.status_cross,
  800. 798.  - .ads_status_image_span.status_cross {
  801. 799.  -   background-position: left -141px;
  802. 800.  - }
  803. 801.  -
  804. 802.  - .dd_menu_header .ads_status_image_span.status_on {
  805. 803.  -   background-position: left -16px;
  806. 804.  - }
  807. 805.  - .dd_menu_header .ads_status_image_span.status_off {
  808. 806.  -   background-position: left -29px;
  809. 807.  - }
  810. 808.  - .dd_menu_header .ads_status_image_span.status_pending {
  811. 809.  -   background-position: left -69px;
  812. 810.  - }
  813. 811.  - .dd_menu_header .ads_status_image_span.status_off_red {
  814. 812.  -   background-position: left -29px;
  815. 813.  - }
  816. 814.  - .dd_menu_header .ads_status_image_span.status_deleted {
  817. 815.  -   background-position: left -41px;
  818. 816.  - }
  819. 817.  - .dd_menu_header .ads_status_image_span.status_cross {
  820. 818.  -   background-position: left -55px;
  821. 819.  - }
  822. 820.  -
  823. 821.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_on {
  824. 822.  -   background-position: left -85px;
  825. 823.  - }
  826. 824.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_off {
  827. 825.  -   background-position: left -98px;
  828. 826.  - }
  829. 827.  - .dd_menu_body.ads_dd_wide .dd_menu_rows a .ads_status_image_span.status_deleted {
  830. 828.  -   background-position: left -111px;
  831. 829.  - }
  832. 830.  -
  833. 831.  - .ads_unions_list tr.ads_table_header th.paginated_table td.paginated_table_cell.column_commit_date,
  834. 832.  - .ads_unions_list tr.ads_table_header th.paginated_table td.paginated_table_cell.column_commit_date * {
  835. 833.  -   border-left: 0 none;
  836. 834.  - }
  837. 835.  -
  838. 836.  - #ads_unions_budget * {
  839. 837.  -   text-align: left;
  840. 838.  - }
  841. 839.  -
  842. 840.  - #ads_general_info_status_selector {
  843. 841.  -   border-bottom: 1px dashed #2B587A;
  844. 842.  - }
  845. 843.  -
  846. 844.  - table.ads_unions_content_label {
  847. 845.  -   border-collapse: collapse;
  848. 846.  - }
  849. 847.  -
  850. 848.  - .ads_export_prefs .table_label {
  851. 849.  -   line-height: 190%;
  852. 850.  - }
  853. 851.  - .ads_export_prefs .table_value {
  854. 852.  -   width: 300px;
  855. 853.  - }
  856. 854.  -
  857. 855.  - #ads_unions_content .export_prefs_web .summary td {
  858. 856.  -   padding-top: 10px !important;
  859. 857.  - }
  860. 858.  -
  861. 859.  - .ads_export_stats .ads_unions_table th.paginated_table td.paginated_table_cell.column_checked {
  862. 860.  -   width: 34px;
  863. 861.  - }
  864. 862.  -
  865. 863.  - .ads_unions_list .checkbox_container table {
  866. 864.  -   border: 0px;
  867. 865.  - }
  868. 866.  -
  869. 867.  - .ads_unions_table .hovered_header,
  870. 868.  - .ads_unions_table .hovered_header_hover {
  871. 869.  -   cursor: pointer;
  872. 870.  - }
  873. 871.  - .ads_unions_table .hovered_header_hover {
  874. 872.  -   background-color: #EFF2F5;
  875. 873.  - }
  876. 874.  -
  877. 875.  - .ads_inline_edit_remove_value {
  878. 876.  -   margin-left: 5px;
  879. 877.  -   white-space: nowrap;
  880. 878.  - }
  881. 879.  -
  882. 880.  - .ads_inline_edit_table {
  883. 881.  -   border-collapse: collapse;
  884. 882.  - }
  885. 883.  - table.ads_inline_edit_table td {
  886. 884.  -   padding: 0;
  887. 885.  - }
  888. 886.  - .ads_inline_fast_error_row {
  889. 887.  -   display: none;
  890. 888.  - }
  891. 889.  - .ads_inline_fast_error {
  892. 890.  -   background-color: #F9F6E7;
  893. 891.  -   border: 1px solid #D4BC4C;
  894. 892.  -   padding: 8px 11px;
  895. 893.  -   margin-top: 5px;
  896. 894.  - }
  897. 895.  -
  898. 896.  - .ads_inline_recommended_cost_text {
  899. 897.  -   font-size: 0.91em;
  900. 898.  -   color: #777777;
  901. 899.  -   display: none;
  902. 900.  - }
  903. 901.  -
  904. 902.  - .ads_moder_comment_rules_wrap ul {
  905. 903.  -   list-style: square outside none;
  906. 904.  -   color: #758EAC;
  907. 905.  -   margin: 11px 0 0 0;
  908. 906.  - }
  909. 907.  - .ads_moder_comment_rules_wrap span {
  910. 908.  -   color: black;
  911. 909.  - }
  912. 910.  - .ads_moder_comment_rules_separator {
  913. 911.  -   height: 11px;
  914. 912.  - }
  915. 913.  -
  916. 914.  - #ads_admin_box_wrapper a:hover {
  917. 915.  -   text-decoration: underline;
  918. 916.  - }
  919. 917.  -
  920. 918.  - .ads_admin_table_cell {
  921. 919.  -   border-bottom: 1px solid #DAE2E8;
  922. 920.  - }
  923. 921.  -
  924. 922.  - .admin_table_cell_last {
  925. 923.  -   border-bottom: none;
  926. 924.  - }
  927. 925.  -
  928. 926.  - .ads_admin_box_label {
  929. 927.  -   color: #777777;
  930. 928.  -   text-align: right;
  931. 929.  -   width: 125px;
  932. 930.  -   padding-right: 10px;
  933. 931.  - }
  934. 932.  - .ads_admin_box_labeled {
  935. 933.  -   width: 270px;
  936. 934.  - }
  937. 935.  -
  938. 936.  - .ads_general_info_hidden {
  939. 937.  -   display: none;
  940. 938.  - }
  941. 939.  -
  942. 940.  - .ads_general_info .table_large_text {
  943. 941.  -   width: 400px;
  944. 942.  - }
  945. 943.  -
  946. 944.  - #ads_unions_content h4 span {
  947. 945.  -   font-weight: bold
  948. 946.  - }
  949. 947.  -
  950. 948.  - .ads_users_stats_dark {
  951. 949.  -   background-color: #597DA3;
  952. 950.  - }
  953. 951.  -
  954. 952.  - .ads_users_stats_light {
  955. 953.  -   background-color: #DAE1E8;
  956. 954.  - }
  957. 955.  -
  958. 956.  - .ads_users_stats_bars_title {
  959. 957.  -   padding-bottom: 16px;
  960. 958.  -   color: #45688E;
  961. 959.  -   font-weight: bold;
  962. 960.  - }
  963. 961.  -
  964. 962.  - .ads_users_stats_bar_label {
  965. 963.  -   height: 30px;
  966. 964.  -   text-align: right;
  967. 965.  -   padding-right: 16px;
  968. 966.  -   padding-top: 2px;
  969. 967.  -   vertical-align: top;
  970. 968.  -   color: #45688E;
  971. 969.  -   font-weight: bold;
  972. 970.  - }
  973. 971.  - .ads_users_stats_bar_wrap table {
  974. 972.  -   border: 0px;
  975. 973.  -   border-collapse: collapse;
  976. 974.  - }
  977. 975.  - .ads_users_stats_bar_wrap table td {
  978. 976.  -   padding: 0px;
  979. 977.  - }
  980. 978.  - .ads_users_stats_bar_wrap {
  981. 979.  -   height: 30px;
  982. 980.  -   vertical-align: top;
  983. 981.  - }
  984. 982.  - .ads_users_stats_bar_wrap table td.ads_users_stats_bar_value {
  985. 983.  -   padding-left: 11px;
  986. 984.  - }
  987. 985.  - .ads_users_stats_bar {
  988. 986.  -   -moz-border-radius: 0 3px 3px 0;
  989. 987.  -   -webkit-border-radius: 0 3px 3px 0;
  990. 988.  -   -khtml-border-radius: 0 3px 3px 0;
  991. 989.  -   border-radius: 0 3px 3px 0;
  992. 990.  -   height: 17px;
  993. 991.  - }
  994. 992.  -
  995. 993.  - #ads_demography_wrap .summary_right .summary_tab2 {
  996. 994.  -   background-color: transparent;
  997. 995.  - }
  998. 996.  -
  999. 997.  - .ads_dropdown_menu_scrollbar {
  1000. 998.  -   position: absolute;
  1001. 999.  -   z-index: 1500;
  1002. 1000.  -   background-color: #000;
  1003. 1001.  -
  1004. 1002.  -   opacity: 0.4;
  1005. 1003.  -   -moz-opacity: 0.4;
  1006. 1004.  -   filter: alpha(opacity=40);
  1007. 1005.  -
  1008. 1006.  -   border-radius: 3px;
  1009. 1007.  -   -webkit-border-radius: 3px;
  1010. 1008.  -   -moz-border-radius: 3px;
  1011. 1009.  -   -khtml-border-radius: 3px;
  1012. 1010.  - }
  1013. 1011.  - .ads_dropdown_menu_scrollbar:hover,
  1014. 1012.  - .ads_dropdown_menu_scrollbar.hovered {
  1015. 1013.  -   opacity: 0.6;
  1016. 1014.  -   -moz-opacity: 0.6;
  1017. 1015.  -   filter: alpha(opacity=60);
  1018. 1016.  - }
  1019. 1017.  -
  1020. 1018.  - #ads_admin_box_wrapper h2 {
  1021. 1019.  -   padding: 0;
  1022. 1020.  -   margin: 0;
  1023. 1021.  -   border: none;
  1024. 1022.  - }
  1025. 1023.  -
  1026. 1024.  - #ads_reqs_edit td.ads_req_label {
  1027. 1025.  -   color: #666666;
  1028. 1026.  -   text-align: right;
  1029. 1027.  -   vertical-align: top;
  1030. 1028.  -   padding-top: 5px;
  1031. 1029.  - }
  1032. 1030.  -
  1033. 1031.  - #ads_reqs_edit td.ads_req_right {
  1034. 1032.  -   width: 100px;
  1035. 1033.  - }
  1036. 1034.  -
  1037. 1035.  - #ads_reqs_edit_form input.ads_req_edit,
  1038. 1036.  - #ads_reqs_edit_form textarea.ads_req_edit {
  1039. 1037.  -   margin: 0px;
  1040. 1038.  -   width: 250px;
  1041. 1039.  - }
  1042. 1040.  -
  1043. 1041.  - #ads_legal_info_box div {
  1044. 1042.  -   padding: 8px 11px;
  1045. 1043.  -   border: 1px solid #C0CAD5;
  1046. 1044.  - }
  1047. 1045.  -
  1048. 1046.  - /*
  1049. 1047.  -  *   About section
  1050. 1048.  -  */
  1051. 1049.  -
  1052. 1050.  - .ads_help_section.section_wrap {
  1053. 1051.  -   padding: 20px 25px 25px 26px;
  1054. 1052.  -   line-height: 130%;
  1055. 1053.  - }
  1056. 1054.  -
  1057. 1055.  - .ads_help_section .header {
  1058. 1056.  -   font-size: 1.09em;
  1059. 1057.  -   margin: 0px 0px 20px 1px;
  1060. 1058.  -   border: none;
  1061. 1059.  - }
  1062. 1060.  - .ads_help_section .sub_header {
  1063. 1061.  -   border-bottom: 1px solid #DAE1E8;
  1064. 1062.  -   font-size: 1em;
  1065. 1063.  -   margin-bottom: 10px;
  1066. 1064.  -   padding-bottom: 2px;
  1067. 1065.  - }
  1068. 1066.  - .ads_help_section .sub_header,
  1069. 1067.  - .ads_help_section .header {
  1070. 1068.  -   color: #45688E;
  1071. 1069.  -   font-weight: bold;
  1072. 1070.  - }
  1073. 1071.  - .ads_help_section .header_hl {
  1074. 1072.  -   border-bottom: 1px solid #DAE1E8;
  1075. 1073.  -   padding-bottom: 3px;
  1076. 1074.  -   margin-bottom: 10px;
  1077. 1075.  - }
  1078. 1076.  -
  1079. 1077.  - .ads_help_section .listing li {
  1080. 1078.  -   padding-top: 2px;
  1081. 1079.  - }
  1082. 1080.  -
  1083. 1081.  - .ads_help_section .listing,
  1084. 1082.  - .ads_help_section ol {
  1085. 1083.  -   padding-bottom: 0px;
  1086. 1084.  -   margin-bottom: 0px;
  1087. 1085.  - }
  1088. 1086.  -
  1089. 1087.  - .ads_help_section .par_divider {
  1090. 1088.  -   margin-bottom: 31px;
  1091. 1089.  - }
  1092. 1090.  -
  1093. 1091.  - .ads_help_section .emph_link {
  1094. 1092.  -   margin-left: 26px;
  1095. 1093.  - }
  1096. 1094.  -
  1097. 1095.  - #unions_navigation {
  1098. 1096.  -   vertical-align: top;
  1099. 1097.  - }
  1100. 1098.  -
  1101. 1099.  - #unions_navigation {
  1102. 1100.  -   width: 150px;
  1103. 1101.  -   padding: 12px 12px 12px 0;
  1104. 1102.  - }
  1105. 1103.  -
  1106. 1104.  - #unions_navigation .edit_button_wrap {
  1107. 1105.  -   padding-bottom: 10px;
  1108. 1106.  - }
  1109. 1107.  -
  1110. 1108.  - #unions_navigation .nav_separator {
  1111. 1109.  -   border-bottom: 1px solid rgb(211, 219, 225);
  1112. 1110.  -   height: 1px;
  1113. 1111.  -   overflow: hidden;
  1114. 1112.  -   margin: 7px 0px 8px 0;
  1115. 1113.  - }
  1116. 1114.  -
  1117. 1115.  - #unions_navigation a.nav {
  1118. 1116.  -   padding: 4px 5px 4px 10px;
  1119. 1117.  -   display: block;
  1120. 1118.  -   overflow: hidden;
  1121. 1119.  -   border: 1px solid #F7F7F7;
  1122. 1120.  - }
  1123. 1121.  - #unions_navigation a.nav {
  1124. 1122.  -   border: 1px solid white;
  1125. 1123.  - }
  1126. 1124.  - #unions_navigation a.nav {
  1127. 1125.  -   max-width: 133px;
  1128. 1126.  -   word-wrap: break-word;
  1129. 1127.  - }
  1130. 1128.  - #unions_navigation a.nav:hover {
  1131. 1129.  -   background-color: #DAE1E8;
  1132. 1130.  -   border-color: #DAE1E8;
  1133. 1131.  -   text-decoration: none;
  1134. 1132.  - }
  1135. 1133.  - #unions_navigation a.nav:hover {
  1136. 1134.  -   background-color: #E1E7ED;
  1137. 1135.  -   border-color: #E1E7ED;
  1138. 1136.  - }
  1139. 1137.  - #unions_navigation a.nav_selected,
  1140. 1138.  - #unions_navigation a.nav_selected:hover {
  1141. 1139.  -   border-color: #517295;
  1142. 1140.  -   background-color: #5e82a8;
  1143. 1141.  -   color: #FFF;
  1144. 1142.  - }
  1145. 1143.  -
  1146. 1144.  -
  1147. 1145.  - #unions_navigation.ads_unions_navigation_about {
  1148. 1146.  -   background-color: #F7F7F7;
  1149. 1147.  -   border-left: 1px solid #DAE1E8;
  1150. 1148.  -   padding: 14px 10px;
  1151. 1149.  - }
  1152. 1150.  -
  1153. 1151.  - #unions_navigation.ads_unions_navigation_about .nav {
  1154. 1152.  -   border-color: #F7F7F7;
  1155. 1153.  - }
  1156. 1154.  -
  1157. 1155.  - #unions_navigation.ads_unions_navigation_about .nav_selected {
  1158. 1156.  -   border-color: #517295;
  1159. 1157.  - }
  1160. 1158.  -
  1161. 1159.  - .ads_unions_navigation_about .ad_box_preview {
  1162. 1160.  -   border: 1px solid #DCE3E9
  1163. 1161.  - }
  1164. 1162.  -
  1165. 1163.  - #ads_contacts_form {
  1166. 1164.  -   margin: 20px 0 0 0;
  1167. 1165.  - }
  1168. 1166.  - #ads_contacts_form .row {
  1169. 1167.  -   clear: both;
  1170. 1168.  -   height: 30px;
  1171. 1169.  - }
  1172. 1170.  - #ads_contacts_form .label {
  1173. 1171.  -   width: 100px;
  1174. 1172.  -   color: #555;
  1175. 1173.  -   float: left;
  1176. 1174.  -   padding: 4px 10px 0 0;
  1177. 1175.  -   text-align: right;
  1178. 1176.  -   clear: left;
  1179. 1177.  - }
  1180. 1178.  - #ads_contacts_form .labeled {
  1181. 1179.  -   padding-left: 110px;
  1182. 1180.  - }
  1183. 1181.  - #ads_contacts_form input.txt {
  1184. 1182.  -   width: 242px;
  1185. 1183.  - }
  1186. 1184.  - #ads_contacts_form textarea.txt {
  1187. 1185.  -   width: 242px;
  1188. 1186.  -   height: 90px;
  1189. 1187.  - }
  1190. 1188.  - #ads_contacts_form .msg {
  1191. 1189.  -   background-color: #f9f6e7;
  1192. 1190.  -   border-color: #c3b988;
  1193. 1191.  -   font-weight: normal;
  1194. 1192.  - }
  1195. 1193.  -
  1196. 1194.  - /* Multi dropdown menu - begin */
  1197. 1195.  -
  1198. 1196.  - a.ads_dd_menu_item_checkbox_on,
  1199. 1197.  - a.ads_dd_menu_item_checkbox_off {
  1200. 1198.  -   padding-left: 22px !important;
  1201. 1199.  -   background-image: none !important;
  1202. 1200.  -   background-position: 4px 2px !important;
  1203. 1201.  - }
  1204. 1202.  - a.ads_dd_menu_item_checkbox_on {
  1205. 1203.  -   background-image: url("/images/dropdead_check.gif") !important;
  1206. 1204.  - }
  1207. 1205.  -
  1208. 1206.  - /* Multi dropdown menu - end */
  1209. 1207.  -
  1210. 1208.  - .ads_paginated_table_name {
  1211. 1209.  -   overflow: hidden;
  1212. 1210.  -   white-space: nowrap;
  1213. 1211.  - }
  1214. 1212.  -
  1215. 1213.  - .ad_new_user td.label {
  1216. 1214.  -   text-align: right;
  1217. 1215.  -   padding: 6px 15px 6px 0;
  1218. 1216.  -   width: 120px;
  1219. 1217.  -   color: gray;
  1220. 1218.  - }
  1221. 1219.  - .ad_new_user td.labeled input {
  1222. 1220.  -   width: 160px;
  1223. 1221.  - }
  1224. 1222.  -
  1225. 1223.  - #ads_page_simple .ads_reg_row {
  1226. 1224.  -   height: 30px;
  1227. 1225.  - }
  1228. 1226.  - #ads_page_simple .ads_reg_label {
  1229. 1227.  -   width: 231px;
  1230. 1228.  -   float: left;
  1231. 1229.  -   text-align: right;
  1232. 1230.  -   color: #777777;
  1233. 1231.  -   padding: 4px 10px 0 0;
  1234. 1232.  - }
  1235. 1233.  - #ads_page_simple .ads_reg_labeled {
  1236. 1234.  -   float: left;
  1237. 1235.  - }
  1238. 1236.  - #ads_page_simple .ads_reg_labeled_input {
  1239. 1237.  -   margin: 0;
  1240. 1238.  - }
  1241. 1239.  - #ads_page_simple .ads_reg_labeled input#first_name,
  1242. 1240.  - #ads_page_simple .ads_reg_labeled input#last_name,
  1243. 1241.  - #ads_page_simple .ads_reg_labeled input#regemail,
  1244. 1242.  - #ads_page_simple .ads_reg_labeled input#regpass {
  1245. 1243.  -   width: 217px;
  1246. 1244.  - }
  1247. 1245.  -
  1248. 1246.  - .box_body .ads_disapproved_message {
  1249. 1247.  -   line-height: 150%;
  1250. 1248.  - }
  1251. 1249.  -
  1252. 1250.  - .ads_wiki_wrap {
  1253. 1251.  -   line-height: 160%;
  1254. 1252.  - }
  1255. 1253.  -
  1256. 1254.  - .ads_wiki_bonus {
  1257. 1255.  -   padding-bottom: 10px;
  1258. 1256.  - }
  1259. 1257.  -
  1260. 1258.  - #ads_bonus_activation_form .ads_unions_content_label td {
  1261. 1259.  -   padding: 0 0 4px 0;
  1262. 1260.  - }
  1263. 1261.  -
  1264. 1262.  - #ads_unions_content .payments_systems_container {
  1265. 1263.  -   padding: 7px 102px 0 50px;
  1266. 1264.  - }
  1267. 1265.  -
  1268. 1266.  - #ads_unions_content .payments_systems_container .ps_desc_short {
  1269. 1267.  -   padding-right: 120px;
  1270. 1268.  - }
  1271. 1269.  -
  1272. 1270.  - #ads_unions_content .payments_systems_container .term_info {
  1273. 1271.  -   min-height: 24px;
  1274. 1272.  - }
  1275. 1273.  -
  1276. 1274.  - #ads_unions_content .payments_landing div {
  1277. 1275.  -   margin-bottom: 20px;
  1278. 1276.  - }
  1279. 1277.  -
  1280. 1278.  - #ads_retargeting_groups_table {
  1281. 1279.  -   margin-top: 15px;
  1282. 1280.  - }
  1283. 1281.  - #ads_retargeting_groups_table .column_action_view {
  1284. 1282.  -   width: 100px;
  1285. 1283.  -   white-space: nowrap;
  1286. 1284.  - }
  1287. 1285.  - #ads_retargeting_groups .ads_retargeting_controls {
  1288. 1286.  -   padding-top: 15px;
  1289. 1287.  - }
  1290. 1288.  - .ads_retargeting_box {
  1291. 1289.  -   line-height: 160%;
  1292. 1290.  - }
  1293. 1291.  - .ads_retargeting_box_text {
  1294. 1292.  -   padding-bottom: 10px;
  1295. 1293.  - }
  1296. 1294.  - .ads_retargeting_box td.label {
  1297. 1295.  -   color: #777;
  1298. 1296.  -   padding: 5px 10px 5px 0px;
  1299. 1297.  -   text-align: right;
  1300. 1298.  -   width: 100px;
  1301. 1299.  - }
  1302. 1300.  - .ads_retargeting_box td.labeled {
  1303. 1301.  -   padding: 2px 0;
  1304. 1302.  - }
  1305. 1303.  - .ads_retargeting_box td.labeled_info {
  1306. 1304.  -   padding: 2px 0 2px 5px;
  1307. 1305.  - }
  1308. 1306.  - .ads_retargeting_box input {
  1309. 1307.  -   width: 190px;
  1310. 1308.  - }
  1311. 1309.  - #ads_retargeting_box_error {
  1312. 1310.  -   margin-bottom: 10px;
  1313. 1311.  -   display: none;
  1314. 1312.  - }
  1315. 1313.  - .ads_retargeting_box .box_msg {
  1316. 1314.  -   margin-bottom: 10px;
  1317. 1315.  -   font-weight: normal;
  1318. 1316.  - }
  1319. 1317.  - .ads_retargeting_box_notice {
  1320. 1318.  -   font-size: 0.91em;
  1321. 1319.  -   color: #777;
  1322. 1320.  - }
  1323. 1321.  - #retargeting_group_pixel {
  1324. 1322.  -   background-color: #F2F2F2;
  1325. 1323.  -   height: 110px;
  1326. 1324.  -   width: 245px;
  1327. 1325.  - }
  1328. 1326.  - .ads_retargeting_text {
  1329. 1327.  -   line-height: 150%;
  1330. 1328.  - }
  1331. ------
  1332. Файл - ads_moder.css (Старый размер - 11150 | Новый - 0):
  1333. 0.  - #ads_moder_css { display: none; }
  1334. 1.  -
  1335. 2.  - /* ------- */
  1336. 3.  - /* General */
  1337. 4.  - /* ------- */
  1338. 5.  -
  1339. 6.  - .ads_overflow_hidden_wrap1 {
  1340. 7.  -   overflow: hidden;
  1341. 8.  - }
  1342. 9.  - .ads_overflow_hidden_wrap2 {
  1343. 10.  -   overflow: visible;
  1344. 11.  -   white-space: nowrap;
  1345. 12.  -   width: 1px;
  1346. 13.  - }
  1347. 14.  -
  1348. 15.  - .ads_moder_tabs {
  1349. 16.  -   padding-top: 0;
  1350. 17.  - }
  1351. 18.  - .ads_moder_tabs ul.t0 {
  1352. 19.  -   width: auto;
  1353. 20.  - }
  1354. 21.  -
  1355. 22.  - /* -- */
  1356. 23.  - /* Ad */
  1357. 24.  - /* -- */
  1358. 25.  -
  1359. 26.  - .ads_ad_char_hint {
  1360. 27.  -   position: relative;
  1361. 28.  - }
  1362. 29.  - .ads_ad_char_hint_color {
  1363. 30.  -   visibility: hidden;
  1364. 31.  -   position: absolute;
  1365. 32.  -   height: 1px;
  1366. 33.  -   bottom: 0;
  1367. 34.  -   left: 0;
  1368. 35.  -   border-bottom: 1px solid red;
  1369. 36.  -   overflow: hidden;
  1370. 37.  - }
  1371. 38.  - .ads_ad_box a:hover .ads_ad_char_hint_color {
  1372. 39.  -   visibility: visible;
  1373. 40.  - }
  1374. 41.  -
  1375. 42.  - /* ------- */
  1376. 43.  - /* Markers */
  1377. 44.  - /* ------- */
  1378. 45.  -
  1379. 46.  - .ads_marker_wrap_ad {
  1380. 47.  -   position: relative;
  1381. 48.  - }
  1382. 49.  - .ads_marker_wrap {
  1383. 50.  -   position: absolute;
  1384. 51.  -   top: 1px;
  1385. 52.  -   left: 1px;
  1386. 53.  -   z-index: 10;
  1387. 54.  - }
  1388. 55.  - .ads_marker {
  1389. 56.  -   float: left;
  1390. 57.  -   width: 5px;
  1391. 58.  -   height: 5px;
  1392. 59.  -   margin-right: 2px;
  1393. 60.  -   border-radius: 1px;
  1394. 61.  - }
  1395. 62.  - .ads_marker_wrap_ad:hover .ads_marker {
  1396. 63.  -   width: 7px;
  1397. 64.  -   height: 7px;
  1398. 65.  -   border-radius: 2px;
  1399. 66.  - }
  1400. 67.  -
  1401. 68.  - .ads_marker_target {
  1402. 69.  -   background-color: #ff8000;
  1403. 70.  - }
  1404. 71.  - .ads_marker_clicked {
  1405. 72.  -   background-color: #9966cc;
  1406. 73.  - }
  1407. 74.  - .ads_marker_closed {
  1408. 75.  -   background-color: #00b2cc;
  1409. 76.  - }
  1410. 77.  - .ads_marker_viewed {
  1411. 78.  -   background-color: #ff55aa;
  1412. 79.  - }
  1413. 80.  -
  1414. 81.  - .ads_marker_offensive {
  1415. 82.  -   background-color: #5090ff;
  1416. 83.  - }
  1417. 84.  - .ads_marker_porno {
  1418. 85.  -   background-color: #ff2213;
  1419. 86.  - }
  1420. 87.  - .ads_marker_cheaters {
  1421. 88.  -   background-color: #a0522d;
  1422. 89.  - }
  1423. 90.  - .ads_marker_against {
  1424. 91.  -   background-color: #008000;
  1425. 92.  - }
  1426. 93.  -
  1427. 94.  - .ads_marker_enabled {
  1428. 95.  -   background-color: #00aa00;
  1429. 96.  - }
  1430. 97.  - .ads_marker_enabling {
  1431. 98.  -   background-color: #CFB53B;
  1432. 99.  - }
  1433. 100.  - .ads_marker_approved {
  1434. 101.  -   background-color: #0000dd;
  1435. 102.  - }
  1436. 103.  - .ads_marker_disapproved {
  1437. 104.  -   background-color: #aa0000;
  1438. 105.  - }
  1439. 106.  - .ads_marker_archived {
  1440. 107.  -   background-color: #333333;
  1441. 108.  - }
  1442. 109.  -
  1443. 110.  - .ads_marker_request_manual {
  1444. 111.  -   background-color: #e0b080;
  1445. 112.  - }
  1446. 113.  - .ads_marker_request_wrong {
  1447. 114.  -   background-color: #00d07f;
  1448. 115.  - }
  1449. 116.  -
  1450. 117.  - .ads_marker_target_tip {
  1451. 118.  -   color: #ff8000;
  1452. 119.  - }
  1453. 120.  - .ads_marker_clicked_tip {
  1454. 121.  -   color: #9966cc;
  1455. 122.  - }
  1456. 123.  - .ads_marker_closed_tip {
  1457. 124.  -   color: #00b2cc;
  1458. 125.  - }
  1459. 126.  - .ads_marker_viewed_tip {
  1460. 127.  -   color: #ff55aa;
  1461. 128.  - }
  1462. 129.  -
  1463. 130.  - .ads_marker_offensive_tip {
  1464. 131.  -   color: #5090ff;
  1465. 132.  - }
  1466. 133.  - .ads_marker_porno_tip {
  1467. 134.  -   color: #ff2213;
  1468. 135.  - }
  1469. 136.  - .ads_marker_cheaters_tip {
  1470. 137.  -   color: #a0522d;
  1471. 138.  - }
  1472. 139.  - .ads_marker_against_tip {
  1473. 140.  -   color: #008000;
  1474. 141.  - }
  1475. 142.  -
  1476. 143.  - .ads_marker_enabled_tip {
  1477. 144.  -   color: #00aa00;
  1478. 145.  - }
  1479. 146.  - .ads_marker_enabling_tip {
  1480. 147.  -   color: #CFB53B;
  1481. 148.  - }
  1482. 149.  - .ads_marker_approved_tip {
  1483. 150.  -   color: #0000dd;
  1484. 151.  - }
  1485. 152.  - .ads_marker_disapproved_tip {
  1486. 153.  -   color: #aa0000;
  1487. 154.  - }
  1488. 155.  - .ads_marker_archived_tip {
  1489. 156.  -   color: #333333;
  1490. 157.  - }
  1491. 158.  -
  1492. 159.  - .ads_marker_request_manual_tip {
  1493. 160.  -   color: #e0b080;
  1494. 161.  - }
  1495. 162.  - .ads_marker_request_wrong_tip {
  1496. 163.  -   color: #00d07f;
  1497. 164.  - }
  1498. 165.  -
  1499. 166.  - .ads_marker_other_tip {
  1500. 167.  -   color: #2b587a;
  1501. 168.  - }
  1502. 169.  - .ads_marker_grey_tip {
  1503. 170.  -   color: grey;
  1504. 171.  - }
  1505. 172.  - /* #8B00ff */
  1506. 173.  - /* 009090 */
  1507. 174.  -
  1508. 175.  - .ads_info_marker {
  1509. 176.  -   position: absolute;
  1510. 177.  -   z-index: 20;
  1511. 178.  -   top: 2px;
  1512. 179.  -   right: 2px;
  1513. 180.  -
  1514. 181.  -   background-color: #D5DDE5;
  1515. 182.  -   border-radius: 3px;
  1516. 183.  -   text-align: center;
  1517. 184.  -
  1518. 185.  -   width: 20px;
  1519. 186.  -   height: 20px;
  1520. 187.  -   line-height: 20px;
  1521. 188.  -   font-size: 1px;
  1522. 189.  -   opacity: 0.5;
  1523. 190.  -
  1524. 191.  -   display: none;
  1525. 192.  - }
  1526. 193.  - .ads_marker_wrap_ad:hover .ads_info_marker {
  1527. 194.  -   display: block;
  1528. 195.  -   text-decoration: none;
  1529. 196.  - }
  1530. 197.  - .ads_marker_wrap_ad .ads_info_marker:hover {
  1531. 198.  -   font-size: 11px;
  1532. 199.  -   opacity: 1;
  1533. 200.  - }
  1534. 201.  -
  1535. 202.  - /* -------- */
  1536. 203.  - /* Category */
  1537. 204.  - /* -------- */
  1538. 205.  -
  1539. 206.  - .ads_category_wrap {
  1540. 207.  -   max-width: 118px;
  1541. 208.  -   margin-top: 4px;
  1542. 209.  -   display: inline-block;
  1543. 210.  -   font-size: 0.91em;
  1544. 211.  -   position: relative;
  1545. 212.  - }
  1546. 213.  - .ads_category_wrap .ads_category_parent {
  1547. 214.  -   position: absolute;
  1548. 215.  -   z-index: 10;
  1549. 216.  -   display: none;
  1550. 217.  -   white-space: nowrap;
  1551. 218.  -   padding-left: 5px;
  1552. 219.  - }
  1553. 220.  - .ads_category_wrap .ads_subcategory {
  1554. 221.  -   font-weight: bold;
  1555. 222.  - }
  1556. 223.  - .ads_category_wrap:hover .ads_subcategory,
  1557. 224.  - .ads_category_wrap:hover .ads_category_parent {
  1558. 225.  -   background-color: white;
  1559. 226.  - }
  1560. 227.  - .ads_category_wrap:hover .ads_category_parent {
  1561. 228.  -   display: inline;
  1562. 229.  - }
  1563. 230.  -
  1564. 231.  - /* -------- */
  1565. 232.  - /* Ads info */
  1566. 233.  - /* -------- */
  1567. 234.  -
  1568. 235.  - .ads_info_premoderation_request .ads_ad_box_border {
  1569. 236.  -   border-width: 1px;
  1570. 237.  - }
  1571. 238.  - .ads_info_premoderation_request .label {
  1572. 239.  -   color: grey;
  1573. 240.  -   padding-right: 10px;
  1574. 241.  - }
  1575. 242.  - .ads_info_premoderation_request .info_msg {
  1576. 243.  -   margin-top: 15px;
  1577. 244.  - }
  1578. 245.  - .ads_info_premoderation_request_info {
  1579. 246.  -   line-height: 160%;
  1580. 247.  - }
  1581. 248.  - .ads_info_premoderation_request_info td {
  1582. 249.  -   vertical-align: top;
  1583. 250.  -   padding-bottom: 3px;
  1584. 251.  - }
  1585. 252.  - .ads_info_premoderation_request_ad_prev,
  1586. 253.  - .ads_info_premoderation_request_ad_cur,
  1587. 254.  - .ads_info_premoderation_request_arrow,
  1588. 255.  - .ads_info_premoderation_request_info {
  1589. 256.  -   padding-right: 15px;
  1590. 257.  - }
  1591. 258.  - .ads_info_premoderation_request_ad_prev,
  1592. 259.  - .ads_info_premoderation_request_ad_cur,
  1593. 260.  - .ads_info_premoderation_request_info {
  1594. 261.  -   vertical-align: top;
  1595. 262.  - }
  1596. 263.  - .ads_info_premoderation_request_ad_prev,
  1597. 264.  - .ads_info_premoderation_request_ad_cur {
  1598. 265.  -   text-align: center;
  1599. 266.  - }
  1600. 267.  - .ads_info_premoderation_request_arrow {
  1601. 268.  -   font-size: 30px;
  1602. 269.  - }
  1603. 270.  -
  1604. 271.  - /* ------- */
  1605. 272.  - /* All ads */
  1606. 273.  - /* ------- */
  1607. 274.  -
  1608. 275.  - .ads_all_navigation_page {
  1609. 276.  -   display: block;
  1610. 277.  -   float: left;
  1611. 278.  -   text-decoration: none !important;
  1612. 279.  -   padding: 5px;
  1613. 280.  -   margin: 0 3px 3px 0;
  1614. 281.  -   border: 1px solid #DAE1E8;
  1615. 282.  -   min-width: 45px;
  1616. 283.  - }
  1617. 284.  - .ads_all_navigation_page.current {
  1618. 285.  -   font-weight: bold;
  1619. 286.  - }
  1620. 287.  -
  1621. 288.  - .ads_all_ads_box {
  1622. 289.  -   float: left;
  1623. 290.  -   height: 300px;
  1624. 291.  -   margin: 0 5px;
  1625. 292.  - }
  1626. 293.  -
  1627. 294.  - .ads_all_ads_box .ads_ad_box_border {
  1628. 295.  -   border-width: 1px;
  1629. 296.  - }
  1630. 297.  -
  1631. 298.  - /* ------------- */
  1632. 299.  - /* Premoderation */
  1633. 300.  - /* ------------- */
  1634. 301.  -
  1635. 302.  - .ads_premoderation_requests {
  1636. 303.  -   margin-right: -30px;
  1637. 304.  - }
  1638. 305.  - .ads_premoderation_request_wrap {
  1639. 306.  -   float: left;
  1640. 307.  -   height: 480px;
  1641. 308.  -   margin: 10px 30px 0 0;
  1642. 309.  - }
  1643. 310.  - .ads_premoderation_request_wrap.first {
  1644. 311.  -   margin-right: 31px;
  1645. 312.  - }
  1646. 313.  -
  1647. 314.  - .ads_premoderation_requests .ads_ad_box_border {
  1648. 315.  -   border-width: 1px;
  1649. 316.  - }
  1650. 317.  -
  1651. 318.  - .ads_premoderation_requests_office .label {
  1652. 319.  -   padding-right: 10px;
  1653. 320.  -   vertical-align: top;
  1654. 321.  - }
  1655. 322.  - .ads_premoderation_requests_office_columns {
  1656. 323.  -   width: 100%;
  1657. 324.  - }
  1658. 325.  - .ads_premoderation_requests_office_column {
  1659. 326.  -   vertical-align: top;
  1660. 327.  - }
  1661. 328.  - .ads_premoderation_requests_office_column_domains {
  1662. 329.  -   text-align: right;
  1663. 330.  - }
  1664. 331.  - .ads_premoderation_requests_office_domains {
  1665. 332.  -   display: inline-block;
  1666. 333.  - }
  1667. 334.  - .ads_premoderation_requests_office_domains .labeled {
  1668. 335.  -   text-align: left;
  1669. 336.  - }
  1670. 337.  - .ads_premoderation_requests_office_domain_similar {
  1671. 338.  -   color: #aa0000;
  1672. 339.  - }
  1673. 340.  -
  1674. 341.  - .ads_premoderation_request {
  1675. 342.  -   border: 1px solid #D3DBE1;
  1676. 343.  -   padding: 3px;
  1677. 344.  -   width: 283px;
  1678. 345.  - }
  1679. 346.  - .ads_premoderation_request_ad_wrap {
  1680. 347.  -   vertical-align: top;
  1681. 348.  -   text-align: center;
  1682. 349.  -   padding-top: 5px;
  1683. 350.  - }
  1684. 351.  - .ads_premoderation_request_ad_wrap2 {
  1685. 352.  -   display: inline-block;
  1686. 353.  - }
  1687. 354.  - .ads_premoderation_request_ad_page_link_wrap {
  1688. 355.  -   font-size: 30px;
  1689. 356.  -   text-align: center;
  1690. 357.  -   line-height: 20px;
  1691. 358.  -   overflow: hidden;
  1692. 359.  - }
  1693. 360.  - a.ads_premoderation_request_ad_page_link {
  1694. 361.  -   text-decoration: none;
  1695. 362.  - }
  1696. 363.  - .ads_premoderation_request_ad_link_url_wrap {
  1697. 364.  -   padding: 5px 3px 0 3px;
  1698. 365.  - }
  1699. 366.  - .ads_premoderation_request_notes_wrap {
  1700. 367.  -   padding: 5px 3px 0 3px;
  1701. 368.  - }
  1702. 369.  - .ads_premoderation_request_comment_wrap {
  1703. 370.  -   padding-top: 3px;
  1704. 371.  - }
  1705. 372.  - .ads_premoderation_request_comment_wrap2 {
  1706. 373.  -   margin-right: 8px;
  1707. 374.  - }
  1708. 375.  - .ads_premoderation_request_comment {
  1709. 376.  -   width: 100%;
  1710. 377.  -   margin: 0;
  1711. 378.  - }
  1712. 379.  - .ads_premoderation_request_actions_wrap {
  1713. 380.  -   padding-top: 8px;
  1714. 381.  - }
  1715. 382.  - .ads_premoderation_request_actions_wrap2 {
  1716. 383.  -   width: 100%;
  1717. 384.  -   border-collapse: collapse;
  1718. 385.  - }
  1719. 386.  - .ads_premoderation_request_reasons_wrap2 {
  1720. 387.  -   position: relative;
  1721. 388.  - }
  1722. 389.  - .ads_premoderation_request_result_wrap {
  1723. 390.  -   height: 20px;
  1724. 391.  -   padding: 5px 3px 3px 3px;
  1725. 392.  - }
  1726. 393.  - .ads_premoderation_request_result {
  1727. 394.  -   color: grey;
  1728. 395.  - }
  1729. 396.  -
  1730. 397.  - .ads_premoderation_categories_edit_box .info_msg {
  1731. 398.  -   margin-bottom: 15px;
  1732. 399.  - }
  1733. 400.  - .ads_premoderation_categories_edit_box .label {
  1734. 401.  -   padding-top: 4px;
  1735. 402.  -   color: grey;
  1736. 403.  -   width: 150px;
  1737. 404.  -   text-align: right;
  1738. 405.  - }
  1739. 406.  - .ads_premoderation_categories_edit_box .labeled {
  1740. 407.  -   padding-bottom: 10px;
  1741. 408.  - }
  1742. 409.  -
  1743. 410.  - .ads_premoderation_mass_progress_wrap2,
  1744. 411.  - .ads_premoderation_mass_result {
  1745. 412.  -   padding-top: 10px;
  1746. 413.  - }
  1747. 414.  - .ads_premoderation_mass_progress_wrap1 {
  1748. 415.  -   width: 250px;
  1749. 416.  - }
  1750. 417.  -
  1751. 418.  - .ads_premoderation_stat_moder_name_wrap {
  1752. 419.  -   visibility: hidden;
  1753. 420.  -   position: relative;
  1754. 421.  - }
  1755. 422.  - .ads_premoderation_stat_moder_name {
  1756. 423.  -   visibility: visible;
  1757. 424.  -   position: absolute;
  1758. 425.  -   left: 0;
  1759. 426.  -   top: 0;
  1760. 427.  -   white-space: nowrap;
  1761. 428.  - }
  1762. 429.  - .ads_premoderation_stat_value_hint,
  1763. 430.  - .ads_premoderation_stat_value_hint a {
  1764. 431.  -  color: gray;
  1765. 432.  - }
  1766. 433.  -
  1767. 434.  - /* ---- */
  1768. 435.  - /* Logs */
  1769. 436.  - /* ---- */
  1770. 437.  -
  1771. 438.  - table.ads_logs_users {
  1772. 439.  -   border-collapse: collapse;
  1773. 440.  - }
  1774. 441.  - table.ads_logs_users td,
  1775. 442.  - table.ads_logs_users th {
  1776. 443.  -   padding: 2px 5px;
  1777. 444.  - }
  1778. 445.  -
  1779. 446.  - table.ads_logs_info {
  1780. 447.  -   border-collapse: collapse;
  1781. 448.  - }
  1782. 449.  - table.ads_logs_info td,
  1783. 450.  - table.ads_logs_info th {
  1784. 451.  -   padding: 1px 10px;
  1785. 452.  - }
  1786. 453.  -
  1787. 454.  - /* ------------ */
  1788. 455.  - /* Stat summary */
  1789. 456.  - /* ------------ */
  1790. 457.  -
  1791. 458.  - .ads_moder_stat_summary_range_wrap {
  1792. 459.  -   margin-top: -2px;
  1793. 460.  - }
  1794. 461.  - @-moz-document url-prefix() {
  1795. 462.  - .ads_moder_stat_summary_range_wrap {
  1796. 463.  -   margin-top: -1px;
  1797. 464.  - }
  1798. 465.  - }
  1799. 466.  - .ads_moder_stat_summary_range_part {
  1800. 467.  -   padding-left: 8px;
  1801. 468.  - }
  1802. 469.  - .ads_moder_stat_summary_range_label {
  1803. 470.  -   padding-top: 5px;
  1804. 471.  - }
  1805. 472.  - @-moz-document url-prefix() {
  1806. 473.  - .ads_moder_stat_summary_range_label {
  1807. 474.  -   padding-top: 4px;
  1808. 475.  - }
  1809. 476.  - }
  1810. 477.  - #ads_moder_stat_summary_range_link {
  1811. 478.  -   opacity: 0.5;
  1812. 479.  -   display: block;
  1813. 480.  -   padding: 1px;
  1814. 481.  - }
  1815. 482.  - #ads_moder_stat_summary_range_link:hover {
  1816. 483.  -   opacity: 1;
  1817. 484.  - }
  1818. 485.  - #ads_moder_stat_summary_range_link img {
  1819. 486.  -   display: block;
  1820. 487.  - }
  1821. 488.  -
  1822. 489.  - #ads_moder_stat_summary_filter_properties_shower {
  1823. 490.  -   display: block;
  1824. 491.  -   padding: 3px 8px 8px 8px;
  1825. 492.  - }
  1826. 493.  -
  1827. 494.  - .ads_stat_summary_graph_link {
  1828. 495.  -   height: 11px;
  1829. 496.  -   overflow: visible;
  1830. 497.  - }
  1831. 498.  - .ads_stat_summary_graph_image {
  1832. 499.  -   display: block;
  1833. 500.  -   margin-top: -1px;
  1834. 501.  - }
  1835. 502.  -
  1836. 503.  - /* ----- */
  1837. 504.  - /* Other */
  1838. 505.  - /* ----- */
  1839. 506.  -
  1840. 507.  - .ads_navigation_link.current {
  1841. 508.  -   font-weight: bold;
  1842. 509.  - }
  1843. 510.  -
  1844. 511.  - .ads_note {
  1845. 512.  -   padding-bottom: 5px;
  1846. 513.  - }
  1847. 514.  - .ads_note_object {
  1848. 515.  -   font-weight: bold;
  1849. 516.  - }
  1850. 517.  - .ads_note_info {
  1851. 518.  -   color: #999999;
  1852. 519.  -   font-size: 0.91em;
  1853. 520.  - }
  1854. 521.  - .ads_note_info_user,
  1855. 522.  - .ads_note_info_edit_link {
  1856. 523.  -   color: #999999;
  1857. 524.  - }
  1858. 525.  - .ads_note_edit_link {
  1859. 526.  -   display: block;
  1860. 527.  - }
  1861. 528.  - .ads_note_edit_wrap {
  1862. 529.  -   margin-right: 8px;
  1863. 530.  - }
  1864. 531.  - #ads_note_edit {
  1865. 532.  -   width: 100%;
  1866. 533.  -   height: 100px;
  1867. 534.  - }
  1868. 535.  -
  1869. 536.  - /* --- */
  1870. 537.  - /* OLD */
  1871. 538.  - /* --- */
  1872. 539.  -
  1873. 540.  - #ads_unions_bonuses * {
  1874. 541.  -   text-align: left;
  1875. 542.  - }
  1876. 543.  -
  1877. 544.  - #ads_unions_queue .ads_unions_list td,
  1878. 545.  - #ads_unions_queue .ads_unions_list th {
  1879. 546.  -   text-align: left;
  1880. 547.  - }
  1881. 548.  -
  1882. 549.  - #ads_premoderation_stat .ads_unions_list th.column_moder *,
  1883. 550.  - #ads_premoderation_stat .ads_unions_list td.column_moder,
  1884. 551.  - #ads_premoderation_stat .ads_unions_list th.column_period *,
  1885. 552.  - #ads_premoderation_stat .ads_unions_list td.column_period {
  1886. 553.  -   text-align: left;
  1887. 554.  - }
  1888. 555.  -
  1889. 556.  - /* Distribution chart */
  1890. 557.  - .ads_moder_chart_table_wrap {
  1891. 558.  -   position: relative;
  1892. 559.  - }
  1893. 560.  - .ads_moder_chart_table {
  1894. 561.  -   background-color: #F3F5F7;
  1895. 562.  -   border: 0 none;
  1896. 563.  -   margin-bottom: 10px;
  1897. 564.  -   vertical-align: bottom;
  1898. 565.  -   margin: 0 auto;
  1899. 566.  - }
  1900. 567.  - .ads_moder_chart_table td.ads_moder_total_chart_row {
  1901. 568.  -   background-color: #FFFFFF;
  1902. 569.  -   color:#45688E;
  1903. 570.  -   border: 0 none;
  1904. 571.  -   padding-top: 10px;
  1905. 572.  -   padding-bottom: 30px;
  1906. 573.  -   vertical-align: bottom;
  1907. 574.  - }
  1908. 575.  - .ads_moder_chart_column {
  1909. 576.  -   background-color: #B0C1CF;
  1910. 577.  -   vertical-align: bottom;
  1911. 578.  -   cursor: pointer;
  1912. 579.  - }
  1913. 580.  - .ads_moder_chart_column.even {
  1914. 581.  -   background-color: #C7D3DD;
  1915. 582.  - }
  1916. 583.  - .ads_moder_chart_table td {
  1917. 584.  -   vertical-align: bottom;
  1918. 585.  - }
  1919. 586.  - .ads_moder_chart_table td.ads_moder_chart_under_num {
  1920. 587.  -   background-color: #EAEEF2;
  1921. 588.  -   height: 15px;
  1922. 589.  -   padding-bottom: 3px;
  1923. 590.  - }
  1924. 591.  - .ads_moder_chart_table td.ads_moder_chart_under_num.even {
  1925. 592.  -   background-color: #FFFFFF;
  1926. 593.  - }
  1927. 594.  - .ads_moder_chart_date {
  1928. 595.  -   font-size: 9px;
  1929. 596.  -   height: 10px;
  1930. 597.  -   padding-top: 4px;
  1931. 598.  -   text-align: center;
  1932. 599.  - }
  1933. 600.  - .ads_moder_chart_max_label {
  1934. 601.  -   background-color: #FFFFFF;
  1935. 602.  -   color: #000000;
  1936. 603.  -   display: none;
  1937. 604.  -   font-size: 9px;
  1938. 605.  -   padding: 2px 4px;
  1939. 606.  -   position: absolute;
  1940. 607.  -   z-index: 100;
  1941. 608.  - }
  1942. 609.  - .ads_moder_chart_max_label_out {
  1943. 610.  -   background-color: #2B587A;
  1944. 611.  -   display: none;
  1945. 612.  -   opacity: 0.2;
  1946. 613.  -   position: absolute;
  1947. 614.  -   z-index: 90;
  1948. 615.  - }
  1949. 616.  - .ads_moder_chart_max_label_out2 {
  1950. 617.  -   background-color: #2B587A;
  1951. 618.  -   display: none;
  1952. 619.  -   opacity: 0.1;
  1953. 620.  -   position: absolute;
  1954. 621.  -   z-index: 90;
  1955. 622.  - }
  1956. ------
  1957. Файл - ads_moder.js (Старый размер - 25405 | Новый - 0):
  1958. 0.  - var AdsModer = {};
  1959. 1.  -
  1960. 2.  - AdsModer.init = function() {
  1961. 3.  -   AdsModer.initDelayedImages();
  1962. 4.  - }
  1963. 5.  -
  1964. 6.  - AdsModer.initDelayedImages = function() {
  1965. 7.  -   var imagesIndex;
  1966. 8.  -   var indexStep = 500;
  1967. 9.  -   var lastImage;
  1968. 10.  -   var lastImageY;
  1969. 11.  -
  1970. 12.  -   buildIndex();
  1971. 13.  -   if (isEmpty(imagesIndex)) {
  1972. 14.  -     return;
  1973. 15.  -   }
  1974. 16.  -
  1975. 17.  -   var scrolledNode = (browser.msie6 ? pageNode : window);
  1976. 18.  -   var handler = checkImages.pbind(false);
  1977. 19.  -   function deinit() {
  1978. 20.  -     removeEvent(scrolledNode, 'scroll', handler);
  1979. 21.  -   }
  1980. 22.  -   cur.destroy.push(deinit);
  1981. 23.  -   addEvent(scrolledNode, 'scroll', handler);
  1982. 24.  -   handler();
  1983. 25.  -
  1984. 26.  -   function buildIndex() {
  1985. 27.  -     if (lastImage && lastImage.hasAttribute('src_') && lastImageY == getXY(lastImage)[1]) {
  1986. 28.  -       return;
  1987. 29.  -     }
  1988. 30.  -
  1989. 31.  -     var imagesAll = geByTag('img');
  1990. 32.  -     var image;
  1991. 33.  -     var indexKey;
  1992. 34.  -
  1993. 35.  -     imagesIndex = {};
  1994. 36.  -
  1995. 37.  -     if (!imagesAll.length) {
  1996. 38.  -       return;
  1997. 39.  -     }
  1998. 40.  -
  1999. 41.  -     for (var i = 0, image; image = imagesAll[i]; i++) {
  2000. 42.  -       if (!image.hasAttribute('src_')) {
  2001. 43.  -         continue;
  2002. 44.  -       }
  2003. 45.  -       indexKey = intval(getXY(image)[1] / indexStep);
  2004. 46.  -       if (!(indexKey in imagesIndex)) {
  2005. 47.  -         imagesIndex[indexKey] = [];
  2006. 48.  -       }
  2007. 49.  -       imagesIndex[indexKey].push(image);
  2008. 50.  -       lastImage = image;
  2009. 51.  -     }
  2010. 52.  -
  2011. 53.  -     lastImageY = getXY(lastImage)[1];
  2012. 54.  -   }
  2013. 55.  -
  2014. 56.  -   function checkIndex() {
  2015. 57.  -     buildIndex();
  2016. 58.  -     if (isEmpty(imagesIndex)) {
  2017. 59.  -       deinit();
  2018. 60.  -     }
  2019. 61.  -   }
  2020. 62.  -
  2021. 63.  -   function checkImages(delayed) {
  2022. 64.  -     var yTop        = scrollGetY()
  2023. 65.  -     var yBottom     = yTop + lastWindowHeight;
  2024. 66.  -     var indexTop    = intval(yTop / indexStep);
  2025. 67.  -     var indexBottom = intval(yBottom / indexStep);
  2026. 68.  -     var image;
  2027. 69.  -     for (var i = indexTop; i <= indexBottom; i++) {
  2028. 70.  -       if (!(i in imagesIndex)) {
  2029. 71.  -         continue;
  2030. 72.  -       }
  2031. 73.  -       for (var j = 0, len = imagesIndex[i].length; j < len; j++) {
  2032. 74.  -         image = imagesIndex[i][j];
  2033. 75.  -         image.src = image.getAttribute('src_');
  2034. 76.  -         image.removeAttribute('src_')
  2035. 77.  -       }
  2036. 78.  -       delete imagesIndex[i];
  2037. 79.  -     }
  2038. 80.  -     checkIndex();
  2039. 81.  -     setTimeout(checkIndex, 1000);
  2040. 82.  -   }
  2041. 83.  - }
  2042. 84.  -
  2043. 85.  - AdsModer.showObjectInfo = function(objectType, objectId) {
  2044. 86.  -   var ajaxParams = {};
  2045. 87.  -   ajaxParams.object_type = objectType;
  2046. 88.  -   ajaxParams.object_id   = objectId;
  2047. 89.  -
  2048. 90.  -   var showOptions = {params: {}};
  2049. 91.  -
  2050. 92.  -   showBox('/adsmoder?act=object_info', ajaxParams, showOptions);
  2051. 93.  - }
  2052. 94.  -
  2053. 95.  - AdsModer.openFeaturesEditBox = function(unionId, hash, featuresInfo, featuresEditHtml) {
  2054. 96.  -   var editBox = showFastBox({title: '�����������', width: 550}, featuresEditHtml);
  2055. 97.  -   var saveFeaturesHandler = AdsModer.saveFeatures.pbind(unionId, hash, featuresInfo, editBox);
  2056. 98.  -   editBox.removeButtons();
  2057. 99.  -   editBox.addButton(getLang('box_cancel'), false, 'no');
  2058. 100.  -   editBox.addButton('��������', saveFeaturesHandler, 'yes');
  2059. 101.  -
  2060. 102.  -   for (var i in featuresInfo) {
  2061. 103.  -     var featureInfo = featuresInfo[i];
  2062. 104.  -     new Checkbox(ge('ads_moder_feature_' + featureInfo.key), {
  2063. 105.  -       label: featureInfo.name,
  2064. 106.  -       checked: intval(featureInfo.value),
  2065. 107.  -       width: 500
  2066. 108.  -     });
  2067. 109.  -   }
  2068. 110.  - }
  2069. 111.  -
  2070. 112.  - AdsModer.saveFeatures = function(unionId, hash, featuresInfo, editBox) {
  2071. 113.  -   if (!Ads.lock('saveFeatures', onLock, onUnlock)) {
  2072. 114.  -     return;
  2073. 115.  -   }
  2074. 116.  -
  2075. 117.  -   var ajaxParams = {};
  2076. 118.  -   ajaxParams.union_id = unionId;
  2077. 119.  -   ajaxParams.hash = hash;
  2078. 120.  -   ajaxParams.features = [];
  2079. 121.  -   for (var i in featuresInfo) {
  2080. 122.  -     var featureInfo = featuresInfo[i];
  2081. 123.  -     ajaxParams.features.push(featureInfo.key + ':' + intval(ge('ads_moder_feature_' + featureInfo.key).value));
  2082. 124.  -   }
  2083. 125.  -   ajaxParams.features = ajaxParams.features.join(',');
  2084. 126.  -
  2085. 127.  -   ajax.post('/adsmoder?act=a_edit_features', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2086. 128.  -
  2087. 129.  -   function onComplete(response) {
  2088. 130.  -     Ads.unlock('saveFeatures');
  2089. 131.  -     if (response && response.ok) {
  2090. 132.  -       nav.reload();
  2091. 133.  -     } else {
  2092. 134.  -       showFastBox('������', '������');
  2093. 135.  -     }
  2094. 136.  -     return true;
  2095. 137.  -   }
  2096. 138.  -   function onLock() {
  2097. 139.  -     editBox.showProgress();
  2098. 140.  -   }
  2099. 141.  -   function onUnlock() {
  2100. 142.  -     editBox.hide();
  2101. 143.  -   }
  2102. 144.  - }
  2103. 145.  -
  2104. 146.  - AdsModer.openNoteEditBox = function(ajaxParams, noteText, noteTextParams, boxTitle, editActionText, isEdit, isOtherUser) {
  2105. 147.  -   function onBoxHide() {
  2106. 148.  -     delete cur.noteEditBox;
  2107. 149.  -     delete cur.noteEditAjaxParams;
  2108. 150.  -   }
  2109. 151.  -
  2110. 152.  -   cur.noteEditAjaxParams = ajaxParams;
  2111. 153.  -
  2112. 154.  -   var boxHtml = '<div class="ads_note_edit_wrap"><div><textarea id="ads_note_edit" ' + noteTextParams + '>' + noteText + '</textarea></div></div>';
  2113. 155.  -
  2114. 156.  -   cur.noteEditBox = showFastBox({title: boxTitle, width: 400, onHide: onBoxHide}, boxHtml);
  2115. 157.  -   cur.noteEditBox.removeButtons();
  2116. 158.  -   if (isOtherUser) {
  2117. 159.  -     cur.noteEditBox.addButton(getLang('box_cancel'), false, 'yes');
  2118. 160.  -   } else {
  2119. 161.  -     cur.noteEditBox.addButton(getLang('box_cancel'), false, 'no');
  2120. 162.  -     cur.noteEditBox.addButton(editActionText, AdsModer.saveNote.pbind(false), 'yes');
  2121. 163.  -   }
  2122. 164.  -   if (isEdit) {
  2123. 165.  -     cur.noteEditBox.setControlsText('<a href="#" onclick="AdsModer.saveNote(true); return false;">�������</a>');
  2124. 166.  -   }
  2125. 167.  - }
  2126. 168.  -
  2127. 169.  - AdsModer.saveNote = function(isDelete) {
  2128. 170.  -   if (!Ads.lock('save_note', onLock, onUnlock)) {
  2129. 171.  -     return;
  2130. 172.  -   }
  2131. 173.  -
  2132. 174.  -   var ajaxParams = {};
  2133. 175.  -   ajaxParams = extend({}, ajaxParams, cur.noteEditAjaxParams);
  2134. 176.  -   ajaxParams.note_text = (isDelete ? '' : ge('ads_note_edit').value);
  2135. 177.  -   ajax.post('/adsmoder?act=a_edit_notes', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2136. 178.  -
  2137. 179.  -   function onComplete(response) {
  2138. 180.  -     Ads.unlock('save_note');
  2139. 181.  -     if (response && response.ok) {
  2140. 182.  -       nav.reload();
  2141. 183.  -     } else {
  2142. 184.  -       showFastBox({title: '������', onHide: function() { nav.reload(); }}, '������');
  2143. 185.  -     }
  2144. 186.  -     return true;
  2145. 187.  -   }
  2146. 188.  -   function onLock() {
  2147. 189.  -     cur.noteEditBox.showProgress();
  2148. 190.  -   }
  2149. 191.  -   function onUnlock() {
  2150. 192.  -     cur.noteEditBox.hide();
  2151. 193.  -   }
  2152. 194.  - }
  2153. 195.  -
  2154. 196.  - AdsModer.openCategoriesEditBox = function(requestKey, linkElem) {
  2155. 197.  -   var editBox = showFastBox({title: '��������� �������� ����������', width: 440}, cur.categoriesEditBoxHtml);
  2156. 198.  -   editBox.removeButtons();
  2157. 199.  -   editBox.addButton(getLang('box_cancel'), false, 'no');
  2158. 200.  -   editBox.addButton('��������', applyChanges, 'yes');
  2159. 201.  -
  2160. 202.  -   var requestParams = cur.requestsParams[requestKey];
  2161. 203.  -
  2162. 204.  -   var category1_id    = requestParams.ui_category1_id;
  2163. 205.  -   var category2_id    = requestParams.ui_category2_id;
  2164. 206.  -   var subcategory1_id = requestParams.ui_subcategory1_id;
  2165. 207.  -   var subcategory2_id = requestParams.ui_subcategory2_id;
  2166. 208.  -
  2167. 209.  -   var uiCategory1 = new Dropdown(ge('ads_moder_category1'), cur.categoriesData, {
  2168. 210.  -     selectedItems: category1_id,
  2169. 211.  -     width:         250,
  2170. 212.  -     height:        400,
  2171. 213.  -     onChange:      onChangeCategory1
  2172. 214.  -   });
  2173. 215.  -   var uiCategory2 = new Dropdown(ge('ads_moder_category2'), cur.categoriesData, {
  2174. 216.  -     selectedItems: category2_id,
  2175. 217.  -     width:         250,
  2176. 218.  -     height:        400,
  2177. 219.  -     onChange:      onChangeCategory2
  2178. 220.  -   });
  2179. 221.  -   var uiSubcategory1 = new Dropdown(ge('ads_moder_subcategory1'), [], {
  2180. 222.  -     width:    250,
  2181. 223.  -     height:   400,
  2182. 224.  -     onChange: function(value) {
  2183. 225.  -       subcategory1_id = intval(value);
  2184. 226.  -     }
  2185. 227.  -   });
  2186. 228.  -   var uiSubcategory2 = new Dropdown(ge('ads_moder_subcategory2'), [], {
  2187. 229.  -     width:    250,
  2188. 230.  -     height:   400,
  2189. 231.  -     onChange: function(value) {
  2190. 232.  -       subcategory2_id = intval(value);
  2191. 233.  -     }
  2192. 234.  -   });
  2193. 235.  -
  2194. 236.  -   onChangeCategory1(category1_id);
  2195. 237.  -   onChangeCategory2(category2_id);
  2196. 238.  -
  2197. 239.  -   var boxOptions = {};
  2198. 240.  -   boxOptions.onClean = function() {
  2199. 241.  -     uiCategory1.destroy();
  2200. 242.  -     uiCategory2.destroy();
  2201. 243.  -     uiSubcategory1.destroy();
  2202. 244.  -     uiSubcategory2.destroy();
  2203. 245.  -   };
  2204. 246.  -   editBox.setOptions(boxOptions);
  2205. 247.  -
  2206. 248.  -   function onChangeCategory1(value) {
  2207. 249.  -     value = intval(value);
  2208. 250.  -     if (value != category1_id) {
  2209. 251.  -       subcategory1_id = 0;
  2210. 252.  -     }
  2211. 253.  -     category1_id = value;
  2212. 254.  -     var data = cur.subcategoriesData[value] || [];
  2213. 255.  -     var disabledText = (value ? getLang('ads_no_subcategories') : getLang('ads_first_select_category1'));
  2214. 256.  -     uiSubcategory1.setOptions({disabledText: disabledText});
  2215. 257.  -     uiSubcategory1.setData(data);
  2216. 258.  -     if (subcategory1_id) {
  2217. 259.  -       uiSubcategory1.val(subcategory1_id);
  2218. 260.  -     } else {
  2219. 261.  -       uiSubcategory1.clear();
  2220. 262.  -     }
  2221. 263.  -     uiSubcategory1.disable(data.length == 0);
  2222. 264.  -   }
  2223. 265.  -   function onChangeCategory2(value) {
  2224. 266.  -     value = intval(value);
  2225. 267.  -     if (value != category2_id) {
  2226. 268.  -       subcategory2_id = 0;
  2227. 269.  -     }
  2228. 270.  -     category2_id = value;
  2229. 271.  -     var data = cur.subcategoriesData[value] || [];
  2230. 272.  -     var disabledText = (value ? getLang('ads_no_subcategories') : getLang('ads_first_select_category2'));
  2231. 273.  -     uiSubcategory2.setOptions({disabledText: disabledText});
  2232. 274.  -     uiSubcategory2.setData(data);
  2233. 275.  -     if (subcategory2_id) {
  2234. 276.  -       uiSubcategory2.val(subcategory2_id);
  2235. 277.  -     } else {
  2236. 278.  -       uiSubcategory2.clear();
  2237. 279.  -     }
  2238. 280.  -     uiSubcategory2.disable(data.length == 0);
  2239. 281.  -   }
  2240. 282.  -   function applyChanges() {
  2241. 283.  -     if (!category1_id && !category2_id) {
  2242. 284.  -       showFastBox('������', '�� ������ ��������.');
  2243. 285.  -       return;
  2244. 286.  -     }
  2245. 287.  -
  2246. 288.  -     cur.requestsParams[requestKey].category1_id       = (subcategory1_id || category1_id);
  2247. 289.  -     cur.requestsParams[requestKey].category2_id       = (subcategory2_id || category2_id);
  2248. 290.  -     cur.requestsParams[requestKey].ui_category1_id    = category1_id;
  2249. 291.  -     cur.requestsParams[requestKey].ui_category2_id    = category2_id;
  2250. 292.  -     cur.requestsParams[requestKey].ui_subcategory1_id = subcategory1_id;
  2251. 293.  -     cur.requestsParams[requestKey].ui_subcategory2_id = subcategory2_id;
  2252. 294.  -     cur.requestsParams[requestKey].categories_changed = true;
  2253. 295.  -
  2254. 296.  -     var category1Elem       = geByClass1('ads_category1', linkElem);
  2255. 297.  -     var category1ParentElem = geByClass1('ads_category1_parent', linkElem);
  2256. 298.  -     if (subcategory1_id) {
  2257. 299.  -       replaceClass(category1Elem, 'ads_category', 'ads_subcategory');
  2258. 300.  -       category1Elem.innerHTML = uiSubcategory1.val_full()[1];
  2259. 301.  -       category1ParentElem.innerHTML = ' (' + uiCategory1.val_full()[1] + ')';
  2260. 302.  -     } else {
  2261. 303.  -       replaceClass(category1Elem, 'ads_subcategory', 'ads_category');
  2262. 304.  -       category1Elem.innerHTML = (category1_id ? uiCategory1.val_full()[1] : '');
  2263. 305.  -       category1ParentElem.innerHTML = '';
  2264. 306.  -     }
  2265. 307.  -
  2266. 308.  -     var category2Elem       = geByClass1('ads_category2', linkElem);
  2267. 309.  -     var category2ParentElem = geByClass1('ads_category2_parent', linkElem);
  2268. 310.  -     if (subcategory2_id) {
  2269. 311.  -       replaceClass(category2Elem, 'ads_category', 'ads_subcategory');
  2270. 312.  -       category2Elem.innerHTML = uiSubcategory2.val_full()[1];
  2271. 313.  -       category2ParentElem.innerHTML = ' (' + uiCategory2.val_full()[1] + ')';
  2272. 314.  -     } else {
  2273. 315.  -       replaceClass(category2Elem, 'ads_subcategory', 'ads_category');
  2274. 316.  -       category2Elem.innerHTML = (category2_id ? uiCategory2.val_full()[1] : '');
  2275. 317.  -       category2ParentElem.innerHTML = '';
  2276. 318.  -     }
  2277. 319.  -
  2278. 320.  -     editBox.hide();
  2279. 321.  -   }
  2280. 322.  - }
  2281. 323.  -
  2282. 324.  - AdsModer.premoderationProcessRequest = function(action, requestKey, requestKeyModer, onCompleteExternal) {
  2283. 325.  -
  2284. 326.  -   var requestParams      = cur.requestsParams[requestKey];
  2285. 327.  -   var requestParamsModer = cur.requestsParams[requestKeyModer];
  2286. 328.  -
  2287. 329.  -   if (!requestKey || !requestKeyModer || !requestParams || !requestParamsModer) {
  2288. 330.  -     return;
  2289. 331.  -   }
  2290. 332.  -
  2291. 333.  -   var result = AdsModer.premoderationProcessRequestsMassCheck(action, requestKey);
  2292. 334.  -   if (result) {
  2293. 335.  -     return;
  2294. 336.  -   }
  2295. 337.  -
  2296. 338.  -   var moderComment = ge('moder_comment_' + requestKeyModer);
  2297. 339.  -   var resultArea   = ge('request_result_area_' + requestKey);
  2298. 340.  -
  2299. 341.  -   var ajaxParams = {};
  2300. 342.  -   ajaxParams.action       = action;
  2301. 343.  -   ajaxParams.request_id   = requestParams.request_id;
  2302. 344.  -   ajaxParams.ad_id        = requestParams.ad_id;
  2303. 345.  -   ajaxParams.hash         = requestParams.hash;
  2304. 346.  -   ajaxParams.checksum     = requestParams.checksum_all;
  2305. 347.  -
  2306. 348.  -   if (action === 'approve') {
  2307. 349.  -     if (requestParamsModer.categories_changed) {
  2308. 350.  -       ajaxParams.category1_id = requestParamsModer.category1_id;
  2309. 351.  -       ajaxParams.category2_id = requestParamsModer.category2_id;
  2310. 352.  -     } else {
  2311. 353.  -       ajaxParams.category1_id = requestParams.category1_id;
  2312. 354.  -       ajaxParams.category2_id = requestParams.category2_id;
  2313. 355.  -     }
  2314. 356.  -   }
  2315. 357.  -
  2316. 358.  -   ajaxParams.moder_comment = moderComment.getValue();
  2317. 359.  -   if (action === 'disapprove') {
  2318. 360.  -     ajaxParams.moder_rules = cur.uiReasonsControls[requestKeyModer].getSelectedItems().join(',');
  2319. 361.  -   }
  2320. 362.  -
  2321. 363.  -   resultArea.innerHTML = '<img src="/images/upload.gif" />';
  2322. 364.  -
  2323. 365.  -   ajax.post('/adsmoder?act=a_premoderation_process', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2324. 366.  -
  2325. 367.  -   function onComplete(response) {
  2326. 368.  -     var responseText = ((response && response.text) ? response.text : '������!');
  2327. 369.  -     resultArea.innerHTML = responseText;
  2328. 370.  -     if (isFunction(onCompleteExternal)) {
  2329. 371.  -       onCompleteExternal(response, requestKey, responseText);
  2330. 372.  -     }
  2331. 373.  -     return true;
  2332. 374.  -   };
  2333. 375.  - }
  2334. 376.  -
  2335. 377.  - AdsModer.premoderationProcessRequestsMassCheck = function(action, requestKey) {
  2336. 378.  -
  2337. 379.  -   var requestParams = cur.requestsParams[requestKey];
  2338. 380.  -
  2339. 381.  -   var requestsKeys = [];
  2340. 382.  -
  2341. 383.  -   if (action === 'approve') {
  2342. 384.  -     if (requestParams.categories_changed) {
  2343. 385.  -       if (cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories].length < 5) {
  2344. 386.  -         return false;
  2345. 387.  -       }
  2346. 388.  -       requestsKeys = cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories];
  2347. 389.  -     } else {
  2348. 390.  -       if (cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories].length < 5) {
  2349. 391.  -         return false;
  2350. 392.  -       }
  2351. 393.  -       requestsKeys = cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories];
  2352. 394.  -     }
  2353. 395.  -   } else if (action === 'disapprove') {
  2354. 396.  -     if (cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove].length < 5) {
  2355. 397.  -       return false;
  2356. 398.  -     }
  2357. 399.  -     requestsKeys = cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove];
  2358. 400.  -   }
  2359. 401.  -
  2360. 402.  -   var confirmTitle   = ((action === 'approve') ? '�������� ���������' : '�������� ����������');
  2361. 403.  -   var confirmText    = '������� ���������� �� ������� ��������: '+requestsKeys.length;
  2362. 404.  -   var processAllText = ((action === 'approve') ? '�������� ���' : '��������� ���');
  2363. 405.  -   var processOneText = ((action === 'approve') ? '�������� ����' : '��������� ����');
  2364. 406.  -
  2365. 407.  -   var box = showFastBox(confirmTitle, cur.massBoxHtml, processAllText, processAll, processOneText, processOne);
  2366. 408.  -   geByClass1('ads_premoderation_mass_confirm_text', box.bodyNode).innerHTML = confirmText;
  2367. 409.  -
  2368. 410.  -   return true;
  2369. 411.  -
  2370. 412.  -   function processAll() {
  2371. 413.  -     cleanChecksums();
  2372. 414.  -     AdsModer.premoderationProcessRequestsMass(action, requestKey, requestsKeys, box);
  2373. 415.  -   }
  2374. 416.  -   function processOne() {
  2375. 417.  -     cleanChecksums();
  2376. 418.  -     box.hide();
  2377. 419.  -     AdsModer.premoderationProcessRequest(action, requestKey, requestKey);
  2378. 420.  -   }
  2379. 421.  -   function cleanChecksums() {
  2380. 422.  -     cur.requestsChecksumsApproveWithCategories[requestParams.checksum_approve_with_categories] = [];
  2381. 423.  -     cur.requestsChecksumsApproveWithoutCategories[requestParams.checksum_approve_without_categories] = [];
  2382. 424.  -     cur.requestsChecksumsDisapprove[requestParams.checksum_disapprove] = [];
  2383. 425.  -   }
  2384. 426.  - }
  2385. 427.  -
  2386. 428.  - AdsModer.premoderationProcessRequestsMass = function(action, requestKeyModer, requestsKeys, box) {
  2387. 429.  -   var requestParams = cur.requestsParams[requestKeyModer];
  2388. 430.  -
  2389. 431.  -   var totalCount       = requestsKeys.length;
  2390. 432.  -   var completeCount    = 0;
  2391. 433.  -   var approvedCount    = 0;
  2392. 434.  -   var disapprovedCount = 0;
  2393. 435.  -   var errorCount       = 0;
  2394. 436.  -   var responseInfos    = [];
  2395. 437.  -
  2396. 438.  -   box.removeButtons();
  2397. 439.  -   box.addButton(getLang('box_close'), false, 'yes');
  2398. 440.  -
  2399. 441.  -   var progressWrapElem = geByClass1('ads_premoderation_mass_progress_wrap2', box.bodyNode);
  2400. 442.  -   var progressElem     = geByClass1('ads_gradient_progress', box.bodyNode);
  2401. 443.  -   var resultElem       = geByClass1('ads_premoderation_mass_result', box.bodyNode);
  2402. 444.  -   var resultTextElem   = geByClass1('ads_premoderation_mass_result_text', box.bodyNode);
  2403. 445.  -   var resultMoreElem   = geByClass1('ads_premoderation_mass_result_more', box.bodyNode);
  2404. 446.  -   drawProgress();
  2405. 447.  -   show(progressWrapElem);
  2406. 448.  -
  2407. 449.  -   for (var i = 0; requestKey = requestsKeys[i]; i++) {
  2408. 450.  -     AdsModer.premoderationProcessRequest(action, requestKey, requestKeyModer, onComplete);
  2409. 451.  -   }
  2410. 452.  -
  2411. 453.  -   function onComplete(response, responseRequestKey, responseText) {
  2412. 454.  -     var responseAdId = cur.requestsParams[responseRequestKey].ad_id;
  2413. 455.  -     responseInfos.push('<a href="/ads?act=office&union_id='+responseAdId+'" target="_blank">'+responseAdId+' - '+responseText+'</a>');
  2414. 456.  -
  2415. 457.  -     if (response && (response.approved || response.disapproved)) {
  2416. 458.  -       if (response.approved) {
  2417. 459.  -         approvedCount++;
  2418. 460.  -       }
  2419. 461.  -       if (response.disapproved) {
  2420. 462.  -         disapprovedCount++;
  2421. 463.  -       }
  2422. 464.  -     } else {
  2423. 465.  -       errorCount++;
  2424. 466.  -     }
  2425. 467.  -     completeCount++;
  2426. 468.  -
  2427. 469.  -     drawProgress();
  2428. 470.  -     if (completeCount == totalCount) {
  2429. 471.  -       setTimeout(drawResults, 1000);
  2430. 472.  -     }
  2431. 473.  -   }
  2432. 474.  -   function drawProgress() {
  2433. 475.  -     var percent = intval(completeCount / totalCount * 100);
  2434. 476.  -     setStyle(progressElem, {width: percent + '%'});
  2435. 477.  -   }
  2436. 478.  -   function drawResults() {
  2437. 479.  -     hide(progressWrapElem);
  2438. 480.  -
  2439. 481.  -     var resultText = '';
  2440. 482.  -     if (approvedCount) {
  2441. 483.  -       resultText += '��������: '+approvedCount+'<br>';
  2442. 484.  -     }
  2443. 485.  -     if (disapprovedCount) {
  2444. 486.  -       resultText += '���������: '+disapprovedCount+'<br>';
  2445. 487.  -     }
  2446. 488.  -     resultText += '������: '+errorCount+'<br>';
  2447. 489.  -
  2448. 490.  -     resultTextElem.innerHTML = resultText;
  2449. 491.  -     resultMoreElem.innerHTML = responseInfos.join('<br>');
  2450. 492.  -     show(resultElem);
  2451. 493.  -   }
  2452. 494.  - }
  2453. 495.  -
  2454. 496.  - AdsModer.premoderationTakeUnion = function(unionId, hash) {
  2455. 497.  -   var ajaxParams = {};
  2456. 498.  -   ajaxParams.hash     = hash;
  2457. 499.  -   ajaxParams.union_id = unionId;
  2458. 500.  -   ajaxParams.action   = 'take_union';
  2459. 501.  -   ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2460. 502.  -
  2461. 503.  -   function onComplete(response) {
  2462. 504.  -     if (response && response.ok) {
  2463. 505.  -       if (response.redirect) {
  2464. 506.  -         nav.go(response.redirect);
  2465. 507.  -       }
  2466. 508.  -     } else {
  2467. 509.  -       var message = ((response && response.error) ? response.error : '������');
  2468. 510.  -       showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
  2469. 511.  -     }
  2470. 512.  -     return true;
  2471. 513.  -   }
  2472. 514.  - }
  2473. 515.  -
  2474. 516.  - AdsModer.premoderationTakeBackUnion = function(unionId, hash) {
  2475. 517.  -   var ajaxParams = {};
  2476. 518.  -   ajaxParams.hash     = hash;
  2477. 519.  -   ajaxParams.union_id = unionId;
  2478. 520.  -   ajaxParams.action   = 'take_back_union';
  2479. 521.  -   ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2480. 522.  -
  2481. 523.  -   function onComplete(response) {
  2482. 524.  -     if (response && response.ok) {
  2483. 525.  -       nav.reload();
  2484. 526.  -     } else {
  2485. 527.  -       var message = ((response && response.error) ? response.error : '������');
  2486. 528.  -       showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
  2487. 529.  -     }
  2488. 530.  -     return true;
  2489. 531.  -   }
  2490. 532.  - }
  2491. 533.  -
  2492. 534.  - AdsModer.premoderationStopWork = function(hash) {
  2493. 535.  -   var ajaxParams = {};
  2494. 536.  -   ajaxParams.hash   = hash;
  2495. 537.  -   ajaxParams.action = 'stop_work';
  2496. 538.  -   ajax.post('/adsmoder?act=a_premoderation_manage_work', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2497. 539.  -
  2498. 540.  -   function onComplete(response) {
  2499. 541.  -     if (response && response.ok) {
  2500. 542.  -       nav.reload();
  2501. 543.  -     } else {
  2502. 544.  -       var message = ((response && response.error) ? response.error : '������');
  2503. 545.  -       showFastBox({title: '������', onHide: function() { nav.reload(); }}, message);
  2504. 546.  -     }
  2505. 547.  -     return true;
  2506. 548.  -   }
  2507. 549.  - }
  2508. 550.  -
  2509. 551.  - AdsModer.premoderationFixRequest = function(wrapElemId, requestId, action, hash) {
  2510. 552.  -   if (!Ads.lock(wrapElemId, onLock, onUnlock)) {
  2511. 553.  -     return;
  2512. 554.  -   }
  2513. 555.  -
  2514. 556.  -   var ajaxParams = {}
  2515. 557.  -   ajaxParams.request_id = requestId;
  2516. 558.  -   ajaxParams.action     = action;
  2517. 559.  -   ajaxParams.hash       = hash;
  2518. 560.  -
  2519. 561.  -   ajax.post('/adsmoder?act=premoderation_fix_request', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2520. 562.  -
  2521. 563.  -   function onComplete(response) {
  2522. 564.  -     Ads.unlock(wrapElemId);
  2523. 565.  -     if (response && response.text_new) {
  2524. 566.  -       var wrapElem = ge(wrapElemId);
  2525. 567.  -       if (wrapElem) {
  2526. 568.  -         wrapElem.parentNode.replaceChild(se(response.text_new), wrapElem);
  2527. 569.  -       }
  2528. 570.  -     }
  2529. 571.  -     return true;
  2530. 572.  -   }
  2531. 573.  -   function onLock() {
  2532. 574.  -     show(geByTag1('img', ge(wrapElemId)));
  2533. 575.  -   }
  2534. 576.  -   function onUnlock() {
  2535. 577.  -     var wrapElem = ge(wrapElemId);
  2536. 578.  -     if (wrapElem) {
  2537. 579.  -       hide(geByTag1('img', wrapElem));
  2538. 580.  -     }
  2539. 581.  -   }
  2540. 582.  - }
  2541. 583.  -
  2542. 584.  - AdsModer.switchOfficeBlock = function(actionLocation, confirmTitle, confirmText, actionText) {
  2543. 585.  -   function switchBlocked() {
  2544. 586.  -     Ads.simpleAjax(actionLocation);
  2545. 587.  -   }
  2546. 588.  -   showFastBox(confirmTitle, confirmText, actionText, switchBlocked, getLang('box_cancel'));
  2547. 589.  - }
  2548. 590.  -
  2549. 591.  - AdsModer.openCancelClicksBox = function(ajaxParams) {
  2550. 592.  -   var showOptions = {params: {}};
  2551. 593.  -   showBox('/adsweb?act=log_cancel_box', ajaxParams, showOptions);
  2552. 594.  - }
  2553. 595.  -
  2554. 596.  - AdsModer.initCancelClicksBox = function(box, ajaxParams) {
  2555. 597.  -   var handler = AdsModer.cancelClicks.pbind(box, ajaxParams);
  2556. 598.  -   box.removeButtons();
  2557. 599.  -   box.addButton(getLang('box_cancel'), false, 'no');
  2558. 600.  -   box.addButton('�������� �����', handler, 'yes');
  2559. 601.  - }
  2560. 602.  -
  2561. 603.  - AdsModer.cancelClicks = function(box, ajaxParams) {
  2562. 604.  -   if (!Ads.lock('cancelClicks', onLock, onUnlock)) {
  2563. 605.  -     return;
  2564. 606.  -   }
  2565. 607.  -
  2566. 608.  -   ajax.post('/adsweb?act=log_cancel', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2567. 609.  -
  2568. 610.  -   function onComplete(response) {
  2569. 611.  -     Ads.unlock('cancelClicks');
  2570. 612.  -     if (response && response.ok) {
  2571. 613.  -       nav.reload();
  2572. 614.  -     } else {
  2573. 615.  -       showFastBox('������', '������');
  2574. 616.  -     }
  2575. 617.  -     return true;
  2576. 618.  -   }
  2577. 619.  -   function onLock() {
  2578. 620.  -     box.showProgress();
  2579. 621.  -   }
  2580. 622.  -   function onUnlock() {
  2581. 623.  -     box.hide();
  2582. 624.  -   }
  2583. 625.  - }
  2584. 626.  -
  2585. 627.  - AdsModer.openClickfraudersPrepareBanBox = function(usersIds, day) {
  2586. 628.  -   var ajaxParams = {};
  2587. 629.  -   ajaxParams.users_ids = usersIds;
  2588. 630.  -   ajaxParams.day       = day;
  2589. 631.  -
  2590. 632.  -   var showOptions = {params: {}};
  2591. 633.  -
  2592. 634.  -   showBox('/adsweb?act=clickfrauders_prepare_ban_box', ajaxParams, showOptions);
  2593. 635.  - }
  2594. 636.  -
  2595. 637.  - AdsModer.initClickfraudersPrepareBanBox = function(box, hash, usersIds, day) {
  2596. 638.  -   var prepareBanHandler = AdsModer.clickfraudersPrepareBan.pbind(box, hash, usersIds, day);
  2597. 639.  -   box.removeButtons();
  2598. 640.  -   box.addButton(getLang('box_cancel'), false, 'no');
  2599. 641.  -   box.addButton('��������', prepareBanHandler, 'yes');
  2600. 642.  - }
  2601. 643.  -
  2602. 644.  - AdsModer.clickfraudersPrepareBan = function(box, hash, usersIds, day) {
  2603. 645.  -   if (!Ads.lock('clickfraudersPrepareBan', onLock, onUnlock)) {
  2604. 646.  -     return;
  2605. 647.  -   }
  2606. 648.  -
  2607. 649.  -   var ajaxParams = {};
  2608. 650.  -   ajaxParams.hash      = hash;
  2609. 651.  -   ajaxParams.users_ids = usersIds;
  2610. 652.  -   ajaxParams.day       = day;
  2611. 653.  -
  2612. 654.  -   ajax.post('/adsweb?act=clickfrauders_prepare_ban', ajaxParams, {onDone: onComplete, onFail: onComplete});
  2613. 655.  -
  2614. 656.  -   function onComplete(response) {
  2615. 657.  -     Ads.unlock('clickfraudersPrepareBan');
  2616. 658.  -     if (response && response.message) {
  2617. 659.  -       showFastBox('��', response.message);
  2618. 660.  -     } else {
  2619. 661.  -       showFastBox('������', '������');
  2620. 662.  -     }
  2621. 663.  -     return true;
  2622. 664.  -   }
  2623. 665.  -   function onLock() {
  2624. 666.  -     box.showProgress();
  2625. 667.  -   }
  2626. 668.  -   function onUnlock() {
  2627. 669.  -     box.hide();
  2628. 670.  -   }
  2629. 671.  - }
  2630. 672.  -
  2631. 673.  - AdsModer.historyGet = function(elem, notNavigationParam) {
  2632. 674.  -   while (elem && elem.nodeName.toLowerCase() !== 'form') {
  2633. 675.  -     elem = elem.parentNode;
  2634. 676.  -   }
  2635. 677.  -   if (!elem) {
  2636. 678.  -     return;
  2637. 679.  -   }
  2638. 680.  -   var values = serializeForm(elem);
  2639. 681.  -   var params = values.other_params;
  2640. 682.  -   delete values.other_params;
  2641. 683.  -   for (var i in values) {
  2642. 684.  -     if (values[i]) {
  2643. 685.  -       params = '&' + i + '=' + values[i] + params;
  2644. 686.  -     }
  2645. 687.  -   }
  2646. 688.  -   nav.go('/adsmoder?act=history' + params);
  2647. 689.  - }
  2648. 690.  -
  2649. 691.  - AdsModer.historyToggleFilters = function() {
  2650. 692.  -   var filtersContainerElem = ge('ads_moder_history');
  2651. 693.  -   var filtersElems = geByClass('ads_navigation_link', filtersContainerElem);
  2652. 694.  -   for (var i = 0; elem = filtersElems[i]; i++) {
  2653. 695.  -       if (hasClass(elem, 'current')) {
  2654. 696.  -           continue
  2655. 697.  -       }
  2656. 698.  -       elem = elem.parentNode;
  2657. 699.  -       if (elem.nodeName.toLowerCase() !== 'span') {
  2658. 700.  -           continue
  2659. 701.  -       }
  2660. 702.  -       toggleClass(elem, 'unshown');
  2661. 703.  -   }
  2662. 704.  - }
  2663. 705.  -
  2664. 706.  - AdsModer.statSummaryInit = function(periodType, fromYear, fromMonth, fromDay, toYear, toMonth, toDay) {
  2665. 707.  -   var datePickerOptionsFrom = {
  2666. 708.  -     mode: (periodType === 'month') ? 'm' : 'd',
  2667. 709.  -     year:  fromYear,
  2668. 710.  -     month: fromMonth,
  2669. 711.  -     day:   fromDay,
  2670. 712.  -     width: 130,
  2671. 713.  -     pastActive: true,
  2672. 714.  -     onUpdate: function(date, mode) {
  2673. 715.  -       fromYear  = date.y;
  2674. 716.  -       fromMonth = date.m;
  2675. 717.  -       fromDay   = date.d;
  2676. 718.  -       updateLink();
  2677. 719.  -     }
  2678. 720.  -   };
  2679. 721.  -   var datePickerOptionsTo = {
  2680. 722.  -     mode: (periodType === 'month') ? 'm' : 'd',
  2681. 723.  -     year:  toYear,
  2682. 724.  -     month: toMonth,
  2683. 725.  -     day:   toDay,
  2684. 726.  -     width: 130,
  2685. 727.  -     pastActive: true,
  2686. 728.  -     onUpdate: function(date, mode) {
  2687. 729.  -       toYear  = date.y;
  2688. 730.  -       toMonth = date.m;
  2689. 731.  -       toDay   = date.d;
  2690. 732.  -       updateLink();
  2691. 733.  -     }
  2692. 734.  -   };
  2693. 735.  -   new Datepicker(ge('ads_moder_stat_summary_from'), datePickerOptionsFrom);
  2694. 736.  -   new Datepicker(ge('ads_moder_stat_summary_to'), datePickerOptionsTo);
  2695. 737.  -
  2696. 738.  -   function updateLink() {
  2697. 739.  -     var fromPeriod = fromYear * 100 + fromMonth;
  2698. 740.  -     var toPeriod   = toYear   * 100 + toMonth;
  2699. 741.  -     if (periodType !== 'month') {
  2700. 742.  -       fromPeriod = fromPeriod * 100 + fromDay;
  2701. 743.  -       toPeriod   = toPeriod   * 100 + toDay;
  2702. 744.  -     }
  2703. 745.  -     var linkElem = ge('ads_moder_stat_summary_range_link');
  2704. 746.  -     linkElem.href = linkElem.href.replace(/&period=\d+-\d+/, '&period=' + fromPeriod + '-' + toPeriod);
  2705. 747.  -     linkElem.style.opacity = 1;
  2706. 748.  -   }
  2707. 749.  - }
  2708. 750.  -
  2709. 751.  - AdsModer.statSummaryShowAllProperties = function() {
  2710. 752.  -   var propertiesElem = ge('ads_moder_stat_summary_filter_properties');
  2711. 753.  -   var elems = geByClass('ads_moder_stat_summary_filter_property', propertiesElem);
  2712. 754.  -   each(elems, show);
  2713. 755.  -   hide('ads_moder_stat_summary_filter_properties_shower');
  2714. 756.  - }
  2715. 757.  -
  2716. 758.  - AdsModer.statSummaryDistrShowCountLabel = function(id, i, val) {
  2717. 759.  -   var contXy = getXY(ge(id+'_stats_graph_wrap'));
  2718. 760.  -   var colXy  = getXY(ge(id+'_distr_col_'+i));
  2719. 761.  -
  2720. 762.  -   setStyle(ge(id+'_max_label'), {
  2721. 763.  -     left: colXy[0] - contXy[0] + 14,
  2722. 764.  -     top:  colXy[1] - contXy[1] - 11
  2723. 765.  -   });
  2724. 766.  -   ge(id+'_max_label').innerHTML = val;
  2725. 767.  -   show(id+'_max_label');
  2726. 768.  -   setStyle(ge(id+'_max_label_out'), {
  2727. 769.  -     width:  ge(id+'_max_label').offsetWidth + 2,
  2728. 770.  -     height: ge(id+'_max_label').offsetHeight + 2,
  2729. 771.  -     left:   colXy[0] - contXy[0] + 13,
  2730. 772.  -     top:    colXy[1] - contXy[1] - 12
  2731. 773.  -   });
  2732. 774.  -   show(id+'_max_label_out');
  2733. 775.  -   setStyle(ge(id+'_max_label_out2'), {
  2734. 776.  -     width:  ge(id+'_max_label').offsetWidth + 4,
  2735. 777.  -     height: ge(id+'_max_label').offsetHeight + 4,
  2736. 778.  -     left:   colXy[0] - contXy[0] + 12,
  2737. 779.  -     top:    colXy[1] - contXy[1] - 13
  2738. 780.  -   });
  2739. 781.  -   show(id+'_max_label_out2');
  2740. 782.  - }
  2741. 783.  -
  2742. 784.  - AdsModer.statSummaryDistrHideCountLabel = function(id) {
  2743. 785.  -   hide(id+'_max_label');
  2744. 786.  -   hide(id+'_max_label_out');
  2745. 787.  -   hide(id+'_max_label_out2');
  2746. 788.  - }
  2747. 789.  -
  2748. 790.  - AdsModer.statSummaryShowVotesBox = function(periodType, period) {
  2749. 791.  -   var ajaxParams = {};
  2750. 792.  -   ajaxParams.period_type = periodType;
  2751. 793.  -   ajaxParams.period      = period;
  2752. 794.  -
  2753. 795.  -   var showOptions = {params: {}};
  2754. 796.  -
  2755. 797.  -   showBox('/adsmoder?act=stat_summary_votes', ajaxParams, showOptions);
  2756. 798.  - }
  2757. 799.  -
  2758. 800.  - try{stManager.done('ads_moder.js');}catch(e){}
  2759. ------
Advertisement
Add Comment
Please, Sign In to add comment