You are here

dark.css in DrupalChat 7.2

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