Skip to content

Commit

Permalink
apply borderless view in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Light2Dark committed Feb 7, 2025
1 parent e40879e commit e362178
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions frontend/src/css/app/Cell.css
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,7 @@

/* Borderless styles for Cell */
&.borderless {
border-color: transparent;
box-shadow: none;

/* Apply the original styles */
&:hover {
border: 1px solid var(--gray-4);
@apply shadow-smSolid shadow-shade;
}
@apply borderless-common;
}

/* -------------------------- Shoulders/Buttons ---------------------------- */
Expand All @@ -233,8 +226,23 @@
@apply bg-background;
}

.borderless-common {
border-color: transparent;
box-shadow: none;

/* Apply the original styles */
&:hover {
border: 1px solid var(--gray-4);
@apply shadow-smSolid shadow-shade;
}
}

.dark .Cell {
@apply border-border;

&.borderless {
@apply borderless-common;
}
}

#App.disconnected {
Expand Down

0 comments on commit e362178

Please sign in to comment.