summaryrefslogtreecommitdiffstats
path: root/src/components/PaginationCursor/PaginationCursor.module.scss
blob: 542584c6a05568c4561641106ca1a1ef61dc05c3 (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
@use "@styles/abstracts/functions" as fun;

.wrapper {
  width: max-content;
  margin: var(--spacing-sm) auto var(--spacing-md);
  text-align: center;

  .bar[value] {
    display: block;
    width: clamp(25ch, 20vw, 30ch);
    max-width: 100%;
    height: fun.convert-px(13);
    appearance: none;
    background: var(--color-bg-tertiary);
    border: fun.convert-px(1) solid var(--color-primary-darker);
    border-radius: 1em;
    box-shadow: inset 0 0 fun.convert-px(4) fun.convert-px(1)
      var(--color-shadow-light);

    &::-webkit-progress-value {
      background-color: var(--color-primary-dark);
      border-radius: 1em;
    }

    &::-moz-progress-bar {
      background-color: var(--color-primary-dark);
      border-radius: 1em;
    }

    &::-webkit-progress-bar {
      background: var(--color-bg-tertiary);
      border: fun.convert-px(1) solid var(--color-primary-darker);
      border-radius: 1em;
      box-shadow: inset 0 0 fun.convert-px(4) fun.convert-px(1)
        var(--color-shadow-light);
    }
  }
}

.info {
  margin-bottom: var(--spacing-2xs);
  font-size: var(--font-size-sm);
}