-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
142 lines (122 loc) · 2.79 KB
/
style.css
File metadata and controls
142 lines (122 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/* Custom animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
animation: fadeIn 0.6s ease-out forwards;
}
/* Custom styles that extend Tailwind */
.feature:hover .feature-icon {
transform: scale(1.1);
transition: transform 0.3s ease;
}
/* Decorative elements */
.leaf-decoration {
position: absolute;
right: 0;
top: 0;
height: 100%;
width: 300px;
z-index: 10;
opacity: 0.8;
pointer-events: none;
}
.leaf {
position: absolute;
right: 10%;
width: 150px;
height: 150px;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%234CAF50" d="M50,5 C60,20 80,30 80,50 C80,70 60,80 50,95 C40,80 20,70 20,50 C20,30 40,20 50,5 Z"/></svg>');
background-repeat: no-repeat;
filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.5));
}
.leaf-1 { top: 20%; transform: rotate(15deg); }
.leaf-2 { top: 40%; transform: rotate(-10deg); }
.leaf-3 { top: 60%; transform: rotate(5deg); }
.blur-balls {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 300px;
height: 300px;
z-index: -1;
}
.blur-ball {
position: absolute;
border-radius: 50%;
filter: blur(40px);
}
.blur-ball-1 {
width: 200px;
height: 200px;
background: rgba(76, 175, 80, 0.2);
right: -50px;
top: 0;
}
.blur-ball-2 {
width: 150px;
height: 150px;
background: rgba(76, 175, 80, 0.15);
right: 50px;
top: 150px;
}
/* Responsive adjustments */
@media (max-width: 640px) {
.hero-text {
font-size: 2.5rem;
}
.leaf-decoration {
display: none;
}
}
/* Dashboard specific styles */
.value-display {
font-size: 2.5rem;
font-weight: bold;
min-width: 100px;
text-align: center;
color: #3b82f6;
}
.value-display:empty:before {
content: "N/A";
color: #6b7280;
font-style: italic;
}
.dark .value-display {
color: #60a5fa;
}
.dark .value-display:empty:before {
color: #9ca3af;
}
#crop-recommendations .card {
transition: all 0.3s ease;
border-radius: 0.5rem;
padding: 1rem;
margin-bottom: 1rem;
border: 1px solid #e5e7eb;
}
.dark #crop-recommendations .card {
border-color: #374151;
}
#crop-recommendations .card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#sensorChart {
width: 100% !important;
height: 300px !important;
}
.sensor-card {
border: 1px solid #e5e7eb;
border-radius: 0.5rem;
padding: 1.5rem;
background-color: white;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.dark .sensor-card {
background-color: #1e293b;
border-color: #334155;
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}