Skip to content

Commit

Permalink
FIXED: Component: Cards: Some minor bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
SagnikGanguly96 committed Feb 14, 2023
1 parent 3b0cbc1 commit f241a8b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/css/components/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
padding: var(--padding-sm) var(--padding-md);
border-bottom: 1px solid var(--sgn-border-light);
border-radius: var(--sgn-border-radius-md) var(--sgn-border-radius-md) 0 0;
background-color: var(--sgn-accent-background-secondary);
background-color: var(--sgn-secondary-lightest);
font-family: var(--sgn-font-default-bold);
}

Expand Down Expand Up @@ -139,6 +139,10 @@
border-radius: 0;
}

.card > .card-body > .list-group:last-child > .list-view:last-child > .list-link:last-child {
border-bottom-width: 0;
}


/*** CARD DECK ***/
.card-deck {
Expand Down Expand Up @@ -236,8 +240,6 @@

/*** CARD INTERSECTION ***/
.card.intersection > .view {
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
border-radius: var(--sgn-border-radius-md);
box-shadow: none;
min-height: 8rem;
Expand Down Expand Up @@ -300,7 +302,8 @@
}

.card.secondary > .card-header {
background-image: linear-gradient(to right, hsl(0, 0%, 50%) 0%, hsl(0, 0%, 80%) 100%);
/* background-image: linear-gradient(to right, hsl(0, 0%, 50%) 0%, hsl(0, 0%, 80%) 100%); */
background-image: var(--sgn-gradient-secondary);
color: var(--sgn-accent-primary-text);
}

Expand Down

0 comments on commit f241a8b

Please sign in to comment.