commit f62aae3da532a215a84829dd6f7c3ea65cec7e4f Author: Charles Danesi Date: Wed Sep 1 06:50:18 2021 -0400 initial commit Create framework for Chrome extension and global button styles diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..d0e5cee --- /dev/null +++ b/manifest.json @@ -0,0 +1,15 @@ +{ + "manifest_version": 3, + + "name": "ServiceHub Plus", + "version": "0.1.0", + "description": "Improvements for TRG Service Hub techs", + + "content_scripts": [ + { + "css": ["style.css"], + "js": ["script.js"], + "matches": ["https://portal.trgrepair.com/*"] + } + ] +} diff --git a/script.js b/script.js new file mode 100644 index 0000000..e69de29 diff --git a/sh.ico b/sh.ico new file mode 100644 index 0000000..10a51f6 Binary files /dev/null and b/sh.ico differ diff --git a/style.css b/style.css new file mode 100644 index 0000000..9c9df42 --- /dev/null +++ b/style.css @@ -0,0 +1,25 @@ +/* + Dark Gray: #544343 + Light Gray: #999799 + Blue: #086788 + Green: #9FCC2E +*/ + +input[type="button"] { + background-color: #696969; + color: white; + border-radius: 3px; + padding: 1.5px 5px; + text-decoration: none; + cursor: pointer; + border: none; + transition: background-color 200ms ease-in-out; +} + +input[type="button"]:hover { + background-color: #535353; +} + +input[type="button"]:disabled { + opacity: 0.3; +}