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

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

  .bar[value] {
    display: block;
    width: 30ch;
    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);
    }
  }
}