Guest User

Untitled

a guest
Jul 16th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.67 KB | None | 0 0
  1.  
  2. /*********** General ***********/
  3.  
  4. $this->registerColorChooser( array(
  5. 'id' => 'body_color',
  6. 'selector' => 'body, .body_color',
  7. 'name' => __('Body Text Color'),
  8. 'foreground' => true,
  9. 'default' => '000000',
  10. 'group' => __('General'),
  11. ) );
  12. $this->registerColorChooser( array(
  13. 'id' => 'body_bg',
  14. 'selector' => 'body, .body_bg',
  15. 'name' => __('Body Background Color'),
  16. 'foreground' => false,
  17. 'default' => 'FFFFFF',
  18. 'group' => __('General'),
  19. ) );
  20. $this->registerColorChooser( array(
  21. 'id' => 'inner_bg',
  22. 'selector' => '.inner, .inner_bg, .button.alt, .google-ads-miniad',
  23. 'name' => __('Main Area Background Color'),
  24. 'foreground' => false,
  25. 'default' => 'B2B2B2',
  26. 'hasOpacity' => true,
  27. 'defaultOpacity' => 100,
  28. 'group' => __('General'),
  29. ) );
  30.  
  31.  
  32. /*********** Top Hat ***********/
  33.  
  34. $this->registerColorChooser( array(
  35. 'id' => 'top_hat_link_color',
  36. 'selector' => '.top_hat a, .top_hat_link_color',
  37. 'name' => __('Link Color'),
  38. 'foreground' => true,
  39. 'default' => '3c95fc',
  40. 'group' => __('Top Hat'),
  41. ) );
  42. $this->registerColorChooser( array(
  43. 'id' => 'top_hat_link_color_hover',
  44. 'selector' => '.top_hat a:hover, .top_hat_link_color:hover',
  45. 'name' => __('Link Color Hover'),
  46. 'foreground' => true,
  47. 'default' => 'FFFFFF',
  48. 'group' => __('Top Hat'),
  49. ) );
  50. $this->registerColorChooser( array(
  51. 'id' => 'top_hat_text_color',
  52. 'selector' => '.top_hat, .sso_links',
  53. 'name' => __('Top Hat Text Color'),
  54. 'foreground' => true,
  55. 'default' => 'FFFFFF',
  56. 'group' => __('Top Hat'),
  57. ) );
  58. $this->registerColorChooser( array(
  59. 'id' => 'top_hat_bg',
  60. 'selector' => '.top_hat, .top_hat_bg',
  61. 'name' => __('Background'),
  62. 'foreground' => false,
  63. 'default' => '000000',
  64. 'hasImage' => true,
  65. 'backgroundImageDirectory' => 'gradients',
  66. 'defaultImage' => 'light.png',
  67. 'group' => __('Top Hat'),
  68. ) );
  69.  
  70.  
  71. /*********** Navigation ***********/
  72.  
  73. $this->registerColorChooser( array(
  74. 'id' => 'nav_link_color',
  75. 'selector' => '.nav a, .nav a:visited, .nav_link_color',
  76. 'name' => __('Link Color'),
  77. 'foreground' => true,
  78. 'default' => '3c95fc',
  79. 'group' => __('Navigation'),
  80. ) );
  81. $this->registerColorChooser( array(
  82. 'id' => 'nav_link_color_hover',
  83. 'selector' => '.nav a:hover, .nav_link_color:hover, .nav_link_color_hover',
  84. 'name' => __('Link Color Hover'),
  85. 'foreground' => true,
  86. 'default' => 'FFFFFF',
  87. 'group' => __('Navigation'),
  88. ) );
  89. $this->registerColorChooser( array(
  90. 'id' => 'nav_bg',
  91. 'selector' => '.nav, .nav_bg, .nav .sub-menu li, .tec-calendar td.tec-present .daynum',
  92. 'name' => __('Background'),
  93. 'foreground' => false,
  94. 'default' => '474747',
  95. 'hasImage' => true,
  96. 'backgroundImageDirectory' => 'gradients',
  97. 'defaultImage' => 'light.png',
  98. 'group' => __('Navigation'),
  99. ) );
  100.  
  101.  
  102. /*********** Content ***********/
  103.  
  104. $this->registerColorChooser( array(
  105. 'id' => 'post_title_link',
  106. 'selector' => '.title a',
  107. 'name' => __('Post Title Link Color'),
  108. 'foreground' => true,
  109. 'default' => 'ff9900',
  110. 'group' => __('Content'),
  111. ) );
  112. $this->registerColorChooser( array(
  113. 'id' => 'post_title_link_hover',
  114. 'selector' => '.title a:hover',
  115. 'name' => __('Post Title Link Hover'),
  116. 'foreground' => true,
  117. 'default' => 'f00000',
  118. 'group' => __('Content'),
  119. ) );
  120. $this->registerColorChooser( array(
  121. 'id' => 'the_content_h',
  122. 'selector' => '.the_content h1, .the_content h2, .the_content h3, .the_content h4, .the_content h5, .the_content h6, .content_h',
  123. 'name' => __('Content Header Color'),
  124. 'foreground' => true,
  125. 'default' => '3F6517',
  126. 'group' => __('Content'),
  127. ) );
  128. $this->registerColorChooser( array(
  129. 'id' => 'link_color',
  130. 'selector' => 'a, .link_color, a:visited',
  131. 'name' => __('Link Color'),
  132. 'foreground' => true,
  133. 'default' => '3c95fc',
  134. 'group' => __('Content'),
  135. ) );
  136. $this->registerColorChooser( array(
  137. 'id' => 'link_hover',
  138. 'selector' => 'a:hover, .link_hover',
  139. 'name' => __('Link Hover Color'),
  140. 'foreground' => true,
  141. 'default' => '307bd1',
  142. 'group' => __('Content'),
  143. ) );
  144. $this->registerColorChooser( array(
  145. 'id' => 'more_link',
  146. 'selector' => '.more_link a',
  147. 'name' => __('More link'),
  148. 'foreground' => true,
  149. 'default' => 'F00000',
  150. 'group' => __('Content'),
  151. ) );
  152. $this->registerColorChooser( array(
  153. 'id' => 'more_link_hover',
  154. 'selector' => '.more_link a:hover',
  155. 'name' => __('More link Hover'),
  156. 'foreground' => true,
  157. 'default' => 'FF9900',
  158. 'group' => __('Content'),
  159. ) );
  160. $this->registerColorChooser( array(
  161. 'id' => 'content_bg',
  162. 'selector' => '.content, .content_bg, .on_air_message, #sb-body, #sb-loading',
  163. 'name' => __('Content Background Color'),
  164. 'foreground' => false,
  165. 'defaultOpacity' => 100,
  166. 'group' => __('Content'),
  167. ) );
  168. $this->registerColorChooser( array(
  169. 'id' => 'category_header_bg',
  170. 'selector' => '#location_wrap',
  171. 'name' => __('Category Header Background'),
  172. 'foreground' => false,
  173. 'default' => 'ffffff',
  174. 'group' => __('Content'),
  175. ) );
  176. $this->registerColorChooser( array(
  177. 'id' => 'header_input_bg',
  178. 'selector' => '#header #search_input',
  179. 'name' => __('Header Input Background'),
  180. 'foreground' => false,
  181. 'default' => 'ffffff',
  182. 'group' => __('Content'),
  183. ) );
  184.  
  185.  
  186. /*********** Alternate Content ***********/
  187.  
  188. $this->registerColorChooser( array(
  189. 'id' => 'alt_color',
  190. 'selector' => '.alt_color',
  191. 'name' => __('Text Color'),
  192. 'foreground' => true,
  193. 'default' => '777777',
  194. 'group' => __('Alternate Content'),
  195. ) );
  196. $this->registerColorChooser( array(
  197. 'id' => 'alt_heading_color',
  198. 'selector' => '.alt_heading_color',
  199. 'name' => __('Heading Color'),
  200. 'foreground' => true,
  201. 'default' => '444444',
  202. 'group' => __('Alternate Content'),
  203. ) );
  204. $this->registerColorChooser( array(
  205. 'id' => 'alt_link_color',
  206. 'selector' => 'a.alt_link_color, .alt_link_color a, #footer-links a',
  207. 'name' => __('Link Color'),
  208. 'foreground' => true,
  209. 'default' => '3f6517',
  210. 'group' => __('Alternate Content'),
  211. ) );
  212. $this->registerColorChooser( array(
  213. 'id' => 'alt_content_bg',
  214. 'selector' => '.alt_content_bg, ol.comments-list .comment-content, polldaddy-inline',
  215. 'name' => __('Background Color'),
  216. 'foreground' => false,
  217. 'default' => 'F6F6F6',
  218. 'group' => __('Alternate Content'),
  219. ) );
  220.  
  221.  
  222. /*********** Pagination ***********/
  223.  
  224. $this->registerColorChooser( array(
  225. 'id' => 'secondary',
  226. 'selector' => '.secondary_bg,.loop .pagination_wrap .pagination .page_current,.loop .pagination_wrap .pagination a.pagi_item:hover,.shows_nav_links span.active a, .shows_nav_links span a:hover',
  227. 'name' => __('Text Color'),
  228. 'foreground' => true,
  229. 'default' => 'FFFFFF',
  230. 'group' => __('Pagination'),
  231. ) );
  232. $this->registerColorChooser( array(
  233. 'id' => 'deactive',
  234. 'selector' => '.deactive',
  235. 'name' => __('Deactivate Text Color'),
  236. 'foreground' => true,
  237. 'default' => '999999',
  238. 'group' => __('Pagination'),
  239. ) );
  240. $this->registerColorChooser( array(
  241. 'id' => 'secondary_bg',
  242. 'selector' => '.secondary_bg,.loop .pagination_wrap .pagination .page_current, .loop .pagination_wrap .pagination a.pagi_item:hover,.button.alt.active, .shows_nav_links span.active a, .shows_nav_links span a:hover',
  243. 'name' => __('Background Color'),
  244. 'foreground' => false,
  245. 'default' => '595959',
  246. 'group' => __('Pagination'),
  247. ) );
  248.  
  249.  
  250. /*********** Widget ***********/
  251.  
  252. $this->registerColorChooser( array(
  253. 'id' => 'widget_header_bg',
  254. 'selector' => '.widget_header',
  255. 'name' => __('Header Background'),
  256. 'foreground' => false,
  257. 'default' => '595959',
  258. 'hasImage' => true,
  259. 'backgroundImageDirectory' => 'gradients',
  260. 'defaultImage' => 'light.png',
  261. 'group' => __('Widgets'),
  262. ) );
  263. $this->registerColorChooser( array(
  264. 'id' => 'widget_header',
  265. 'selector' => '.widget_header, .widget_header a',
  266. 'name' => __('Header Text Color'),
  267. 'foreground' => true,
  268. 'default' => 'FFFFFF',
  269. 'group' => __('Widgets'),
  270. ) );
  271. $this->registerColorChooser( array(
  272. 'id' => 'widget_bg',
  273. 'selector' => '.widget_bg, .listennow_wrapper',
  274. 'name' => __('Body Background Color'),
  275. 'foreground' => false,
  276. 'default' => 'E4E4E4',
  277. 'group' => __('Widgets'),
  278. ) );
  279.  
  280.  
  281. /*********** Forms ***********/
  282.  
  283. $this->registerColorChooser( array(
  284. 'id' => 'button',
  285. 'selector' => '.button, .button a, .button a:hover, a.button, a.button:hover, .button_bg a, .pds-vote-button, .pds-vote-button-load, .pds-vote-button:hover, .pds-vote-button-load:hover',
  286. 'name' => __('Button Text Color'),
  287. 'foreground' => true,
  288. 'default' => 'FFFFFF',
  289. 'group' => __('Forms'),
  290. ) );
  291. $this->registerColorChooser( array(
  292. 'id' => 'button_bg',
  293. 'selector' => '.button, .button_bg, .pds-vote-button, .pds-vote-button-load',
  294. 'name' => __('Button Background Color'),
  295. 'foreground' => false,
  296. 'default' => '3F6517',
  297. 'hasImage' => true,
  298. 'backgroundImageDirectory' => 'gradients',
  299. 'defaultImage' => 'light.png',
  300. 'group' => __('Forms'),
  301. ) );
  302. $this->registerColorChooser( array(
  303. 'id' => 'input_color',
  304. 'selector' => 'input, .input_color',
  305. 'name' => __('Input Text Color'),
  306. 'foreground' => true,
  307. 'default' => '959595',
  308. 'group' => __('Forms'),
  309. ) );
  310. $this->registerColorChooser( array(
  311. 'id' => 'input_focus',
  312. 'selector' => 'input:focus, input_focus',
  313. 'name' => __('Input:focus Text Color (after selection)'),
  314. 'foreground' => true,
  315. 'default' => '000000',
  316. 'group' => __('Forms'),
  317. ) );
  318.  
  319.  
  320. /*********** Calendar ***********/
  321.  
  322. $this->registerColorChooser( array(
  323. 'id' => 'calendar_th_past',
  324. 'selector' => '.tec-past .daynum',
  325. 'name' => __('Day Header - Past'),
  326. 'foreground' => false,
  327. 'default' => 'CCCCCC',
  328. 'group' => __('Calendar'),
  329. ) );
  330.  
  331. $this->registerColorChooser( array(
  332. 'id' => 'calendar_th_future',
  333. 'selector' => '.tec-present .daynum',
  334. 'name' => __('Day Header - Present'),
  335. 'foreground' => false,
  336. 'default' => '999999',
  337. 'group' => __('Calendar'),
  338. ) );
  339.  
  340. $this->registerColorChooser( array(
  341. 'id' => 'calendar_th_present',
  342. 'selector' => '.tec-future .daynum',
  343. 'name' => __('Day Header - Future'),
  344. 'foreground' => false,
  345. 'default' => '999999',
  346. 'group' => __('Calendar'),
  347. ) );
  348.  
  349. $this->registerColorChooser( array(
  350. 'id' => 'calendar_th_main',
  351. 'selector' => '.tec-calendar th ',
  352. 'name' => __('Cell Header'),
  353. 'foreground' => false,
  354. 'default' => '333333',
  355. 'group' => __('Calendar'),
  356. ) );
  357.  
  358. $this->registerColorChooser( array(
  359. 'id' => 'calendar_th_text',
  360. 'selector' => '.tec-calendar th ',
  361. 'name' => __('Cell Header Text'),
  362. 'foreground' => true,
  363. 'default' => 'FFFFFF',
  364. 'group' => __('Calendar'),
  365. ) );
  366.  
  367. $this->registerColorChooser( array(
  368. 'id' => 'calendar_td_present',
  369. 'selector' => 'td.tec-present',
  370. 'name' => __('Present Day Cell'),
  371. 'foreground' => false,
  372. 'default' => 'FFFFFF',
  373. 'group' => __('Calendar'),
  374. ) );
  375.  
  376. $this->registerColorChooser( array(
  377. 'id' => 'calendar_td_past',
  378. 'selector' => 'td.tec-past',
  379. 'name' => __('Past Day Cell'),
  380. 'foreground' => false,
  381. 'default' => 'CCCCCC',
  382. 'group' => __('Calendar'),
  383. ) );
  384.  
  385. $this->registerColorChooser( array(
  386. 'id' => 'calendar_td_future',
  387. 'selector' => '.tec-calendar td.tec-future',
  388. 'name' => __('Future Day Cell'),
  389. 'foreground' => false,
  390. 'default' => 'FFFFFF',
  391. 'group' => __('Calendar'),
  392. ) );
  393.  
  394. // Border Styles
  395. $this->registerColorChooser( array(
  396. 'id' => 'input_border',
  397. 'selector' => '.input_border',
  398. 'name' => __('Input Border Color'),
  399. 'foreground' => false,
  400. 'default' => '999'
  401. ) );
  402.  
  403. /*********** Features ***********/
  404. $this->registerColorChooser( array(
  405. 'id' => 'featured_default_caption',
  406. 'selector' => '.nivo-caption, .featured_default_caption p, .pds-answer-feedback',
  407. 'name' => __('Caption Text Color'),
  408. 'foreground' => true,
  409. 'default' => 'FFFFFF',
  410. 'group' => __('Features'),
  411. ) );
  412. $this->registerColorChooser( array(
  413. 'id' => 'featured_default_caption_bg',
  414. 'selector' => '.nivo-caption, .featured_default_caption, .pds-answer-feedback-bar',
  415. 'name' => __('Caption Background'),
  416. 'foreground' => false,
  417. 'default' => '3C95FC',
  418. 'hasImage' => true,
  419. 'backgroundImageDirectory' => 'gradients',
  420. 'defaultImage' => 'light.png',
  421. 'group' => __('Features'),
  422. ) );
  423.  
  424.  
  425.  
  426. /******* On-Air Schedule *********/
  427.  
  428.  
  429. $this->registerColorChooser( array(
  430. 'id' => 'shows_active_day',
  431. 'selector' => '.on_air .active_background',
  432. 'name' => __('Time Span Background Active'),
  433. 'foreground' => false,
  434. 'default' => '333333',
  435. 'group' => __('On-Air Schedule'),
  436. ) );
  437.  
  438. $this->registerColorChooser( array(
  439. 'id' => 'shows_active_day_font',
  440. 'selector' => '.on_air .active_background td.show_start_end',
  441. 'name' => __('Time Span Active Font'),
  442. 'foreground' => true,
  443. 'default' => 'fff',
  444. 'group' => __('On-Air Schedule'),
  445. ) );
  446.  
  447.  
  448. $this->registerColorChooser( array(
  449. 'id' => 'shows_week_nav',
  450. 'selector' => '.shows_nav_links span a',
  451. 'name' => __('Show Menu Link Color'),
  452. 'foreground' => true,
  453. 'default' => '333333',
  454. 'group' => __('On-Air Schedule'),
  455. ) );
  456.  
  457. $this->registerColorChooser( array(
  458. 'id' => 'shows_week_nav_hover',
  459. 'selector' => '.shows_nav_links span a:hover',
  460. 'name' => __('Show Menu Link Color Hover'),
  461. 'foreground' => true,
  462. 'default' => 'cccc',
  463. 'group' => __('On-Air Schedule'),
  464. ) );
  465.  
  466.  
  467. $this->registerColorChooser( array(
  468. 'id' => 'shows_week_nav_active',
  469. 'selector' => '.shows_nav_links span.active a',
  470. 'name' => __('Show Menu Link Color Active Day'),
  471. 'foreground' => true,
  472. 'default' => 'ff9900',
  473. 'group' => __('On-Air Schedule'),
  474. ) );
  475.  
  476.  
  477. $this->registerColorChooser( array(
  478. 'id' => 'shows_week_nav_active_bg',
  479. 'selector' => '.shows_nav_links span.active a, .shows_nav_links span a:hover ',
  480. 'name' => __('Show Menu Link Background Color'),
  481. 'foreground' => false,
  482. 'default' => 'ff3300',
  483. 'group' => __('On-Air Schedule'),
  484. ) );
  485.  
  486.  
  487. /*********** Carousel ***********/
  488.  
  489. $this->registerColorChooser( array(
  490. 'id' => 'carousel_link',
  491. 'selector' => '.footer_post h5.small_title, .footer_post a ',
  492. 'name' => __('Link Color'),
  493. 'foreground' => true,
  494. 'default' => '333333',
  495. 'group' => __('Carousel'),
  496. ) );
  497. $this->registerColorChooser( array(
  498. 'id' => 'carousel_bg',
  499. 'selector' => '.footer_post',
  500. 'name' => __('Background Color'),
  501. 'foreground' => false,
  502. 'default' => '999999',
  503. 'group' => __('Carousel'),
  504. ) );
  505.  
  506.  
  507. /*********** Now Playing ***********/
  508.  
  509. $this->registerColorChooser( array(
  510. 'id' => 'live_on_air',
  511. 'selector' => '.live',
  512. 'name' => __('Now Playing - Current Song'),
  513. 'foreground' => false,
  514. 'default' => 'CCCCCC',
  515. 'group' => __('Now PLaying'),
  516. ) );
Add Comment
Please, Sign In to add comment