Closed
Bug 1088578
Opened 10 years ago
Closed 10 years ago
Replace rgba(...,0) and hsla(...,0) with 'transparent' in CSS gradients
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 36
People
(Reporter: dao, Assigned: discoman, Mentored)
References
Details
(Whiteboard: [good first bug][lang=css])
Attachments
(1 file, 2 obsolete files)
39.62 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
As a workaround to bug 591600, we've been using code like this:
> linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0));
instead of:
> linear-gradient(rgba(255,255,255,0.3), transparent);
Now that bug 591600 is fixed, we can use the latter.
Useful links:
http://mxr.mozilla.org/mozilla-central/search?string=%2C+rgba&find=themes&filter=0\%29
http://mxr.mozilla.org/mozilla-central/search?string=%2C+hsla&find=themes&filter=0\%29
Assignee | ||
Comment 1•10 years ago
|
||
Please can i take up this.This would be my first one to work upon.
Reporter | ||
Comment 2•10 years ago
|
||
Sure, go ahead. Let me know if you have questions.
Assignee | ||
Comment 3•10 years ago
|
||
I have replaced all the hsla and rgba with alpha(a) as 0 to transparent.
Attachment #8511473 -
Flags: review?(dao)
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8511473 [details] [diff] [review]
bug1088578.diff
>--- a/browser/themes/linux/browser.css
>+++ b/browser/themes/linux/browser.css
> .chat-titlebar {
> background-color: #d9d9d9;
>- background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
>+ background-image: linear-gradient(@toolbarHighlight@,transparent);
> }
please keep the space after the comma
> .chatbar-button {
> -moz-appearance: none;
> background-color: #d9d9d9;
>- background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
>+ background-image: linear-gradient(@toolbarHighlight@,transparent);
> }
ditto
>--- a/browser/themes/windows/browser.css
>+++ b/browser/themes/windows/browser.css
> #urlbar-stop-button:hover:active {
>- background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.1), hsla(5,100%,75%,0));
>+ background-image: radial-gradient(circle closest-side, hsla(5,100%,75%,.1),transparent);
> -moz-image-region: rect(28px, 28px, 42px, 14px);
> }
ditto
Looks good otherwise. Thanks!
Attachment #8511473 -
Flags: review?(dao) → review+
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → sparshpaliwal123
Assignee | ||
Comment 5•10 years ago
|
||
i have made the changes directly to the patch file for the white space.
Attachment #8511595 -
Flags: review?(dao)
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to Sparsh Paliwal from comment #5)
> Created attachment 8511595 [details] [diff] [review]
> bug1088578_whitespacefix.diff
>
> i have made the changes directly to the patch file for the white space.
You've missed the first case (.chat-titlebar)...
Assignee | ||
Comment 7•10 years ago
|
||
Apologies for the silly mistake committed.Thanks for the help and guidance......
Reporter | ||
Comment 8•10 years ago
|
||
Attachment #8511663 -
Flags: review+
Reporter | ||
Updated•10 years ago
|
Attachment #8511595 -
Attachment is obsolete: true
Attachment #8511595 -
Flags: review?(dao)
Reporter | ||
Updated•10 years ago
|
Attachment #8511473 -
Attachment is obsolete: true
Reporter | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 9•10 years ago
|
||
Keywords: checkin-needed
Whiteboard: [good first bug][lang=css] → [good first bug][lang=css][fixed-in-fx-team]
Comment 10•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=css][fixed-in-fx-team] → [good first bug][lang=css]
Target Milestone: --- → Firefox 36
You need to log in
before you can comment on or make changes to this bug.
Description
•