diff options
| author | Paul-Christian Volkmer | 2024-01-11 13:09:55 +0100 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2024-01-11 13:29:33 +0100 |
| commit | 8a11e6e85b2b2cb4f860ddca010386cb3f701f9b (patch) | |
| tree | e5e21d21cba3f6d5845b185bce26a5d80e126b42 /src/main/resources/static/style.css | |
| parent | 5579ad14534111db6954b772ccd0ea72a09e4c15 (diff) | |
feat #18: initial support for authentication
Diffstat (limited to 'src/main/resources/static/style.css')
| -rw-r--r-- | src/main/resources/static/style.css | 69 |
1 files changed, 65 insertions, 4 deletions
diff --git a/src/main/resources/static/style.css b/src/main/resources/static/style.css index b2ba085..fee5d4c 100644 --- a/src/main/resources/static/style.css +++ b/src/main/resources/static/style.css @@ -74,20 +74,25 @@ nav > ul { nav > ul > li { display: inline-block; padding: 0 1rem; - border-left: 1px solid var(--table-border); } -nav > ul > li:first-of-type { - border-left: none; +nav > ul > li.login { + margin: 0 0 0 1em; + padding: 0 0 0 2em; + border-left: 1px solid var(--table-border); } nav li a { - color: #004a8f; + color: var(--bg-blue); text-transform: uppercase; text-decoration: none; font-weight: 700; } +nav li.login a { + color: var(--bg-red); +} + nav li a:hover { text-decoration: underline; } @@ -177,6 +182,39 @@ form.samplecode-input input:focus-visible { background: lightgreen; } +.login-form { + width: fit-content; + margin: 3em auto; + padding: 2em 5em; + + border: 1px solid var(--table-border); + border-radius: .5em; + background: white; +} + +.login-form form { + width: 20em; + margin: 0 auto; + display: grid; + grid-gap: .5em; + + border: none; + background: none; +} + +.login-form form * { + padding: 0.5em; + border: 1px solid var(--table-border); + border-radius: 3px; +} + +.login-form button { + margin: 1em 0; + background: var(--bg-blue); + color: white; + border: none; +} + .border { padding: 1.5em; border: 1px solid var(--table-border); @@ -200,6 +238,7 @@ table { } .border > table { + padding: 0; border: none; background: transparent; } @@ -272,6 +311,13 @@ td > small { text-align: center; } +td.patient-id { + width: 32em; + text-overflow: ellipsis; + overflow: hidden; + display: block; +} + td.bg-blue, th.bg-blue, td.bg-green, th.bg-green, td.bg-yellow, th.bg-yellow, @@ -459,4 +505,19 @@ input.inline:focus-visible { .connection-display .connection.available { background: var(--bg-green); +} + +.notification { + margin: 1em; + padding: .5em; + border-radius: 3px; + text-align: center; +} + +.notification.success { + color: var(--bg-green); +} + +.notification.error { + color: var(--bg-red); }
\ No newline at end of file |
