panels_ipe.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  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. div.panels-ipe-handlebar-wrapper li a:focus,
  211. div.panels-ipe-newblock a:focus {
  212. background: #E6E6E6;
  213. background-image: linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  214. background-image: -o-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  215. background-image: -moz-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  216. background-image: -webkit-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  217. background-image: -ms-linear-gradient(bottom, #C5C5C5 0%, #FAFAFA 100%);
  218. background-image: -webkit-gradient(
  219. linear,
  220. left bottom,
  221. left top,
  222. color-stop(0, #C5C5C5),
  223. color-stop(1, #FAFAFA)
  224. );
  225. }
  226. div.panels-ipe-handlebar-wrapper li a:active,
  227. div.panels-ipe-dragtitle span:active,
  228. div.panels-ipe-newblock a:active,
  229. span.panels-ipe-draghandle-icon:active {
  230. outline: none;
  231. background-image: linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  232. background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  233. background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  234. background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  235. background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #E9EAEC 100%);
  236. background-image: -webkit-gradient(
  237. linear,
  238. left bottom,
  239. left top,
  240. color-stop(0, #FFFFFF),
  241. color-stop(1, #E9EAEC)
  242. );
  243. -webkit-box-shadow: 0px 0px 0px 0px #fff;
  244. -moz-box-shadow: 0px 0px 0px 0px #fff;
  245. box-shadow: 0px 0px 0px 0px #fff;
  246. }
  247. .panels-ipe-editing .panels-ipe-portlet-content {
  248. margin: 10px 3px;
  249. overflow: hidden;
  250. }
  251. .panels-ipe-editing .panels-ipe-region {
  252. border: transparent dotted 1px;
  253. float: left;
  254. width: 100%;
  255. margin-bottom: 5px;
  256. }
  257. div.panels-ipe-draghandle {
  258. border: none;
  259. }
  260. .ui-sortable-placeholder {
  261. margin: 1em;
  262. border: 1px dotted black;
  263. visibility: visible !important;
  264. height: 50px !important;
  265. }
  266. .ui-sortable-placeholder * {
  267. visibility: hidden;
  268. }
  269. /** ============================================================================
  270. * Controller form markup
  271. */
  272. div#panels-ipe-control-container {
  273. z-index: 99999;
  274. position: fixed;
  275. bottom: 0;
  276. display: none;
  277. background-color: #000;
  278. padding: 0.5em 0;
  279. width: 100%;
  280. overflow: hidden;
  281. -moz-box-shadow: 0 3px 20px #000;
  282. -webkit-box-shadow: 0 3px 20px #000;
  283. box-shadow: 0 3px 20px #000;
  284. }
  285. .ipe-throbber {
  286. background-color: #232323;
  287. background-image: url("../images/loading-small.gif");
  288. background-position: center center;
  289. background-repeat: no-repeat;
  290. -moz-border-radius: 7px;
  291. -webkit-border-radius: 7px;
  292. border-radius: 7px;
  293. height: 24px;
  294. opacity: .9;
  295. padding: 4px;
  296. width: 24px;
  297. /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
  298. left: 49%;
  299. position: fixed;
  300. top: 48.5%;
  301. z-index: 1001;
  302. }
  303. /* Hide the drupal system throbber image */
  304. .ipe-throbber .throbber {
  305. display: none;
  306. }
  307. div.panels-ipe-pseudobutton-container,
  308. div.panels-ipe-control .form-submit {
  309. cursor: pointer;
  310. background: #666666;
  311. background-image: linear-gradient(bottom, #383838 0%, #666666 100%);
  312. background-image: -o-linear-gradient(bottom, #383838 0%, #666666 100%);
  313. background-image: -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
  314. background-image: -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
  315. background-image: -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
  316. background-image: -webkit-gradient(
  317. linear,
  318. left bottom,
  319. left top,
  320. color-stop(0, #383838),
  321. color-stop(1, #666666)
  322. );
  323. border: 0;
  324. -moz-border-radius: 3px;
  325. -webkit-border-radius: 3px;
  326. border-radius: 3px;
  327. color: #CCC;
  328. display: inline-block;
  329. font: bold 12px/33px "Open Sans", "Lucida Grande", Tahoma, Verdana, sans-serif;
  330. height: 33px;
  331. margin: 0 10px;
  332. }
  333. div.panels-ipe-control .form-submit {
  334. padding: 0 0.8em 2px 34px;
  335. }
  336. div.panels-ipe-control input.panels-ipe-save, div.panels-ipe-control input.panels-ipe-cancel,
  337. div.panels-ipe-control input.panels-ipe-save:hover, div.panels-ipe-control input.panels-ipe-cancel:hover,
  338. div.panels-ipe-control input.panels-ipe-save:focus, div.panels-ipe-control input.panels-ipe-cancel:focus,
  339. div.panels-ipe-control input.panels-ipe-save:active, div.panels-ipe-control input.panels-ipe-cancel:active {
  340. background-repeat: no-repeat;
  341. }
  342. div.panels-ipe-pseudobutton-container a {
  343. height: 33px;
  344. padding: 0 0.8em;
  345. display: inline-block;
  346. color: #CCC;
  347. text-decoration: none;
  348. }
  349. div.panels-ipe-control .panels-ipe-save {
  350. background-image: url(../images/icon-save.png);
  351. background-image: url(../images/icon-save.png), linear-gradient(bottom, #383838 0%, #666666 100%);
  352. background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
  353. background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
  354. background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
  355. background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
  356. background-image: url(../images/icon-save.png), -webkit-gradient(
  357. linear,
  358. left bottom,
  359. left top,
  360. color-stop(0, #383838),
  361. color-stop(1, #666666)
  362. );
  363. }
  364. div.panels-ipe-control .panels-ipe-cancel {
  365. background-image: url(../images/icon-close.png);
  366. background-image: url(../images/icon-close.png), linear-gradient(bottom, #383838 0%, #666666 100%);
  367. background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #383838 0%, #666666 100%);
  368. background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #383838 0%, #666666 100%);
  369. background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #383838 0%, #666666 100%);
  370. background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #383838 0%, #666666 100%);
  371. background-image: url(../images/icon-close.png), -webkit-gradient(
  372. linear,
  373. left bottom,
  374. left top,
  375. color-stop(0, #383838),
  376. color-stop(1, #666666)
  377. );
  378. }
  379. div.panels-ipe-pseudobutton-container:hover,
  380. div.panels-ipe-control .form-submit:hover,
  381. div.panels-ipe-pseudobutton-container:focus,
  382. div.panels-ipe-control .form-submit:focus {
  383. background: #999999;
  384. background-image: linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  385. background-image: -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  386. background-image: -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  387. background-image: -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  388. background-image: -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  389. background-image: -webkit-gradient(
  390. linear,
  391. left bottom,
  392. left top,
  393. color-stop(0, #3D3D3D),
  394. color-stop(1, #999999)
  395. );
  396. color: #FFF;
  397. }
  398. div.panels-ipe-pseudobutton-container a:hover,
  399. div.panels-ipe-pseudobutton-container a:focus {
  400. color: #FFF;
  401. }
  402. div.panels-ipe-control .panels-ipe-cancel:hover,
  403. div.panels-ipe-control .panels-ipe-cancel:focus {
  404. background-image: url(../images/icon-close.png), linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  405. background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  406. background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  407. background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  408. background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  409. background-image: url(../images/icon-close.png), -webkit-gradient(
  410. linear,
  411. left bottom,
  412. left top,
  413. color-stop(0, #3D3D3D),
  414. color-stop(1, #999999)
  415. );
  416. }
  417. div.panels-ipe-control .panels-ipe-save:hover,
  418. div.panels-ipe-control .panels-ipe-save:focus {
  419. background-image: url(../images/icon-save.png), linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  420. background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  421. background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  422. background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  423. background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #3D3D3D 0%, #999999 100%);
  424. background-image: url(../images/icon-save.png), -webkit-gradient(
  425. linear,
  426. left bottom,
  427. left top,
  428. color-stop(0, #3D3D3D),
  429. color-stop(1, #999999)
  430. );
  431. }
  432. div.panels-ipe-pseudobutton-container:active,
  433. div.panels-ipe-control .form-submit:active {
  434. background: #333;
  435. background-image: linear-gradient(bottom, #616161 0%, #333333 100%);
  436. background-image: -o-linear-gradient(bottom, #616161 0%, #333333 100%);
  437. background-image: -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
  438. background-image: -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
  439. background-image: -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
  440. background-image: -webkit-gradient(
  441. linear,
  442. left bottom,
  443. left top,
  444. color-stop(0, #616161),
  445. color-stop(1, #333333)
  446. );
  447. color: #CCC;
  448. }
  449. div.panels-ipe-pseudobutton-container a:active {
  450. color: #CCC;
  451. }
  452. div.panels-ipe-control .panels-ipe-cancel:active {
  453. background-image: url(../images/icon-close.png), linear-gradient(bottom, #616161 0%, #333333 100%);
  454. background-image: url(../images/icon-close.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
  455. background-image: url(../images/icon-close.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
  456. background-image: url(../images/icon-close.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
  457. background-image: url(../images/icon-close.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
  458. background-image: url(../images/icon-close.png), -webkit-gradient(
  459. linear,
  460. left bottom,
  461. left top,
  462. color-stop(0, #616161),
  463. color-stop(1, #333333)
  464. );
  465. }
  466. div.panels-ipe-control .panels-ipe-save:active {
  467. background-image: url(../images/icon-save.png), linear-gradient(bottom, #616161 0%, #333333 100%);
  468. background-image: url(../images/icon-save.png), -o-linear-gradient(bottom, #616161 0%, #333333 100%);
  469. background-image: url(../images/icon-save.png), -moz-linear-gradient(bottom, #616161 0%, #333333 100%);
  470. background-image: url(../images/icon-save.png), -webkit-linear-gradient(bottom, #616161 0%, #333333 100%);
  471. background-image: url(../images/icon-save.png), -ms-linear-gradient(bottom, #616161 0%, #333333 100%);
  472. background-image: url(../images/icon-save.png), -webkit-gradient(
  473. linear,
  474. left bottom,
  475. left top,
  476. color-stop(0, #616161),
  477. color-stop(1, #333333)
  478. );
  479. }
  480. div.panels-ipe-control .panels-ipe-save, div.panels-ipe-control .panels-ipe-cancel,
  481. div.panels-ipe-control .panels-ipe-save:hover, div.panels-ipe-control .panels-ipe-cancel:hover,
  482. div.panels-ipe-control .panels-ipe-save:active, div.panels-ipe-control .panels-ipe-cancel:active {
  483. background-repeat: no-repeat;
  484. }
  485. div.panels-ipe-pseudobutton-container a.panels-ipe-startedit {
  486. padding-left: 34px;
  487. background: url(../images/icon-configure.png) no-repeat 10px 9px;
  488. }
  489. div.panels-ipe-pseudobutton-container a.panels-ipe-change-layout {
  490. padding-left: 34px;
  491. background: url(../images/icon-change-layout.png) no-repeat 10px 9px;
  492. }
  493. div.panels-ipe-button-container {
  494. margin: 0.3em 0.5em;
  495. text-align: center;
  496. }
  497. form#panels-ipe-edit-control-form {
  498. text-align: center;
  499. }
  500. .panels-ipe-dragbar-admin-title{
  501. font-size: 0.9em;
  502. }