aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup/+register/register.component.scss
blob: cc60ef524785571dce799812feb7b88bd89dd12a (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
91
92
93
94
95
96
97
98
99
100
@import '_variables';
@import '_mixins';
@import "./_bootstrap-variables";

@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';

.alert {
  font-size: 15px;
  text-align: center;
}

.wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  & > div {
    margin-bottom: 40px;

    &.register-form {
      width: 450px;
    }

    &.instance-information {
      width: 600px;
      margin-bottom: 40px;

      .block {
        font-size: 15px;
        margin-bottom: 15px;
        padding: 0 $btn-padding-x;
      }

      @media screen and (max-width: 1500px) {
        width: 450px;
      }

      ngb-accordion ::ng-deep {
        .btn {
          font-weight: $font-semibold !important;
          color: var(--mainForegroundColor) !important;
        }
      }
    }

    @media screen and (max-width: $mobile-view) {
      width: auto;
    }
  }
}

.form-group-terms {
  margin: 30px 0;
}

.input-group {
  @include peertube-input-group(400px);
}

input:not([type=submit]) {
  @include peertube-input-text(400px);

  display: block;

  &#username,
  &#name {
    width: auto !important;
    flex-grow: 1;
  }
}

input[type=submit],
button {
  @include peertube-button;
  @include orange-button;
}

.name-information {
  margin-top: 10px;
}

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

  my-loader {
    margin-bottom: 20px;

    ::ng-deep .loader div {
      border-color: var(--mainColor) transparent transparent transparent;
    }

    & + div {
      font-size: 15px;
    }
  }
}