aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup/+register/register.component.scss
blob: c706d6955d5cef5b123788dc71407fac32aa5ecc (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
@use '_variables' as *;
@use '_mixins' as *;

.signup-disabled {
  padding-top: 30vh;
}

.title-page-v2 {
  background-color: pvar(--mainColorVeryLight);
  margin: 0;
}

my-instance-about-accordion {
  display: block;
  margin-bottom: 25px;
}

.step-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  .skip-step {
    @include margin-right(30px);

    display: inline-block;
  }

  .skip-step-description {
    margin-top: 5px;
    font-size: 14px;
  }

  .underline-orange {
    color: pvar(--mainForegroundColor);

    &:hover {
      opacity: 0.8;
    }
  }

  button,
  .skip-step {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .skip-step,
  button[cdkStepperNext] {
    @include margin-left(auto);
  }

  .skip-step + button[cdkStepperNext] {
    @include margin-left(0);
  }
}

button {
  @include peertube-button-big;

  &[cdkStepperNext] {
    @include orange-button;
  }

  &[cdkStepperPrevious] {
    @include grey-button;
  }
}

.done-loader {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

  my-loader {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: $small-view) {
  .step-buttons {
    justify-content: space-between;

    .skip-step,
    button[cdkStepperNext] {
      @include margin-left(0);
    }
  }
}