File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,14 +196,16 @@ function ActivityList() {
196196 ) }
197197 </ div >
198198 </ label >
199- < button
200- type = "button"
201- onClick = { handleClearFilters }
202- disabled = { ! filter . type && ! filter . date && ! filter . location }
203- className = { styles . clearButton }
204- >
205- Clear All
206- </ button >
199+ < div className = { styles . clearButtonWrapper } >
200+ < button
201+ type = "button"
202+ onClick = { handleClearFilters }
203+ disabled = { ! filter . type && ! filter . date && ! filter . location }
204+ className = { styles . clearButton }
205+ >
206+ Clear All
207+ </ button >
208+ </ div >
207209 </ div >
208210 < div className = { `${ styles . activityList } ${ darkMode ? styles . darkModeList : '' } ` } >
209211 { loading ? (
Original file line number Diff line number Diff line change 3636.filters {
3737 display : flex;
3838 justify-content : center;
39+ align-items : flex-end;
3940 gap : 30px ;
4041 margin : 30px 0 ;
4142 padding : 10px ;
7576 background-color : # 1e2a3a !important ;
7677 color : # ffffff !important ;
7778 border : 1px solid # 3a4a5c !important ;
79+ color-scheme : dark;
80+ }
81+
82+ /* Dark mode date input - style the calendar icon */
83+ .darkModeInput [type = "date" ]::-webkit-calendar-picker-indicator {
84+ filter : invert (1 );
85+ cursor : pointer;
7886}
7987
8088.filters input : focus {
94102 color : # a0a0a0 ;
95103}
96104
105+ /* Clear All button */
106+ .clearButton {
107+ padding : 10px 20px ;
108+ background-color : # ef4444 ;
109+ color : # ffffff ;
110+ border : none;
111+ border-radius : 6px ;
112+ font-size : 1rem ;
113+ cursor : pointer;
114+ transition : all 0.3s ease;
115+ }
116+
117+ .clearButton : hover : not (: disabled ) {
118+ background-color : # dc2626 ;
119+ transform : translateY (-2px );
120+ box-shadow : 0 4px 8px rgba (239 , 68 , 68 , 0.3 );
121+ }
122+
123+ .clearButton : disabled {
124+ background-color : # 9ca3af ;
125+ cursor : not-allowed;
126+ opacity : 0.6 ;
127+ }
128+
97129.activityList {
98130 max-width : 900px ;
99131 margin : 0 auto;
You can’t perform that action at this time.
0 commit comments