[PR #4990] [MERGED] Fix #rrggbbaa color to rgba for better browser compatibility #17580

Closed
opened 2025-11-02 14:12:23 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4990
Author: @SagePtr
Created: 9/28/2018
Status: Merged
Merged: 9/29/2018
Merged by: @lafriks

Base: masterHead: issue4988


📝 Commits (1)

  • 590ad2e Fix #rrggbbaa color to rgba for better browser compatibility

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 public/css/index.css (+1 -1)
📝 public/less/_repository.less (+2 -2)

📄 Description

Fixes #4988

Color format #rrggbbaa is not widely supported by browsers yet: https://caniuse.com/#search=rgba
Less fade function is better here as it generates rgba(r, g, b, a) format output which has much better browser support. Also Less <3.8.1 handles #rrggbbaa format wrong as pointed in #4988 issue.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4990 **Author:** [@SagePtr](https://github.com/SagePtr) **Created:** 9/28/2018 **Status:** ✅ Merged **Merged:** 9/29/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `issue4988` --- ### 📝 Commits (1) - [`590ad2e`](https://github.com/go-gitea/gitea/commit/590ad2e3db3c004f0826a8a86343e7a2827aa7a1) Fix #rrggbbaa color to rgba for better browser compatibility ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `public/css/index.css` (+1 -1) 📝 `public/less/_repository.less` (+2 -2) </details> ### 📄 Description Fixes #4988 Color format #rrggbbaa is not widely supported by browsers yet: https://caniuse.com/#search=rgba Less [fade](http://lesscss.org/functions/#color-operations-fade) function is better here as it generates rgba(r, g, b, a) format output which has much better browser support. Also Less <3.8.1 handles #rrggbbaa format wrong as pointed in #4988 issue. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 14:12:23 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17580