aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+login/login.component.scss
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+login/login.component.scss')
-rw-r--r--client/src/app/+login/login.component.scss156
1 files changed, 73 insertions, 83 deletions
diff --git a/client/src/app/+login/login.component.scss b/client/src/app/+login/login.component.scss
index 49c873cd4..d31d428f7 100644
--- a/client/src/app/+login/login.component.scss
+++ b/client/src/app/+login/login.component.scss
@@ -6,11 +6,13 @@
6 6
7label { 7label {
8 display: block; 8 display: block;
9 font-size: 18px;
10 margin-bottom: 5px;
9} 11}
10 12
11input[type=text], 13input[type=text],
12input[type=email] { 14input[type=email] {
13 @include peertube-input-text(340px); 15 @include peertube-input-text(100%);
14} 16}
15 17
16.modal-body { 18.modal-body {
@@ -21,7 +23,7 @@ input[type=email] {
21 } 23 }
22} 24}
23 25
24@media screen and (max-width: #{map-get($container-max-widths, sm)}) { 26@media screen and (max-width: $small-view) {
25 .modal-body { 27 .modal-body {
26 #forgot-password-email { 28 #forgot-password-email {
27 width: 100%; 29 width: 100%;
@@ -33,114 +35,102 @@ input[type=email] {
33 } 35 }
34} 36}
35 37
36.create-an-account,
37.forgot-password-button {
38 color: pvar(--mainForegroundColor);
39 cursor: pointer;
40 transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1);
41
42 &:hover {
43 text-decoration: none !important;
44 opacity: .7 !important;
45 }
46}
47
48.wrapper { 38.wrapper {
49 display: flex; 39 display: flex;
50 justify-content: space-around; 40 justify-content: space-between;
51 flex-wrap: wrap; 41 flex-wrap: wrap;
42 margin: auto;
52 43
53 > div { 44 > div {
54 flex: 1 1; 45 flex: 1 1;
55 } 46 }
56 47
57 .login-form-and-externals { 48 form {
58 @include margin-left(10px); 49 width: 100%;
59 @include margin-right(10px); 50 }
51}
60 52
61 display: flex; 53.wrapper,
62 flex-wrap: wrap; 54.alert {
63 font-size: 15px; 55 max-width: 1200px;
64 max-width: 450px; 56}
65 margin-bottom: 40px;
66 57
67 form { 58.alert {
68 margin: 0; 59 margin: 0 auto 30px;
60}
69 61
70 &, 62.login-form-and-externals {
71 input { 63 @include margin-left(10px);
72 width: 100%; 64 @include margin-right(10px);
73 }
74 65
75 .additionnal-links { 66 display: flex;
76 display: block; 67 flex-wrap: wrap;
77 text-align: center; 68 justify-content: center;
78 margin-top: 20px; 69 max-width: 450px;
79 margin-bottom: 20px; 70 margin-bottom: 40px;
80 71
81 .forgot-password-button, 72 form {
82 .create-an-account { 73 margin: 0;
83 padding: 4px;
84 display: inline-block;
85 74
86 color: var(--mainColor); 75 input[type=submit] {
76 width: 100%;
77 }
87 78
88 &:hover, 79 .additional-links {
89 &:active { 80 display: flex;
90 color: var(--mainHoverColor); 81 justify-content: center;
91 } 82 margin: 20px 0 30px;
92 } 83
84 .link-orange {
85 margin: 0 15px;
93 } 86 }
94 } 87 }
88 }
89}
95 90
96 .external-login-blocks { 91.external-login-blocks {
97 min-width: 200px; 92 min-width: 200px;
93 text-align: center;
98 94
99 .block-title { 95 .block-title {
100 font-weight: $font-semibold; 96 font-weight: $font-semibold;
101 } 97 }
102 98
103 .external-login-block { 99 .external-login-block {
104 @include disable-default-a-behaviour; 100 @include disable-default-a-behaviour;
105
106 cursor: pointer;
107 border: 1px solid #d1d7e0;
108 border-radius: 5px;
109 color: pvar(--mainForegroundColor);
110 margin: 10px 10px 0 0;
111 display: flex;
112 justify-content: center;
113 align-items: center;
114 min-height: 35px;
115 min-width: 100px;
116
117 &:hover {
118 background-color: rgba(209, 215, 224, 0.5);
119 }
120 }
121 }
122 101
123 .signup-link { 102 cursor: pointer;
124 display: inline-block; 103 border: 1px solid #d1d7e0;
104 border-radius: 5px;
105 color: pvar(--mainForegroundColor);
106 margin: 10px 10px 0 0;
107 display: flex;
108 justify-content: center;
109 align-items: center;
110 min-height: 35px;
111 min-width: 100px;
112
113 &:hover {
114 background-color: rgba(209, 215, 224, 0.5);
125 } 115 }
126 } 116 }
117}
127 118
128 .instance-information { 119.instance-information {
129 @include margin-left(10px); 120 @include margin-left(10px);
130 @include margin-right(10px); 121 @include margin-right(10px);
131 122
132 max-width: 600px; 123 max-width: 600px;
133 min-width: 350px; 124 min-width: 350px;
134 margin-bottom: 40px; 125 margin-bottom: 40px;
135 } 126}
136 127
137 .terms-anchor { 128.terms-anchor {
138 display: inline; 129 display: inline;
139 } 130}
140 131
141 .terms-link { 132.terms-link {
142 display: none; 133 display: none;
143 }
144} 134}
145 135
146@mixin column-reverse-display { 136@mixin column-reverse-display {