soiz1's picture
Upload 208 files
72c8f1c verified
raw
history blame
944 Bytes
.card-block {
box-shadow: $box-shadow;
display: block;
width: 140px;
padding: 20px 20px 15px 20px;
border-radius: 10px;
&__label {
@include font(1rem);
color: #fff;
&.none {
display: none;
}
}
.input.none {
display: none;
}
input {
width: 100%;
}
&__info {
@include font(.875rem);
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0 15px 0;
color: #fff;
}
}
.card-block-container {
$m: 8px;
display: flex;
overflow-x: scroll;
margin-left: -$m;
margin-right: -$m;
padding-bottom: $m;
> * {
margin-left: $m;
margin-right: $m;
}
.card-block {
@each $i in $color-blocks {
$index: index($color-blocks, $i);
$color: nth($color-blocks, $index);
&:nth-child(#{$index}) {
background-color: $color;
}
}
}
}