]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+login/login.component.scss
Translated using Weblate (Croatian)
[github/Chocobozzz/PeerTube.git] / client / src / app / +login / login.component.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
3
2b084d70 4label {
4158e67c 5 @include font-size(18px);
4e082e78 6
2b084d70 7 display: block;
11056966 8 margin-bottom: 5px;
2b084d70
C
9}
10
266947e5
C
11input[type=text],
12input[type=email] {
42802543 13 @include peertube-input-text(100%);
d235f6b0 14}
ecb4e35f 15
40360c17 16.wrapper {
ebefc902 17 display: flex;
11056966 18 justify-content: space-between;
ebefc902 19 flex-wrap: wrap;
11056966 20 margin: auto;
ebefc902 21
6c3589fc 22 > div {
40360c17 23 flex: 1 1;
ebefc902 24 }
11056966 25}
27bc9586 26
11056966 27.wrapper,
c4a05171 28.alert {
11056966
C
29 max-width: 1200px;
30}
ebefc902 31
c4a05171 32.alert {
4158e67c 33 @include margin(0, auto, 2rem);
11056966 34}
40360c17 35
11056966
C
36.login-form-and-externals {
37 @include margin-left(10px);
38 @include margin-right(10px);
4e082e78 39 @include margin-bottom(2.5rem);
40360c17 40
11056966
C
41 display: flex;
42 flex-wrap: wrap;
43 justify-content: center;
11056966 44 max-width: 450px;
11056966 45}
ebefc902 46
11056966
C
47.external-login-blocks {
48 min-width: 200px;
49 text-align: center;
40360c17 50
11056966
C
51 .external-login-block {
52 @include disable-default-a-behaviour;
40360c17 53
11056966
C
54 cursor: pointer;
55 border: 1px solid #d1d7e0;
56 border-radius: 5px;
57 color: pvar(--mainForegroundColor);
58 margin: 10px 10px 0 0;
59 display: flex;
60 justify-content: center;
61 align-items: center;
62 min-height: 35px;
63 min-width: 100px;
64
65 &:hover {
66 background-color: rgba(209, 215, 224, 0.5);
40360c17
K
67 }
68 }
11056966 69}
40360c17 70
11056966
C
71.instance-information {
72 @include margin-left(10px);
73 @include margin-right(10px);
4e082e78
W
74 @include margin-bottom(2.5rem);
75 @include rfs (22rem, min-width);
27bc9586 76
11056966 77 max-width: 600px;
11056966 78}
40360c17 79
11056966
C
80.terms-anchor {
81 display: inline;
82}
40360c17 83
11056966
C
84.terms-link {
85 display: none;
40360c17
K
86}
87
4e082e78
W
88@include on-small-main-col {
89 .wrapper {
90 flex-direction: column-reverse;
40360c17 91
4e082e78
W
92 .login-form-and-externals,
93 .instance-information {
94 @include margin-left(0);
95 @include margin-right(0);
27bc9586 96
4e082e78
W
97 width: 100%;
98 max-width: 450px;
99 min-width: unset;
100 align-self: center;
40360c17 101 }
40360c17 102
4e082e78
W
103 .instance-information {
104 ::ng-deep .accordion {
105 display: none;
106 }
107 }
40360c17 108
4e082e78
W
109 .terms-anchor {
110 display: none;
111 }
40360c17 112
4e082e78
W
113 .terms-link {
114 display: inline;
40360c17 115 }
ebefc902 116 }
6c3589fc 117}