You are here

dark.css in DrupalChat 6.2

Same filename and directory in other branches
  1. 7.2 themes/dark/dark.css
  2. 7 themes/dark/dark.css

CSS Stylesheet for the DrupalChat modules 'dark' theme.

Author: Fenda

File

themes/dark/dark.css
View source
  1. /**
  2. * @file
  3. * CSS Stylesheet for the DrupalChat modules 'dark' theme.
  4. *
  5. * Author: Fenda
  6. */
  7. /* IE6 Hack */
  8. *html #drupalchat {
  9. display: none;
  10. }
  11. #drupalchat-wrapper {
  12. bottom: 0;
  13. height: 29px;
  14. margin: 0 4%;
  15. position: fixed;
  16. right: 0;
  17. z-index: 9999; /*--Keeps the panel on top of all other elements--*/
  18. }
  19. #drupalchat {
  20. background: #333333;
  21. border: 1px solid #1D1D1D;
  22. border-bottom: none;
  23. float: left;
  24. font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
  25. }
  26. #drupalchat ul {
  27. border-top: 1px solid #505050; /*--Gives the bevel feel on the panel--*/
  28. float: right;
  29. list-style: none;
  30. margin: 0;
  31. padding: 0;
  32. width: 100%;
  33. }
  34. #drupalchat ul li {
  35. background: none;
  36. float: left;
  37. margin: 0;
  38. padding: 0;
  39. position: relative;
  40. list-style: none;
  41. }
  42. #drupalchat ul li.last a {
  43. border-right: none;
  44. }
  45. #drupalchat ul li a {
  46. border-left: 1px solid #505050;
  47. border-right: 1px solid #1D1D1D;
  48. color: #fff;
  49. float: left;
  50. height: 16px;
  51. line-height: 16px;
  52. padding: 6px;
  53. position: relative;
  54. text-decoration: none;
  55. width: auto;
  56. }
  57. #drupalchat ul li a:hover {
  58. background-color: #4C4C4C;
  59. }
  60. #drupalchat ul li a.active { /*--Active state when sub-panel is open--*/
  61. background: #4C4C4C url(images/subpanel_bar.png) no-repeat center 1px;
  62. border-top: none;
  63. height: 18px;
  64. margin-top: -2px; /*--Push it up 2px to attach the active button to sub-panel--*/
  65. position: relative;
  66. z-index: 200; /*--Keeps the active link on top of the sub-panel--*/
  67. }
  68. #drupalchat ul li a.active span.subpanel_title_text {
  69. float: left;
  70. margin-top: 2px;
  71. }
  72. #drupalchat img.icon {
  73. float: left;
  74. margin-right: 6px;
  75. padding: 0;
  76. }
  77. #drupalchat ul li a.chat {
  78. width: 147px;
  79. }
  80. #drupalchat ul li a.chatboxhead {
  81. width: 132px;
  82. }
  83. #drupalchat ul li div a { /*--Reset link style for sub-panel links--*/
  84. color: #fff;
  85. float: none;
  86. height: auto;
  87. padding: 0;
  88. position: static;
  89. width: auto;
  90. }
  91. #drupalchat ul li div a:hover {
  92. text-decoration: underline;
  93. }
  94. #drupalchat .subpanel {
  95. border: 1px solid #1d1d1d;
  96. bottom: 29px;
  97. display: none; /*--Hide by default--*/
  98. left: -1px;
  99. overflow: hidden;
  100. position: absolute;
  101. width: 150px;
  102. }
  103. #drupalchat #chatpanel .subpanel {
  104. width: 160px;
  105. }
  106. #drupalchat .chatbox .subpanel {
  107. width: 200px;
  108. }
  109. /* Subpanel title */
  110. #drupalchat .subpanel_title {
  111. background: #333333;
  112. border-bottom: 1px solid #333333;
  113. color: #fff;
  114. cursor: pointer;
  115. font-weight: normal;
  116. padding: 3px 4px 3px 8px;
  117. }
  118. #drupalchat .subpanel_title span {
  119. filter: alpha(opacity=50); /* For IE */
  120. opacity: 0.5;
  121. -moz-opacity: 0.5;
  122. font-size: 12px;
  123. font-weight: bold;
  124. float: right;
  125. line-height: 0.6em;
  126. padding: 5px 4px 0 4px;
  127. }
  128. #drupalchat .subpanel_title span.min {
  129. padding: 2px 4px 0 4px;
  130. }
  131. #drupalchat .subpanel_title:hover span.min {
  132. filter: alpha(opacity=100); /* For IE */
  133. opacity: 1.0;
  134. -moz-opacity: 1.0;
  135. }
  136. #drupalchat .subpanel_title span:hover {
  137. filter: alpha(opacity=100); /* For IE */
  138. opacity: 1.0;
  139. -moz-opacity: 1.0;
  140. }
  141. #drupalchat .subpanel ul {
  142. background: #4C4C4C;
  143. border: none;
  144. margin: 0;
  145. overflow: auto;
  146. width: 100%;
  147. }
  148. #drupalchat .subpanel li {
  149. background: #4C4C4C;
  150. border-top: 1px solid #595959;;
  151. border-bottom: 1px solid #333333;
  152. clear: both;
  153. display: block;
  154. float: none; /*--Reset float--*/
  155. margin: 0;
  156. overflow: hidden;
  157. padding: 0;
  158. position: static; /*--Reset relative positioning--*/
  159. }
  160. #drupalchat .subpanel li.last {
  161. border-bottom: none;
  162. }
  163. #drupalchat .subpanel li:hover {
  164. background: #4498C7;
  165. border-top: 1px solid #5DB1E0;
  166. }
  167. #drupalchat .subpanel li a span {
  168. float: left;
  169. margin: 0 8px;
  170. padding-left: 20px;
  171. }
  172. #drupalchat .subpanel li a {
  173. border: none;
  174. display: block;
  175. height: 22px;
  176. line-height: 22px;
  177. margin: 0;
  178. padding: 3px 0 3px 8px;
  179. }
  180. #drupalchat .subpanel li a:hover {
  181. background: transparent;
  182. text-decoration: none;
  183. }
  184. #drupalchat .subpanel li.status-1 a {
  185. background: url(images/online.png) no-repeat 95% center;
  186. }
  187. #drupalchat .subpanel li.status-2 a {
  188. background: url(images/idle.png) no-repeat 95% center;
  189. }
  190. #drupalchat .subpanel li.link a {
  191. padding-left: 8px;
  192. }
  193. #drupalchat ul li a.chatboxhead {
  194. padding: 6px 18px 6px 8px;
  195. }
  196. /* Chat options */
  197. #drupalchat .subpanel .chat_options {
  198. background: #D8D8D8;
  199. border-bottom: 1px solid #1d1d1d;
  200. border-top: 1px solid #1d1d1d;
  201. overflow: hidden;
  202. position: relative;
  203. }
  204. #drupalchat .subpanel .chat_options a {
  205. border-left: none;
  206. border-right: 1px solid #999;
  207. color: #333;
  208. float: left;
  209. padding: 3px 8px 3px 19px;
  210. }
  211. #drupalchat .subpanel .chat_options a.status-1 {
  212. background: url(images/online_black.png) no-repeat 6px center;
  213. }
  214. #drupalchat .subpanel .chat_options a.status-2 {
  215. background: url(images/idle_black.png) no-repeat 6px 49%;
  216. }
  217. #drupalchat .subpanel .chat_options a.chat_loading {
  218. background: url(images/loading.gif) no-repeat 4px center;
  219. }
  220. #drupalchat .subpanel .chat_options a.options {
  221. background: url(images/options.png) no-repeat 6px center;
  222. }
  223. /* Chatbox */
  224. .chatbox {
  225. display: none;
  226. position: absoloute;
  227. z-index: 9999;
  228. }
  229. .chatboxblink {
  230. background-color: #4498C7;
  231. }
  232. .chatboxcontent {
  233. background-color: #4C4C4C;
  234. border-right: 1px solid #595959;
  235. border-bottom: 1px solid #333333;
  236. color: #fff;
  237. height: 200px;
  238. overflow-y: auto;
  239. overflow-x: auto;
  240. padding: 7px;
  241. }
  242. .chatboxinput {
  243. background-color: #4C4C4C;
  244. border-top: 1px solid #595959;
  245. padding: 5px;
  246. }
  247. .chatboxtextarea {
  248. border: 1px solid #333333;
  249. height: 44px;
  250. margin: 0;
  251. padding: 0;
  252. overflow: hidden;
  253. resize: none;
  254. width: 188px;
  255. }
  256. .chatboxtextareaselected {
  257. border: 2px solid #5DB1E0;
  258. width: 186px;
  259. }
  260. .chatboxusername {
  261. font-size: 11px;
  262. margin-top: 2px;
  263. }
  264. .chatboxusername a {
  265. border: none !important;
  266. font-weight: bold;
  267. }
  268. .chatboxtime {
  269. color: #999;
  270. float: right;
  271. font-size: 9px;
  272. font-weight: normal;
  273. }
  274. .chatboxcontent p {
  275. clear: both;
  276. font-size: 11px;
  277. line-height: 14px;
  278. margin: 0 4px;
  279. text-align: left;
  280. }