After looking at extension docs, I created a small extension that should do the trick, but it doesn’t seem to have any effect. I’m not sure what else needs done. Or, is perhaps Gmail a special page, and somehow discards stylesheets injected during its load process?
Here’s what I had so far:
x.css:
/*html for extra specificty*/
/*this class is applied to the compose button*/
html .T-I-KE {
background-image: -webkit-linear-gradient(top,#555,#333);
background-image: linear-gradient(top,#555,#333)
}
manifest.json:
{
"name": "A Compose Button as Dark as my Soul",
"version": "1.1",
"manifest_version": 2,
"description": "I’m so depressed.",
"content_scripts": [
{
"matches": ["http://mail.google.com/*", "https://mail.google.com/*"],
"css": ["x.css"]
}
]
}
What’s the deal?