panels_ipe.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. body.panels-ipe {
  2. margin-bottom: 60px !important;
  3. }
  4. /* Hide the IPE toolbar on print output. */
  5. @media print {
  6. #panels-ipe-control-container {
  7. display: none !important;
  8. }
  9. body.panels-ipe {
  10. margin-top: 0 !important;
  11. }
  12. }
  13. /* Hide the control container when the overlay is open. */
  14. html.overlay-open #panels-ipe-control-container {
  15. display: none !important;
  16. }
  17. html.overlay-open body.panels-ipe {
  18. margin-top: 0 !important;
  19. }
  20. div.panels-ipe-handlebar-wrapper {
  21. border-bottom: 1px solid #CCC;
  22. }
  23. .panels-ipe-editing div.panels-ipe-portlet-wrapper {
  24. margin-top: 1em;
  25. border: 1px solid #CCC;
  26. width: 100%;
  27. }
  28. /* Hide empty panes when not editing them. */
  29. .panels-ipe-empty-pane {
  30. display: none;
  31. }
  32. .panels-ipe-editing .panels-ipe-empty-pane {
  33. display: block;
  34. }
  35. .panels-ipe-editing div.panels-ipe-portlet-wrapper:hover {
  36. border: 1px dashed #CCC;
  37. }
  38. .panels-ipe-editing .panels-ipe-sort-container {
  39. min-height: 40px;
  40. }
  41. .panels-ipe-editing .panels-ipe-sort-container .ui-sortable-helper {
  42. background: white;
  43. }
  44. .panels-ipe-editing div.panel-pane div.admin-links {
  45. display: none !important;
  46. }
  47. .panels-ipe-editing .panels-ipe-sort-container .ui-sortable-placeholder {
  48. border: 2px dashed #999;
  49. background-color: #FFFF99;
  50. margin: 1em 0;
  51. -moz-border-radius: 0;
  52. -khtml-border-radius: 0;
  53. -webkit-border-radius: 0;
  54. border-radius: 0;
  55. }
  56. div.panels-ipe-handlebar-wrapper ul {
  57. float: left;
  58. margin: 0;
  59. padding: 0;
  60. text-align: right;
  61. }
  62. div.panels-ipe-handlebar-wrapper li {
  63. background: none;
  64. list-style-type: none;
  65. list-style-image: none;
  66. margin: 0 .5em 0 0;
  67. padding: 0;
  68. float: left;
  69. }
  70. div.panels-ipe-draghandle,
  71. div.panels-ipe-nodraghandle {
  72. background: #E9E9E9;
  73. background-image: linear-gradient(bottom, #D5D5D5 0%, #FCFCFC 100%);
  74. background-image: -o-linear-gradient(bottom, #D5D5D5 0%, #FCFCFC 100%);
  75. background-image: -moz-linear-gradient(bottom, #D5D5D5 0%, #FCFCFC 100%);
  76. background-image: -webkit-linear-gradient(bottom, #D5D5D5 0%, #FCFCFC 100%);
  77. background-image: -ms-linear-gradient(bottom, #D5D5D5 0%, #FCFCFC 100%);
  78. background-image: -webkit-gradient(
  79. linear,
  80. left bottom,
  81. left top,
  82. color-stop(0, #D5D5D5),
  83. color-stop(1, #FCFCFC)
  84. );
  85. padding: 8px 7px;
  86. }
  87. div.panels-ipe-draghandle span.panels-ipe-draghandle-icon {
  88. display: block;
  89. float: right;
  90. cursor: move;
  91. width: 34px;
  92. height: 34px;
  93. padding: 0 !important; /* override button defaults */
  94. }
  95. span.panels-ipe-draghandle-icon-inner {
  96. display: block;
  97. width: 34px;
  98. height: 34px;
  99. background: url(../images/icon-draggable.png) no-repeat 3px 3px;
  100. }
  101. div.panels-ipe-placeholder {
  102. border: 2px dashed #999;
  103. padding: .5em;
  104. position: relative;
  105. margin-top: .5em;
  106. background-color: #ECFAFF;
  107. color: #999;
  108. font: 15px/1.3em "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
  109. text-transform: none;
  110. letter-spacing: 0;
  111. text-align: left;
  112. word-spacing: 0;
  113. }
  114. div.panels-ipe-placeholder h3 {
  115. font-weight: normal;
  116. font-size: 15px;
  117. width: 75px; /* In order to prevent the region title from running into the button, set a width. Initital width only--this will be changed by jQuery */
  118. margin: 1.154em 0;
  119. }
  120. /* Hide editor-state-on elements initially */
  121. .panels-ipe-on {
  122. display: none;
  123. }
  124. .panels-ipe-editing .panels-ipe-on {
  125. display: block;
  126. }
  127. /* Show editor-state-off elements initially */
  128. .panels-ipe-off {
  129. display: block;
  130. }
  131. div.panels-ipe-newblock {
  132. -webkit-box-shadow: 0px 0 5px 5px #ECFAFF;
  133. -moz-box-shadow: 0px 0 5px 5px #ECFAFF;
  134. box-shadow: 0px 0 5px 5px #ECFAFF;
  135. position: absolute;
  136. right: 10px;
  137. top: 50%;
  138. margin-top: -18px; /* some initial guesses to help center the add button
  139. panels_ipe.js will evaluate the width and get this pixel-perfect */
  140. margin-left: -30px;
  141. z-index: 99;
  142. }
  143. div.panels-ipe-newblock li {
  144. padding: 0;
  145. }
  146. div.panels-ipe-handlebar-wrapper li a,
  147. div.panels-ipe-dragtitle span,
  148. div.panels-ipe-newblock a,
  149. span.panels-ipe-draghandle-icon {
  150. display: inline-block;
  151. border: 1px solid #ccc;
  152. padding: 0 8px 1px;
  153. font: bold 12px/32px 'Open Sans', 'Lucida Sans', 'Lucida Grande', verdana sans-serif;
  154. text-decoration: none;
  155. height: 33px;
  156. color: #666;
  157. cursor: pointer;
  158. outline: none;
  159. -moz-border-radius: 3px;
  160. -khtml-border-radius: 3px;
  161. -webkit-border-radius: 3px;
  162. border-radius: 3px;
  163. background: #FAFAFA;
  164. background-image: linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  165. background-image: -o-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  166. background-image: -moz-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  167. background-image: -webkit-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  168. background-image: -ms-linear-gradient(bottom, #E9EAEC 0%, #FAFAFA 100%);
  169. background-image: -webkit-gradient(
  170. linear,
  171. left bottom,
  172. left top,
  173. color-stop(0, #E9EAEC),
  174. color-stop(1, #FAFAFA)
  175. );
  176. -webkit-box-shadow: 0px 3px 3px 0px #d2d2d2;
  177. -moz-box-shadow: 0px 3px 3px 0px #d2d2d2;
  178. box-shadow: 0px 3px 3px 0px #d2d2d2;
  179. }
  180. div.panels-ipe-handlebar-wrapper li a span,
  181. div.panels-ipe-newblock a span {
  182. display: block;
  183. height: 32px;
  184. width: 18px;
  185. background-position: center center;
  186. background-repeat: no-repeat;
  187. text-align: left;
  188. text-indent: -9999em;
  189. }
  190. div.panels-ipe-handlebar-wrapper li.edit a span {
  191. background-image: url(../images/icon-settings.png);
  192. }
  193. div.panels-ipe-handlebar-wrapper li.style a span,
  194. div.panels-ipe-newblock a.style span {
  195. background-image: url(../images/icon-style.png);
  196. }
  197. div.panels-ipe-newblock a.style {
  198. margin-right: .5em;
  199. }
  200. div.panels-ipe-newblock a.add span {
  201. background-image: url(../images/icon-add.png);
  202. }
  203. div.panels-ipe-handlebar-wrapper li.delete a span {
  204. background-image: url(../images/icon-delete.png);
  205. }
  206. div.panels-ipe-handlebar-wrapper li a:hover,
  207. div.panels-ipe-dragtitle span:hover,
  208. div.panels-ipe-newblock a:hover,
  209. span.panels-ipe-draghandle-icon:hover {
  210. background: #E6E6E6;
  211. background-image: linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  212. background-image: -o-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  213. background-image: -moz-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  214. background-image: -webkit-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  215. background-image: -ms-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  216. background-image: -webkit-gradient(
  217. linear,
  218. left bottom,
  219. left top,
  220. color-stop(0, #C5C5C5),
  221. color-stop(1, #FAFAFA)
  222. );
  223. }
  224. div.panels-ipe-handlebar-wrapper li a:active,
  225. div.panels-ipe-dragtitle span:active,
  226. div.panels-ipe-newblock a:active,
  227. span.panels-ipe-draghandle-icon:active {
  228. outline: none;
  229. background-image: linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  230. background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  231. background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  232. background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  233. background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  234. background-image: -webkit-gradient(
  235. linear,
  236. left bottom,
  237. left top,
  238. color-stop(0, #FFFFFF),
  239. color-stop(1, #E9EAEC)
  240. );
  241. -webkit-box-shadow: 0px 0px 0px 0px #fff;
  242. -moz-box-shadow: 0px 0px 0px 0px #fff;
  243. box-shadow: 0px 0px 0px 0px #fff;
  244. }
  245. .panels-ipe-editing .panels-ipe-portlet-content {
  246. margin: 10px 3px;
  247. overflow: hidden;
  248. }
  249. .panels-ipe-editing .panels-ipe-region {
  250. border: transparent dotted 1px;
  251. float: left;
  252. width: 100%;
  253. margin-bottom: 5px;
  254. }
  255. div.panels-ipe-draghandle {
  256. border: none;
  257. }
  258. .ui-sortable-placeholder {
  259. margin: 1em;
  260. border: 1px dotted black;
  261. visibility: visible !important;
  262. height: 50px !important;
  263. }
  264. .ui-sortable-placeholder * {
  265. visibility: hidden;
  266. }
  267. /** ============================================================================
  268. * Controller form markup
  269. */
  270. div#panels-ipe-control-container {
  271. z-index: 99999;
  272. position: fixed;
  273. bottom: 0;
  274. display: none;
  275. background-color: #000;
  276. padding: 0.5em 0;
  277. width: 100%;
  278. overflow: hidden;
  279. -moz-box-shadow: 0 3px 20px #000;
  280. -webkit-box-shadow: 0 3px 20px #000;
  281. box-shadow: 0 3px 20px #000;
  282. }
  283. .ipe-throbber {
  284. background-color: #232323;
  285. background-image: url("../images/loading-small.gif");
  286. background-position: center center;
  287. background-repeat: no-repeat;
  288. -moz-border-radius: 7px;
  289. -webkit-border-radius: 7px;
  290. border-radius: 7px;
  291. height: 24px;
  292. opacity: .9;
  293. padding: 4px;
  294. width: 24px;
  295. /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  296. left: 49%;
  297. position: fixed;
  298. top: 48.5%;
  299. z-index: 1001;
  300. }
  301. /* Hide the drupal system throbber image */
  302. .ipe-throbber .throbber {
  303. display: none;
  304. }
  305. div.panels-ipe-pseudobutton-container,
  306. div.panels-ipe-control .form-submit {
  307. cursor: pointer;
  308. background: #666666;
  309. background-image: linear-gradient(bottom, #383838 0%, #666666 100%);
  310. background-image: -o-linear-gradient(bottom, #383838 0%, #666666 100%);
  311. background-image: -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
  312. background-image: -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
  313. background-image: -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
  314. background-image: -webkit-gradient(
  315. linear,
  316. left bottom,
  317. left top,
  318. color-stop(0, #383838),
  319. color-stop(1, #666666)
  320. );
  321. border: 0;
  322. -moz-border-radius: 3px;
  323. -webkit-border-radius: 3px;
  324. border-radius: 3px;
  325. color: #CCC;
  326. display: inline-block;
  327. font: bold 12px/33px "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
  328. height: 33px;
  329. margin: 0 10px;
  330. }
  331. div.panels-ipe-control .form-submit {
  332. padding: 0 0.8em 2px 34px;
  333. }
  334. div.panels-ipe-control input.panels-ipe-save, div.panels-ipe-control input.panels-ipe-cancel,
  335. div.panels-ipe-control input.panels-ipe-save:hover, div.panels-ipe-control input.panels-ipe-cancel:hover,
  336. div.panels-ipe-control input.panels-ipe-save:active, div.panels-ipe-control input.panels-ipe-cancel:active {
  337. background-repeat: no-repeat;
  338. }
  339. div.panels-ipe-pseudobutton-container a {
  340. height: 33px;
  341. padding: 0 0.8em;
  342. display: inline-block;
  343. color: #CCC;
  344. text-decoration: none;
  345. }
  346. div.panels-ipe-control input.panels-ipe-save {
  347. background-image: url(../images/icon-save.png);
  348. background-image: url(../images/icon-save.png), linear-gradient(bottom, #383838 0%, #666666 100%);
  349. background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
  350. background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
  351. background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
  352. background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
  353. background-image: url(../images/icon-save.png), -webkit-gradient(
  354. linear,
  355. left bottom,
  356. left top,
  357. color-stop(0, #383838),
  358. color-stop(1, #666666)
  359. );
  360. }
  361. div.panels-ipe-control input.panels-ipe-cancel {
  362. background-image: url(../images/icon-close.png);
  363. background-image: url(../images/icon-close.png), linear-gradient(bottom, #383838 0%, #666666 100%);
  364. background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
  365. background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
  366. background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
  367. background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
  368. background-image: url(../images/icon-close.png), -webkit-gradient(
  369. linear,
  370. left bottom,
  371. left top,
  372. color-stop(0, #383838),
  373. color-stop(1, #666666)
  374. );
  375. }
  376. div.panels-ipe-pseudobutton-container:hover,
  377. div.panels-ipe-control .form-submit:hover {
  378. background: #999999;
  379. background-image: linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  380. background-image: -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  381. background-image: -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  382. background-image: -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  383. background-image: -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  384. background-image: -webkit-gradient(
  385. linear,
  386. left bottom,
  387. left top,
  388. color-stop(0, #3D3D3D),
  389. color-stop(1, #999999)
  390. );
  391. color: #FFF;
  392. }
  393. div.panels-ipe-pseudobutton-container a:hover {
  394. color: #FFF;
  395. }
  396. div.panels-ipe-control input.panels-ipe-cancel:hover {
  397. background-image: url(../images/icon-close.png), linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  398. background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  399. background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  400. background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  401. background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  402. background-image: url(../images/icon-close.png), -webkit-gradient(
  403. linear,
  404. left bottom,
  405. left top,
  406. color-stop(0, #3D3D3D),
  407. color-stop(1, #999999)
  408. );
  409. }
  410. div.panels-ipe-control input.panels-ipe-save:hover {
  411. background-image: url(../images/icon-save.png), linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  412. background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  413. background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  414. background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  415. background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  416. background-image: url(../images/icon-save.png), -webkit-gradient(
  417. linear,
  418. left bottom,
  419. left top,
  420. color-stop(0, #3D3D3D),
  421. color-stop(1, #999999)
  422. );
  423. }
  424. div.panels-ipe-pseudobutton-container:active,
  425. div.panels-ipe-control .form-submit:active {
  426. background: #333;
  427. background-image: linear-gradient(bottom, #616161 0%, #333333 100%);
  428. background-image: -o-linear-gradient(bottom, #616161 0%, #333333 100%);
  429. background-image: -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
  430. background-image: -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
  431. background-image: -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
  432. background-image: -webkit-gradient(
  433. linear,
  434. left bottom,
  435. left top,
  436. color-stop(0, #616161),
  437. color-stop(1, #333333)
  438. );
  439. color: #CCC;
  440. }
  441. div.panels-ipe-pseudobutton-container a:active {
  442. color: #CCC;
  443. }
  444. div.panels-ipe-control input.panels-ipe-cancel:active {
  445. background-image: url(../images/icon-close.png), linear-gradient(bottom, #616161 0%, #333333 100%);
  446. background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
  447. background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
  448. background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
  449. background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
  450. background-image: url(../images/icon-close.png), -webkit-gradient(
  451. linear,
  452. left bottom,
  453. left top,
  454. color-stop(0, #616161),
  455. color-stop(1, #333333)
  456. );
  457. }
  458. div.panels-ipe-control input.panels-ipe-save:active {
  459. background-image: url(../images/icon-save.png), linear-gradient(bottom, #616161 0%, #333333 100%);
  460. background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
  461. background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
  462. background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
  463. background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
  464. background-image: url(../images/icon-save.png), -webkit-gradient(
  465. linear,
  466. left bottom,
  467. left top,
  468. color-stop(0, #616161),
  469. color-stop(1, #333333)
  470. );
  471. }
  472. div.panels-ipe-pseudobutton-container a.panels-ipe-startedit {
  473. padding-left: 34px;
  474. background: url(../images/icon-configure.png) no-repeat 10px 9px;
  475. }
  476. div.panels-ipe-pseudobutton-container a.panels-ipe-change-layout {
  477. padding-left: 34px;
  478. background: url(../images/icon-change-layout.png) no-repeat 10px 9px;
  479. }
  480. div.panels-ipe-button-container {
  481. margin: 0.3em 0.5em;
  482. text-align: center;
  483. }
  484. form#panels-ipe-edit-control-form {
  485. text-align: center;
  486. }