]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+login/login.component.scss
adjust registration form width on mobile (#3274)
[github/Chocobozzz/PeerTube.git] / client / src / app / +login / login.component.scss
CommitLineData
63c4db6d
C
1@import '_variables';
2@import '_mixins';
3
2b084d70
C
4label {
5 display: block;
6}
7
d235f6b0
C
8input:not([type=submit]) {
9 @include peertube-input-text(340px);
2b084d70
C
10 display: inline-block;
11 margin-right: 5px;
12
d235f6b0
C
13}
14
15input[type=submit] {
16 @include peertube-button;
7b272fd7 17 @include orange-button;
d235f6b0 18}
ecb4e35f 19
ab0beac7
K
20.modal-body {
21 text-align: left;
22
23 .forgot-password-instructions {
24 margin-bottom: 20px;
25 }
26}
27
28.modal-footer.inputs {
29 .action-button.action-button-cancel {
30 width: auto !important;
31 display: inline-block;
32 }
33}
34
35@media screen and (max-width: #{map-get($container-max-widths, sm)}) {
36 .modal-body {
37 #forgot-password-email {
38 width: 100%;
39 }
40 }
41
42 .modal-footer.inputs {
43 .action-button.action-button-cancel {
44 display: none;
45 }
46 }
47}
48
696fa4c0 49.create-an-account, .forgot-password-button {
e66883b3 50 color: pvar(--mainForegroundColor);
696fa4c0 51 cursor: pointer;
000eb0e4 52 transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1);
ebefc902 53
07872fdf 54 &:hover {
000eb0e4
RK
55 text-decoration: none !important;
56 opacity: .7 !important;
07872fdf 57 }
2b084d70 58}
ebefc902
C
59
60.login-form-and-externals {
61 display: flex;
62 flex-wrap: wrap;
63 font-size: 15px;
64
65 form {
66 margin: 0 50px 20px 0;
67 }
68
69 .external-login-blocks {
ebefc902
C
70 min-width: 200px;
71
72 .block-title {
73 font-weight: $font-semibold;
74 }
75
76 .external-login-block {
bc90883f
C
77 @include disable-default-a-behaviour;
78
ebefc902
C
79 cursor: pointer;
80 border: 1px solid #d1d7e0;
81 border-radius: 5px;
e66883b3 82 color: pvar(--mainForegroundColor);
ebefc902
C
83 margin: 10px 10px 0 0;
84 display: flex;
85 justify-content: center;
86 align-items: center;
87 min-height: 35px;
88 min-width: 100px;
89
90 &:hover {
91 background-color: rgba(209, 215, 224, 0.5)
92 }
ebefc902
C
93 }
94 }
95}