Site Notice
hello, world
MediaWiki:Css-i18n-js/editor.css
From Project-EPB Commons
Revision as of 20:50, 29 March 2020 by 机智的小鱼君 (talk | contribs) (Created page with "→I18n-js JSON editor CSS * * CSS for [[I18nEdit]] * * @authors - KockaAdmiralac - Dorumin: →Loading spinner: #I18nEditSpinner { background:...")
Invoke this: https://common.wjghj.cn/css/{{#replace:{{#replace:Css-i18n-js/editor.css|Css-|}}|.css|}}
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* I18n-js JSON editor CSS
*
* CSS for [[I18nEdit]]
*
* @authors
- KockaAdmiralac
- Dorumin
*/
/* Loading spinner */
#I18nEditSpinner {
background: white;
background: rgba(255, 255, 255, 0.5);
display: none;
height: 100%;
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index: 1000000000;
}
.I18nEditLoading #I18nEditSpinner {
display: block;
}
/* Search form and Language picker */
#I18nEditPickerFormList {
column-count: 5;
list-style: none;
margin-left: .5em;
width: 100%;
}
#I18nEditPickerFormList .noexist,
.I18nEditNewLanguageList .exists {
display: none;
}
.I18nEditNewLanguageList {
max-height: 350px;
overflow-y: auto;
padding: 1em 0 0 1em;
}
.I18nEditNewLanguageList .noexist {
list-style-type: none;
}
.I18nEditFilterPopover {
font-size: 14px;
padding: .8em;
}
/* Translation editor */
#I18nEditEditorTable {
width: 100%;
}
#I18nEditEditorTable th {
width: 25%;
}
#I18nEditEditorTable tr > td:nth-child(3) {
white-space: pre-line;
}
.I18nEditEditor.lang-en #I18nEditEditorTable tr > th:nth-child(3),
.I18nEditEditor.lang-en #I18nEditEditorTable tr > td:nth-child(3),
.I18nEditEditor.lang-qqq #I18nEditEditorTable tr > th:nth-child(2),
.I18nEditEditor.lang-qqq #I18nEditEditorTable tr > td:nth-child(2) {
display: none;
}
/* Metadata editor */
.I18nEditMetadataEditorWarning {
font-weight: bold;
}
.I18nEditAddNewMessageButton, #I18nEditEditorSubmit, #I18nEditButtonContainer button {
margin-left: 0.5em;
}
.I18nEditTranslateInput {
font: inherit;
width: calc(100% - 4px);
}