浏览代码

移除模糊效果

懒得勤快 3 年之前
父节点
当前提交
63a99a278a

+ 2 - 2
src/Masuit.MyBlogs.Core/Common/CommonHelper.cs

@@ -96,12 +96,12 @@ namespace Masuit.MyBlogs.Core.Common
         /// <summary>
         /// 每IP错误的次数统计
         /// </summary>
-        public static ConcurrentDictionary<string, int> IPErrorTimes { get; set; } = new();
+        public static NullableConcurrentDictionary<string, int> IPErrorTimes { get; set; } = new();
 
         /// <summary>
         /// 系统设定
         /// </summary>
-        public static ConcurrentDictionary<string, string> SystemSettings { get; set; } = new();
+        public static NullableConcurrentDictionary<string, string> SystemSettings { get; set; } = new();
 
         /// <summary>
         /// IP黑名单地址段

+ 6 - 0
src/Masuit.MyBlogs.Core/wwwroot/Assets/nav/css/style.css

@@ -7,7 +7,13 @@
 @media only screen and (max-width: 1169px) { body.nav-on-left.overflow-hidden { overflow: hidden; } }
 .header {
     overflow: hidden;
+    /*-webkit-filter: blur(5px);
+    -moz-filter: blur(5px);
+    -o-filter: blur(5px);
+    -ms-filter: blur(5px);
+    filter: blur(5px);*/
 }
+
 .header a {
     /*width: 600px;*/
     text-decoration: none !important;

+ 0 - 8
src/Masuit.MyBlogs.Core/wwwroot/Content/common/style.css

@@ -349,14 +349,6 @@ Custom bottom spacer
     color: white;
 }
 
-.header {
-    -webkit-filter: blur(5px);
-    -moz-filter: blur(5px);
-    -o-filter: blur(5px);
-    -ms-filter: blur(5px);
-    filter: blur(5px);
-}
-
 .header-content {
     position: absolute;
     left: 50%;

+ 8 - 8
src/Masuit.MyBlogs.Core/wwwroot/Scripts/global/scripts.js

@@ -17,14 +17,14 @@
 })(jQuery);
 
 $(function() {
-	$('.header').css({
-	   'filter': 'unset',
-	   '-webkit-filter' : 'unset',
-	   '-moz-filter': 'unset',
-	   '-o-filter': 'unset',
-	   '-ms-filter': 'unset',
-	   "transition": "all 1s ease-in-out"
-	});
+	//$('.header').css({
+	//   'filter': 'unset',
+	//   '-webkit-filter' : 'unset',
+	//   '-moz-filter': 'unset',
+	//   '-o-filter': 'unset',
+	//   '-ms-filter': 'unset',
+	//   "transition": "all 0.1s ease-in-out"
+	//});
 	loadingDone();
 	
 	$(".notices").bootstrapNews({