diff --git a/CHANGELOG.md b/CHANGELOG.md index 821f172..f8f243b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Changelog ========= +### unreleased + - use browser built-in `options_ui` + ### v1.7.2 / 2020-10-30 - Fix contribution graph and progress bar colors (new GitHub CSS variables) diff --git a/src/css/options.css b/src/css/options.css index 86b388f..4baf663 100644 --- a/src/css/options.css +++ b/src/css/options.css @@ -1,67 +1,28 @@ -body { - background-color: #EEE; - font-family: arial, sans-serif; - font-size: 13px } #content { - background-color: white; - border: 1px solid #DDD; - margin: 40px auto 20px; - padding: 12px; - width: 500px; - -webkit-border-radius: 12px; - box-shadow: 0px 0px 10px #DDD; -} - -#logo { - margin: -5px 10px -5px 0; - width: 32px; - float: left; -} - -h1 { - color: #333; - font-size: 1.5em; - margin: 0.7em 0 0; -} - -#header { - background: linear-gradient(white, #EEE); - padding: 15px 0px 10px 10px; - height: 30px; - border-bottom: 1px solid #DDD; - margin: -12px -12px 20px -12px; - border-top-left-radius: 10px; - border-top-right-radius: 10px; - text-shadow: 1px 1px 1px white; - color: #666; + margin: 1em auto; + text-align: center; } -p { - font-size: 12px; +#content span { + margin-right: 1em; } hr { border: 1px solid #EEE; - border-bottom: none; - margin: 10px 0px; } #status { color: green; + text-align: center; + margin: auto; } button { cursor: pointer; - background-image: linear-gradient(white, #EEE); color: #333; - border: 1px solid #CCC; - border-radius: 2px; - margin: 0px 1px 0px 0px; - outline: none; min-height: 2em; - text-align: center; } button:hover { diff --git a/src/manifest.firefox.json b/src/manifest.firefox.json index 70ea8c8..61d2196 100644 --- a/src/manifest.firefox.json +++ b/src/manifest.firefox.json @@ -18,8 +18,7 @@ }], "options_ui": { - "page": "options.html", - "open_in_tab": true + "page": "options.html" }, "permissions": [ diff --git a/src/manifest.json b/src/manifest.json index a4e7d28..79f87ce 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -11,8 +11,7 @@ }], "options_ui": { - "page": "options.html", - "open_in_tab": true + "page": "options.html" }, "permissions": [ diff --git a/src/options.html b/src/options.html index 59d26af..f9b1529 100644 --- a/src/options.html +++ b/src/options.html @@ -8,12 +8,8 @@
- -

GitHub Contribution Color Graph Options

- -

Choose graph color

-

- @@ -47,11 +43,10 @@

GitHub Contribution Color Graph Options

-


- +