diff options
Diffstat (limited to 'static/pages/main/index.css')
| -rw-r--r-- | static/pages/main/index.css | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/static/pages/main/index.css b/static/pages/main/index.css new file mode 100644 index 0000000..421e689 --- /dev/null +++ b/static/pages/main/index.css @@ -0,0 +1,69 @@ + +:host { + display: grid; + height: 100%; + width: 100%; + background: var(--page-background); +} + +#bar { + position: fixed; + bottom: 5px; + left: 5px; + right: 5px; + background: #fff9; + box-shadow: #223223aa 1px 1px 4px; + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr 1fr ; + height: 50px; + backdrop-filter: blur(10px); + border-radius: var(--border-radius); + transition: bottom 0.1s ease; +} + +#bar.hidden { + bottom: -200px; +} + +.menu-button { + color: var(--fg-disabled); + width: 18px; + height: 18px; + border-radius: 100%; + margin: auto; + cursor: pointer; + user-select: none; + align-content: center; + text-align: center; +} + +.menu-button.add { + width: 60px; + height: 60px; + margin-top: -20px; + background: var(--primary); + transition: width 0.1s ease, height 0.1s ease, margin 0.1s ease; + color: var(--card-background); + font-weight: bold; + font-size: 2em; +} + +.menu-button.add .icon { + width: 30px; + height: 30px; + display: grid; + margin: auto; +} + +.menu-button.add .icon .bi-house-fill { + width: 20px; + height: 20px; + margin: auto; +} + +.menu-button .icon { + width: 100%; + height: 100%; + display: grid; + margin: auto; +} |