panels_dnd.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. #panels-dnd-main {
  2. margin: 0.5em 0;
  3. }
  4. #panels-dnd-main div.panel-region {
  5. padding: 0 0 .5em 0;
  6. border: 1px dashed #ddd;
  7. background: #f8f8f8;
  8. -webkit-border-radius: 0.333em;
  9. -moz-border-radius: 0.333em;
  10. }
  11. #panels-dnd-main div.panel-region h2.label {
  12. color: #555;
  13. text-shadow: #fff 1px 1px 1px;
  14. text-align: center;
  15. font-size: 13pt;
  16. margin: 0 0 .5em 0;
  17. padding-right: 16px;
  18. vertical-align: middle;
  19. }
  20. #panels-dnd-main div.panel-region .pane-add {
  21. float: left;
  22. margin: 2px;
  23. background: #999;
  24. border: 1px solid #fff;
  25. }
  26. #panels-dnd-main div.panel-region .pane-add-link {
  27. position: relative;
  28. display: block;
  29. width: 16px;
  30. height: 16px;
  31. float: left;
  32. margin: 2px 2px 2px 4px;
  33. }
  34. div.panels-set-title-hide .panels-set-title {
  35. display: none !important;
  36. }
  37. /* Add Icon */
  38. #panels-dnd-main div.panel-region .pane-add-link {
  39. }
  40. #panels-dnd-main div.panel-region .pane-add-link img {
  41. display: none;
  42. }
  43. #panels-dnd-main div.panel-region .pane-add-link a.ctools-dropdown-image-link {
  44. border: none;
  45. width: 16px;
  46. height: 18px;
  47. float: left;
  48. background: url('../images/sprite.png') no-repeat 0 -1178px;
  49. /* background: url('../images/sprite.png') no-repeat -166px -582px; */
  50. }
  51. .panel-portlet {
  52. padding: 0em;
  53. background: #ffffff;
  54. border: 1px solid #bbb;
  55. }
  56. div.panels-set-title-hide .panel-pane-is-title {
  57. border: 1px solid #bbb;
  58. }
  59. .panel-pane-is-title {
  60. border: 2px solid #777;
  61. }
  62. /* Cog Icon */
  63. .panel-portlet .buttons a img {
  64. display: none;
  65. margin: 0;
  66. }
  67. .panel-portlet .buttons a.ctools-dropdown-image-link {
  68. border: none;
  69. width: 16px;
  70. height: 16px;
  71. margin: 0 5px 0 0;
  72. float: none;
  73. display: block;
  74. background: url('../images/sprite.png') no-repeat 0 -1178px;
  75. }
  76. #panels-dnd-main .panel-pane,
  77. #panels-dnd-main .helperclass {
  78. margin: .5em;
  79. }
  80. #panels-dnd-main-form .inline-icon-help {
  81. vertical-align: middle;
  82. margin: 2px 1px;
  83. }
  84. .panel-pane.hidden-pane {
  85. background: #f8f8f8;
  86. }
  87. .panel-portlet .pane-content {
  88. margin: .5em 0 .5em 0;
  89. padding: 0 .25em 0 .25em;
  90. display: none; /* initially hidden */
  91. }
  92. .panel-portlet .grab-title {
  93. width: 100%;
  94. height: 20px;
  95. margin: 0 0 0.5em 0;
  96. overflow: hidden;
  97. background: #b3b3b3;
  98. color: #fff;
  99. text-shadow: #555 1px 1px 1px;
  100. border-color: #999;
  101. font-weight: bold;
  102. }
  103. .panel-portlet .grabber {
  104. cursor: move;
  105. background: #b3b3b3 url('../images/bg-shade-medium.png') repeat-x 0 100%;
  106. }
  107. .panel-portlet.hidden-pane .grab-title {
  108. background-color: #888;
  109. }
  110. .panel-portlet .changed div.grab-title {
  111. background-color: #ffffdd !important;
  112. border-bottom: 1px solid #3d9cd7 !important;
  113. color: black !important;
  114. }
  115. .panel-portlet .changed.hidden-pane div.grab-title {
  116. background-color: #b4b488 !important;
  117. border-bottom: 1px solid #3d9cd7 !important;
  118. }
  119. .panel-portlet .changed div.grab-title span.star {
  120. font-weight: bold;
  121. color: #e09010;
  122. }
  123. .panel-portlet .grabber:hover {
  124. color: #fff;
  125. background-color: #2f78a5;
  126. }
  127. .panel-portlet.hidden-pane .grab-title:hover {
  128. background-color: #666;
  129. }
  130. .panel-portlet .grabber:active {
  131. background-color: red;
  132. }
  133. .panel-portlet .grabber:hover,
  134. .panel-portlet .grabber:active {
  135. background: #858585 url('../images/bg-shade-dark.png') repeat-x 0 100%;
  136. color: #fff;
  137. text-shadow: #333 1px 1px 1px;
  138. border-color: #858585;
  139. }
  140. .panel-portlet .grab-title .text {
  141. margin-left: 3px;
  142. font-size: 90%;
  143. line-height: 20px;
  144. }
  145. .panel-portlet .buttons {
  146. float: right;
  147. padding: 0;
  148. margin: 0;
  149. }
  150. .panel-portlet .buttons input,
  151. .panel-portlet .buttons button {
  152. margin: 0;
  153. padding: 0;
  154. display: inline;
  155. }
  156. .panel-portlet .buttons a img {
  157. margin: 2px 1px;
  158. }
  159. .panel-portlet .pane-title {
  160. font-size: 110%;
  161. cursor: pointer;
  162. }
  163. .panel-portlet .panel-pane-collapsible {
  164. margin: 0;
  165. padding: 0;
  166. }
  167. .panel-portlet .toggle {
  168. float: left;
  169. width: 21px;
  170. height: 21px;
  171. cursor: pointer;
  172. background: url('../images/sky.png') no-repeat 6px -245px;
  173. }
  174. .panel-portlet .toggle-collapsed {
  175. background: url('../images/sky.png') no-repeat 6px -1021px;
  176. }
  177. /* CSS to guide a user to a place to drop */
  178. #panels-dnd-main .helperclass {
  179. border: 1px dashed red;
  180. }
  181. #panels-dnd-main .hoverclass {
  182. border: 1px solid red !important;
  183. }
  184. /* CSS for an area if something can be dropped in it */
  185. .panels-modal-content {
  186. background: #fff;
  187. color: #000;
  188. padding: 0;
  189. margin: 2px;
  190. border: 1px solid #000;
  191. width: 600px;
  192. text-align: left;
  193. }
  194. .panels-modal-content .modal-title {
  195. font-size: 120%;
  196. font-weight: bold;
  197. color: white;
  198. overflow: hidden;
  199. white-space: nowrap;
  200. }
  201. .panels-modal-content .modal-header {
  202. background-color: #2385c2;
  203. padding: 0 .25em 0 1em;
  204. }
  205. .panels-modal-content .modal-header a {
  206. color: white;
  207. float: right;
  208. }
  209. .panels-modal-content .modal-content {
  210. padding: 0 1em;
  211. overflow: auto;
  212. width: 575px;
  213. height: 400px;
  214. }
  215. .panels-modal-content .modal-form {
  216. }
  217. .panels-modal-content .form-checkboxes .form-item {
  218. float: left;
  219. width: 24%;
  220. }
  221. .panels-hidden,
  222. .panels-js-only {
  223. display: none;
  224. }
  225. a.close {
  226. color: white;
  227. }
  228. a.close:hover {
  229. text-decoration: none;
  230. }
  231. a.close img {
  232. position: relative;
  233. top: 1px;
  234. }
  235. .panels-section-title {
  236. clear: left;
  237. border-bottom: 1px solid #ddf;
  238. margin-bottom: .5em;
  239. text-align: left;
  240. }
  241. .panels-section-decorator {
  242. }
  243. .panels-add-content-modal .panels-modal-add-category {
  244. display: block;
  245. border-bottom: 1px solid white;
  246. padding-left: .5em;
  247. margin-left: -2px;
  248. position: relative;
  249. }
  250. .panels-add-content-modal .panels-modal-add-category.active {
  251. background: url(../images/arrow-active.png) center right no-repeat white;
  252. border-right: none;
  253. }
  254. .panels-add-content-modal {
  255. background: url(../images/bg-content-modal.png);
  256. height: 100%;
  257. margin: -1em;
  258. padding-bottom: 1em;
  259. padding-left: 175px;
  260. position: relative;
  261. }
  262. .panels-section-columns-quickfilter {
  263. padding-top: 1em;
  264. padding-left: 1em;
  265. padding-bottom: 1em;
  266. margin-bottom: 1em;
  267. background-color: #eeeeee;
  268. }
  269. .panels-section-columns {
  270. height: 100%;
  271. overflow: auto;
  272. }
  273. .panels-section-column {
  274. width: 48%;
  275. float: left;
  276. }
  277. .panels-section-column .inside {
  278. padding: 0 1em;
  279. }
  280. .panels-section-column-categories {
  281. width: 173px;
  282. margin-left: -173px;
  283. }
  284. .panels-categories-description {
  285. padding: 0 1em;
  286. text-align: center;
  287. vertical-align: center;
  288. }
  289. * html .panels-section-column-categories {
  290. left: 173px;
  291. position: relative;
  292. }
  293. .panels-section-column-categories .panels-categories-box {
  294. border-top: 1px solid white;
  295. margin-bottom: 1em;
  296. }
  297. .panels-section-column-categories .inside {
  298. padding: 0;
  299. }
  300. .panels-section-column-categories .content-type-button {
  301. padding-left: 10px;
  302. }
  303. .panels-modal-add-category {
  304. color: #5b5b5b !important;
  305. font-weight: bold;
  306. line-height: 2em;
  307. }
  308. .panels-section {
  309. margin-bottom: 1em;
  310. }
  311. .panels-section-column .content-type-button {
  312. font-size: 8pt;
  313. line-height: 1em;
  314. overflow: hidden;
  315. text-align: left;
  316. }
  317. .content-type-button a {
  318. display: inline-block;
  319. width: 99%;
  320. }
  321. .content-type-button a:focus {
  322. border: 1px dotted black;
  323. }
  324. .content-type-button img {
  325. border: 2px solid white;
  326. }
  327. .content-type-button img:hover {
  328. border: 2px solid blue;
  329. }
  330. .content-type-button div,
  331. .content-type-button span {
  332. width: 85%;
  333. position: relative;
  334. top: -5px;
  335. left: 3px;
  336. }
  337. #panels-preview .modal-throbber-wrapper {
  338. width: 100%;
  339. text-align: center;
  340. margin-left: auto;
  341. margin-right: auto;
  342. }
  343. /** modal forms CSS **/
  344. .panels-modal-content .form-item label {
  345. width: 8em;
  346. float: left;
  347. }
  348. .panels-modal-content .form-item label.option {
  349. width: auto;
  350. float: none;
  351. }
  352. .panels-modal-content .form-item .description {
  353. clear: left;
  354. }
  355. .panels-modal-content .form-item .description .tips {
  356. margin-left: 2em;
  357. }
  358. .panels-modal-content .no-float .form-item * {
  359. float: none;
  360. }
  361. .panels-modal-content .modal-form .no-float label {
  362. width: auto;
  363. }
  364. .panels-modal-content .modal-form fieldset,
  365. .panels-modal-content .modal-form .form-checkboxes {
  366. clear: left;
  367. }
  368. #edit-configuration-nid {
  369. clear: left;
  370. }
  371. .option-text-aligner .form-item {
  372. float: left;
  373. padding: .25em 1em .25em 0;
  374. margin: 0;
  375. }
  376. .option-text-aligner {
  377. clear: both;
  378. width: 100%;
  379. padding: 0;
  380. margin: 0;
  381. }
  382. #panels-dnd-main div.panel-pane div.ctools-dropdown-container-wrapper {
  383. margin-left: -158px;
  384. margin-top: -4px;
  385. }
  386. /*
  387. html.js div.panels-display-links div.ctools-dropdown-container {
  388. width: 275px;
  389. }
  390. html.js div.panels-display-links div.ctools-dropdown-container ul li li a {
  391. width: 250px;
  392. }
  393. html.js div.panels-display-links div.ctools-dropdown-container ul li a {
  394. width: 270px;
  395. }
  396. */
  397. #panels-dnd-main .panel-pane .pane-title {
  398. padding: 0.25em 0.5em;
  399. }
  400. #panels-dnd-main .panel-pane .pane-title:after {
  401. font-size: 0.8em;
  402. color: crimson;
  403. letter-spacing: normal;
  404. display: block;
  405. }
  406. #panels-dnd-main .panel-pane.hidden-pane .pane-title:after {
  407. content: " status: hidden";
  408. }
  409. #panels-dnd-main .panel-pane.changed .pane-title:after {
  410. content: " status: changes not saved";
  411. }
  412. #panels-dnd-main .panel-pane.hidden-pane.changed .pane-title:after {
  413. content: " status: hidden & changed";
  414. }
  415. /* @end */
  416. /* @group CTools Dropdown */
  417. #panels-dnd-main .ctools-dropdown a.ctools-dropdown-text-link,
  418. html.js div.panels-display-links a.ctools-dropdown-text-link {
  419. background: url('../images/arrow-down-light.png') 0 3px no-repeat!important;
  420. padding-left: 12px;
  421. }
  422. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container,
  423. html.js div.panels-display-links div.ctools-dropdown-container {
  424. width: 160px!important;
  425. background: #fff url('../images/bg-shade-white-lrg.png') repeat-x 0 100%;
  426. border: solid 1px #ddd!important;
  427. margin: 0!important;
  428. /* padding: 0.5em!important; */
  429. -webkit-border-radius: 0.333em;
  430. -moz-border-radius: 0.333em;
  431. -webkit-box-shadow: 0.333em 0.333em 0.333em rgba(0, 0, 0, 0.25);
  432. font-size: 0.9em;
  433. font-weight: bold;
  434. }
  435. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li,
  436. html.js div.panels-display-links div.ctools-dropdown-container ul li {
  437. text-decoration: none;
  438. padding: 0;
  439. margin: 0;
  440. color: #555!important;
  441. text-shadow: #fff 1px 1px 1px;
  442. }
  443. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li span.text,
  444. html.js div.panels-display-links div.ctools-dropdown-container ul li span.text {
  445. font-style: normal;
  446. color: #000;
  447. font-weight: bold;
  448. }
  449. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li a,
  450. html.js div.panels-display-links div.ctools-dropdown-container ul li a {
  451. color: #555!important;
  452. font-weight: normal;
  453. width: auto;
  454. padding: 0 10px;
  455. }
  456. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li span.panels-text,
  457. html.js div.panels-display-links div.ctools-dropdown-container ul li span.panels-text {
  458. width: auto;
  459. padding: 0 10px;
  460. }
  461. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li .panels-italic,
  462. html.js div.panels-display-links div.ctools-dropdown-container ul li .panels-italic {
  463. font-style: italic;
  464. }
  465. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li span.dropdown-header,
  466. html.js div.panels-display-links div.ctools-dropdown-container ul li span.dropdown-header {
  467. background-color: #fefefe;
  468. padding: 0 10px;
  469. }
  470. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li .panels-sub-menu ul li a,
  471. html.js div.panels-display-links div.ctools-dropdown-container ul li .panels-sub-menu ul li a,
  472. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li .panels-sub-menu span.panels-text,
  473. html.js div.panels-display-links div.ctools-dropdown-container ul li .panels-sub-menu span.panels-text {
  474. width: auto;
  475. padding: 0 20px;
  476. }
  477. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container hr,
  478. html.js div.panels-display-links div.ctools-dropdown-container hr {
  479. border: 0;
  480. color: #ddd;
  481. background-color: #ddd;
  482. height: 1px;
  483. }
  484. /*
  485. html.js #panels-dnd-main div.ctools-dropdown div.ctools-dropdown-container ul li a:hover,
  486. html.js div.panels-display-links div.ctools-dropdown-container ul li a:hover {
  487. background: none!important;
  488. color: #000!important;
  489. }
  490. */
  491. /* @end */
  492. /* @group Modal */
  493. /* Account for the extra div coming from ctools_modal_form_render() */
  494. div.messages div.messages {
  495. background: none;
  496. border: none;
  497. margin: 0;
  498. padding: 0;
  499. -webkit-border-radius: 0;
  500. -moz-border-radius: 0;
  501. }
  502. div.ctools-modal-content .modal-header {
  503. background: #fff url('../images/bg-shade-light.png') repeat-x bottom left;
  504. color: #777;
  505. display: block;
  506. font-weight: 700;
  507. letter-spacing: normal;
  508. padding: 0.25em 1em;
  509. -moz-border-radius-topleft: 0.5em;
  510. -moz-border-radius-topright: 0.5em;
  511. -webkit-border-top-left-radius: 0.5em;
  512. -webkit-border-top-right-radius: 0.5em;
  513. }
  514. div.ctools-modal-content .modal-title {
  515. font-size: 120%;
  516. font-weight: bold;
  517. text-shadow: #fff 1px 1px 1px;
  518. color: #555;
  519. }
  520. div.ctools-modal-content a.close {
  521. color: #666;
  522. font-weight: normal;
  523. padding-left: 1.6em;
  524. background: url('../images/sprite.png') no-repeat -166px -1686px;
  525. }
  526. div.ctools-modal-content a.close img {
  527. display: none;
  528. }
  529. /** modal forms CSS **/
  530. div.ctools-modal-content .form-item label {
  531. width: 100%;
  532. float: none;
  533. clear: both;
  534. }
  535. div.ctools-modal-content .resizable-textarea {
  536. width: 100%;
  537. margin-left: 0;
  538. margin-right: 0;
  539. }
  540. div.ctools-modal-content {
  541. font-size: 12px;
  542. border: solid 1px #ddd;
  543. -webkit-border-radius: 0.5em;
  544. -moz-border-radius: 0.5em;
  545. -webkit-box-shadow: -1em 1em 1em rgba(0, 0, 0, 0.5);
  546. }
  547. #modalBackdrop {
  548. position: fixed!important;
  549. background-color: #000!important;
  550. }
  551. /* @end */
  552. /** Override that obnoxious float on throbber. **/
  553. #panels-dnd-main .progress-disabled {
  554. float: none;
  555. }
  556. #panels-dnd-main .progress-disabled + .ajax-progress {
  557. float: right;
  558. position: relative;
  559. top: -2em;
  560. }
  561. /** Override that obnoxious float on throbber. **/
  562. .panels-categories-box .progress-disabled {
  563. float: none;
  564. }
  565. .panels-categories-box .progress-disabled + .ajax-progress {
  566. float: right;
  567. position: relative;
  568. top: -2em;
  569. margin-bottom: -2em;
  570. }
  571. .panels-section-columns .progress-disabled {
  572. display: block;
  573. float: left;
  574. }
  575. .panels-section-columns .ajax-progress .throbber {
  576. float: right;
  577. position: relative;
  578. top: -2em;
  579. margin-bottom: -2em;
  580. }