浏览代码

添加全局的弹窗头部样式

yunxing 4 年之前
父节点
当前提交
0c0ed0c806
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16 0
      src/App.vue

+ 16 - 0
src/App.vue

@@ -276,6 +276,22 @@ body ::-webkit-scrollbar-thumb:vertical:hover {
         background: linear-gradient(180deg, rgba(54, 156, 247, 1) 0%, rgba(2, 91, 170, 1) 100%);
     }
 }
+.el-dialog__header {
+    padding: 16px 24px;
+    background: linear-gradient(180deg, rgba(54, 156, 247, 1) 0%, rgba(2, 91, 170, 1) 100%);
+}
+.el-dialog__headerbtn .el-dialog__close {
+    color: #fff;
+}
+
+.el-dialog__title {
+    font-size: 16px;
+    padding-right: 6px;
+    padding-left: 24px;
+    font-weight: bold;
+    color: #fff;
+    font-weight: normal;
+}
 .clearfix::after {
     content: '.';
     display: block;