Skip to content

Commit 0001c55

Browse files
authored
Merge branch 'recodehive:main' into fix-giveaway-page
2 parents 53ac8a1 + 7f52023 commit 0001c55

File tree

1 file changed

+19
-47
lines changed

1 file changed

+19
-47
lines changed

src/theme/Footer/Layout/enhanced-footer.css

Lines changed: 19 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
/* Enhanced Footer Styles - COMPLETELY ISOLATED FROM THEME CHANGES */
22

33
/* Theme-aware footer styles */
4-
.enhanced-footer.light-theme {
5-
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%) !important;
6-
color: #1e293b !important;
7-
}
8-
4+
.enhanced-footer.light-theme,
95
.enhanced-footer.dark-theme {
106
background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%) !important;
117
color: #e2e8f0 !important;
@@ -122,16 +118,12 @@ html[data-theme='light'] .enhanced-footer * {
122118
}
123119

124120
/* Force the main footer background and colors to never change */
125-
.enhanced-footer.dark-theme {
121+
.enhanced-footer.dark-theme,
122+
.enhanced-footer.light-theme {
126123
background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%) !important;
127124
color: #e2e8f0 !important;
128125
}
129126

130-
.enhanced-footer.light-theme {
131-
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%) !important;
132-
color: #1e293b !important;
133-
}
134-
135127
/* Absolute protection against any theme changes */
136128
[data-theme='dark'] .enhanced-footer.dark-theme,
137129
html[data-theme='dark'] .enhanced-footer.dark-theme {
@@ -141,8 +133,8 @@ html[data-theme='dark'] .enhanced-footer.dark-theme {
141133

142134
[data-theme='light'] .enhanced-footer.light-theme,
143135
html[data-theme='light'] .enhanced-footer.light-theme {
144-
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #94a3b8 75%, #64748b 100%) !important;
145-
color: #1e293b !important;
136+
background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%) !important;
137+
color: #e2e8f0 !important;
146138
}
147139

148140
/* Force all text elements to maintain their colors based on theme */
@@ -151,72 +143,52 @@ html[data-theme='light'] .enhanced-footer.light-theme {
151143
.enhanced-footer.dark-theme h3,
152144
.enhanced-footer.dark-theme h4,
153145
.enhanced-footer.dark-theme h5,
154-
.enhanced-footer.dark-theme h6 {
155-
color: #ffffff !important;
156-
}
157-
146+
.enhanced-footer.dark-theme h6,
158147
.enhanced-footer.light-theme h1,
159148
.enhanced-footer.light-theme h2,
160149
.enhanced-footer.light-theme h3,
161150
.enhanced-footer.light-theme h4,
162151
.enhanced-footer.light-theme h5,
163152
.enhanced-footer.light-theme h6 {
164-
color: #1e293b !important;
153+
color: #ffffff !important;
165154
}
166155

167156
.enhanced-footer.dark-theme p,
168157
.enhanced-footer.dark-theme span,
169158
.enhanced-footer.dark-theme div,
170-
.enhanced-footer.dark-theme li {
171-
color: #e2e8f0 !important;
172-
}
159+
.enhanced-footer.dark-theme li,
173160

174161
.enhanced-footer.light-theme p,
175162
.enhanced-footer.light-theme span,
176163
.enhanced-footer.light-theme div,
177-
.enhanced-footer.light-theme li {
178-
color: #475569 !important;
179-
}
180-
181-
.enhanced-footer.dark-theme a {
182-
color: #cbd5e1 !important;
164+
.enhanced-footer.light-theme li{
165+
color: #e2e8f0 !important;
183166
}
184167

168+
.enhanced-footer.dark-theme a,
185169
.enhanced-footer.light-theme a {
186-
color: #334155 !important;
187-
}
188-
189-
.enhanced-footer.dark-theme a:hover {
190-
color: #ffffff !important;
170+
color: #cbd5e1 !important;
191171
}
192172

173+
.enhanced-footer.dark-theme a:hover,
193174
.enhanced-footer.light-theme a:hover {
194-
color: #1e293b !important;
195-
}
196-
197-
/* Specific protection for footer elements */
198-
.enhanced-footer.dark-theme .footer-brand-title {
199175
color: #ffffff !important;
200176
}
201177

178+
/* Specific protection for footer elements */
179+
.enhanced-footer.dark-theme .footer-brand-title,
202180
.enhanced-footer.light-theme .footer-brand-title {
203-
color: #1e293b !important;
204-
}
205-
206-
.enhanced-footer.dark-theme .footer-column-title {
207181
color: #ffffff !important;
208182
}
209183

184+
.enhanced-footer.dark-theme .footer-column-title,
210185
.enhanced-footer.light-theme .footer-column-title {
211-
color: #1e293b !important;
212-
}
213-
214-
.enhanced-footer.dark-theme .footer-link {
215-
color: #cbd5e1 !important;
186+
color: #ffffff !important;
216187
}
217188

189+
.enhanced-footer.dark-theme .footer-link,
218190
.enhanced-footer.light-theme .footer-link {
219-
color: #334155 !important;
191+
color: #cbd5e1 !important;
220192
}
221193

222194
[data-theme='dark'] .enhanced-footer .footer-link:hover,

0 commit comments

Comments
 (0)