| Current Path : /var/www/element/data/www/revenuestory.ru/bitrix/js/landing/ui/card/basecard/src/css/ |
| Current File : /var/www/element/data/www/revenuestory.ru/bitrix/js/landing/ui/card/basecard/src/css/base_card.css |
.landing-ui-card {
--red: rgba(255,87,82,1);
--red_alpha_30: rgba(255,87,82,.3);
padding: 20px 40px;
margin: 20px 60px;
}
.landing-ui-card-header {
font-size: 23px;
}
.landing-ui-card-body.--warning {
position: relative;
}
.landing-ui-card-body.--warning:before {
content: '';
position: absolute;
z-index: 9;
top: 0;
right: 0;
bottom: 0;
left: 0;
box-sizing: border-box;
background: var(--red_alpha_30);
border: 3px solid var(--red);
}
.landing-ui-card-body.--warning {
cursor: default;
}
.landing-ui-card-body.--warning:hover .landing-ui-card-body-warning {
display: inline-flex;
}
.landing-ui-card-body-warning {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
display: none;
align-items: center;
height: 37px;
padding: 0 20px;
background: var(--red);
border-radius: 100px;
font-family: var(--ui-font-family-secondary, var(--ui-font-family-open-sans));
font-weight: var(--ui-font-weight-semi-bold, 600);
font-size: 12px;
color: #fff;
z-index: 99;
text-transform: uppercase;
}
.landing-ui-card-header + .landing-ui-card-body {
margin-top: 12px;
}
.landing-ui-card-block-remove {
position: absolute;
width: 22px;
height: 22px;
top: -5px;
right: -6px;
background: #fff;
box-shadow: 0 2px 4px 0 rgba(0,0,0,.12);
border-radius: 100%;
cursor: pointer;
opacity: 0;
transition: all 200ms ease;
z-index: 9;
}
.landing-ui-card-body:hover .landing-ui-card-block-remove {
opacity: 1;
}
.landing-ui-card-block-remove:hover {
box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
}
.landing-ui-card-block-remove:after {
content: '';
position: absolute;
width: 8px;
height: 11px;
top: 50%;
left: 50%;
margin: -5px -4px;
background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 11'%3E%3Cpath fill='%23737B85' d='M7.2,3.38461538 L6.63700242,10.0837452 C6.59347009,10.6017382 6.16033422,11 5.64051522,11 L2.35948478,11 C1.83966578,11 1.40652991,10.6017382 1.36299758,10.0837452 L0.8,3.38461538 L7.2,3.38461538 Z M3.2,0 L4.8,0 L4.8,0.846153846 L6.5,0.846153846 C7.32842712,0.846153846 8,1.51772672 8,2.34615385 L8,2.53846154 L0,2.53846154 L0,2.34615385 C-1.01453063e-16,1.51772672 0.671572875,0.846153846 1.5,0.846153846 L3.2,0.846153846 L3.2,0 Z'/%3E%3C/svg%3E") center no-repeat;
}