Blame view

public/scss/blocks/_top-catalog.scss 1.51 KB
242debab8   thesolarwind   Первый коммит в п...
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
  .top-catalog {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      
  
      @media (min-width: 1200px) {
          flex-wrap: nowrap;
          justify-content: space-between;
      }
  
      &__inner {
          margin: 0px 0px 40px 0px;
  
          @media (min-width: 1200px) {
              width: 450px;
              margin: 0px 30px 0px 0px;
          }
      }
  
      &__title {
          margin-bottom: 20px;
      }
  
      &__result {
          color: #9A9C9F;
          font-size: 16px;
          line-height: 22px;
          font-weight: 500;
  
          span {
              color: $black;
              font-weight: 600;
          }
      }
  
      &__sorts {
          width: 100%;
          display: flex;
          flex-wrap:  wrap;
          align-items: center;
          margin: 0 -5px;
  
          @media (min-width: 780px) {
              flex-wrap: nowrap;
              margin: 0;
          }
  
          @media (min-width: 1200px) {
              width: auto;
              padding-top: 10px;
          }
      }
  
      &__sort-group {
          width: calc(100% - 10px);
          margin: 0 5px;
          @media (min-width: 480px) {
              width: calc(50% - 10px);
          }
  
          @media (min-width: 780px) {
              width: 200px;
              margin: 0;
          }
  
          &:not(:last-child) {
              margin: 0px 5px 10px;
  
              @media (min-width: 780px) {
                  margin: 0px 10px 0px 0px;
              }
          }
  
          &.sort-group--wide {
              @media (min-width: 780px) {
                  width: 294px;
              }
             
          }
      }
  }