From: Ardis Lu Date: Sun, 9 Oct 2022 04:43:46 +0000 (-0700) Subject: Style help button and dialog X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=9b7cd694ebd2fa0db33b7719df71e1c3b3ce407f;p=google-forms-frontend Style help button and dialog --- diff --git a/index.html b/index.html index 116a2db..ee7b1d6 100644 --- a/index.html +++ b/index.html @@ -51,6 +51,38 @@ button { margin-inline-end: 1rem; } + + .help { + background: transparent; + border: none; + padding: 0; + width: 48px; + position: fixed; + right: 16px; + bottom: 16px; + cursor: pointer; + } + + .help>svg { + transition: transform 500ms, filter 500ms; + } + + .help>svg:hover { + transform: translateY(-5%); + filter: drop-shadow(0 0 16px var(--secondary)); + transition: transform 150ms, filter 300ms; + } + + dialog { + background: var(--primary-lightest); + border: none; + border-block-start: 8px solid var(--secondary); + border-radius: 0 0 4px 4px; + } + + dialog h1 { + margin: 0; + } google-forms-frontend