浏览代码

style:留资toast样式

yangfeng 2 年之前
父节点
当前提交
64da3a9a5c
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      src/web/staticres/site/common/css/slide-leave-info.css

+ 13 - 0
src/web/staticres/site/common/css/slide-leave-info.css

@@ -88,4 +88,17 @@
   text-overflow: ellipsis;
   overflow: hidden;
   white-space: nowrap;
+}
+.custom-toast .toast-container{
+  position: fixed;
+  top: 50%;
+  left: 50%;
+  width: auto;
+  padding: 16px 32px;
+  font-size: 16px;
+  background: rgba(0, 0, 0, 0.65);
+  border-radius: 8px;
+  color: #fff;
+  transform: translateX(-50%) translateY(-50%);
+  z-index: 99;
 }