Skip to content

Instantly share code, notes, and snippets.

@obulaworld
Created September 4, 2020 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obulaworld/9ffc524a3fecbcc49450577bde560671 to your computer and use it in GitHub Desktop.
Save obulaworld/9ffc524a3fecbcc49450577bde560671 to your computer and use it in GitHub Desktop.
Card css
hr {
height: 1px;
background-color: #f2f2f2;
border: none;
}
.cardTitle ~ .ellipsis {
margin-right: 0;
}
.Card {
padding: 1.125rem 0.75rem;
width: 18.4375rem;
background: #ffffff;
box-sizing: border-box;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.105004);
border-radius: 4px;
margin-bottom: 1rem;
position: relative;
}
.cardIsMoving {
background: #ddd;
}
.Card:focus {
border: 1px solid #2b8dd6;
}
.selectionCount {
margin-right: 0.2rem;
height: 1.5rem;
width: 1.5rem;
display: flex;
justify-content: center;
background-color: #2b8dd6;
color: #fff;
align-items: center;
border-radius: 50%;
}
.cardHeader {
display: flex;
justify-content: space-between;
}
.cardFocused {
border: 1px solid #2b8dd6;
}
.cardUnFocused {
border: 1px solid #d7d6d6;
}
.cardTitle {
font-family: Roboto;
font-style: normal;
font-weight: bold;
font-size: 16px;
line-height: 19px;
color: #3f3939;
margin-bottom: 0.375rem;
margin-top: 0;
}
.cardText {
margin-top: 0;
font-family: Roboto;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 16px;
color: #3f3939;
}
.bottomCard {
display: flex;
height: 2rem;
justify-content: space-between;
}
.cardAssignee {
margin-right: 1rem;
height: 2rem;
width: 2rem;
display: flex;
justify-content: center;
background: #ddd;
align-items: center;
border-radius: 50%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment