From e40ee62d3e9b71ffe3432d32a53a00c4097b5708 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 31 Dec 2021 09:03:28 +0800
Subject: [PATCH] +3d 2.5d
---
src/styles/layout/pc.scss | 37 ++++++++++++++++++++-----------------
1 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/src/styles/layout/pc.scss b/src/styles/layout/pc.scss
index 45b8a7a..175db77 100644
--- a/src/styles/layout/pc.scss
+++ b/src/styles/layout/pc.scss
@@ -28,6 +28,7 @@
.el-header,
.el-main {
padding: 0;
+ overflow: hidden;
}
.el-header {
@@ -50,25 +51,22 @@
.el-menu {
-
-
li {
- font-size: 18px;
+ font-size: 16px !important;
}
li.el-menu-item {
border: 0px !important;
-
}
li.el-menu-item.is-active {
border: 0px !important;
- background: #000 !important;
+ background: rgba(1, 64, 112, 0.494) !important;
}
li:hover {
border: 0px !important;
- background: #000 !important;
+ background: #1A78C2 !important;
}
}
}
@@ -82,6 +80,7 @@
.el-menu--horizontal {
.el-menu-item {
+ font-size: 12px !important;
text-align: center;
background: transparent !important;
@@ -99,22 +98,26 @@
min-width: 132px !important;
}
-.el-submenu__title i {
- color: #fff;
+.el-submenu__title {
+
+ font-size: 16px !important;
+
+ i {
+ color: #fff;
+ }
}
-
.dialog-fade-enter-active .el-dialog.way {
- animation: anim-open 1s;
+ animation: anim-open 1.5s;
}
.dialog-fade-leave-active .el-dialog.way {
- animation: anim-close 1s;
+ animation: anim-close 1.5s;
}
@keyframes dialog-fade-in {
0% {
- transform: scale(0.1) translate3d(100%, 0, 0);
+ transform: scale(0.1) translate3d(0, 0, 0);
opacity: 0;
}
@@ -126,19 +129,19 @@
@keyframes dialog-fade-out {
0% {
- transform: translate3d(0, 0, 0) scale(1);
+ transform: scale(1) translate3d(0, 0, 0);
opacity: 1;
}
100% {
- transform: translate3d(100%, 0, 0) scale(0.1);
+ transform: scale(0.1) translate3d(0, 0, 0);
opacity: 0;
}
}
@keyframes anim-open {
0% {
- transform: scale(0.1) translate3d(100%, 0, 0);
+ transform: scale(0.1) translate3d(0, 0%, 0);
opacity: 0;
}
@@ -150,12 +153,12 @@
@keyframes anim-close {
0% {
- transform: translate3d(0, 0, 0) scale(1);
+ transform: scale(1) translate3d(0, 0, 0);
opacity: 1;
}
100% {
- transform: translate3d(100%, 0, 0) scale(0.1);
+ transform: scale(0.1) translate3d(0, 0%, 0);
opacity: 0;
}
}
\ No newline at end of file
--
Gitblit v1.9.3