Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS : Minor fix #2177

Closed
wants to merge 8 commits into from
Closed

CSS : Minor fix #2177

wants to merge 8 commits into from

Conversation

Distrib-ps
Copy link
Contributor

imageoldimagenew

imageoldimagenew

imageoldimagenew

imageoldimagenew

js/client-battle.js Outdated Show resolved Hide resolved
@thejetou
Copy link
Contributor

thejetou commented Nov 4, 2023

imageoldimagenew

The same issues happens in the 'Could not connect to server' popup where 'Work offline' has the browser button style. So probably just fix it in this PR too.

js/client-battle.js Outdated Show resolved Hide resolved
@@ -247,7 +247,6 @@ i.subtle:hover {
position: relative;
padding: 3px 2px 3px 2px;
margin: 0 -1px 0 0;
top: 1px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

???

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the spacing was intentional

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I'm still confused. What is this changing and why? Do you have before/after screenshots?

Copy link
Contributor Author

@Distrib-ps Distrib-ps Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah,
image
It's the little gap at the top

But when I think about it, maybe it was on purpose

@@ -163,6 +163,9 @@ button:disabled {
text-shadow: none;
color: #F9F9F9;
}
.dark select.button {
background-color: #2b2c31 !important;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a guess as to what's going on here but what browser is this bad???

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use chrome

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, it turns out that Chrome for Windows has this problem, but Chrome for Mac doesn't.

Anyway, interesting solution, but it turns out styling option works, and doesn't require your hack that makes select buttons uglier.

@@ -1202,12 +1202,12 @@
}
for (i = 0; i < this.curSetList.length; i++) {
if (this.curSetList.length < this.curTeam.capacity && this.deletedSet && i === this.deletedSetLoc) {
buf += '<li><button name="undeleteSet"><i class="fa fa-undo"></i> Undo Delete</button></li>';
buf += '<li><button name="undeleteSet" class="button"><i class="fa fa-undo"></i> Undo Delete</button></li>';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks better as not a button...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you prefer to keep it white?
image
image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It shouldn't be white. I must be mixing this up with something else.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I got this mixed up with undeleting teams, which already has styling.

@Zarel Zarel closed this in fb41336 Nov 4, 2023
MathyFurret pushed a commit to MathyFurret/pokemon-showdown-client that referenced this pull request Mar 25, 2024
- Updates New Replays for the design refresh
- Updates STYLING.html for the design refresh

Fixes smogon#2177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants