aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+login/login.component.scss
blob: c588c425a0c07b7a2cf486ec37e79fc58d941997 (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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
@use '_variables' as *;
@use '_mixins' as *;

label {
  @include font-size(18px);

  display: block;
  margin-bottom: 5px;
}

input[type=text],
input[type=email] {
  @include peertube-input-text(100%);
}

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

  > div {
    flex: 1 1;
  }
}

.wrapper,
.alert {
  max-width: 1200px;
}

.alert {
  @include margin(0, auto, 2rem);
}

.login-form-and-externals {
  @include margin-left(10px);
  @include margin-right(10px);
  @include margin-bottom(2.5rem);

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 450px;
}

.external-login-blocks {
  min-width: 200px;
  text-align: center;

  .external-login-block {
    @include disable-default-a-behaviour;

    cursor: pointer;
    border: 1px solid #d1d7e0;
    border-radius: 5px;
    color: pvar(--mainForegroundColor);
    margin: 10px 10px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 35px;
    min-width: 100px;

    &:hover {
      background-color: rgba(209, 215, 224, 0.5);
    }
  }
}

.instance-information {
  @include margin-left(10px);
  @include margin-right(10px);
  @include margin-bottom(2.5rem);
  @include rfs (22rem, min-width);

  max-width: 600px;
}

.terms-anchor {
  display: inline;
}

.terms-link {
  display: none;
}

@include on-small-main-col {
  .wrapper {
    flex-direction: column-reverse;

    .login-form-and-externals,
    .instance-information {
      @include margin-left(0);
      @include margin-right(0);

      width: 100%;
      max-width: 450px;
      min-width: unset;
      align-self: center;
    }

    .instance-information {
      ::ng-deep .accordion {
        display: none;
      }
    }

    .terms-anchor {
      display: none;
    }

    .terms-link {
      display: inline;
    }
  }
}