Add: usercss documentation link in the editor
This commit is contained in:
parent
7ca993821a
commit
ce2a21451a
|
@ -329,6 +329,10 @@
|
||||||
"message": "Support",
|
"message": "Support",
|
||||||
"description": "Label for the external link to style's support site"
|
"description": "Label for the external link to style's support site"
|
||||||
},
|
},
|
||||||
|
"externalUsercssDocument": {
|
||||||
|
"message": "Documentation for Usercss",
|
||||||
|
"description": "Label for the external link to usercss documentation"
|
||||||
|
},
|
||||||
"filteredStyles": {
|
"filteredStyles": {
|
||||||
"message": "$numShown$ shown of $numTotal$ total",
|
"message": "$numShown$ shown of $numTotal$ total",
|
||||||
"description": "TL note - make this message short",
|
"description": "TL note - make this message short",
|
||||||
|
|
|
@ -134,6 +134,10 @@ h2 .svg-icon, label .svg-icon {
|
||||||
#options .option > * {
|
#options .option > * {
|
||||||
padding-right: 0.25rem;
|
padding-right: 0.25rem;
|
||||||
}
|
}
|
||||||
|
/* footer */
|
||||||
|
#footer {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
/************ content ***********/
|
/************ content ***********/
|
||||||
#sections > div {
|
#sections > div {
|
||||||
margin: 0.7rem;
|
margin: 0.7rem;
|
||||||
|
|
|
@ -17,6 +17,11 @@ function createSourceEditor(style) {
|
||||||
]})
|
]})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$('#header').appendChild($element({
|
||||||
|
id: 'footer',
|
||||||
|
appendChild: makeLink('https://github.com/openstyles/stylus/wiki/Usercss', t('externalUsercssDocument'))
|
||||||
|
}));
|
||||||
|
|
||||||
setupOptionsExpand();
|
setupOptionsExpand();
|
||||||
|
|
||||||
// dirty reporter
|
// dirty reporter
|
||||||
|
|
Loading…
Reference in New Issue
Block a user