File: D:/HostingSpaces/SBogers10/conmeq.komma.pro/resources/sass/kms/attributes/_component.scss
.c-component {
position: relative;
z-index: 2;
background-color: white;
margin-bottom: 60px;
border-radius: 5px;
&.c-component--content-slider {
padding-bottom: 0;
}
&: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;
}
.attributes {
background-color: #f9f9f9;
border-radius: 5px;
.entity-attribute {
margin-top: 0;
padding-top: 24px;
&:last-child {
padding-bottom: 24px;
}
}
}
.entity-attribute-separator {
margin: 0;
background-color: transparent;
box-shadow: none;
}
}
.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 {
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;
}
}