Guangcong Luo
faf9ec33ce
Support in-battle chat in low res
2015-07-17 14:41:30 -04:00
Guangcong Luo
852dacc663
Fix crash in replay player
2015-07-17 14:40:47 -04:00
Guangcong Luo
99ae3f700d
Zoom out teambuilder in mobile
...
The teambuilder honestly isn't great in mobile, but since it's
impossible to zoom out in mobile, it's better to start zoomed out
and let the user zoom in, than start zoomed in and not give the
user a choice.
2015-07-17 14:40:03 -04:00
Guangcong Luo
ba0a7e72ff
Improve tab overflow button
...
With the tab overflow menu being perfect, I might as well fix the
button that opens it. It used to use default browser styles, which
was mostly fine in OS X but ugly on other systems, and nearly
unusable in iOS. The new one looks lovely on all OSes.
2015-07-17 14:40:03 -04:00
Guangcong Luo
ebd0bfef58
Fix disappearing Close button on tab overflow menu
2015-07-17 14:40:03 -04:00
Guangcong Luo
6b5ad0fcf8
Merge pull request #424 from ascriptmaster/move-messages
...
Add small animation when an Ability activates
2015-07-17 13:36:13 -05:00
Kevin Lau
69bd914806
Add small animation when an Ability activates
2015-07-17 03:35:07 -07:00
Guangcong Luo
451a63348f
Low-res topbar
...
We now support a new topbar optimized for low resolutions.
2015-07-17 03:10:57 -04:00
Guangcong Luo
c37db7ef0c
Support restyling own messages in battles
2015-07-17 03:10:57 -04:00
Guangcong Luo
59e01485a7
Nicer-looking tab overflow menu
...
.button styling has been consolidated in CSS, and the tab overflow
menu has been adjusted to use button styling, which is the "more
improvements in the future" mentioned by 69524e935b .
I now declare the tab overflow menu officially out of beta. Now
for the rest of PS!
The Ladder now also uses the new button styling, but it's not out
of beta yet, I just wanted to see how it looked.
2015-07-17 03:10:57 -04:00
Guangcong Luo
bb7e384d3d
Teambuilder: Link to Smogdex
2015-07-16 20:02:21 -04:00
Guangcong Luo
6572801036
Teambuilder: Set default level for LC UU and Battle Spot
2015-07-16 19:47:12 -04:00
The Immortal
5988e6daab
Teambuilder: Set level 50 for Battle Spot formats
2015-07-17 02:09:47 +04:00
Guangcong Luo
f91a6478ee
Darken tab mouseover effect
2015-07-16 05:14:33 -04:00
Guangcong Luo
37998261ee
ORAS music!
2015-07-16 04:50:25 -04:00
Guangcong Luo
5a7acd09a9
Slightly faster tournament open/close animation
2015-07-15 19:04:28 -04:00
Guangcong Luo
838d855c72
Tweak chat appearance
...
- Highlighted messages now span the entire width of the chat.
- Highlighted and personal messages are more vertically centered.
- Links and code are again properly hidden by spoilers
2015-07-15 18:01:40 -04:00
Guangcong Luo
04e742edf7
Show tablist when PS logo is tapped
...
In iOS, the tablist dropdown isn't very visible, and the logo is a
bigger click target, and using the logo as a menu button is a common
UI convention on Android anyway.
Note that this only happens on tap; the logo is still not clickable
with a mouse.
2015-07-15 17:59:10 -04:00
Guangcong Luo
b9c92d45f0
Shorten 'Team List' back button
...
It's now simply 'List'. Shouldn't be a big deal; the arrow and
positioning are enough for it to obviously be a back button.
2015-07-15 17:31:51 -04:00
Guangcong Luo
d50f07c188
Highlight own messages
...
Your own messages are now sent with a slightly darker background.
PS actually originally had a feature that made your own messages gray,
which stopped working during the redesign two years ago. I only just
realized this and brought it back, but since the redesign, the
background has gotten darker and gray text is harder to read, so
I'm trying out this new approach with the background.
I personally think design-wise, gray text is better, but readability
is more important. Maybe I'll have a better idea later, but for now,
this doesn't look all that bad.
2015-07-15 17:29:38 -04:00
Guangcong Luo
31c035abcb
Make highlight background semitransparent
2015-07-15 06:03:22 -04:00
Guangcong Luo
ce8ed4d931
Change formatting for spoilers/monospace
...
Spoilers are now solid color, and monospace now has a border,
making it easier to recognize and more suitable for delimiting code.
2015-07-15 06:01:13 -04:00
Guangcong Luo
6e0541458e
Hide spoiler text from notifications
2015-07-15 06:00:10 -04:00
Guangcong Luo
1fdc52cbe7
Fix battle layout on iOS and old Android
2015-07-15 00:53:00 -04:00
Guangcong Luo
73ed5349a4
Better popups at low-res
...
This prevents user popups from going off-screen at low-res.
2015-07-15 00:52:22 -04:00
Guangcong Luo
a630a07c8e
More reliable main menu resizing
...
Various corner cases in low-res situations could give the main menu
the wrong layout, leading to a horizontal scrollbar.
2015-07-15 00:51:15 -04:00
Guangcong Luo
9cf31de24e
Hide main menu when linked elsewhere
...
Before, the main menu could still be visible behind the transparent
background of the teambuilder or ladder if you were linked directly
there.
2015-07-15 00:50:30 -04:00
Guangcong Luo
a78d233785
Add link for 128x128 app icon
2015-07-15 00:42:29 -04:00
Guangcong Luo
e2a8627b11
Native resolution for mobile
...
We now support resolutions down to 320px width, down from the
previous 640px.
2015-07-15 00:42:07 -04:00
Guangcong Luo
c63c75651a
Improve teambuilder in low-res
...
This isn't a great improvement, and it involves horizontal scrollbars,
but it's still better than how it worked before.
2015-07-15 00:39:58 -04:00
Guangcong Luo
4dc2c78143
Improve ladder page
...
It's still very much casually thrown-together, but at least it fits
in phone screens.
2015-07-15 00:33:51 -04:00
Guangcong Luo
b96077039f
Fix low-res userlist
...
The userlist in low-res mode now scrolls to top before collapsing,
which fixes the issue where it might not display the user-count
and toggle button.
2015-07-15 00:32:48 -04:00
Guangcong Luo
83d3d64be7
Better battle tooltips
...
Battle tooltips now appear on touch for mobile, and disappear when
anything else is tapped.
2015-07-15 00:30:22 -04:00
Guangcong Luo
cce2fa5019
Responsive battle UI
...
Instead of our previous minimum width of 640px, the new battle UI is
now responsive down to 320px.
Screenshot: http://d.pr/i/17UYD/1V6IYX2T
2015-07-14 19:00:58 -04:00
Guangcong Luo
f529ac6e39
Fix Main Menu responsiveness
...
The main menu wouldn't always switch to tiny-layout when resized
down to when it should switch.
2015-07-14 19:00:58 -04:00
Guangcong Luo
69524e935b
Improve tab overflow menu
...
It might need more improvements in the future, but for now it's
already pretty good for switching between rooms.
2015-07-14 19:00:58 -04:00
Guangcong Luo
ccf73e7be9
Make PM/News close button easier to hit
2015-07-14 19:00:58 -04:00
Guangcong Luo
7d144dd411
Resize teambuilder clipboard
...
Old one was awkwardly wide
2015-07-14 19:00:58 -04:00
Guangcong Luo
f8dd5e3227
Support |move|...[anim]
...
This allows a move to use a different move's animation; useful for
mods and the like
2015-07-14 19:00:58 -04:00
Guangcong Luo
698b413801
Revert mode changes from recent style fixes
2015-07-14 19:00:58 -04:00
Freigeist
4d242777c1
Miscellaneous style changes
2015-07-14 21:17:22 +02:00
Freigeist
7e9bdaf6fd
Fix indentation of switches
2015-07-14 21:15:07 +02:00
Freigeist
0bd78a8de2
Remove unnecessary block
2015-07-14 21:15:06 +02:00
Freigeist
19dfae0f61
Remove trailing whitespace
2015-07-14 21:15:05 +02:00
Freigeist
87b94e7284
Fix spaces on string concatenation
2015-07-14 21:15:04 +02:00
Freigeist
993e8911ac
Put spaces before anon function's opening parenthesis
2015-07-14 21:12:58 +02:00
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
Guangcong Luo
53a1c2ad9e
Support HTTPS PS-to-desktop team dragging
...
Chrome is dumb and doesn't support data URLs in HTTPS, so we have
to round-trip through action.php
2015-07-14 15:03:47 -04:00