mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 14:41:21 +00:00
GUAC-1161: Convert login page to directive which accepts a dynamic form. Display login directive when credentials are needed.
This commit is contained in:
@@ -27,6 +27,8 @@ div.login-ui {
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: table;
|
||||
background: white;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
p.login-error {
|
||||
@@ -52,3 +54,35 @@ p.login-error {
|
||||
text-align: center;
|
||||
color: #964040;
|
||||
}
|
||||
|
||||
.login-fields .form-field .password-field .toggle-password {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.login-fields .labeled-field {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.login-fields .field-header {
|
||||
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
overflow: hidden;
|
||||
|
||||
z-index: -1;
|
||||
margin: 0.5em;
|
||||
font-size: 0.9em;
|
||||
opacity: 0.5;
|
||||
|
||||
}
|
||||
|
||||
.login-fields .form-field.empty input {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.login-fields .form-field input:focus {
|
||||
background: white;
|
||||
}
|
||||
|
Reference in New Issue
Block a user