PageRenderTime 27ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/plugins_repo/openXMarket/www/admin/plugins/oxMarket/css/ox.market.css.php

https://bitbucket.org/valmy/openx
PHP | 677 lines | 458 code | 140 blank | 79 comment | 0 complexity | 9d450854c623ecfeacfbc7da3838315d MD5 | raw file
  1. <?php
  2. // Require the initialisation file
  3. require_once '../../../../../init.php';
  4. require_once MAX_PATH . '/lib/OA/Admin/TemplatePlugin.php';
  5. require_once '../oxMarket.class.php';
  6. phpAds_SessionDataFetch();
  7. $oMarketComponent = OX_Component::factory('admin', 'oxMarket');
  8. header("Content-type: text/css");
  9. ?>/*
  10. +---------------------------------------------------------------------------+
  11. | Openads v2.8 |
  12. | ============ |
  13. | |
  14. | Copyright (c) 2003-2007 Openads Limited |
  15. | For contact details, see: http://www.openads.org/ |
  16. | |
  17. | Copyright (c) 2000-2003 the phpAdsNew developers |
  18. | For contact details, see: http://www.phpadsnew.com/ |
  19. | |
  20. | This program is free software; you can redistribute it and/or modify |
  21. | it under the terms of the GNU General Public License as published by |
  22. | the Free Software Foundation; either version 2 of the License, or |
  23. | (at your option) any later version. |
  24. | |
  25. | This program is distributed in the hope that it will be useful, |
  26. | but WITHOUT ANY WARRANTY; without even the implied warranty of |
  27. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
  28. | GNU General Public License for more details. |
  29. | |
  30. | You should have received a copy of the GNU General Public License |
  31. | along with this program; if not, write to the Free Software |
  32. | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
  33. +---------------------------------------------------------------------------+
  34. $Id$
  35. */
  36. /* mplace icon */
  37. .iconMarketLarge {
  38. background-image: url("../images/icon-marketplace-large.png");
  39. }
  40. /** hack the message to look better on market screens **/
  41. /*div.messagePlaceholder {
  42. height: auto;
  43. float: left;
  44. }*/
  45. div.messagePlaceholderStatic .body {
  46. margin:0;
  47. padding:5px 5px 4px 28px;
  48. line-height: 150%;
  49. }
  50. div.message div.panel .body p {
  51. padding: 0;
  52. }
  53. div.localMessage div.panel {
  54. width: 600px;
  55. margin-bottom: 5px;
  56. }
  57. /**/
  58. p.wide {
  59. line-height:150%;
  60. margin-bottom: 2em;
  61. }
  62. .pointer {
  63. cursor: pointer;
  64. }
  65. /* quasi form */
  66. ul.form {
  67. margin: 0px;
  68. padding: 0px;
  69. list-style: none;
  70. }
  71. ul.form li.line {
  72. clear: both;
  73. padding-bottom: 15px;
  74. overflow: hidden;
  75. }
  76. ul.form li.line p {
  77. margin: 0px 0px 6px 0px;
  78. }
  79. ul.form ctrl-buttons {
  80. margin-top: 20px;
  81. }
  82. /** campaignform **/
  83. #campaignform .market-invite {
  84. padding-left: 30px;
  85. width:530px;
  86. line-height: 150%;
  87. }
  88. #campaignform .market-invite p {
  89. margin-top: 10px;
  90. }
  91. /** signup screen **/
  92. #market-signup-form .section-header {
  93. font-size:14px;
  94. font-weight:bold;
  95. }
  96. #market-signup-form .type-name {
  97. margin-right: 20px;
  98. }
  99. #market-signup-form .pick-account input {
  100. margin-bottom: 15px;
  101. }
  102. #market-signup-form .header {
  103. margin: 10px 0px 0px 30px;
  104. font-weight: bold;
  105. }
  106. #market-signup-form #captcha-image {
  107. margin-top: 15px;
  108. }
  109. #market-signup-form .type-name em{
  110. font-style: italic;
  111. }
  112. /* creative types and attributes */
  113. .checkbox-list {
  114. float: left;
  115. }
  116. #creative-attrs {
  117. margin-left: 30px;
  118. }
  119. .checkbox-list h4 {
  120. color: #444444;
  121. font-weight: bold;
  122. margin: 0px 0px 10px 0px;
  123. }
  124. ul.column {
  125. margin: 0px;
  126. padding: 0px;
  127. list-style: none;
  128. width: 155px;
  129. float: left;
  130. }
  131. ul.column li {
  132. margin: 0px 1px 1px 0px;
  133. clear: both;
  134. }
  135. ul.column label {
  136. line-height: 1.5em;
  137. }
  138. ul.column li input {
  139. margin-right: 7px;
  140. vertical-align: middle;
  141. float: left;
  142. }
  143. ul.column li.accepted {
  144. background-color: #d0eadd;
  145. }
  146. ul.column li.rejected {
  147. background-color: #fe9797;
  148. }
  149. .market-campaign-settings h2 {
  150. margin-top: 6px;
  151. }
  152. .market-campaign-settings .section {
  153. margin-bottom: 1em;
  154. }
  155. .market-campaign-settings small {
  156. font-size: 10px;
  157. color: #808080;
  158. }
  159. .market-campaign-settings input.cpm {
  160. width: 4em;
  161. }
  162. .market-campaign-settings label.error {
  163. display: block;
  164. clear: both;
  165. padding: 0;
  166. padding-top: 2px;
  167. font-size: 10px;
  168. }
  169. .market-campaign-settings #submit {
  170. vertical-align: middle;
  171. margin-right: 3px;
  172. }
  173. .market-campaign-settings label.search {
  174. margin-left: 12px;
  175. *position: relative;
  176. *top: -2px;
  177. }
  178. .market-campaign-settings label.search input{
  179. width: 95px;
  180. padding: 2px;
  181. *position: relative;
  182. *top: 2px;
  183. }
  184. .market-campaign-settings .market-opted-in {
  185. font-weight: bold;
  186. color:green;
  187. }
  188. .market-campaign-settings .market-not-opted {
  189. font-weight: bold;
  190. color:red;
  191. }
  192. /** table modifications **/
  193. .market-campaign-settings .tableWrapper table {
  194. table-layout: fixed;
  195. }
  196. .market-campaign-settings .tableWrapper td {
  197. vertical-align: middle;
  198. }
  199. .market-campaign-settings .tableWrapper td.toggleSelection {
  200. padding-top: 1px;
  201. }
  202. .market-campaign-settings .tableWrapper td label {
  203. position: relative;
  204. top: 2px;
  205. }
  206. .market-campaign-settings .tableWrapper table th {
  207. line-height: normal;
  208. padding-top: 8px;
  209. padding-bottom: 8px;
  210. background: none;
  211. vertical-align: middle;
  212. }
  213. .market-campaign-settings .tableWrapper table td small {
  214. font-size: 11px;
  215. padding-left: 1.5em;
  216. }
  217. /** Top pager */
  218. .market-campaign-settings .pager-top {
  219. position: absolute;
  220. z-index: 1;
  221. top: 10px;
  222. right: 0;
  223. }
  224. .market-campaign-settings .pager-top .summary {
  225. margin-right: 10px;
  226. }
  227. .tableWrapper .pager-top .controls .page {
  228. padding-left: 0;
  229. }
  230. /**tag **/
  231. .campaign-type-tag {
  232. float:left;
  233. }
  234. .tag {
  235. margin-right: 5px;
  236. display: block;
  237. }
  238. .tag .t-b {
  239. overflow:visible;
  240. }
  241. .t-b {
  242. border-width:1px 0;
  243. margin: 0 1px;
  244. padding:0;
  245. }
  246. .l-r {
  247. border-width:0 1px;
  248. margin:0 -1px;
  249. padding:1px 0;
  250. }
  251. .val {
  252. padding:0 5px 1px 5px;
  253. color: white;
  254. display: block;
  255. }
  256. .t-b, .l-r {
  257. display: block;
  258. border-style:solid;
  259. font-weight:normal;
  260. font-size: 10px;
  261. }
  262. .tag-remnant .t-b {
  263. background-color: #727272;
  264. }
  265. .tag-remnant .t-b, .tag-remnant .l-r {
  266. border-color: #727272;
  267. }
  268. .tag-contract .t-b {
  269. background-color: #f58615;
  270. }
  271. .tag-contract .t-b, .tag-contract .l-r {
  272. border-color: #f58615;
  273. }
  274. /** tag end **/
  275. .market-campaign-settings .tableWrapper th.toggleAll {
  276. width: 23px;
  277. }
  278. .market-campaign-settings .tableWrapper th.mkt-status {
  279. width: 15em;
  280. }
  281. .market-campaign-settings .tableWrapper th.cpm {
  282. width: 14em;
  283. }
  284. .market-campaign-settings .tableWrapper .tableFooter .tableActions {
  285. padding: 0px;
  286. }
  287. /** submit buttons **/
  288. .market-campaign-settings button {
  289. vertical-align:middle;
  290. line-height:16px;
  291. margin:0 6px 0 0;
  292. padding: 2px 3px 2px 3px;
  293. *line-height: 12px;
  294. /** Fix extra button padding in IE7 */
  295. *width: auto;
  296. *overflow: visible;
  297. }
  298. .market-campaign-settings button.green-dot span {
  299. background-image:url(../images/button-dot-green.gif);
  300. }
  301. .market-campaign-settings button.red-dot span {
  302. background-image:url(../images/button-dot-red.gif);
  303. }
  304. .market-campaign-settings button.left span {
  305. background-repeat: no-repeat;
  306. line-height:13px;
  307. padding-left:13px;
  308. position:relative;
  309. top: 0px;
  310. left: -1px;
  311. *left: 1px;
  312. -background-repeat: repeat-x;
  313. -background-position: -10px 1px;
  314. -padding-left:11px;
  315. }
  316. /** AJAX loading **/
  317. #loading-indicator {
  318. position: absolute;
  319. top: 8px;
  320. left: 7px;
  321. padding-left: 33px;
  322. background-position: 2px 0;
  323. background-color: white;
  324. }
  325. /** Select all */
  326. #selectAllContainer td {
  327. text-align: center;
  328. background-color: #fef2bc;
  329. color: #222;
  330. }
  331. #selectAllContainer td em {
  332. font-weight: bold;
  333. font-style: normal;
  334. }
  335. .tableWrapper table tbody tr.selected {
  336. background-color: #D1E6F6;
  337. }
  338. /** info box **/
  339. .market-campaign-settings .info-box img {
  340. float: left;
  341. padding: 3px 5px 5px 5px;
  342. margin-right: 10px;
  343. }
  344. .market-campaign-settings .info-box .panel {
  345. background: none;
  346. width: 217px;
  347. margin: 0px;
  348. }
  349. .market-campaign-settings .info-box p {
  350. line-height: normal;
  351. margin-bottom: 5px;
  352. }
  353. .market-campaign-settings .info-box p.faq-link {
  354. margin: 5px 0px 0px 0px;
  355. }
  356. .market-campaign-settings .info-box em {
  357. font-weight: bold;
  358. }
  359. .market-campaign-settings .info-box h3 {
  360. font-size: 11px;
  361. font-weight: bold;
  362. margin: 0px 0px 5px 0px;
  363. }
  364. /** custom market screens **/
  365. table tr.systemAdvertiser td span {
  366. font-weight: bold;
  367. }
  368. #market-advertiser-index {
  369. margin-top: 8px;
  370. margin-left: 20px;
  371. }
  372. #market-advertiser-index p {
  373. clear: left;
  374. margin-bottom: 5px;
  375. }
  376. #three-ways-link {
  377. margin-left: 8px;
  378. }
  379. #market-advertiser-index span {
  380. font-weight: normal;
  381. }
  382. #market-advertiser-index .popup-help {
  383. position: static;
  384. max-width: 700px;
  385. }
  386. #market-advertiser-index .popup-help .close {
  387. float: right;
  388. }
  389. #market-advertiser-index .popup-help h3,
  390. #market-advertiser-index .popup-help h4 {
  391. margin-bottom: 8px;
  392. }
  393. #market-advertiser-index .popup-help h3 {
  394. font-size: 14px;
  395. }
  396. #market-advertiser-index .popup-help h4 {
  397. font-size: 12px;
  398. }
  399. #market-advertiser-index p.market-advertisers {
  400. line-height: 44px;
  401. margin-bottom: 8px;
  402. }
  403. #market-advertiser-index p.market-advertisers img {
  404. float: left;
  405. }
  406. #market-advertiser-index .three-ways-container {
  407. width: 650px;
  408. overflow: auto;
  409. margin: 12px 0px 8px 0px;
  410. }
  411. #market-advertiser-index .three-ways-container ul li {
  412. width: 201px;
  413. margin-right: 10px;
  414. float: left;
  415. position: relative;
  416. }
  417. a.expand {
  418. padding: 2px 0 2px 15px;
  419. background-position: left center;
  420. background-repeat: no-repeat;
  421. background-image:url(../../../assets/images/icon-minus.png);
  422. }
  423. a.collapse {
  424. padding: 2px 0 2px 15px;
  425. background-position: left center;
  426. background-repeat: no-repeat;
  427. background-image:url(../../../assets/images/icon-plus.png);
  428. }
  429. /** market campaign edit **/
  430. .market-campaign-edit, .market-campaign-acl {
  431. width: 780px;
  432. }
  433. .market-campaign-edit form, .market-campaign-edit .messagePlaceholderForm {
  434. width: 565px;
  435. }
  436. .market-campaign-edit-top {
  437. margin-bottom: 5px;
  438. }
  439. .market-campaign-edit h3 {
  440. font-weight: bold;
  441. font-size: 14px;
  442. margin-bottom: 12px;
  443. }
  444. .market-campaign-edit form, .market-campaign-edit form .section {
  445. clear: left;
  446. }
  447. .market-campaign-edit div.localMessage div.panel {
  448. margin-bottom:5px;
  449. width:auto;
  450. }
  451. .market-campaign-edit .info-box {
  452. width: 150px;
  453. margin-left: 10px;
  454. float:right;
  455. padding: 10px;
  456. *padding: 5px;
  457. -moz-border-radius: 5px;
  458. -webkit-border-radius: 5px;
  459. border-radius: 5px; /*CSS3*/
  460. border: 1px solid #cfcfcf;
  461. }
  462. .market-campaign-edit .info-box img {
  463. margin-bottom: 10px;
  464. }
  465. .market-campaign-edit .info-box h3, .market-campaign-edit .info-box h4 {
  466. font-weight: bold;
  467. margin-bottom: 8px;
  468. }
  469. .market-campaign-edit .info-box h3 {
  470. font-size: 13px;
  471. }
  472. .market-campaign-edit .info-box h4 {
  473. font-size: 12px;
  474. }
  475. .market-campaign-edit .info-box em {
  476. font-style: italic;
  477. }
  478. /** advertiser campaigns snippet **/
  479. .market-advertiser-campaigns, .market-campaigns-zone {
  480. width: 780px;
  481. }
  482. .market-advertiser-campaigns div.localMessage div.panel {
  483. width: 100%;
  484. }
  485. .market-advertiser-campaigns-top h3 {
  486. font-weight: bold;
  487. font-size: 14px;
  488. margin-bottom: 5px;
  489. }
  490. #help-market-campaigns h4 {
  491. font-size: 12px;
  492. margin-bottom: 5px;
  493. }
  494. .market-advertiser-campaigns-top .imageContainer {
  495. overflow: auto;
  496. margin-bottom: 12px;
  497. }
  498. .market-advertiser-campaigns-top .imageContainer .left {
  499. margin-bottom: 12px;
  500. }
  501. .market-advertiser-campaigns-top .imageContainer .right h4 {
  502. font-size: 12px;
  503. }
  504. /** market campaign-delivery limitations page **/
  505. .market-campaign-acl .note {
  506. margin-top: 12px;
  507. }
  508. div.messagePlaceholderStatic div.new .body {
  509. padding-left: 40px;
  510. }
  511. div.message div.new div.icon {
  512. background-position: center center;
  513. background-image:url(../images/icon-new.png);
  514. width: 32px;
  515. }
  516. /* Branded icons */
  517. .iconAdvertiserSystem {
  518. background-image: url("<?php echo $oMarketComponent->aBranding['assetPath']; ?>/icon-advertiser-openx.png");
  519. }
  520. .iconCampaignSystem {
  521. background-image: url("<?php echo $oMarketComponent->aBranding['assetPath']; ?>/icon-campaign-openx.png");
  522. }
  523. .iconCampaignSystemLarge {
  524. background-image: url("<?php echo $oMarketComponent->aBranding['assetPath']; ?>/icon-campaign-openx-large.png");
  525. }
  526. .iconCampaignSystemAdd {
  527. background-image: url("<?php echo $oMarketComponent->aBranding['assetPath']; ?>/icon-campaign-openx-add.png");
  528. }
  529. .iconCampaignSystemAddLarge {
  530. background-image: url("<?php echo $oMarketComponent->aBranding['assetPath']; ?>/icon-campaign-openx-add-large.png");
  531. }
  532. .iconCampaignsSystem {
  533. background-image: url("<?php echo $oMarketComponent->aBranding['assetPath']; ?>/icon-campaigns-openx.png");
  534. }
  535. .iconCampaignsSystemLarge {
  536. background-image: url("<?php echo $oMarketComponent->aBranding['assetPath']; ?>/icon-campaigns-openx-large.png");
  537. }