File: D:/HostingSpaces/SBogers95/rentman.io/resources/assets/sass/kms/attributes/_component.scss
.c-component {
position: relative;
z-index: 2;
background-color: white;
margin-bottom: 60px;
&:after {
content: '';
position: absolute;
z-index: -1;
left: 0;
top: 0;
display: block;
width: 100%;
height: 100%;
box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.15);
opacity: 1;
transition: opacity 0.4s;
}
.entity-attribute label{
line-height: 1.2;
padding: 22.5px 0;
}
}
.c-component__header {
position: relative;
@include flex(flex-start, center);
border-bottom: 1px solid #e0e6ec;
user-select: none;
}
.c-component__icon {
@include flex(center, center);
width: 62px;
height: 62px;
padding: 2px 10px;
border-right: 1px solid #e0e6ec;
img, svg {
width: 100%;
}
}
.c-component__order-buttons {
padding: 2px 10px;
color: mix($iconColor, $gray);
height: 62px;
border-right: 1px solid #e0e6ec;
}
.c-component__order-button {
cursor: pointer;
}
.c-component__title {
width: calc(100% - 62px - 33px - 35px - 15px);
padding: 5px 10px;
font-size: 14px;
line-height: 1.4;
font-weight: bold;
letter-spacing: 0.4px;
color: mix($iconColor, $gray);
}
.c-component__delete-button {
width: 35px;
height: 35px;
background-color: #FF323C;
background-image: url("#{$baseImagePath}/icons/icon_trash.svg");
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 16px 16px;
cursor: pointer;
border-radius: 5px;
opacity: 1;
transition: opacity 0.3s;
&:hover{
opacity: 0.4;
}
}