diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:19:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:53:24 +0000 |
commit | b5f8ee61a7f7e9bd291dd26b0585d03eb686c941 (patch) | |
tree | d4d31289c39fc00da064a825df13a0b98ce95b10 /src/web/gui/v2/static/splash.css | |
parent | Adding upstream version 1.44.3. (diff) | |
download | netdata-b5f8ee61a7f7e9bd291dd26b0585d03eb686c941.tar.xz netdata-b5f8ee61a7f7e9bd291dd26b0585d03eb686c941.zip |
Adding upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/web/gui/v2/static/splash.css')
-rw-r--r-- | src/web/gui/v2/static/splash.css | 171 |
1 files changed, 171 insertions, 0 deletions
diff --git a/src/web/gui/v2/static/splash.css b/src/web/gui/v2/static/splash.css new file mode 100644 index 000000000..f20b6ac41 --- /dev/null +++ b/src/web/gui/v2/static/splash.css @@ -0,0 +1,171 @@ +:root { + --main-bg: #080a0a; + --font-color: #b7c2c2; + --primary-green: #00ab44; + --column-gap: 8px; + --logo-color: #f1fff7; + --button-text-green: #00cd51; + --border-color: #536775; +} + +body { + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; + background: var(--main-bg); + color: var(--font-color); + font-weight: 200; + font-size: 14px; + line-height: 20px; +} +iframe.hidden { + display: none; +} +#agent-splash-screen a:link, +#agent-splash-screen a:visited, +#agent-splash-screen a:active { + font-size: 12px; + color: var(--primary-green); + font-weight: normal; +} +#agent-splash-screen .hero { + position: relative; + display: flex; + width: 500px; + margin: auto; + align-items: center; + justify-content: center; + flex-direction: column; + gap: calc(var(--column-gap) * 4); + text-align: center; + margin: 120px auto 32px; +} +#agent-splash-screen .logo-container { + position: relative; +} +#agent-splash-screen .logo-blur { + position: absolute; + width: 315px; + height: 315px; + left: -100%; + top: -100%; + filter: blur(30px); + pointer-events: none; +} +#agent-splash-screen .logo { + filter: drop-shadow(-6px -2px 20px rgba(255, 255, 255, 0.6)) blur(0.7px); +} + +#agent-splash-screen.loading .logo { + animation: glow 800ms linear infinite alternate; +} +#agent-splash-screen .headings { + display: flex; + flex-direction: column; + gap: calc(var(--column-gap) * 2); + height: 104px; +} +#agent-splash-screen .title { + font-size: 22px; + line-height: 26px; + font-weight: 200; + margin: 0; +} +#agent-splash-screen .subtitle { + font-size: 14px; + line-height: 20px; + margin: 0; +} +#agent-splash-screen .flex-center { + display: flex; + align-items: center; + justify-content: center; + gap: 2px; +} +#agent-splash-screen .flex-column { + flex-direction: column; +} +#agent-splash-screen a.button { + appearance: none; + border: none; + border-radius: 2px; + cursor: pointer; + text-decoration: none; + text-align: center; +} +#agent-splash-screen a.button svg { + width: 22px; + height: 16px; +} +#agent-splash-screen a.button.ghost { + background: transparent; + color: var(--button-text-green); + padding: 4px 6px; + font-size: 14px; + font-weight: 200; +} +#agent-splash-screen a.button.ghost:hover { + background: #00441b; +} + +#agent-splash-screen a.button.large { + background: transparent; + border: 1px solid var(--primary-green); + font-size: 18px; + padding: 12px; + color: var(--button-text-green); + width: 100%; + font-weight: 200; +} +#agent-splash-screen a.button.large:hover { + background: #00441b; +} +#agent-splash-screen .loading-message .subtitle { + display:none; +} +#agent-splash-screen.loading .loading-message .subtitle { + display:block; + height: 56px; +} +#agent-splash-screen .loading-message .flex-center { + display: none; +} +#agent-splash-screen.error .loading-message .flex-center { + display: flex; + margin: 8px auto; +} +#agent-splash-screen .loading-message table { + display: none; + border-collapse: collapse; + border: 1px solid var(--border-color); + color: var(--font-color); +} +#agent-splash-screen.table .loading-message table { + display: table; + margin: 8px auto; +} +#agent-splash-screen .dashboard-buttons { + width: 320px; + margin: auto; + gap: 24px; +} +#agent-splash-screen .terms { + position: absolute; + bottom: 40px; + left: 0; + right: 0; + margin: auto; +} +.green { + color: var(--primary-green); +} +@keyframes glow { + from { + filter: drop-shadow(-6px -2px 20px rgba(255, 255, 255, 0.9)) blur(0.9px); + } + to { + filter: drop-shadow(-6px -2px 20px rgba(255, 255, 255, 0.3)) blur(0.4px); + } +} |