Permalink
Browse files

add phpfreechat theme + fix a 500 error

  • Loading branch information...
1 parent 0e85869 commit 110e9b430841eab9847834637239c170545b4f71 @kerphi committed Nov 17, 2012
Showing with 1,648 additions and 3 deletions.
  1. BIN client/themes/phpfreechat/img/active.png
  2. BIN client/themes/phpfreechat/img/bg-users.png
  3. BIN client/themes/phpfreechat/img/ch-active.png
  4. BIN client/themes/phpfreechat/img/channel.png
  5. BIN client/themes/phpfreechat/img/close.png
  6. BIN client/themes/phpfreechat/img/inactive.png
  7. BIN client/themes/phpfreechat/img/logout.png
  8. BIN client/themes/phpfreechat/img/neutral.png
  9. BIN client/themes/phpfreechat/img/online-off.png
  10. BIN client/themes/phpfreechat/img/online-on.png
  11. BIN client/themes/phpfreechat/img/pm-active.png
  12. BIN client/themes/phpfreechat/img/pm.png
  13. BIN client/themes/phpfreechat/img/smiley-off.png
  14. BIN client/themes/phpfreechat/img/smiley-on.png
  15. BIN client/themes/phpfreechat/img/sound-off.png
  16. BIN client/themes/phpfreechat/img/sound-on.png
  17. BIN client/themes/phpfreechat/img/tab-add.png
  18. BIN client/themes/phpfreechat/img/tabs-toggle.png
  19. BIN client/themes/phpfreechat/img/user-admin-active.png
  20. BIN client/themes/phpfreechat/img/user-admin-inactive.png
  21. BIN client/themes/phpfreechat/img/user.png
  22. BIN client/themes/phpfreechat/img/users-toggle.png
  23. +153 −0 client/themes/phpfreechat/jquery.phpfreechat.ads.less
  24. +756 −0 client/themes/phpfreechat/jquery.phpfreechat.full.less
  25. +6 −0 client/themes/phpfreechat/jquery.phpfreechat.less
  26. +39 −0 client/themes/phpfreechat/jquery.phpfreechat.notabs.less
  27. +85 −0 client/themes/phpfreechat/jquery.phpfreechat.responsive.less
  28. +12 −0 client/themes/phpfreechat/jquery.phpfreechat.theme.less
  29. +155 −0 client/themes/phpfreechat/jquery.phpfreechat.theme.variables.less
  30. +377 −0 client/themes/phpfreechat/jquery.phpfreechat.variables.less
  31. +59 −0 examples/theme_phpfreechat.html
  32. +6 −3 server/container/users.php
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,153 @@
+//
+// ads stylesheet used to redefine chat width
+// so that ads area can display well
+//
+
+@ad-desktop-width: 160px;
+@ad-tablet-height: 60px;
+@ad-mobile-height: 31px;
+
+// display pub for desktop
+@responsive-tablet-width-min: @responsive-tablet-width + 1;
+@media (min-width: @responsive-tablet-width-min) {
+
+ div.pfc-content {
+
+ div.pfc-users {
+ width: @users-width;
+ right: @ad-desktop-width + @padding-right;
+ }
+
+ div.pfc-messages {
+ right: @users-width + @border-width + @ad-desktop-width;
+ }
+
+ div.pfc-topic {
+ right: @padding-right + @ad-desktop-width;
+ }
+
+ div.pfc-compose {
+ right: @padding-right + @ad-desktop-width;
+ }
+
+ div.pfc-footer {
+ right: @padding-right + @ad-desktop-width;
+ }
+
+ div.pfc-ad-desktop {
+ display: block;
+ position: absolute;
+ width: @ad-desktop-width;
+ right: 0;
+ }
+
+ div.pfc-ad-tablet {
+ display: none;
+ }
+
+ div.pfc-ad-mobile {
+ display: none;
+ }
+
+ }
+
+}
+
+// display pub for tablet
+@media (max-width: @responsive-tablet-width) {
+
+ div.pfc-content {
+
+ div.pfc-users {
+// display: none; // todo: should be hidden ?
+ }
+
+ div.pfc-messages {
+// background-color:#FFF;
+ bottom: @footer-height + @compose-height + @padding-bottom + 3 * @border-width + @ad-tablet-height;
+// right: @users-width;
+ }
+
+ div.pfc-topic {
+// right: @padding-right;
+ }
+
+ div.pfc-compose {
+ bottom: @padding-bottom + @border-width + @ad-tablet-height;
+// right: @padding-right;
+ }
+
+ div.pfc-footer {
+ bottom: @padding-bottom + @compose-height + @border-width + @ad-tablet-height;
+// right: @padding-right;
+ }
+
+ div.pfc-ad-desktop {
+ display: none;
+ }
+
+ div.pfc-ad-tablet {
+ display: block;
+ position: absolute;
+ bottom: 0;
+ height: @ad-tablet-height;
+ text-align: center;
+ width: 100%;
+ }
+
+ div.pfc-ad-mobile {
+ display: none;
+ }
+ }
+
+}
+
+// display pub for mobile
+@media (max-width: @responsive-mobile-width) {
+
+ div.pfc-content {
+
+ div.pfc-users {
+// display: none; // todo: should be hidden ?
+ }
+
+ div.pfc-messages {
+// background-color:#FFF;
+ bottom: @footer-height + @compose-height + @padding-bottom + 3 * @border-width + @ad-mobile-height;
+// right: @users-width;
+ }
+
+ div.pfc-topic {
+// right: @padding-right;
+ }
+
+ div.pfc-compose {
+ bottom: @padding-bottom + @border-width + @ad-mobile-height;
+// right: @padding-right;
+ }
+
+ div.pfc-footer {
+ bottom: @padding-bottom + @compose-height + @border-width + @ad-mobile-height;
+// right: @padding-right;
+ }
+
+ div.pfc-ad-desktop {
+ display: none;
+ }
+
+ div.pfc-ad-tablet {
+ display: none;
+ }
+
+ div.pfc-ad-mobile {
+ display: block;
+ position: absolute;
+ bottom: 0;
+ height: @ad-mobile-height;
+ text-align: center;
+ width: 100%;
+ }
+ }
+
+}
+
Oops, something went wrong.

0 comments on commit 110e9b4

Please sign in to comment.