Update main.css
This commit is contained in:
1 parent
d5e8468a2c
commit
44e585a27a
1 file changed
+19
-1
@@ -42,7 +42,6 @@
|
||||
[data-theme="dark"] body {
|
||||
color: var(--text-content-dark-color);
|
||||
background-color: var(--background-dark-color);
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .main {
|
||||
@@ -4936,3 +4935,22 @@ html[data-theme="light"] .atk-loading-spinner svg circle {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Dark Mode Background Mask */
|
||||
body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
[data-theme='dark'] body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
Reference in new issue
Block a user