Browse Source

修复火狐下图片滤镜问题,ie 10、11放弃了自身的 filter 支持,也不支持 CSS 3 中的 filter

笔下光年 5 years ago
parent
commit
e61f5198a8
1 changed files with 5 additions and 6 deletions
  1. 5 6
      css/style.min.css

+ 5 - 6
css/style.min.css

@@ -4503,12 +4503,11 @@ body[data-theme='translucent'] .jconfirm {
 [data-logobg*='color_'] .sidebar-header img,
 [data-theme='translucent'] .sidebar-header img {
     position: relative;
-	left: -220px;
-    -webkit-filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
-	-moz-filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
-    -ms-filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
-    -o-filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
-    filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
+    -webkit-filter: brightness(275%);
+	-moz-filter: brightness(275%);
+    -ms-filter: brightness(275%);
+    -o-filter: brightness(275%);
+    filter: brightness(275%);
 }
 [data-headerbg*='color_'] .lyear-layout-header,
 [data-headerbg*='color_'] .lyear-layout-header .topbar-right > li > a,