optionsUI: add a post-import update hint

This commit is contained in:
tophf 2017-04-27 14:39:51 +03:00
parent 0ce99afbf5
commit cff3d13d4b
3 changed files with 18 additions and 6 deletions

View File

@ -663,6 +663,9 @@
"optionsUpdateIntervalNote": { "optionsUpdateIntervalNote": {
"message": "To disable the automatic userstyle update checks, set interval to 0" "message": "To disable the automatic userstyle update checks, set interval to 0"
}, },
"optionsUpdateImportNote": {
"message": "When importing style backups from old version or from Stylish, do a one-time check for updates manually in the styles manager to ensure all styles are updated."
},
"optionsCustomizeBadge": { "optionsCustomizeBadge": {
"message": "Badge on the toolbar icon" "message": "Badge on the toolbar icon"
}, },

View File

@ -99,6 +99,11 @@ input[type=number]:invalid {
color: darkred; color: darkred;
} }
input[type="color"] {
box-sizing: border-box;
height: 2em;
}
[data-cmd="check-updates"] button { [data-cmd="check-updates"] button {
position: relative; position: relative;
} }
@ -152,11 +157,6 @@ input[type=number]:invalid {
margin-bottom: 1ex; margin-bottom: 1ex;
} }
input[type="color"] {
box-sizing: border-box;
height: 2em;
}
#notes a { #notes a {
color: inherit; color: inherit;
} }
@ -165,6 +165,12 @@ input[type="color"] {
color: black; color: black;
} }
#notes p {
line-height: 1.25;
margin-top: 1ex;
margin-bottom: 1ex;
}
@keyframes fadeinout { @keyframes fadeinout {
0% { opacity: 0 } 0% { opacity: 0 }
10% { opacity: 1 } 10% { opacity: 1 }

View File

@ -79,7 +79,10 @@
<div id="notes"> <div id="notes">
<ol> <ol>
<li i18n-text="optionsUpdateIntervalNote"></li> <li>
<p i18n-text="optionsUpdateIntervalNote"></p>
<p i18n-text="optionsUpdateImportNote"></p>
</li>
<li class="chromium-only"> <li class="chromium-only">
<a data-cmd="open-keyboard" <a data-cmd="open-keyboard"
i18n-text="optionsOpenManagerNote" i18n-text="optionsOpenManagerNote"