MDL-66109 css: Drop use of filter:alpha(opacity)
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 22 Apr 2020 02:58:39 +0000 (10:58 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 11 May 2020 02:55:57 +0000 (10:55 +0800)
This CSS statement was an MS-only rule which was never accepted, and
which was abonded some time before IE 10. It has no effect in supported
browsers and can be safely replace with `opacity: [0.0-1.0]`.

admin/tool/policy/styles.css
question/type/ddmarker/styles.css

index 52bf795..da4ef21 100644 (file)
@@ -26,7 +26,7 @@
     font-weight: 100;
     line-height: 1;
     color: #a2a2a2;
-    filter: alpha(opacity=20);
+    opacity: 0.2;
     position: absolute;
     font-family: helvetica, arial, verdana, sans-serif;
     top: 0;
index 65bcb07..e51e60b 100644 (file)
@@ -109,7 +109,6 @@ form.mform fieldset#id_previewareaheader div.markertexts span.markertext {
     border: 2px solid khaki;
     padding: 5px;
     border-radius: 10px;
-    filter: alpha(opacity=60);
     opacity: 0.6;
     margin: 5px;
     display: inline-block;