Quellcode durchsuchen

style:留资toast样式

yangfeng vor 2 Jahren
Ursprung
Commit
64da3a9a5c
1 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
  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;
 }