src/devtools/views/ModalDialog.css (31 lines of code) (raw):
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
.Background {
position: absolute;
width: 100%;
height: 100%;
display: flex;
align-items: flex-start;
justify-content: center;
padding: 1rem;
background-color: var(--color-modal-background);
overflow: auto;
}
.Dialog {
position: relative;
z-index: 3;
width: 25rem;
min-width: 20rem;
max-width: 100%;
display: inline-block;
background-color: var(--color-background);
padding: 0.5rem;
border: 1px solid var(--color-border);
border-radius: 0.25rem;
}
.Title {
font-size: var(--font-size-sans-large);
margin-bottom: 0.5rem;
}
.Buttons {
text-align: right;
margin-top: 0.5rem;
}