Skip to content
Snippets Groups Projects
Commit a63ba7c6 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Improve styling

parent d39a01f8
No related branches found
No related tags found
No related merge requests found
...@@ -240,7 +240,12 @@ class VPUAuth extends LitElement { ...@@ -240,7 +240,12 @@ class VPUAuth extends LitElement {
} }
static get styles() { static get styles() {
// language=css
return css` return css`
.dropdown, img.login {
cursor: pointer;
}
a.dropdown-item { a.dropdown-item {
width: initial !important; width: initial !important;
} }
...@@ -249,6 +254,10 @@ class VPUAuth extends LitElement { ...@@ -249,6 +254,10 @@ class VPUAuth extends LitElement {
min-width: 150px; min-width: 150px;
} }
.dropdown-trigger {
white-space: nowrap;
}
vpu-icon { vpu-icon {
height: 1em; height: 1em;
width: 1em; width: 1em;
...@@ -296,6 +305,7 @@ class VPUAuth extends LitElement { ...@@ -296,6 +305,7 @@ class VPUAuth extends LitElement {
renderLoggedOut() { renderLoggedOut() {
return html` return html`
<img src="/local/vpu-auth/icon_key_normal_tugprod.png" <img src="/local/vpu-auth/icon_key_normal_tugprod.png"
class="login"
@click="${this.login}" @click="${this.login}"
onmouseover="this.setAttribute('src', '/local/vpu-auth/icon_key_hover_tugprod.png');" onmouseover="this.setAttribute('src', '/local/vpu-auth/icon_key_hover_tugprod.png');"
onmouseout="this.setAttribute('src', '/local/vpu-auth/icon_key_normal_tugprod.png');" onmouseout="this.setAttribute('src', '/local/vpu-auth/icon_key_normal_tugprod.png');"
......
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