You are here

light.css in DrupalChat 7

Same filename and directory in other branches
  1. 6.2 themes/light/light.css
  2. 7.2 themes/light/light.css

CSS Stylesheet for the DrupalChat modules 'light' theme.

Author: Fenda

File

themes/light/light.css
View source
  1. /**
  2. * @file
  3. * CSS Stylesheet for the DrupalChat modules 'light' 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: #e5e5e5;*/
  28. /*border: 1px solid #b5b5b5;*/
  29. border-bottom: none;
  30. float: left;
  31. font-family: Arial, sans-serif;
  32. }
  33. #drupalchat ul {
  34. /*border-top: 1px solid #fff;*/ /*--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: #e5e5e5;
  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 #b5b5b5;
  50. }
  51. #drupalchat ul li.last a {
  52. border-right: none;
  53. }
  54. #drupalchat ul li a {
  55. border-left: 1px solid #b5b5b5;
  56. border-right: 1px solid #b5b5b5;
  57. color: #333;
  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: #fff;
  68. }
  69. #drupalchat ul li a.active { /*--Active state when sub-panel is open--*/
  70. background: #fff 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 #b5b5b5;
  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: #222;
  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. /*color: #fff;*/
  104. }
  105. #drupalchat .subpanel {
  106. border: 1px solid #b5b5b5;
  107. bottom: 29px;
  108. display: none; /*--Hide by default--*/
  109. left: 0px;
  110. overflow: hidden;
  111. position: absolute;
  112. width: 150px;
  113. }
  114. #drupalchat #chatpanel .subpanel {
  115. width: 200px;
  116. }
  117. #drupalchat .chatbox .subpanel {
  118. width: 239px;
  119. }
  120. /* Subpanel title */
  121. #drupalchat .subpanel_title {
  122. background: #222;
  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;
  152. -moz-opacity: 1;
  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: #fff;
  179. border: none;
  180. margin: 0;
  181. overflow: auto;
  182. width: 100%;
  183. }
  184. #drupalchat .subpanel li {
  185. background: #fff;
  186. clear: both;
  187. display: block;
  188. float: none; /*--Reset float--*/
  189. margin: 0;
  190. overflow: hidden;
  191. padding: 0;
  192. position: static; /*--Reset relative positioning--*/
  193. }
  194. #drupalchat .subpanel li:hover {
  195. background: #EEE;
  196. }
  197. #drupalchat .subpanel li a span {
  198. float: left;
  199. margin: 0 8px;
  200. padding-left: 20px;
  201. }
  202. #drupalchat .subpanel li a {
  203. border: none;
  204. display: block;
  205. font-weight: normal;
  206. height: 22px;
  207. line-height: 22px;
  208. margin: 0;
  209. padding: 3px 0 3px 8px;
  210. }
  211. #drupalchat .subpanel li a:hover {
  212. background: transparent;
  213. text-decoration: none;
  214. }
  215. #drupalchat .subpanel li.status-1 a {
  216. background: url(images/online.png) no-repeat 95% center;
  217. }
  218. #drupalchat .subpanel li.status-2 a {
  219. background: url(images/idle.png) no-repeat 95% center;
  220. }
  221. #drupalchat .subpanel li.link a {
  222. padding-left: 8px;
  223. }
  224. #drupalchat ul li a.chatboxhead {
  225. padding: 6px 18px 6px 8px;
  226. }
  227. /* Chat options */
  228. #drupalchat .subpanel .chat_options {
  229. background: #F9F9F9;
  230. border-bottom: 1px solid #b5b5b5;
  231. border-top: 1px solid #b5b5b5;
  232. /*border: 1px solid #ccc;*/
  233. overflow: hidden;
  234. position: relative;
  235. }
  236. #drupalchat .subpanel .item-list {
  237. /*border-left: 1px solid #ccc;
  238. border-right: 1px solid #ccc;*/
  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. #drupalchat ul li a.chatboxblink {
  266. background-color: #516ea6;
  267. color: #fff;
  268. }
  269. .chatboxcontent {
  270. background-color: #fff;
  271. color: #fff;
  272. height: 200px;
  273. overflow-y: hidden;
  274. overflow-x: hidden;
  275. padding: 7px;
  276. }
  277. .chatboxinput {
  278. background-color: #fff;
  279. border-top: 1px solid #b5b5b5;
  280. padding: 5px;
  281. }
  282. .drupalchat_userOffline {
  283. background-color: #fff;
  284. color: #C00;
  285. font-size: 11px;
  286. height: 15px;
  287. width: 239px;
  288. display: none;
  289. text-align: center;
  290. border-top-color: #EEE;
  291. border-top-style: solid;
  292. border-top-width: 1px;
  293. }
  294. .chatboxtextarea {
  295. border: 1px solid #b5b5b5;
  296. height: 44px;
  297. margin: 0;
  298. padding: 0;
  299. overflow: hidden;
  300. resize: none;
  301. width: 226px;
  302. }
  303. .chatboxtextareaselected {
  304. border: 1px solid #b5b5b5;
  305. width: 226px;
  306. }
  307. .chatboxusername {
  308. font-size: 13px;
  309. margin-top: 3px;
  310. border-top: 1px solid #EDEDED;
  311. padding-top: 3px;
  312. width: 215px;
  313. }
  314. .chatboxusername a {
  315. border: none !important;
  316. font-weight: bold;
  317. }
  318. .chatboxusername a:hover {
  319. color: #333 !important;
  320. }
  321. .chatboxtime {
  322. color: #777;
  323. float: right;
  324. font-size: 9px;
  325. font-weight: normal;
  326. }
  327. .chatboxcontent p {
  328. clear: both;
  329. color: #222;
  330. font-size: 13px;
  331. line-height: 21px;
  332. margin: 0 4px;
  333. text-align: left;
  334. width: 210px;
  335. }
  336. #drupalchat .chatboxcontent p a {
  337. border: none !important;
  338. color: #00e; !important;
  339. }
  340. #drupalchat .drupalchatnousers {
  341. display: block !important;
  342. font-weight: normal !important;
  343. height: 22px !important;
  344. line-height: 22px !important;
  345. margin: 0 !important;
  346. padding: 3px 0 3px 8px !important;
  347. color: #222 !important;
  348. cursor: pointer;
  349. }
  350. #drupalchat .drupalchatnousers:hover {
  351. /*color: #FFF !important;*/
  352. }
  353. #drupalchat .drupalchat_popup{
  354. width: 70px;
  355. /*height: 100px;*/
  356. position: absolute;
  357. display: none;
  358. z-index: 200;
  359. background: #FFF;
  360. border: 1px solid #b5b5b5;
  361. border-bottom: 2px solid #b5b5b5;
  362. }
  363. #drupalchat .drupalchat_popup ul {
  364. background: #fff;
  365. border: none;
  366. margin: 0;
  367. overflow: auto;
  368. width: 100%;
  369. }
  370. #drupalchat .drupalchat_popup li {
  371. background: #fff;
  372. clear: both;
  373. display: block;
  374. float: none; /*--Reset float--*/
  375. margin: 0;
  376. overflow: hidden;
  377. padding: 0;
  378. position: static; /*--Reset relative positioning--*/
  379. }
  380. #drupalchat .drupalchat_popup li:hover {
  381. background: #516ea6;
  382. }
  383. #drupalchat .drupalchat_popup li a span {
  384. float: left;
  385. margin: 0 8px;
  386. padding-left: 20px;
  387. }
  388. #drupalchat .drupalchat_popup li a {
  389. border: none;
  390. display: block;
  391. font-weight: normal;
  392. height: 12px;
  393. line-height: 12px;
  394. margin: 0;
  395. padding: 3px 0 3px 8px;
  396. }
  397. #drupalchat .drupalchat_popup li a:hover {
  398. background: transparent;
  399. text-decoration: none;
  400. }
  401. #drupalchat .chatboxuserpicture {
  402. float: left;
  403. padding-right: 5px;
  404. }