Skip to content

Commit

Permalink
tweaks design of is-not-allowed class
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Sep 3, 2020
1 parent 1e468ba commit 5b14b52
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/cms/src/components/cards/Card.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,18 @@
}

&.is-not-allowed {
background-color:#fff1f3;
& * {
filter: grayscale(15%) opacity(85%);
}
&:before {
@mixin font-xxs;
color: var(--alert);
content: "Disabled for the selected preview member.";
display: block;
margin-bottom: var(--gutter-xs);
}
}

}


Expand Down

0 comments on commit 5b14b52

Please sign in to comment.