1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 06:09:42 +02:00
documize/gui/app/styles/widget/widget-card.scss

69 lines
1.3 KiB
SCSS
Raw Normal View History

2016-07-07 18:54:16 -07:00
.base-card {
border: 1px solid $color-border;
display: inline-block;
border-radius : 3px;
background-color: $color-white;
&:hover {
@extend .z-depth-half;
background-color: $color-selected-item;
border-color: $color-selected-item;
2016-07-07 18:54:16 -07:00
transition: 0.2s all ease;
}
}
.content-card {
@extend .base-card;
margin: 0 12px 12px 0;
padding: 20px 20px;
width: 200px;
height: 250px;
position: relative;
.title {
font-size: 1rem;
font-family: "open_sanssemibold";
height: 3rem;
overflow: hidden;
margin-bottom: 0.75rem;
}
.snippet {
font-size: 0.8rem;
line-height: 1.1rem;
height: 2rem;
overflow: hidden;
margin-bottom: 0.75rem;
}
}
.stacked-card {
@extend .base-card;
padding: 20px 20px;
position: relative;
.title {
font-size: 1rem;
font-family: "open_sanssemibold";
margin-bottom: 0.75rem;
color: $color-off-black;
}
.snippet {
font-size: 0.8rem;
line-height: 1.1rem;
margin-bottom: 0.75rem;
color: $color-stroke;
}
}
.cards-list {
margin: 0;
padding: 0;
> li {
list-type: none;
float: left;
}
}