.slds-theme_shade .slds-theme_alert-texture{ background-color: blue; padding: 0px 0px 0px 0px; } .centered-text { display: flex; justify-content: center; align-items: center; } .datatable-container { max-height: 300px; padding: 0px 0px 0px 0px; overflow-y: auto; overflow-x: hidden; border: 1px solid #ccc; /* 设置边框样式,1px宽度,黑色颜色,可以根据需要修改 */ /* border-right: none; */ /* padding: -1px; */ } .custom-datatable .slds-th__action { border: none !important; } .datatable-product { max-height: 100%; border: 1px solid #ccc; border-radius: 5px; padding: 0px 0px 0px 0px; overflow: auto; } .slds-form-element__label{ color:black; align-items: center; } .custom-div { border: 2px solid #333; border-radius: 5px; padding: 10px; } .transparent-background { background-color: rgba(255, 255, 255, 0.5); /* 白色背景,透明度为0.5 */ } .custom-table { width: 120%; border-collapse: collapse; font-family: Arial, sans-serif; padding:0px 0px 0px 0px; } .custom-table th, .custom-table td { padding: 5px; text-align: left; } .custom-table th { background-color: #f2f2f2; font-weight: bold; } .container { display: flex; justify-content: space-between; align-items: center; } .container1 { display: flex; align-items: center; /* 垂直居中 */ justify-content: center; } .column { flex: 1; margin-right: 10px; /* Adjust margin as needed */ display: flex; } /* 可以为按钮添加一些额外的样式,例如边距等 */ lightning-button { margin: 0 10px; /* 为按钮添加水平间距 */ } .slds-modal__container { padding: 0px; } .required-symbol { color: red; font-size: 12px; font-weight: bold; display: inline-block; width: 7px; /* margin-right: 4px; */ } /* 添加全屏遮罩层样式 */ .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.2); /* 可以根据需求调整背景颜色和透明度 */ display: flex; justify-content: center; align-items: center; z-index: 9999; /* 保证遮罩层位于其他元素之上 */ }