Skip to content
Snippets Groups Projects
Commit d77079af authored by Kocher, Manuel's avatar Kocher, Manuel
Browse files

Add styling example to dbp-translation

parent cdff8270
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,15 @@ export class Translation extends DBPLitElement {
.hidden {
display: none;
}
.links {
border-bottom: var(--dbp-border);
border-color: var(--dbp-content);
padding: 0;
transition: background-color 0.15s ease 0s, color 0.15s ease 0s;
color: var(--dbp-content);
cursor: pointer;
text-decoration: none;
}
`;
}
......
{
"dbp-translation": {
"toolkit-showcase": "Dieser Text wird mithilfe von i18n aus einer benutzerdefinierten Sprachdatei gelesen und ins Englische übersetzt wenn man die Sprache auf Englisch stellt.",
"toolkit-showcase-link": "Es können sogar links mittels <a href=\"{{- link1}}\">interpolation</a> und escaping dargestellt werden.",
"toolkit-showcase-link": "Es können sogar links mittels <a href=\"{{- link1}}\" class=\"links\">interpolation</a> und escaping dargestellt werden.",
"color-mode": "Sollte nicht angezeigt werden. Dieser Text ist nur als test vorhanden.",
"intro": "Sollte nicht angezeigt werden. Dieser Text ist nur als test vorhanden."
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment