%PDF- %PDF-
| Direktori : /home/bitrix/www/bitrix/components/bitrix/sale.basket.basket.line/templates/bootstrap_v4/ |
| Current File : /home/bitrix/www/bitrix/components/bitrix/sale.basket.basket.line/templates/bootstrap_v4/style.css |
.bx-basket { }
.basket-line-block {
position: relative;
padding-left: 25px;
white-space: nowrap;
font-size: 13px;
}
.basket-line-block-icon-cart,
.basket-line-block-icon-profile {
position: relative;
margin-right: 10px;
}
.basket-line-block-icon-cart:after,
.basket-line-block-icon-profile:after {
position: absolute;
top: -1px;
left: -25px;
display: block;
width: 20px;
height: 20px;
content: '';
}
.basket-line-block-icon-profile:after { background: no-repeat center url(images/profile.svg); }
.basket-line-block-icon-cart:after { background: no-repeat center url(images/cart.svg); }
/*FIXED BASKET*/
@media (min-width: 768px) {
.bx-basket-fixed {
position: fixed;
z-index: 998;
overflow: hidden;
padding-top: 10px;
width: 200px;
border: 1px solid #f0f0f0;
border-radius: 1px;
background: #fff;
box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
}
.bx-basket-fixed.top { top: 10px }
.bx-basket-fixed.right { right: 10px }
.bx-basket-fixed.bottom { bottom: 10px }
.bx-basket-fixed.left { left: 10px }
.bx-basket-fixed.bx-max-height { top: 10px; bottom: 10px; }
}
@media (max-width: 767px) {
.bx-basket-fixed {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: 998;
overflow: hidden;
padding-top: 10px;
border: 1px solid #f0f0f0;
border-radius: 1px;
background: #fff;
box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
}
.bx-basket-item-list { display: none; }
/*.bx-basket-fixed */
}
.bx-basket-fixed .basket-line-block { margin-left: 10px; }
.bx-basket-item-list {
position: relative;
overflow: hidden;
padding-bottom: 20px;
border-top: 1px solid #f7f7f7;
}
.bx-opener .bx-basket-item-list { padding-bottom: 75px; }
.bx-max-height .bx-basket-item-list {
position: absolute;
right: 0;
bottom: 0;
left: 0;
}
.bx-closed .bx-basket-item-list {
overflow: hidden;
height: 20px;
}
.bx-basket-item-list-action {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 120;
padding: 3px 0;
height: 20px;
background: #f7f7f7;
color: #4f4f4f;
vertical-align: middle;
text-align: center;
font-size: 12px;
line-height: 14px;
cursor: pointer;
}
.bx-basket-item-list-button-container {
position: absolute;
right: 0;
bottom: 20px;
left: 0;
padding: 10px 0;
border-top: 1px solid #f7f7f7;
background: #fff;
text-align: center;
}
.bx-basket-item-list-container {
overflow-y: auto;
max-height: 100%
}
.bx-basket-item-list-item {
position: relative;
margin-bottom: 15px;
padding-top: 15px;
padding-right: 10px;
padding-left: 10px;
border-bottom: 1px solid #f7f7f7;
}
.bx-basket-item-list-container .bx-basket-item-list-item:last-child {
margin-bottom: 0;
border-bottom: none;
}
.bx-basket-item-list-item-status {
margin: 0 10px 20px;
padding: 3px;
border-radius: 3px;
background: #ebebeb;
text-align: center;
white-space: normal;
font-weight: bold;
font-size: 12px;
line-height: 16px;
}
.bx-basket-item-list-item-img {
position: relative;
padding-bottom: 5px;
text-align: center;
}
.bx-basket-item-list-item-img img {
max-width: 90px;
height: auto;
border: 1px solid #e6e6e6;
}
.bx-basket-item-list-item-name { padding-bottom: 5px; }
.bx-basket-item-list-item-name a {
font-size: 13px;
line-height: 16px;
}
.bx-basket-item-list-item-remove {
position: absolute;
top: -7px;
right: 10px;
width: 20px;
height: 20px;
opacity: .5;
cursor: pointer;
transition: 250ms linear all;
}
.bx-basket-item-list-item-remove:after,
.bx-basket-item-list-item-remove:before {
position: absolute;
top: 50%;
left: 50%;
display: block;
width: 10px;
height: 2px;
border-radius: 1px;
background-color: #333;
content: '';
transform: translate(-50%, -50%);
}
.bx-basket-item-list-item-remove:after {
-webkit-transform: translate(-50%, -50%) rotate(45deg);
-moz-transform: translate(-50%, -50%) rotate(45deg);
-ms-transform: translate(-50%, -50%) rotate(45deg);
-o-transform: translate(-50%, -50%) rotate(45deg);
transform: translate(-50%, -50%) rotate(45deg);
}
.bx-basket-item-list-item-remove:before {
-webkit-transform: translate(-50%, -50%) rotate(135deg);
-moz-transform: translate(-50%, -50%) rotate(135deg);
-ms-transform: translate(-50%, -50%) rotate(135deg);
-o-transform: translate(-50%, -50%) rotate(135deg);
transform: translate(-50%, -50%) rotate(135deg);
}
.bx-basket-item-list-item-remove:hover { opacity: .7; }
.bx-basket-item-list-item-price-block {
padding-bottom: 5px;
font-size: 12px;
}
.bx-basket-item-list-item-price {
display: inline-block;
margin-right: 5px;
}
.bx-basket-item-list-item-price-old {
display: inline-block;
margin-right: 5px;
color: #b0b0b0;
text-decoration: line-through
}
.bx_cart_login_top .basket-line { line-height: 1.44em; }