Bug 1346432 - Make the overlay of error page more transparent. r=jaws draft
authorRay Lin <ralin@mozilla.com>
Tue, 11 Apr 2017 15:50:44 +0800
changeset 560175 f45d9ea3eaaff3b0987dbd85ed7e81fe71d7100c
parent 555725 b043233ec04f06768d59dcdfb9e928142280f3cc
child 623641 b4c4c514c2897f4774fb2674d05b05113a2f8f04
push id53360
push userbmo:ralin@mozilla.com
push dateTue, 11 Apr 2017 08:10:27 +0000
reviewersjaws
bugs1346432, 1302656
milestone55.0a1
Bug 1346432 - Make the overlay of error page more transparent. r=jaws After bug 1302656 landed, video would continue even if error occurred. Instead of convering a solid grey background over video, we should make it more visible in order not to confuse users as audio would still plays out. MozReview-Commit-ID: 3Y4taIyCz5M
toolkit/themes/shared/media/videocontrols.css
--- a/toolkit/themes/shared/media/videocontrols.css
+++ b/toolkit/themes/shared/media/videocontrols.css
@@ -40,17 +40,17 @@ audio > xul|videocontrols {
   height: 100%;
 }
 
 .statusOverlay {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
-  background-color: rgb(80,80,80);
+  background-color: rgb(80,80,80, .85);
 }
 
 .controlsOverlay {
   display: flex;
   flex-direction: column;
   justify-content: center;
   position: relative;
 }