Commit a9c4186d authored by Esmael El-Moslimany's avatar Esmael El-Moslimany Committed by Commit Bot

WebUI: fixing the text color of cr-elements

Bug: 849857
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: I870f5fb93644ac7606d6ea2d810cee7ec9444ed7
Reviewed-on: https://chromium-review.googlesource.com/1120681Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Reviewed-by: default avatarSasha Morrissey <sashab@chromium.org>
Commit-Queue: Sasha Morrissey <sashab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572473}
parent 463aac3b
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
} }
--cr-input-error-display: none; --cr-input-error-display: none;
--cr-input-background-color: transparent; --cr-input-background-color: transparent;
--cr-input-color: white;
--cr-input-input: { --cr-input-input: {
-webkit-margin-start: -3px; -webkit-margin-start: -3px;
-webkit-padding-end: 3px; -webkit-padding-end: 3px;
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<style is="custom-style"> <style is="custom-style">
#search-box cr-input { #search-box cr-input {
--cr-input-color: white;
--cr-input-focus-color: white; --cr-input-focus-color: white;
--cr-input-container: { --cr-input-container: {
border-radius: 0; border-radius: 0;
......
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
line-height: var(--cr-form-field-label-font-size); line-height: var(--cr-form-field-label-font-size);
margin-bottom: 0; margin-bottom: 0;
} }
--cr-input-color: white;
--cr-input-container: { --cr-input-container: {
border-radius: 0; border-radius: 0;
} }
...@@ -81,7 +82,6 @@ ...@@ -81,7 +82,6 @@
} }
--cr-input-error-display: none; --cr-input-error-display: none;
--cr-input-focus-color: white; --cr-input-focus-color: white;
color: white;
} }
#rename-input { #rename-input {
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
border: none; border: none;
box-sizing: border-box; box-sizing: border-box;
caret-color: var(--cr-input-focus-color); caret-color: var(--cr-input-focus-color);
color: inherit; color: var(--cr-input-color, var(--google-grey-900));
font-family: inherit; font-family: inherit;
font-size: inherit; font-size: inherit;
line-height: inherit; line-height: inherit;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
background-size: var(--md-arrow-width); background-size: var(--md-arrow-width);
border: none; border: none;
border-radius: 4px; border-radius: 4px;
color: inherit; color: var(--google-grey-900);
cursor: pointer; cursor: pointer;
font-family: inherit; font-family: inherit;
font-size: inherit; font-size: inherit;
......
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