/mod/messages_antique/views/default/messages/css.php

https://github.com/sarriaroman/PuntoUBP · PHP · 238 lines · 159 code · 28 blank · 51 comment · 0 complexity · 88dad9f2d5fed6d08982b29501d8b667 MD5 · raw file

  1. <?php
  2. /**
  3. * Elgg Messages CSS extender
  4. *
  5. * @package ElggMessages
  6. * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
  7. * @author Curverider Ltd <info@elgg.com>
  8. * @copyright Curverider Ltd 2008-2009
  9. * @link http://elgg.com/
  10. */
  11. ?>
  12. /*-------------------------------
  13. MESSAGING PLUGIN
  14. -------------------------------*/
  15. #messages {
  16. margin:0 10px 0 10px;
  17. }
  18. .actiontitle {
  19. font-weight: bold;
  20. font-size: 110%;
  21. margin: 0 0 10px 0;
  22. }
  23. #messages .pagination {
  24. margin:5px 0 5px 0;
  25. }
  26. #messages input[type="checkbox"] {
  27. margin:0;
  28. padding:0;
  29. border:none;
  30. }
  31. .messages_buttonbank {
  32. -webkit-border-radius: 8px;
  33. -moz-border-radius: 8px;
  34. background:white;
  35. margin:5px 10px;
  36. padding:5px;
  37. text-align: right;
  38. }
  39. .messages_buttonbank input {
  40. margin:0 0 0 10px;
  41. }
  42. .messages_buttonbank input[type="button"] {
  43. font: 12px/100% Arial, Helvetica, sans-serif;
  44. font-weight: bold;
  45. color: #4690D6;
  46. background:#dddddd;
  47. border: 1px solid #999999;
  48. /*-webkit-border-radius: 4px;
  49. -moz-border-radius: 4px;*/
  50. width: auto;
  51. height: 25px;
  52. padding: 2px 6px 2px 6px;
  53. margin:0 0 0 10px;
  54. cursor: pointer;
  55. }
  56. .messages_buttonbank input[type="button"]:hover {
  57. background: #0054a7;
  58. border: 1px solid #0054a7;
  59. color:white;
  60. }
  61. #messages td {
  62. text-align: left;
  63. vertical-align:middle;
  64. padding: 5px;
  65. }
  66. #messages .message_sent {
  67. -webkit-border-radius: 5px;
  68. -moz-border-radius: 5px;
  69. margin-bottom: 5px;
  70. background: white;
  71. border:1px solid #cccccc;
  72. }
  73. #messages .message_notread {
  74. /*-webkit-border-radius: 5px;
  75. -moz-border-radius: 5px;*/
  76. margin-bottom: 5px;
  77. background: #F7DAD8;
  78. border-top: 1px solid #cccccc;
  79. border-bottom: 1px solid #cccccc;
  80. /* border:1px solid #ff6c7c; */
  81. }
  82. #messages .message_read {
  83. /*-webkit-border-radius: 5px;
  84. -moz-border-radius: 5px;*/
  85. margin-bottom: 5px;
  86. background: white;
  87. border-top: 1px solid #cccccc;
  88. border-bottom: 1px solid #cccccc;
  89. /*border:1px solid #cccccc; */
  90. }
  91. #messages .message_notread td {
  92. }
  93. #messages .message_read td {
  94. }
  95. #messages .delete_msg a {
  96. display:block;
  97. cursor: pointer;
  98. width:14px;
  99. height:14px;
  100. margin:0;
  101. background: url("<?php echo $vars['url']; ?>_graphics/icon_customise_remove.png") no-repeat right 0;
  102. text-indent: -9000px;
  103. float:right;
  104. }
  105. #messages .delete_msg a:hover {
  106. background-position: right -16px;
  107. }
  108. /* IE6 */
  109. * html #messages .delete_msg a { background-position: right 4px; }
  110. * html #messages .delete_msg a:hover { background-position: right 4px; }
  111. #messages .usericon,
  112. #messages .groupicon {
  113. float: left;
  114. margin: 0 15px 0 0;
  115. }
  116. #messages .msgsender {
  117. color:#666666;
  118. line-height: 1em;
  119. margin:0;
  120. padding:0;
  121. float:left;
  122. }
  123. #messages .msgsender small {
  124. color:#AAAAAA;
  125. }
  126. #messages .msgsubject {
  127. font-size: 120%;
  128. line-height: 100%;
  129. }
  130. .msgsubject {
  131. font-weight:bold;
  132. }
  133. .messages_single_icon {
  134. float: left;
  135. width:110px;
  136. }
  137. .messages_single_icon .usericon,
  138. .messages_single_icon .groupicon {
  139. float: left;
  140. margin: 0 10px 10px 0;
  141. }
  142. /* view and reply to message view */
  143. .message_body {
  144. margin-left: 120px;
  145. }
  146. .message_body .messagebody {
  147. padding:0;
  148. margin:10px 0 10px 0;
  149. font-size: 120%;
  150. border-bottom:1px solid #cccccc;
  151. }
  152. /* drop down message reply form */
  153. #message_reply_form { display:none; }
  154. .new_messages_count {
  155. color:#666666;
  156. }
  157. /* tinyMCE container */
  158. #message_reply_editor #message_tbl {
  159. width:680px !important;
  160. }
  161. /* IE6 */
  162. * html #message_reply_editor #message_tbl { width:676px !important;}
  163. #messages_return {
  164. margin:4px 0 4px 10px;
  165. }
  166. #messages_return p {
  167. margin:0;
  168. }
  169. .messages_single {
  170. background: white;
  171. -webkit-border-radius: 8px;
  172. -moz-border-radius: 8px;
  173. margin:0 10px 10px 10px;
  174. padding:10px;
  175. }
  176. /* when displaying original msg in reply view */
  177. .previous_message {
  178. background:#dedede;
  179. -webkit-border-radius: 5px;
  180. -moz-border-radius: 5px;
  181. padding:10px;
  182. margin:0 0 20px 0;
  183. }
  184. .previous_message p {
  185. padding:0;
  186. margin:0 0 5px 0;
  187. font-size: 100%;
  188. }
  189. #notificationstable td.sitetogglefield {
  190. width:50px;
  191. text-align: center;
  192. vertical-align: middle;
  193. }
  194. #notificationstable td.sitetogglefield input {
  195. margin-right:36px;
  196. margin-top:5px;
  197. }
  198. #notificationstable td.sitetogglefield a {
  199. width:46px;
  200. height:24px;
  201. cursor: pointer;
  202. display: block;
  203. outline: none;
  204. }
  205. #notificationstable td.sitetogglefield a.sitetoggleOff {
  206. background: url(<?php echo $vars['url']; ?>mod/messages/graphics/icon_notifications_site.gif) no-repeat right 2px;
  207. }
  208. #notificationstable td.sitetogglefield a.sitetoggleOn {
  209. background: url(<?php echo $vars['url']; ?>mod/messages/graphics/icon_notifications_site.gif) no-repeat right -36px;
  210. }