You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.2 KiB

.resource-cards {
7 years ago
display: flex;
flex-flow: wrap;
width: 100%;
}
.resource-card {
7 years ago
display: flex;
max-width: 420px;
width: 40%;
min-width: 300px;
height: 130px;
7 years ago
border: 1px solid #ced4d9;
border-radius: @border-radius-base;
font-size: 12px;
color: #777;
margin: 20px 40px 10px 0;
vertical-align: middle;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.resource-card:hover {
box-shadow: 0 3px 8px #d3ddeb;
border-color: transparent;
}
.resource-card:hover .resource-card-title {
color: @primary-color;
}
.resource-card.disabled {
opacity: 0.45;
pointer-events: none;
}
7 years ago
.resource-card-cover, .resource-card-icon {
display: flex;
align-items: center;
justify-content: center;
width: 130px;
}
.resource-card-cover img {
width: 68px;
}
.resource-card-content {
7 years ago
display: flex;
flex-flow: column;
justify-content: center;
}
.resource-card-title {
display: block;
font-size: 16px;
color: @site-text-color;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
line-height: 1.2;
margin-bottom: 6px;
}
.resource-card-description {
display: block;
7 years ago
color: #697b8c;
padding-right: 8px;
8 years ago
}