/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ .monaco-shell .modal { background-color: rgba(204, 204, 204, 0.6); right: 0; left: 0; top: 0; bottom: 0; position: absolute; z-index: 500; } .monaco-shell .modal:not(.flyout-dialog) .modal-dialog { margin: auto; width: 640px; height: 480px; } .modal .modal-header { padding: 15px; } .modal .modal-footer { padding: 15px; } .modal .icon.in-progress { width: 25px; height: 25px; } .monaco-shell .modal.flyout-dialog .modal-dialog { margin: auto auto auto auto; height: 100%; width: 500px; right: 0; position: absolute; overflow-y: hidden; } .monaco-shell .modal.flyout-dialog.wide .modal-dialog { width: 1200px; max-width: 95%; min-width: 400px; } .monaco-shell .modal.flyout-dialog .modal-content { height: 100%; font-size: 11px; display: flex; flex-direction: column; } .modal .modal-title { font-size: 15px; font-weight: 600; } .modal .modal-title-icon { width: 20px; height: 20px; float: left; margin-right: 10px; } .monaco-shell .modal.flyout-dialog .modal-body, .monaco-shell .modal.flyout-dialog .angular-modal-body, /* Style for body and footer in modal dialog. This should be applied to dialog created with angular component. */ .monaco-shell .modal.flyout-dialog .modal-body-and-footer { flex: 1 1; overflow: hidden; } /* modl body content style(excluding dialogErrorMessage section) for angulr component dialog */ .angular-modal-body-content { overflow-x: hidden; overflow-y: auto; padding: 15px; } .modal.flyout-dialog .angular-form { height: 100%; display: flex; flex-direction: column; } .modal.flyout-dialog .dialog-label { width: 100%; padding-bottom: 5px; } /* Add space in the bottom to separate each input elements */ .modal.flyout-dialog .input-divider { width: 100%; padding-bottom: 20px; } .modal.flyout-dialog .input { width: 100%; border: none; height: 25px; padding-left: 4px; } .vs-dark.monaco-shell .modal.flyout-dialog .input { background-color: #3C3C3C; } .vs-dark.monaco-shell .modal.flyout-dialog input:disabled { background-color: #E1E1E1; color: #3C3C3C; } .modal .select-box, .modal .monaco-select-box { width: 100%; height: 25px; color: #6C6C6C; font-size: 11px; border: 1px solid transparent; } .modal .modal-footer { display: flex; } .modal .modal-footer .left-footer { display: flex; flex: 1 1 auto; justify-content: flex-start; } .modal .modal-footer .right-footer { display: flex; flex: 1 1 auto; justify-content: flex-end; } .modal .footer-button a.monaco-button.monaco-text-button { width: 100px; } .vs .monaco-text-button:focus { outline-width: 1px; } .modal .footer-button { margin-left: 5px; } .modal .right-footer .footer-button:last-of-type { margin-right: none; } .modal.flyout-dialog .dialog-message { padding: 6px 10px 10px 10px; font-size: 13px; display: flex; flex-direction: column; } .vs .modal.flyout-dialog .dialog-message.error, .vs-dark .modal.flyout-dialog .dialog-message.error { background-color:#B62E00 !important; color:#FFFFFF !important; } .vs .modal.flyout-dialog .dialog-message.warning, .vs-dark .modal.flyout-dialog .dialog-message.warning { background-color:#F9E385 !important; color:#4A4A4A !important; } .vs .modal.flyout-dialog .dialog-message.info, .vs-dark .modal.flyout-dialog .dialog-message.info { background-color:#0078D7 !important; color:#FFFFFF !important; } .modal.flyout-dialog .dialog-message-header { overflow: hidden; display: flex; flex-direction: row; } .modal.flyout-dialog .dialog-message-body { margin-left: 26px; overflow-y: scroll; overflow-x: hidden; max-height: 90px; display: flex; flex-direction: column; } .modal.flyout-dialog .dialog-message-icon { margin-right: 10px; margin-top: 5px; width: 16px; height: 16px; min-width: 16px; } .modal.flyout-dialog .dialog-message-severity { margin-right: auto; line-height: 26px; } .modal.flyout-dialog .dialog-message-button { min-width: 60px; margin-right: 10px; } .modal.flyout-dialog .dialog-message-button > a { background-position-x: 2px !important; background-color: inherit !important; color:inherit !important; padding-left: 22px !important; background-size: 16px 16px !important; text-align: left !important; } .modal.flyout-dialog .dialog-message-summary { overflow-x: hidden; text-overflow: ellipsis; white-space: nowrap; } .modal.flyout-dialog .dialog-message-summary.expanded { white-space: normal; overflow-x: unset; } .modal.flyout-dialog .dialog-message-detail { margin-top: 5px; white-space: pre-wrap; user-select: text; font-size: 11px; } .hc-black .dialog-message.warning .close-message-icon, .close-message-icon { background: url('close_inverse.svg') center center no-repeat; } .dialog-message.warning .close-message-icon { background: url('close.svg') center center no-repeat; } .hc-black .dialog-message.warning .copy-message-icon, .copy-message-icon { background: url('copy_inverse.svg') center center no-repeat; } .dialog-message.warning .copy-message-icon { background: url('copy.svg') center center no-repeat; } .hc-black .dialog-message.warning .message-details-icon, .message-details-icon { background: url('show_details_inverse.svg') center center no-repeat; } .dialog-message.warning .message-details-icon { background: url('show_details.svg') center center no-repeat; } .dialog-message.info .dialog-message-icon { background: url('info_notification_inverse.svg') center center no-repeat; } .hc-black .dialog-message.warning .dialog-message-icon { background: url('warning_notification_inverse.svg') center center no-repeat; } .dialog-message.warning .dialog-message-icon { background: url('warning_notification.svg') center center no-repeat; } .dialog-message.error .dialog-message-icon { background: url('error_notification_inverse.svg') center center no-repeat; }