Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- static/favicon.png +0 -0
- static/sprites/aloe.png +0 -0
- static/sprites/cactaceae.png +0 -0
- static/sprites/chamaedorea.png +0 -0
- static/sprites/ficus.png +0 -0
- static/style.css +143 -0
static/favicon.png
ADDED
|
|
static/sprites/aloe.png
ADDED
|
|
static/sprites/cactaceae.png
ADDED
|
|
static/sprites/chamaedorea.png
ADDED
|
|
static/sprites/ficus.png
ADDED
|
|
static/style.css
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* === App shell ============================================================ */
|
| 2 |
+
.gradio-container {
|
| 3 |
+
max-width: 1400px !important;
|
| 4 |
+
margin: 0 auto !important;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
.gradio-container, .gradio-container .prose {
|
| 8 |
+
font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
body, .gradio-container {
|
| 12 |
+
background: linear-gradient(180deg, #eef7ee 0%, #f7f4ec 100%) !important;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
/* === Header ================================================================ */
|
| 16 |
+
#header-bar {
|
| 17 |
+
align-items: center;
|
| 18 |
+
padding: 0.25rem 0 0.75rem 0;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
#header-bar h1 {
|
| 22 |
+
margin: 0 !important;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
/* === Floating "add plant" button ========================================== */
|
| 26 |
+
#add-plant-fab {
|
| 27 |
+
position: fixed;
|
| 28 |
+
top: 1.25rem;
|
| 29 |
+
right: 1.5rem;
|
| 30 |
+
z-index: 1000;
|
| 31 |
+
width: 56px;
|
| 32 |
+
height: 56px;
|
| 33 |
+
min-width: 56px;
|
| 34 |
+
border-radius: 50% !important;
|
| 35 |
+
font-size: 1.6rem;
|
| 36 |
+
line-height: 1;
|
| 37 |
+
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
|
| 38 |
+
background: #4caf50 !important;
|
| 39 |
+
color: #ffffff !important;
|
| 40 |
+
border: none !important;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
#add-plant-fab:hover {
|
| 44 |
+
background: #43a047 !important;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
/* === Add-plant drawer (inline card) ========================================= */
|
| 48 |
+
#add-drawer {
|
| 49 |
+
background: #fffdf8;
|
| 50 |
+
border-radius: 16px;
|
| 51 |
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
| 52 |
+
padding: 1.5rem;
|
| 53 |
+
margin-bottom: 1rem;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
#close-drawer-btn {
|
| 57 |
+
margin-top: 0.5rem;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
/* === Garden board (gallery) ================================================ */
|
| 61 |
+
#garden-grid {
|
| 62 |
+
background: repeating-linear-gradient(
|
| 63 |
+
to bottom,
|
| 64 |
+
#e7f3e3 0px, #e7f3e3 96px, #d9ecd2 96px, #d9ecd2 100px
|
| 65 |
+
);
|
| 66 |
+
border-radius: 16px !important;
|
| 67 |
+
padding: 12px !important;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
#garden-grid img {
|
| 71 |
+
image-rendering: pixelated;
|
| 72 |
+
image-rendering: -moz-crisp-edges;
|
| 73 |
+
image-rendering: crisp-edges;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
#garden-grid .thumbnail-item {
|
| 77 |
+
background: transparent !important;
|
| 78 |
+
border: none !important;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
/* === Detail card =========================================================== */
|
| 82 |
+
#plant-detail {
|
| 83 |
+
background: #ffffffcc;
|
| 84 |
+
border-radius: 12px;
|
| 85 |
+
padding: 0.5rem 1rem;
|
| 86 |
+
margin-top: 0.5rem;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
/* === Sidebar ================================================================ */
|
| 90 |
+
#sidebar {
|
| 91 |
+
background: #ffffffaa;
|
| 92 |
+
border-radius: 16px;
|
| 93 |
+
padding: 1rem !important;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
#sidebar h3 {
|
| 97 |
+
margin-top: 0.25rem;
|
| 98 |
+
margin-bottom: 0.5rem;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
/* Card-ify the recommendation / forecast tables */
|
| 102 |
+
#watering-cards .table-wrap, #forecast-strip .table-wrap {
|
| 103 |
+
border: none !important;
|
| 104 |
+
background: transparent !important;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
#watering-cards .header-table thead, #forecast-strip .header-table thead {
|
| 108 |
+
display: none;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
#watering-cards .virtual-body, #forecast-strip .virtual-body {
|
| 112 |
+
width: 100% !important;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
#watering-cards .virtual-row, #forecast-strip .virtual-row {
|
| 116 |
+
background: transparent !important;
|
| 117 |
+
width: 100% !important;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
#watering-cards .body-cell, #forecast-strip .body-cell {
|
| 121 |
+
border: none !important;
|
| 122 |
+
background: #f3f9f1 !important;
|
| 123 |
+
border-radius: 8px !important;
|
| 124 |
+
flex: 1 1 0% !important;
|
| 125 |
+
width: auto !important;
|
| 126 |
+
min-width: 0 !important;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
#watering-cards .cell-wrap, #forecast-strip .cell-wrap {
|
| 130 |
+
padding: 0.4rem 0.5rem !important;
|
| 131 |
+
width: auto !important;
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
/* === Location gate (welcome card) ========================================== */
|
| 135 |
+
#location-gate {
|
| 136 |
+
max-width: 480px;
|
| 137 |
+
margin: 4rem auto !important;
|
| 138 |
+
text-align: center;
|
| 139 |
+
background: #ffffffcc;
|
| 140 |
+
border-radius: 16px;
|
| 141 |
+
padding: 2rem !important;
|
| 142 |
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
|
| 143 |
+
}
|