summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfukino <fukino@chromium.org>2015-02-20 03:35:01 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-20 11:35:50 +0000
commitff372678a3c46ee4522375964fb764785a3eff70 (patch)
tree5e1f0f9e2bd11efab8576b8a1ee38a1df7733181
parenteab34cc80772373eac0df3b6003fe1eeaf767d78 (diff)
downloadchromium_src-ff372678a3c46ee4522375964fb764785a3eff70.zip
chromium_src-ff372678a3c46ee4522375964fb764785a3eff70.tar.gz
chromium_src-ff372678a3c46ee4522375964fb764785a3eff70.tar.bz2
Files.app: Add focus feedback on dialog footer.
Added rounded focus ring for controls on dialog footer. Tab order should be reconsidered later as accessibility improvement. BUG=402344 TEST=manually tested Review URL: https://codereview.chromium.org/938383002 Cr-Commit-Position: refs/heads/master@{#317293}
-rw-r--r--ui/file_manager/file_manager/foreground/css/file_manager.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/ui/file_manager/file_manager/foreground/css/file_manager.css b/ui/file_manager/file_manager/foreground/css/file_manager.css
index 6c67fb7..217c5f5 100644
--- a/ui/file_manager/file_manager/foreground/css/file_manager.css
+++ b/ui/file_manager/file_manager/foreground/css/file_manager.css
@@ -674,7 +674,7 @@ body.selecting #search-box {
background: transparent;
border: 0;
border-image: none;
- border-radius: 3px;
+ border-radius: 2px;
box-sizing: border-box;
cursor: pointer;
margin: 0 0.29em;
@@ -754,6 +754,13 @@ body.selecting #search-box {
border-image: none;
}
+/* Draw outline using box-shadow to make them rounded. */
+.dialog-footer .primary:focus,
+.dialog-footer .secondary:focus,
+.dialog-footer select:focus {
+ box-shadow: 0 0 0 2px rgba(27, 168, 243, 0.5);
+}
+
.progressable:not([progress]) .progress-bar,
.progressable:not([progress]) .preparing-label {
display: none;