123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- .catalog {
- &__wrapper {
- padding-top: 61px;
- @media (max-width: 576px) {
- padding-top: 20px;
- }
- }
- &__container {
- display: flex;
- justify-content: space-between;
- padding: 15px 64px 56px 0;
- background-color: @color-white;
- }
- &__side {
- flex: 1 0 320px;
- max-width: 320px;
- margin-right: 10px;
- }
- &__main {
- flex: 0 1 826px;
- max-width: 826px;
- @media (max-width: 576px) {
- flex: 0 1 100%;
- max-width: 100%;
- }
- }
- &__menu {
- margin-bottom: 75px;
- }
- &__side-banner {
- display: flex;
- justify-content: flex-end;
- padding: 0 17px;
- }
- }
- .catalog-menu {
- border-right: 1px solid #EEEEEE;
- &__link {
- display: block;
- position: relative;
- padding: 15px 30px;
- font: 18px/22px @font-main;
- &.is-active {
- background-color: @color-page;
- font-weight: 700;
- &::before {
- background-color: @color-page;
- }
- }
- &.nuxt-link-active{
- background: rgba(59, 85, 115, 0.1);
- }
- &_green,
- &_orange,
- &_pink,
- &.is-active {
- &::before {
- .pseudo();
- .size(27px, 100%);
- top: 0;
- left: -27px;
- }
- }
- &_green {
- background-color: #DBEFD7;
- &::before {
- background-color: #DBEFD7;
- }
- }
- &_orange {
- background-color: #FFF0DA;
- &::before {
- background-color: #FFF0DA;
- }
- }
- &_pink {
- background-color: #FFDAF0;
- &::before {
- background-color: #FFDAF0;
- }
- }
- }
- }
- .catalog-main {
- &__topic {
- margin-bottom: 24px;
- }
- &__topic-list {
- display: flex;
- }
- &__topic-item {
- position: relative;
- &:not(:last-child) {
- margin-right: 27px;
- &::before {
- .pseudo();
- content: '•';
- right: -16px;
- color: @color-grey-dark;
- }
- .catalog-main__topic-link {
- color: @color-dark-blue;
- }
- }
- }
- &__topic-link {
- font: 12px/14px @font-main;
- color: @color-grey-dark;
- letter-spacing: 0.15em;
- text-transform: uppercase;
- }
- &__header {
- display: flex;
- align-items: center;
- margin-bottom: 57px;
- }
- &__filter {
- margin-left: auto;
- cursor: pointer;
- }
- &__subscribe {
- margin-left: 20px;
- }
- &__title {
- font: 700 28px/36px @font-main;
- }
- }
- .catalog-list {
- &__item {
- padding-bottom: 24px;
- border-bottom: 1px solid #E5E5E5;
- &:not(:last-child) {
- margin-bottom: 24px;
- }
- &_banner {
- border: none;
- padding-bottom: 0;
- .banner {
- margin: 0;
- }
- }
- }
- &__news {
- margin-bottom: 49px;
- }
- &__actions {
- margin-bottom: 25px;
- }
- }
- .catalog-item {
- &__link {
- display: flex;
- justify-content: space-between;
- @media (max-width: 576px) {
- flex-direction: column;
- }
- }
- &__side {
- flex: 1 0;
- max-width: 220px;
- margin-right: 10px;
- @media (max-width: 576px) {
- margin-right: 0;
- }
- }
- &__main {
- flex: 0 1 563px;
- max-width: 563px;
- @media (max-width: 576px) {
- flex:none;
- }
- }
- &__figure {
- .size(100%, 136px);
- }
- &__img {
- width: 100%;
- max-height: 100%;
- object-fit: cover;
- @media (max-width: 576px) {
- max-height: 235px;
- }
- }
- &__main-top {
- display: flex;
- align-items: center;
- margin-bottom: 18px;
- min-height: 101px;
- font: 24px/29px @font-main;
- }
- &__main-info {
- display: flex;
- }
- &__main-info-element {
- display: flex;
- align-items: center;
- font: 12px/17px @font-main;
- color: @color-grey-dark;
- &:not(:last-child) {
- margin-right: 33px;
- }
- span {
- display: inline-block;
- &:not(:last-child) {
- margin-right: 8px;
- }
- }
- }
- &__banner {
- margin-top: 20px;
- }
- }
- .catalog-pagination {
- &__list {
- display: flex;
- align-items: center;
- }
- &__link {
- .size(41px);
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: transparent;
- border-radius: 11px;
- color: @color-blue-darken;
- font: 14px/1 @font-main;
- &.is-active {
- background-color: rgba(@color-blue-darken, .08);
- pointer-events: none;
- }
- &_next {
- .size(auto);
- }
- }
- }
|