The Wayback Machine - https://web.archive.org/web/20210807164915/https://github.com/go-gitea/gitea/pull/13458
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

Fix tooltips and issue dependency styles #13458

Merged
merged 1 commit into from Nov 10, 2020
Merged

Conversation

@silverwind
Copy link
Member

@silverwind silverwind commented Nov 7, 2020

  • Convert all CSS tooltips to JS-based ones, fixing overflow issues
  • Restyle issue dependencies/dependants
  • Move popup styles to base style
  • CSS Helper tweaks
  • Unify pseudo element selectors and lint for it

Fixes: #13400

Screen Shot 2020-11-07 at 16 32 09

image

Screen Shot 2020-11-07 at 17 43 01

Screen Shot 2020-11-07 at 17 43 29

@silverwind silverwind force-pushed the silverwind:tooltips branch 5 times, most recently from e2e29ca to 3a1a533 Nov 7, 2020
@lafriks
Copy link
Member

@lafriks lafriks commented Nov 7, 2020

Please resolve conflicts

@lafriks lafriks modified the milestone: Ui Nov 7, 2020
@lafriks lafriks added the kind/ui label Nov 7, 2020
@lafriks lafriks added this to the 1.14.0 milestone Nov 7, 2020
@silverwind silverwind force-pushed the silverwind:tooltips branch from 3a1a533 to e3fde8f Nov 8, 2020
@silverwind
Copy link
Member Author

@silverwind silverwind commented Nov 8, 2020

Rebased and screenshots updated.

web_src/less/_repository.less Outdated Show resolved Hide resolved
@silverwind silverwind force-pushed the silverwind:tooltips branch from 1f51bc9 to fbef8c2 Nov 8, 2020
@silverwind
Copy link
Member Author

@silverwind silverwind commented Nov 8, 2020

@lafriks converted to double-colon syntax and changed linting for it.

templates/admin/user/edit.tmpl Outdated Show resolved Hide resolved
@6543
Copy link
Member

@6543 6543 commented Nov 9, 2020

@silverwind it's conflicting again

@lafriks
Copy link
Member

@lafriks lafriks commented Nov 10, 2020

I would say that column count should not be changed because it could have undesirable effect. Generally I think single : is better because it does not create additional pseido elements in DOM but if we remove them it could effect spacing etc especially where we have content: ' ' in css. So imho for now this rune should be disabled and column usage : or :: should be reviewed in other PR

@silverwind
Copy link
Member Author

@silverwind silverwind commented Nov 10, 2020

I don't think there is any practical difference between ::before vs :before. I've been using them interchangeable for a long time and I think it's purely a stylistic thing. One could argue : saves a few bytes and I generally prefer the single colon syntax because I don't want to think whether something is a pseudo element or a pseudo selector. Yes, I can remove these changes for now.

@lafriks
Copy link
Member

@lafriks lafriks commented Nov 10, 2020

On second thought I don't mind having :: in this PR, so leave at it is now

- Convert all tooltips to JS-based ones, fixing overflow issues
- Restyle issue dependencies/dependants
- Move popup styles to base style
- CSS Helper tweaks
- Unify pseudo element selectors and lint for it

Fixes: #13400
@silverwind silverwind force-pushed the silverwind:tooltips branch from b632faa to 5129268 Nov 10, 2020
@silverwind
Copy link
Member Author

@silverwind silverwind commented Nov 10, 2020

Rebased and squashed.

@lafriks lafriks merged commit 21d4963 into go-gitea:master Nov 10, 2020
2 checks passed
2 checks passed
approvals/lgtm this commit looks good
continuous-integration/drone/pr Build is passing
Details
@silverwind silverwind deleted the silverwind:tooltips branch Nov 10, 2020
silverwind added a commit to silverwind/gitea that referenced this pull request Nov 13, 2020
silverwind added a commit to silverwind/gitea that referenced this pull request Nov 13, 2020
techknowlogick pushed a commit that referenced this pull request Nov 14, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked issues

Successfully merging this pull request may close these issues.

5 participants