GM_script icon indicating copy to clipboard operation
GM_script copied to clipboard

google界面黑暗模式不匹配

Open Michaelzhouisnotwhite opened this issue 3 years ago • 3 comments

image

使用谷歌黑暗模式时,部分块白色

Michaelzhouisnotwhite avatar Jun 09 '22 03:06 Michaelzhouisnotwhite

same

ccsugar avatar Jun 17 '22 12:06 ccsugar

同样的问题,不过我添加了自定义的 css 解决了,作者可以参考一下:

@-moz-document domain("www.google.com") {

/**计数器的颜色样式*/
div .AC-CounterT{
  background: #5574b3;
}
  
  &:before {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background-size: 100% auto;
  }
  
  .LGOjhe {
    background-color: #2c303c !important; 
  }
  
  #rso .g, .k8XOCe {
    background-color: #2c303c !important; 
  }
  
  #rso .g:hover {
    background-color: #2c303c !important; 
  }
  
  .sfbg{
    margin-top: -10px;
  }
  
  .yg51vc{
    background-color: transparent !important; 
  }
  
  #rcnt #res h3, #rcnt #extrares h3 {
    color: white !important;
  }

}

yangchuansheng avatar Jun 19 '22 02:06 yangchuansheng

有另外一个简单一些自定义样式,供选择。 https://github.com/langren1353/GM_script/issues/433#issuecomment-1137365690

leic4u avatar Jul 27 '22 18:07 leic4u