context_ui.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. /**
  2. * Editor =============================================================
  3. */
  4. div.context-editor div.label {
  5. float:left;
  6. font-size: 14px;
  7. }
  8. div.context-editor div.links { float:right; }
  9. div.context-editor div.bottom {
  10. font-size: 12px;
  11. font-style: italic;
  12. font-weight:normal;
  13. color: #999;
  14. }
  15. div.context-editor div.context-editable { display:none; }
  16. div.context-editor div.links a.done { display:none; }
  17. div.context-editor li.context-editing a.edit { display:none; }
  18. div.context-editor li.context-editing a.done { display:block; }
  19. /* Don't display form submission buttons initially or when editing */
  20. body.context-editing div.context-editor div.links { display:none; }
  21. body.context-editing div.context-editor li.context-editing div.links { display:block; }
  22. div.context-editor div.buttons { display:none; }
  23. form.edited div.context-editor div.buttons { display:block; }
  24. body.context-editing form.edited div.context-editor div.buttons { display:none; }
  25. /**
  26. * Styles for visual integration with admin.
  27. */
  28. #admin-toolbar div.context-editor div.links a:hover {
  29. background:#eee;
  30. color:#000;
  31. }
  32. #admin-toolbar div.context-editor div.links a {
  33. float:left;
  34. padding:0px 10px;
  35. margin-right:5px;
  36. background:#222;
  37. font-size:11px;
  38. -moz-border-radius:10px;
  39. -webkit-border-radius:10px;
  40. }
  41. div.context-editor div.context-editable { padding:5px 0px; }
  42. #admin-toolbar div.context-editor div.buttons {
  43. padding:10px 0px;
  44. text-align:center;
  45. background:#111;
  46. }
  47. /**
  48. * Horizontal
  49. */
  50. #admin-toolbar.horizontal form.edited div.context-editor div.buttons,
  51. #admin-toolbar.horizontal div.context-editor div.item-list {
  52. float:left;
  53. clear:left;
  54. width:30%;
  55. }
  56. #admin-toolbar.horizontal div.context-editor div.contexts {
  57. width:69.9%;
  58. float:right;
  59. }
  60. #admin-toolbar.horizontal div.context-editor div.context-editable { padding-left:20px }
  61. /**
  62. * Admin listing page =================================================
  63. */
  64. table.context-admin td.tag { font-style:italic; }
  65. table.context-admin td.ctools-export-ui-name {
  66. width:75%;
  67. padding-left:20px;
  68. }
  69. table.context-admin td.ctools-export-ui-operations { white-space:nowrap; }
  70. table.context-admin td.ctools-export-ui-storage { color:#999; }
  71. table.context-admin div.description {
  72. padding-left:10px;
  73. margin:0px;
  74. }
  75. table.context-admin input.form-text { width:90%; }
  76. /**
  77. * Context form =======================================================
  78. */
  79. .context-plugins {
  80. position:relative;
  81. margin:0px 0px 10px;
  82. }
  83. .context-plugins .context-plugin-info {
  84. padding:10px 10px 9px;
  85. border-bottom:1px solid #e8e8e8;
  86. }
  87. .context-plugins .context-plugin-info div.description {
  88. margin:0px 0px 10px;
  89. padding:0px;
  90. }
  91. .context-plugins .context-plugin-selector {
  92. width:25%;
  93. background:#fff;
  94. }
  95. .context-plugins .context-plugin-list .disabled { display:none; }
  96. .context-plugins .context-plugin-list ul {
  97. margin:0px;
  98. padding:0px;
  99. }
  100. .context-plugins .context-plugin-list li {
  101. list-style:none;
  102. list-style-image:none;
  103. background:transparent;
  104. padding:0px;
  105. margin:0px;
  106. border:0px;
  107. }
  108. .context-plugins .context-plugin-list li a {
  109. display:block;
  110. position:relative;
  111. padding:5px 10px 4px;
  112. border-bottom:1px solid #e8e8e8;
  113. }
  114. .context-plugins .context-plugin-list li a.active-form {
  115. background:#f8f8f8;
  116. color:#333;
  117. font-weight:bold;
  118. }
  119. .context-plugins .context-plugin-list li span.remove {
  120. display:none;
  121. position:absolute;
  122. top:5px;
  123. right:10px;
  124. font-size:9px;
  125. font-weight:normal;
  126. -moz-border-radius:5px;
  127. -webkit-border-radius:5px;
  128. padding:0px 5px;
  129. background:#fff;
  130. }
  131. .context-plugins .context-plugin-list li a:hover span.remove { display:block; }
  132. .context-plugins .context-plugin-forms {
  133. float:right;
  134. width:75%;
  135. background:#f8f8f8;
  136. min-height:200px;
  137. }
  138. .context-plugins .context-plugin-forms .context-plugin-form {
  139. padding:10px;
  140. display:none;
  141. }
  142. .context-plugins .context-plugin-forms .active-form { display:block; }
  143. .context-plugins .context-plugin-form .form-checkboxes {
  144. max-height:300px;
  145. overflow:auto;
  146. }