diff --git a/_locales/en/messages.json b/_locales/en/messages.json index ec51af06..6944f367 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -591,6 +591,10 @@ "message": "Update completed.", "description": "Text that displays when an update completed" }, + "updatesCurrentlyInstalled": { + "message": "Updates installed:", + "description": "Text that displays when an update is installed on options page. Followed by the number of currently installed updates." + }, "writeStyleFor": { "message": "Write style for: ", "description": "Label for toolbar pop-up that precedes the links to write a new style" diff --git a/options/index.css b/options/index.css index bad4ca01..7d20ed45 100644 --- a/options/index.css +++ b/options/index.css @@ -45,6 +45,7 @@ h1 { font-size: 120%; font-weight: bold; padding-right: 8px; + word-wrap: break-word; } label { @@ -97,6 +98,43 @@ input[type=number]:invalid { color: darkred; } +[data-cmd="check-updates"] button { + position: relative; +} + +.update-in-progress [data-cmd="check-updates"] { + opacity: .5; + pointer-events: none; +} + +.update-in-progress #update-progress { + position: absolute; + top: 0; + left: 0; + bottom: 0; + background-color: currentColor; + content: ""; + opacity: .35; +} + +#updates-installed { + position: absolute; + font-size: 85%; + right: 16px; + margin-top: 1px; +} + +#updates-installed:after { + content: attr(data-value); + margin-left: .5ex; + font-weight: bold; +} + +#updates-installed:not([data-value]), +#updates-installed[data-value=""] { + display: none; +} + #notes { background-color: #f4f4f4; padding: 1.5ex 16px 1ex calc(16px + 2ex); diff --git a/options/index.html b/options/index.html index df23c4b1..527f2c17 100644 --- a/options/index.html +++ b/options/index.html @@ -66,12 +66,13 @@ -