/*
 * -------------------------------------------------------------------------
 * This file is part of the MindStudio project.
 * Copyright (c) 2025 Huawei Technologies Co.,Ltd.
 *
 * MindStudio is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *
 *          http://license.coscl.org.cn/MulanPSL2
 *
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 * -------------------------------------------------------------------------
 */
/*弹窗对话框*/
.ant-modal-footer{
  text-align: center;
  padding: 0 16px 24px;
}

/*目录树*/
.ant-tree-checkbox-inner , .ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{
  background-color: var(--mi-bg-color);
  border-color: var(--mi-border-color-lighter);
}

/*设置二级目录勾选框不可见、不可点击*/
.ant-tree-treenode:not(.ant-tree-list-holder-inner > .ant-tree-treenode-switcher-open,.ant-tree-list-holder-inner > .ant-tree-treenode-switcher-close) .ant-tree-checkbox {
  pointer-events: none;
  display: none;
}

/*loading遮罩*/
#root>.ant-spin-nested-loading>div>.ant-spin {
  max-height: none;
  background: rgba(0,0,0,0.5);
}
#root>.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{
  text-shadow:none;
}

.spin-global,
.spin-global > .ant-spin-container {
  height:100%;
}