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.

72 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: ~"calc(50% - 24px)";
min-width: 300px;
height: 130px;
border: 1px solid @border-color-base;
border-radius: @border-radius-base;
font-size: 12px;
color: #777;
margin: 24px 24px 0 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;
7 years ago
flex-shrink: 0;
7 years ago
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: 16px;
8 years ago
}