aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/signup/custom-stepper.component.scss
blob: 2371c8ae5220804cb7f2aaf725b336f9057fc5c2 (plain) (blame)
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
@import '_variables';
@import '_mixins';

$grey-color: #9CA3AB;
$index-block-height: 32px;

header {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 30px;

  .step-info {
    color: $grey-color;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: $index-block-height;

    .step-index {
      display: flex;
      justify-content: center;
      align-items: center;
      width: $index-block-height;
      height: $index-block-height;
      border-radius: 100px;
      border: 2px solid $grey-color;
      margin-bottom: 10px;

      my-global-icon {
        @include apply-svg-color(var(--mainBackgroundColor));

        width: 22px;
        height: 22px;
      }
    }

    .step-label {
      width: max-content;
    }

    &.active,
    &.completed {
      .step-index {
        border-color: var(--mainColor);
        background-color: var(--mainColor);
        color: var(--mainBackgroundColor);
      }

      .step-label {
        color: var(--mainColor);
      }
    }

    &.completed {
      cursor: pointer;
    }
  }

  .connector {
    flex: auto;
    margin: $index-block-height/2 10px 0 10px;
    height: 2px;
    background-color: $grey-color;
  }
}