Blame view

frontend/web/css/_pagination.scss 2.33 KB
31b3e056   Виталий   page answer
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
102
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
  .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: 57px;
  
    li {
      float: left;
      list-style: none;
      height: 32px;
      width: 32px;
      border: 1px solid $turquoise-color;
      line-height: 32px;
      text-align: center;
      margin: 3px 6px 0 6px;
      position: relative;
      z-index: 1;
      display: block;
      border-radius: 32px;
      a {
        text-decoration: none;
        color: $main-color;
        font-size: 14px;
        font-weight: 700;
        display: block;
        //padding: 0 10px;
        height: 32px;
        width: 32px;
        text-align: center;
      }
  
  
      &:active {
        background: #949494;
        border: 1px solid #949494;
        a {
          @include Transition(0.05);
        }
      }
  
  
  
      &.active {
        background: $gray-color !important;
        border: 1px solid $gray-color !important;
        box-shadow: none !important;
        a {
          cursor: default;
          @include Scale(1);
        }
      }
  
      &.prev, &.next {
        cursor: pointer;
        border: 0;
        width: 32px;
        box-shadow: none !important;
        background: #fff !important;
        @include svgIcon();
        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;
          &: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;
            }
          }
        }
      }
  
    }
  
  }