Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: ui/accessibility/extensions/highcontrast/highcontrast.css

Issue 593293002: Initial checkin of accessibility extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix license issues Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/accessibility/extensions/highcontrast/highcontrast.css
diff --git a/ui/accessibility/extensions/highcontrast/highcontrast.css b/ui/accessibility/extensions/highcontrast/highcontrast.css
new file mode 100644
index 0000000000000000000000000000000000000000..c40306330675a23283a774c61dc76d394463cbde
--- /dev/null
+++ b/ui/accessibility/extensions/highcontrast/highcontrast.css
@@ -0,0 +1,81 @@
+/* Copyright (c) 2014 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+html[hc="a0"] {
+ -webkit-filter: url('#hc_extension_off');
+}
+html[hcx="0"] img[src*="jpg"],
+html[hcx="0"] img[src*="jpeg"],
+html[hcx="0"] svg image,
+html[hcx="0"] img.rg_i,
+html[hcx="0"] embed,
+html[hcx="0"] object,
+html[hcx="0"] video {
+ -webkit-filter: url('#hc_extension_off');
+}
+
+html[hc="a1"] {
+ -webkit-filter: url('#hc_extension_highcontrast');
+}
+html[hcx="1"] img[src*="jpg"],
+html[hcx="1"] img[src*="jpeg"],
+html[hcx="1"] img.rg_i,
+html[hcx="1"] svg image,
+html[hcx="1"] embed,
+html[hcx="1"] object,
+html[hcx="1"] video {
+ -webkit-filter: url('#hc_extension_highcontrast_back');
+}
+
+html[hc="a2"] {
+ -webkit-filter: url('#hc_extension_grayscale');
+}
+html[hcx="2"] img[src*="jpg"],
+html[hcx="2"] img[src*="jpeg"],
+html[hcx="2"] img.rg_i,
+html[hcx="2"] svg image,
+html[hcx="2"] embed,
+html[hcx="2"] object,
+html[hcx="2"] video {
+ -webkit-filter: url('#hc_extension_grayscale_back');
+}
+
+html[hc="a3"] {
+ -webkit-filter: url('#hc_extension_invert');
+}
+html[hcx="3"] img[src*="jpg"],
+html[hcx="3"] img[src*="jpeg"],
+html[hcx="3"] img.rg_i,
+html[hcx="3"] svg image,
+html[hcx="3"] embed,
+html[hcx="3"] object,
+html[hcx="3"] video {
+ -webkit-filter: url('#hc_extension_invert_back');
+}
+
+html[hc="a4"] {
+ -webkit-filter: url('#hc_extension_invert_grayscale');
+}
+html[hcx="4"] img[src*="jpg"],
+html[hcx="4"] img[src*="jpeg"],
+html[hcx="4"] img.rg_i,
+html[hcx="4"] svg image,
+html[hcx="4"] embed,
+html[hcx="4"] object,
+html[hcx="4"] video {
+ -webkit-filter: url('#hc_extension_invert_back');
+}
+
+html[hc="a5"] {
+ -webkit-filter: url('#hc_extension_yellow_on_black');
+}
+html[hcx="5"] img[src*="jpg"],
+html[hcx="5"] img[src*="jpeg"],
+html[hcx="5"] img.rg_i,
+html[hcx="5"] svg image,
+html[hcx="5"] embed,
+html[hcx="5"] object,
+html[hcx="5"] video {
+ -webkit-filter: url('#hc_extension_yellow_on_black_back');
+}
« no previous file with comments | « ui/accessibility/extensions/highcontrast/common.js ('k') | ui/accessibility/extensions/highcontrast/highcontrast.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698