Blame view

frontend/web/css/_pagination.scss 2.66 KB
8f340aa7   Anastasia   - main page
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
98
99
100
101
  .pagination-wrapper {
    background: #fff;
    position: relative;
    &:before {
      //position: absolute;
      //width: 100%;
      //height: 2px;
      //left: 0;
      //top: -2px;
      //background: $blocks-color;
      //content: '';
    }
  }
  ul.pagination {
    width: auto;
    position: relative;
    display: table;
    margin: 0 auto;
    float: none;
    margin-top: 56px;
  
    li {
      float: left;
      list-style: none;
      height: 38px;
      width: 38px;
      border: 1px solid #cccccc;
      line-height: 38px;
      text-align: center;
      margin: 3px 6px 0 6px;
      position: relative;
      z-index: 1;
      display: block;
      border-radius: 2px;
      a {
        text-decoration: none;
        color: $main-color;
        font-size: 14px;
        font-weight: 700;
        display: block;
        //padding: 0 10px;
        height: 38px;
        width: 38px;
        text-align: center;
      }
  
  
      &:active {
        background: #949494;
        border: 1px solid #949494;
        a {
          @include Transition(0.05);
        }
      }
  
  
  
      &.active {
        background: #cccccc !important;
        border: 1px solid #cccccc !important;
        box-shadow: none !important;
        a {
          cursor: default;
          @include Scale(1);
        }
      }
  
      &.prev, &.next {
        opacity: 0;
        cursor: pointer;
        border: 0;
        width: 38px;
        box-shadow: none !important;
        background: #fff !important;
        width: 0;
        height: 0;
        span, a {
          font-size: 0;
          color: #fff;
        }
        a {
          position: absolute;
          top: 0;
          left: 0;
        }
        &:before {
          content: "\e916";
          font-size: 16px;
          line-height: 32px;
          color: #555;
        }
  
        &.next:before {
          content: "\e917";
          font-size: 16px;
          line-height: 32px;
          color: #555;
        }
  
        &.disabled {
          cursor: default;
6c6f2e19   Виталий   account form
102
  
8f340aa7   Anastasia   - main page
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
          &:before {
            color: #c1c1c1;
          }
        }
      }
      &:hover {
        box-shadow: 0px 0px 12px 0px rgba(151, 151, 151, 0.35);
        &.prev, &.next {
          &:before {
            color: $main-color;
          }
          &.disabled {
  
            &:before {
              color: #c1c1c1;
            }
          }
        }
      }
      &:active {
        &.prev, &.next {
          &:before {
            color: #444444;
          }
          &.disabled {
  
            &:before {
              color: #969696;
            }
          }
        }
      }
  
    }
  
  }
  
  
  
  
  
  
  @media (max-width: 767px) {
    ul.pagination {
      li {
        margin-left: 3px;
        margin-right: 3px;
6c6f2e19   Виталий   account form
150
151
152
153
154
155
156
157
        height: 31px;
        width: 31px;
        line-height: 31px;
        a {
          height: 31px;
          width: 31px;
        }
  
8f340aa7   Anastasia   - main page
158
159
      }
    }
6c6f2e19   Виталий   account form
160
161
162
    ul.pagination li.prev.disabled, ul.pagination li.next.disabled {
      margin: 0;
    }
8f340aa7   Anastasia   - main page
163
  }