Commit e9adecd7 authored by Regan Hsu's avatar Regan Hsu Committed by Commit Bot

[CrOS Settings] Change opacity when account whitelist is disabled.

Change-Id: I022f2aa29b468a43d2dbfecac5275575b9317e57
Bug: 825150
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660880
Commit-Queue: Regan Hsu <hsuregan@chromium.org>
Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: default avatarDan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670245}
parent 81c59eed
...@@ -36,6 +36,10 @@ ...@@ -36,6 +36,10 @@
.user-info { .user-info {
padding-inline-start: 20px; padding-inline-start: 20px;
} }
:host([disabled]) .user-list {
opacity: var(--cr-disabled-opacity);
}
</style> </style>
<div class="user-list" scrollable> <div class="user-list" scrollable>
<template is="dom-repeat" items="[[users_]]"> <template is="dom-repeat" items="[[users_]]">
......
...@@ -42,6 +42,7 @@ Polymer({ ...@@ -42,6 +42,7 @@ Polymer({
disabled: { disabled: {
type: Boolean, type: Boolean,
value: false, value: false,
reflectToAttribute: true,
} }
}, },
......
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