Commit Graph

141 Commits

Author SHA1 Message Date
Guangcong Luo
ad692c2b6f Fix footer-mainmenu overlap on low res 2015-07-14 15:08:51 -04:00
Guangcong Luo
924ccd19fc Nicer tab overflow menu 2015-07-14 15:08:05 -04:00
Guangcong Luo
ebd77434d6 Show minimized userlist in low resolutions
Previously, the userlist would be completely hidden in low
resolutions, but now a user count is displayed in the top left
corner. When clicked, the entire userlist appears.
2015-07-14 15:07:38 -04:00
Ivo Julca
d2ccb0530a Remove deprecated message styles from client.css 2015-07-10 06:50:59 -05:00
Guangcong Luo
30f2d5649f Animate teams settling into place after dragging
This is supported on Chrome and Safari (and probably Opera), but
not Firefox because Firefox is too buggy.

(Honestly, every browser's HTML5 drag-and-drop implementation is
super buggy, but Firefox happens to be buggy in a way that makes
this feature semi-impossible.)
2015-07-04 22:35:00 -05:00
Guangcong Luo
627aa2a66c Add Firefox team-drag support
Team drag-rearranging is now supported on Firefox.
2015-07-04 16:10:54 -05:00
Guangcong Luo
64c22a9be0 Drag-rearrange-able teams
This is pretty experimental, but all the bugs I found are worked
out.

While researching how to best implement this, I came across the
famous PPK rant on why HTML5 drag-and-drop sucks:
http://quirksmode.org/blog/archives/2009/09/the_html5_drag.html

A lot of his complaints aren't really a big deal to me, but boy
was he right about browser bugs. Apparently mobile will never
support HTML5 drag-and-drop, either, and there are a lot of
other limitations. Oh well, this is all worth it for an
upcoming planned features: dragging and dropping team files to
and from your desktop.
2015-07-04 02:33:57 -05:00
Guangcong Luo
e1864520d9 Redesign teambuilder
- Nicer looking buttons
- Nicer layout
- Ctrl+F-able pokemon species names
2015-07-03 20:37:48 -04:00
MasterFloat
1603a1a7a5 Fix popmenu button padding in Mozilla
This adds 1px top and bottom padding to popupmenu's button to match its
hover offset. Necessary because of a bug in Mozilla involving box-sizing
of buttons.
2015-06-30 15:25:42 -05:00
Guangcong Luo
7c802fc4e0 Rainbow main menu!
In honor of Obergefell v. Hodges
2015-06-28 00:50:17 -04:00
Guangcong Luo
ea348e8a19 Remove outdated -webkit and -moz CSS
linear-gradient has been supported in most major browsers for long
enough that we can drop gradient support for really old browsers.
2015-06-28 00:50:16 -04:00
Guangcong Luo
9b57f521a5 Teambuilder: Fix import/export textbox size 2015-06-12 20:34:42 -04:00
Guangcong Luo
ec94d28cf4 Suppress horizontal scrollbar in userlist 2015-06-12 18:14:16 -04:00
SolarisFox
22de1647fd handle long team name overflow 2015-05-10 18:50:19 -07:00
Guangcong Luo
e646c23bc2 Add subtle notifications for room activity
Chat room titles now turn orange and their icon changes when someone
talks in them. This is subtler than the highlight notification, and
should make it easier to keep up with rooms.

This change involves a refactor of the notification system, which
also happens to improve room-switching performance by only running
updateTopbar once instead of 3-5 times like it would before.
2015-05-04 16:42:35 -04:00
Guangcong Luo
28e197b347 Move chat styles to battle.css
Some CSS that affects chat are in client.css. Since we want them
to affect battle logs, and thus replays, I've moved them to
battle.css
2015-04-02 23:13:44 -04:00
Morfent
74cb8bea77 Team/format button style fixes
The button's text is no longer offset vertically by the arrow added by
::after, and the background gradients now display properly on Firefox.
2015-03-07 10:57:00 -04:00
sirDonovan
8311dc889d Several improvements to |unlink|hide|
- Prevent messages from being hidden in replays
- Improve wording on the reveal button
- Highlight revealed messages
2015-02-09 17:14:19 -06:00
sirDonovan
49d5130180 Show tooltip for fainted pokemon
Allow tooltips to be displayed by styling buttons as disabled instead of actually disabling them
2015-01-20 20:41:23 -06:00
Yana
2f65b6aab9 /rank format targeting 2015-01-09 19:13:06 +01:00
Guangcong Luo
e7fad47f54 Larger chat font sizes
For now, battle chat is still at 8pt, but chatroom and PM font
size has been increased to 9pt. Join/leave messages, timestamps,
and user symbols in chat stay at 8pt, and timestamps are now
gray.
2014-09-26 23:37:50 -05:00
Guangcong Luo
75efa5a2d3 Fix PS on dark themes
This fixes button readability when browser defaults change the
button text color from black.
2014-09-26 23:35:37 -05:00
Robin Vandenbrande
154c50d1be Import/export on a per Pokemon basis 2014-08-29 13:24:26 +02:00
sphericalice
515b410f75 Add classes for /weakness command's labels
This adds in style for the new labels for the /weakness command, so that "Weaknesses:" is coloured red (the same as the red for .message-learn-cannotlearn for consistency reasons), "Resistances" is coloured blue, and "Immunities" is coloured grey. This reflects the changes to the command made in this pull request: https://github.com/Zarel/Pokemon-Showdown/pull/1116
2014-08-01 01:36:07 +01:00
Guangcong Luo
8280dab64e Speed up tournament panel opening/closing 2014-07-18 17:08:45 -05:00
Slayer95
6b064b7a0e Allow empty slots as targets for moves
Also, buttons that would target invalid positions will now be not only disabled but also hidden.
2014-07-17 17:48:35 -05:00
Slayer95
2579228752 Battle debug messages are now hidden by default
To display them: /showdebug
2014-07-09 22:18:33 -05:00
Slayer95
5316b051d6 Implement Triples UI 2014-06-10 16:47:03 -05:00
Quinella
4be517e098 Make tabs prettier in IE 2014-06-07 00:54:19 +02:00
Quinella
54cb37a37b Copy/paste (clipboard) feature for teambuilder 2014-06-05 00:46:34 +02:00
Guangcong Luo
0e927e3271 Merge pull request #162 from kotarou3/tournaments
Tournaments update
2014-03-22 12:41:25 -05:00
小太
63bb1ecc40 Implement the tournaments info packet handler 2014-03-22 20:04:47 +11:00
Guangcong Luo
2402c0c914 New background: Charizards, by seiryuuden 2014-03-18 22:50:56 -05:00
Guangcong Luo
2bfa50fab8 More readable footer 2014-03-15 23:44:55 -05:00
Quinella
c7efee17d6 PM minimizing: change color of PM header for new messages
Also fixed some CSS rules to be consistent with the other rules
2014-01-10 10:43:07 +01:00
Quinella
a7375021ce Make PM windows minimizable 2014-01-10 10:06:07 +01:00
小太
a20a59f94a Change client-tournament.js -> client-chat-tournament.js reference in client.css 2013-12-26 23:17:31 +11:00
小太
e2c9ede115 Add support for popping out the tournament bracket 2013-12-26 22:49:45 +11:00
小太
6ab557c86f Add a tournament status indicator 2013-12-22 17:24:13 +11:00
小太
4b056b7416 Add toggle button to tournaments 2013-12-22 08:36:49 +11:00
小太
0812a41172 Merge remote-tracking branch 'upstream/master' into tournaments 2013-12-02 16:55:01 +11:00
Guangcong Luo
ea2fc9f625 Fix horizontal scrollbar in Windows main menu 2013-11-30 00:54:42 -06:00
小太
54042f637c Merge remote-tracking branch 'upstream/master' into tournaments
Conflicts:
	testclient.html
2013-10-20 20:43:13 +11:00
Guangcong Luo
0caf105732 New background: Horizon 2013-09-23 13:16:18 -05:00
小太
4c13a800d2 Use a different library for rendering the tree and implement draggable brackets to support it 2013-09-17 20:14:17 +10:00
小太
ffcd67478e Add support for tree-type tournaments 2013-09-15 15:36:37 +10:00
小太
fdf4f04d1b Centre the tournament end bracket text 2013-08-21 00:00:45 +10:00
小太
3c0e3b1a1e Merge remote-tracking branch 'upstream/master' into tournaments 2013-08-20 22:49:31 +10:00
小太
dfc2f301c7 Display final bracket at tournament end 2013-08-20 21:59:26 +10:00
小太
5d010cc7a5 Bold all tournament messages 2013-08-20 20:32:29 +10:00