diff options
| author | 2021-11-11 20:01:28 +0100 | |
|---|---|---|
| committer | 2021-11-11 20:01:28 +0100 | |
| commit | 079b7b961f0eb152debc2e8df3ff99d6e59fe070 (patch) | |
| tree | 3b266212793b40261d1f05a2078bc840fc08478c /p/themes | |
| parent | 26afec23794c251ff86b3ff51140c4bc992e1d89 (diff) | |
Improve install routine: database password input with "show password" button (#3962)
* wip
* CSS better btn
* CSS: RTL
* button is better than a
* improved CSS for button
Diffstat (limited to 'p/themes')
| -rw-r--r-- | p/themes/Origine/origine.css | 13 | ||||
| -rw-r--r-- | p/themes/Origine/origine.rtl.css | 13 |
2 files changed, 20 insertions, 6 deletions
diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index 1021f47c6..31b9cc4fd 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -47,10 +47,11 @@ option { padding: 0 .5em; } -input:focus, select:focus, textarea:focus { +input:focus, select:focus, textarea:focus, input[type="password"]:focus + .toggle-password { color: #0062be; border-color: #3bf; box-shadow: 0 2px 2px #ddf inset; + outline: none; } input:invalid, select:invalid { @@ -114,11 +115,17 @@ form th { padding: 0; } -.form-group .group-controls input, -.form-group .group-controls select { +.form-group .group-controls > input, +.form-group .group-controls > select, +.form-group .group-controls .stick { margin: -5px 0; } +.form-group .group-controls .stick .btn { + padding-top: 2px; + padding-bottom: 2px; +} + /*=== Buttons */ .stick { vertical-align: middle; diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css index 7649c8ed4..da0837a27 100644 --- a/p/themes/Origine/origine.rtl.css +++ b/p/themes/Origine/origine.rtl.css @@ -47,10 +47,11 @@ option { padding: 0 .5em; } -input:focus, select:focus, textarea:focus { +input:focus, select:focus, textarea:focus, input[type="password"]:focus + .toggle-password { color: #0062be; border-color: #3bf; box-shadow: 0 2px 2px #ddf inset; + outline: none; } input:invalid, select:invalid { @@ -114,11 +115,17 @@ form th { padding: 0; } -.form-group .group-controls input, -.form-group .group-controls select { +.form-group .group-controls > input, +.form-group .group-controls > select, +.form-group .group-controls .stick { margin: -5px 0; } +.form-group .group-controls .stick .btn { + padding-top: 2px; + padding-bottom: 2px; +} + /*=== Buttons */ .stick { vertical-align: middle; |
