blob: b38ec19043d051a661e73df6acbffc9da2299107 [file] [log] [blame]
/* Copyright 2016 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. */
/* Some elements may be used both as dialogs or not as dialogs.
* |not-a-dialog| attribute is used to switch element "oobe-dialog-like" look.
*/
:host(:not([not-a-dialog]):not([hidden])) {
display: flex;
}
:host(:not([not-a-dialog])) {
background-color: white;
border-radius: unset;
box-shadow: unset;
flex-direction: column;
min-height: 640px;
min-width: 768px;
position: relative;
}
:host(:not([not-a-dialog]):not([full-screen-dialog])) {
border-radius: 4px;
box-shadow: 0 24px 24px rgba(0, 0, 0, .24), 0 0 24px rgba(0, 0, 0, .12);
}
:host(:not([not-a-dialog])[android]) {
min-height: 480px;
min-width: 576px;
}