Browse Source

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

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

+ 6 - 8
css/style.min.css

@@ -4537,15 +4537,13 @@ body[data-theme='translucent'] {
     background-color: #465161;
 }
 
-[data-logobg*='color_'] .sidebar-header img,
-[data-theme='translucent'] .sidebar-header img {
+[data-logobg*='color_'] .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,