Commit d1a92e49 authored by Ionel Popescu's avatar Ionel Popescu Committed by Commit Bot

Keep using highlight and highlighttext colors for in-page date/month/time controls.

This CL removes the background-color added for date/month/time controls in order to continue
using the highlight and highlightext colors to match the active selection background
and foreground colors (specified in input_multiple_fields.css?l=54).

Bug: 1021328
Change-Id: Ic064697f14f508e3336b41c2c4801122d0175ede
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1907595
Commit-Queue: Ionel Popescu <iopopesc@microsoft.com>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Reviewed-by: default avatarMason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714645}
parent cbd8e424
...@@ -146,20 +146,6 @@ input::-webkit-calendar-picker-indicator:hover { ...@@ -146,20 +146,6 @@ input::-webkit-calendar-picker-indicator:hover {
background-color: initial; background-color: initial;
} }
/* Remove focus ring from fields and use highlight color */
input::-webkit-datetime-edit-ampm-field:focus,
input::-webkit-datetime-edit-day-field:focus,
input::-webkit-datetime-edit-hour-field:focus,
input::-webkit-datetime-edit-millisecond-field:focus,
input::-webkit-datetime-edit-minute-field:focus,
input::-webkit-datetime-edit-month-field:focus,
input::-webkit-datetime-edit-second-field:focus,
input::-webkit-datetime-edit-week-field:focus,
input::-webkit-datetime-edit-year-field:focus {
background-color: rgba(0, 120, 212, 0.4);
outline: none;
}
/* -internal-list-box is how we specify select[multiple] */ /* -internal-list-box is how we specify select[multiple] */
/* select[multiple] is an exception to the prohibition on sizes here /* select[multiple] is an exception to the prohibition on sizes here
because it is one of the few controls with borders that grow on zoom because it is one of the few controls with borders that grow on zoom
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment