Skip to content

Commit

Permalink
ui issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HimanshuNarware committed Sep 2, 2024
1 parent 648618e commit 7fd6e49
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
9 changes: 9 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ html {
box-sizing: border-box;
/* cursor: none; */
}
.disable-text-selection {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}




body {
min-height: 100vh;
Expand Down
16 changes: 9 additions & 7 deletions frontend/src/style/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@

@media (prefers-color-scheme: dark) {
.sidebar {
background-color: var(--sidebar-bg-dark);
box-shadow: 0 0 15px var(--sidebar-bg-dark),
0 0 20px var(--sidebar-bg-dark),
0 0 25px var(--sidebar-bg-dark),
0 0 30px var(--sidebar-bg-dark);
background-color: var(--sidebar-bg-light);
box-shadow: 0 0 15px var(--sidebar-bg-light),
0 0 20px var(--sidebar-bg-light),
0 0 25px var(--sidebar-bg-light),
0 0 30px var(--sidebar-bg-light);

}

.sidebar-btn a {
Expand All @@ -40,7 +41,8 @@
--bubble-hover-dark: #ff00ff;
}

@media (prefers-color-scheme: dark) {

@media (prefers-color-scheme: light){
:root {
--sidebar-bg: var(--sidebar-bg-dark);
--sidebar-text: var(--sidebar-text-dark);
Expand All @@ -50,7 +52,7 @@
}
}

@media (prefers-color-scheme: light) {
@media (prefers-color-scheme: dark) {
:root {
--sidebar-bg: var(--sidebar-bg-light);
--sidebar-text: var(--sidebar-text-light);
Expand Down

0 comments on commit 7fd6e49

Please sign in to comment.