[英]Can somebody help me change the opacity of the Google Dictionary Extension for Chrome?
I've tried going through the CSS, HTML, and Javascript files in the extension but nothing I try seems to work. 我已经尝试了扩展中的CSS,HTML和Javascript文件,但我尝试的任何方法似乎都无效。 I have very little experience with CSS, HTML, and Javascript, so I was wondering if anybody would be able to figure out how to change the opacity of the popup that comes up when you double click a word with that extension. 我对CSS,HTML和Javascript的了解很少,所以我想知道是否有人能够弄清楚如何更改带有扩展名的单词时出现的弹出窗口的不透明度。 Thanks! 谢谢! This is the extension: https://chrome.google.com/webstore/detail/google-dictionary-by-goog/mgijmajocgfcbeboacabfgobmjgjcoja?hl=en 这是扩展名: https : //chrome.google.com/webstore/detail/google-dictionary-by-goog/mgijmajocgfcbeboacabfgobmjgjcoja?hl=zh-CN
If you change background:#ffc!important;
如果您更改background:#ffc!important;
in content_css_main.css
to something with opacity like rgba(255, 255, 204, 0.5)!important;
在content_css_main.css
中不透明的东西,例如rgba(255, 255, 204, 0.5)!important;
that should do the trick. 这应该够了吧。 You might have to restart Chrome (at least) or repackage it to get the change to take effect. 您可能必须重新启动Chrome(至少)或对其重新打包,以使更改生效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.