aboutsummaryrefslogtreecommitdiff
path: root/static/pages/main/index.css
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-11-13 14:56:02 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2025-11-13 14:56:02 +0100
commitc7b02f02ad0a7e2888f2d7d3599719e59bbd1ee2 (patch)
tree9f782daf2e2ff78559958f15e0b9ffe5ece78334 /static/pages/main/index.css
parent7ee9d320e6ba9a84542d838892c43cf98b268552 (diff)
frontend: design prototype
Diffstat (limited to 'static/pages/main/index.css')
-rw-r--r--static/pages/main/index.css69
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;
+}