Skip to content

Commit ac0bebc

Browse files
authored
Merge pull request #379 from Adez017/frontend
Bug Fix: Fixed the blurry effect on the dashboard states
2 parents 13ae9c2 + 489fc0b commit ac0bebc

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

src/pages/dashboard/dashboard.css

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@
313313
border: 1px solid var(--ifm-color-border);
314314
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
315315
backdrop-filter: blur(10px);
316+
/* background-color: rgba(255, 255, 255, 0.95); */
316317
position: relative;
317318
overflow: hidden;
318319
}
@@ -1986,20 +1987,32 @@
19861987
}
19871988

19881989
.dashboard-stat-value {
1989-
font-size: 3rem;
1990+
/* font-size: 3rem;
19901991
font-weight: 800;
1991-
background: linear-gradient(
1992+
1993+
-webkit-background-clip: text;
1994+
-webkit-text-fill-color: transparent;
1995+
1996+
margin-bottom: 0.5rem;
1997+
text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
1998+
transition: all 0.3s ease;
1999+
position: relative; */
2000+
/* background: linear-gradient(
19922001
135deg,
19932002
var(--ifm-color-primary) 0%,
19942003
var(--ifm-color-primary-dark) 100%
1995-
);
1996-
-webkit-background-clip: text;
1997-
-webkit-text-fill-color: transparent;
2004+
); */
2005+
/* not removed the properties as this can be used later on */
19982006
background-clip: text;
2007+
font-size: 3rem;
2008+
font-weight: 800;
2009+
color: var(--ifm-color-primary);
19992010
margin-bottom: 0.5rem;
20002011
text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
2001-
transition: all 0.3s ease;
2012+
transition: color 0.3s ease;
20022013
position: relative;
2014+
-webkit-font-smoothing: antialiased;
2015+
-moz-osx-font-smoothing: grayscale;
20032016
}
20042017

20052018
.dashboard-stat-card:hover .dashboard-stat-value {

0 commit comments

Comments
 (0)