Blame view
public/scss/blocks/catalogItem.scss
4.89 KB
b80175387 Начальный проект ... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
.catalog__item { max-width: 315px; width: 100%; .swiper-catalog-item { background: #F7F7F9; border-radius: 9.13041px; max-width: 304px; width: 100%; max-height: 302px; height: 100%; margin-top: 6px; .catalog-icons { display: flex; justify-content: flex-end; margin-top: 10px; margin-right: 9px; cursor: pointer; .svg-compare { position: relative; width: 18px; height: 17px; &:after { position: absolute; content: ""; background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.8497 18.5195H9.25085V3.2305H10.8497V18.5195ZM7.65201 15.7397H4.45432V6.01031H7.65201V4.62041H4.45432C3.56696 4.62041 2.85547 5.23891 2.85547 6.01031V15.7397C2.85547 16.5111 3.57495 17.1296 4.45432 17.1296H7.65201V15.7397ZM15.6462 7.40022V8.79012H17.2451V7.40022H15.6462ZM15.6462 6.01031H17.2451C17.2451 5.23891 16.5256 4.62041 15.6462 4.62041V6.01031ZM17.2451 12.9598H15.6462V14.3498H17.2451V12.9598ZM15.6462 10.18V11.5699H17.2451V10.18H15.6462ZM14.0474 4.62041H12.4485V6.01031H14.0474V4.62041ZM15.6462 17.1296C16.5336 17.1296 17.2451 16.5111 17.2451 15.7397H15.6462V17.1296ZM14.0474 15.7397H12.4485V17.1296H14.0474V15.7397Z' fill='%23ABB2BF'/%3E%3C/svg%3E%0A"); background-repeat: no-repeat; background-size: cover; width: 18px; height: 17px; bottom: 3px; right: 20px; cursor: pointer; } &_active { &:after { background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.366 18H8.69281V2H10.366V18ZM7.01961 15.0909H3.6732V4.90909H7.01961V3.45455H3.6732C2.74458 3.45455 2 4.10182 2 4.90909V15.0909C2 15.8982 2.75294 16.5455 3.6732 16.5455H7.01961V15.0909ZM15.3856 6.36364V7.81818H17.0588V6.36364H15.3856ZM15.3856 4.90909H17.0588C17.0588 4.10182 16.3059 3.45455 15.3856 3.45455V4.90909ZM17.0588 12.1818H15.3856V13.6364H17.0588V12.1818ZM15.3856 9.27273V10.7273H17.0588V9.27273H15.3856ZM13.7124 3.45455H12.0392V4.90909H13.7124V3.45455ZM15.3856 16.5455C16.3142 16.5455 17.0588 15.8982 17.0588 15.0909H15.3856V16.5455ZM13.7124 15.0909H12.0392V16.5455H13.7124V15.0909Z' fill='%23333B49'/%3E%3C/svg%3E%0A"); } } } .svg-favorite { position: relative; width: 15px; height: 13px; &:after { position: absolute; content: ""; background-image: url("data:image/svg+xml,%3Csvg width='18' height='16' viewBox='0 0 18 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.97778 13.5586L8.88889 13.6458L8.79111 13.5586C4.56889 9.80054 1.77778 7.31553 1.77778 4.79564C1.77778 3.05177 3.11111 1.74387 4.88889 1.74387C5.96474 1.74387 7.01863 2.28245 7.64925 3.08872C7.95671 3.48182 8.38983 3.80164 8.88889 3.80164C9.38795 3.80164 9.82107 3.48182 10.1285 3.08872C10.7591 2.28245 11.813 1.74387 12.8889 1.74387C14.6667 1.74387 16 3.05177 16 4.79564C16 7.31553 13.2089 9.80054 8.97778 13.5586ZM12.8889 0C11.3422 0 9.85778 0.706267 8.88889 1.81362C7.92 0.706267 6.43555 0 4.88889 0C2.15111 0 0 2.10136 0 4.79564C0 8.08283 3.02222 10.7771 7.6 14.849L8.88889 16L10.1778 14.849C14.7556 10.7771 17.7778 8.08283 17.7778 4.79564C17.7778 2.10136 15.6267 0 12.8889 0Z' fill='%23ABB2BF'/%3E%3C/svg%3E%0A"); background-repeat: no-repeat; background-size: cover; // bottom: -11px; right: 3px; width: 15px; height: 13px; cursor: pointer; } &_active { &:after { background-image: url("data:image/svg+xml,%3Csvg width='18' height='17' viewBox='0 0 18 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.8825 0.911133C11.4046 0.911133 9.98611 1.58601 9.06028 2.64416C8.13445 1.58601 6.71597 0.911133 5.23804 0.911133C2.62192 0.911133 0.566406 2.91911 0.566406 5.49366C0.566406 8.63477 3.45432 11.2093 7.82867 15.1003L9.06028 16.2001L10.2919 15.1003C14.6662 11.2093 17.5541 8.63477 17.5541 5.49366C17.5541 2.91911 15.4986 0.911133 12.8825 0.911133Z' fill='%23F5851A'/%3E%3C/svg%3E"); } } } } .swiper-slide-catalog { width: 304px; height: 302px; &-img { padding-top: 20px; } } .swiper-pagination-bullet { width: 93px; height: 4px; border-radius: 26.6039px; background-color: #E0E0E0; } .swiper-pagination-bullet-active { background-color: #F5851A !important; } } } |