You are here

light.css in DrupalChat 6.2

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

CSS Stylesheet for the DrupalChat modules 'light' theme.

Author: darklrd

File

themes/light/light.css
View source
  1. /**
  2. * @file
  3. * CSS Stylesheet for the DrupalChat modules 'light' theme.
  4. *
  5. * Author: darklrd
  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: #e5e5e5;
  21. border: 1px solid #b5b5b5;
  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 #fff; /*--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 #fff;
  47. border-right: 1px solid #b5b5b5;
  48. color: #333;
  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: #fff;
  59. }
  60. #drupalchat ul li a.active { /*--Active state when sub-panel is open--*/
  61. background: #fff 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: #516ea6;
  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. color: #fff;
  94. }
  95. #drupalchat .subpanel {
  96. border: 1px solid #b5b5b5;
  97. bottom: 29px;
  98. display: none; /*--Hide by default--*/
  99. left: -1px;
  100. overflow: hidden;
  101. position: absolute;
  102. width: 150px;
  103. }
  104. #drupalchat #chatpanel .subpanel {
  105. width: 160px;
  106. }
  107. #drupalchat .chatbox .subpanel {
  108. width: 200px;
  109. }
  110. /* Subpanel title */
  111. #drupalchat .subpanel_title {
  112. background: #516ea6;
  113. color: #fff;
  114. cursor: pointer;
  115. font-weight: bold;
  116. padding: 3px 4px 3px 8px;
  117. }
  118. #drupalchat .subpanel_title div.status-1{
  119. display: block;
  120. float: left;
  121. background: url(images/online.png) no-repeat 100% center;
  122. height: 8px;
  123. width: 8px;
  124. overflow: hidden;
  125. margin-top: 8px;
  126. margin-right: 6px;
  127. }
  128. #drupalchat .subpanel_title div.status-0{
  129. display: block;
  130. float: left;
  131. background: url(images/offline.png) no-repeat 100% center;
  132. height: 8px;
  133. width: 8px;
  134. overflow: hidden;
  135. margin-top: 8px;
  136. margin-right: 6px;
  137. }
  138. #drupalchat .subpanel_title span {
  139. filter: alpha(opacity=50); /* For IE */
  140. opacity: 0.5;
  141. -moz-opacity: 0.5;
  142. font-size: 12px;
  143. font-weight: bold;
  144. float: right;
  145. line-height: 0.6em;
  146. padding: 5px 4px 0 4px;
  147. }
  148. #drupalchat .subpanel_title span.min {
  149. padding: 2px 4px 0 4px;
  150. }
  151. #drupalchat .subpanel_title:hover span.min {
  152. filter: alpha(opacity=100); /* For IE */
  153. opacity: 1.0;
  154. -moz-opacity: 1.0;
  155. }
  156. #drupalchat .subpanel_title span:hover {
  157. filter: alpha(opacity=100); /* For IE */
  158. opacity: 1.0;
  159. -moz-opacity: 1.0;
  160. }
  161. #drupalchat .subpanel ul {
  162. background: #fff;
  163. border: none;
  164. margin: 0;
  165. overflow: auto;
  166. width: 100%;
  167. }
  168. #drupalchat .subpanel li {
  169. background: #fff;
  170. clear: both;
  171. display: block;
  172. float: none; /*--Reset float--*/
  173. margin: 0;
  174. overflow: hidden;
  175. padding: 0;
  176. position: static; /*--Reset relative positioning--*/
  177. }
  178. #drupalchat .subpanel li:hover {
  179. background: #516ea6;
  180. }
  181. #drupalchat .subpanel li a span {
  182. float: left;
  183. margin: 0 8px;
  184. padding-left: 20px;
  185. }
  186. #drupalchat .subpanel li a {
  187. border: none;
  188. display: block;
  189. font-weight: normal;
  190. height: 22px;
  191. line-height: 22px;
  192. margin: 0;
  193. padding: 3px 0 3px 8px;
  194. }
  195. #drupalchat .subpanel li a:hover {
  196. background: transparent;
  197. text-decoration: none;
  198. }
  199. #drupalchat .subpanel li.status-1 a {
  200. background: url(images/online.png) no-repeat 95% center;
  201. }
  202. #drupalchat .subpanel li.status-2 a {
  203. background: url(images/idle.png) no-repeat 95% center;
  204. }
  205. #drupalchat .subpanel li.link a {
  206. padding-left: 8px;
  207. }
  208. #drupalchat ul li a.chatboxhead {
  209. padding: 6px 18px 6px 8px;
  210. }
  211. /* Chat options */
  212. #drupalchat .subpanel .chat_options {
  213. background: #ededed;
  214. border-bottom: 1px solid #b5b5b5;
  215. border-top: 1px solid #b5b5b5;
  216. overflow: hidden;
  217. position: relative;
  218. }
  219. #drupalchat .subpanel .chat_options a {
  220. border-left: none;
  221. border-right: 1px solid #999;
  222. color: #333;
  223. float: left;
  224. padding: 3px 8px 3px 19px;
  225. }
  226. #drupalchat .subpanel .chat_options a.status-1 {
  227. background: url(images/online_black.png) no-repeat 6px center;
  228. }
  229. #drupalchat .subpanel .chat_options a.status-2 {
  230. background: url(images/idle_black.png) no-repeat 6px 49%;
  231. }
  232. #drupalchat .subpanel .chat_options a.chat_loading {
  233. background: url(images/loading.gif) no-repeat 4px center;
  234. }
  235. #drupalchat .subpanel .chat_options a.options {
  236. background: url(images/options.png) no-repeat 6px center;
  237. }
  238. /* Chatbox */
  239. .chatbox {
  240. display: none;
  241. position: absoloute;
  242. z-index: 9999;
  243. }
  244. #drupalchat ul li a.chatboxblink {
  245. background-color: #516ea6;
  246. color: #fff;
  247. }
  248. .chatboxcontent {
  249. background-color: #fff;
  250. color: #fff;
  251. height: 200px;
  252. overflow-y: auto;
  253. overflow-x: auto;
  254. padding: 7px;
  255. }
  256. .chatboxinput {
  257. background-color: #fff;
  258. border-top: 1px solid #b5b5b5;
  259. padding: 5px;
  260. }
  261. .chatboxtextarea {
  262. border: 1px solid #b5b5b5;
  263. height: 44px;
  264. margin: 0;
  265. padding: 0;
  266. overflow: hidden;
  267. resize: none;
  268. width: 188px;
  269. }
  270. .chatboxtextareaselected {
  271. border: 1px solid #b5b5b5;
  272. width: 186px;
  273. }
  274. .chatboxusername {
  275. font-size: 11px;
  276. margin-top: 2px;
  277. }
  278. .chatboxusername a {
  279. border: none !important;
  280. font-weight: bold;
  281. }
  282. .chatboxusername a:hover {
  283. color: #333 !important;
  284. }
  285. .chatboxtime {
  286. color: #333;
  287. float: right;
  288. font-size: 9px;
  289. font-weight: normal;
  290. }
  291. .chatboxcontent p {
  292. clear: both;
  293. color: #000;
  294. font-size: 11px;
  295. line-height: 14px;
  296. margin: 0 4px;
  297. text-align: left;
  298. }
  299. .drupalchat_userOffline {
  300. background-color: #fff;
  301. color: #C00;
  302. font-size: 11px;
  303. height: 15px;
  304. width: 200px;
  305. display: none;
  306. text-align: center;
  307. border-top-color: #EEE;
  308. border-top-style: solid;
  309. border-top-width: 1px;
  310. }