Skip to content

Commit

Permalink
use shadows instead of borders
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed May 22, 2024
1 parent 6fbc6c7 commit 5ee2445
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,24 +125,27 @@ html.interface-interface-skeleton__html-container {
}

.interface-interface-skeleton__sidebar {
border-top: $border-width solid $gray-200;
overflow: hidden;

@include break-medium() {
border-left: $border-width solid $gray-200;
box-shadow: -$border-width 0 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
}
}

.interface-interface-skeleton__secondary-sidebar {
border-top: $border-width solid $gray-200;
right: 0;

@include break-medium() {
border-right: $border-width solid $gray-200;
box-shadow: $border-width 0 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
}
}

.interface-interface-skeleton__header {
flex-shrink: 0;
height: auto; // Keep the height flexible.
border-bottom: $border-width solid $gray-200;
box-shadow: 0 $border-width 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
z-index: z-index(".interface-interface-skeleton__header");
color: $gray-900;
}
Expand Down

0 comments on commit 5ee2445

Please sign in to comment.