Skip to content

Commit 3df9ab6

Browse files
committed
removing delay when changing themes
1 parent 042e1b5 commit 3df9ab6

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/pages/dashboard/dashboard.css

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
z-index: 1051;
6363
}
6464

65-
.dashboard-mobile-menu > div:last-child {
65+
.dashboard-mobile-menu>div:last-child {
6666
position: absolute;
6767
top: 0;
6868
left: 0;
@@ -76,7 +76,7 @@
7676
transition: transform 0.3s ease;
7777
}
7878

79-
.dashboard-mobile-menu.show > div:last-child {
79+
.dashboard-mobile-menu.show>div:last-child {
8080
transform: translateX(0);
8181
}
8282

@@ -159,11 +159,11 @@
159159
display: flex;
160160
align-items: center;
161161
padding: 10px;
162-
background: var(--ifm-color-emphasis-100);
162+
background-color: var(--ifm-color-emphasis-100);
163163
border: none;
164164
border-radius: 8px;
165165
cursor: pointer;
166-
transition: all 0.2s ease;
166+
transition: all 0s ease;
167167
color: var(--ifm-color-content);
168168
}
169169

@@ -295,11 +295,9 @@
295295
left: 0;
296296
right: 0;
297297
height: 4px;
298-
background: linear-gradient(
299-
90deg,
300-
var(--ifm-color-primary),
301-
var(--ifm-color-primary-light)
302-
);
298+
background: linear-gradient(90deg,
299+
var(--ifm-color-primary),
300+
var(--ifm-color-primary-light));
303301
}
304302

305303
.dashboard-stat-card:hover {
@@ -715,4 +713,4 @@
715713
[data-theme="dark"] .loading-spinner {
716714
border-color: var(--ifm-color-emphasis-300);
717715
border-top-color: var(--ifm-color-primary);
718-
}
716+
}

0 commit comments

Comments
 (0)