Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pagination.scss « _section « _common « css « assets - github.com/Fastbyte01/KeepIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2b386ed129045ab35ca9f1659593d3bb40083539 (plain)
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
  /** pagination **/

  .pagination {
      display: flex;
      flex-direction: row;
      justify-content: center;
      list-style: none;
      white-space: nowrap;
      width: 100%;
      padding-top: 2em;
      a {
          -webkit-font-smoothing: antialiased;
          font-size: 12px;
          color: #bfbfbf;
          letter-spacing: 0.1em;
          font-weight: 700;
          padding: 5px 5px;
          text-decoration: none;
          transition: 0.3s;
      }
      li {
          padding-bottom: 3px;
          margin: 0 20px;
          box-sizing: border-box;
          position: relative;
          display: inline;
          &.disabled {
              display: none;
          }
          &:hover a {
              color:  $light-pagination-link-active-color;
          }

          .dark-theme &:hover a {
              color:  $dark-pagination-link-active-color;
          }

          &:before,
          &:after {
              position: absolute;
              content: "";
              width: 0;
              height: 3px;
              background: $light-pagination-link-active-color;
              transition: 0.3s;
              bottom: 0px;
          }
          .dark-theme &:before,
          .dark-theme &:after{
              background: $dark-pagination-link-active-color;
          }

          &:before .active,
          &:after .active {
              width: 100%;
          }
          &:before {
              left: 50%;
          }
          &:after {
              right: 50%;
          }
          &:hover {
              &:before,
              &:after {
                  width: 50%;
              }
          }
          &.active {
              a {
                  color: $light-pagination-link-active-color;
              }

              .dark-theme & a {
                  color: $dark-pagination-link-active-color;
              }
              &:before,
              &:after {
                  width: 60%;
              }
          }
      }
  }